From 901288ad271c3c0a42749041d0b58d22317199e9 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 14 May 2020 14:02:08 +0300 Subject: [PATCH 1/3] Updated platforms list --- app/views/console/home/index.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/console/home/index.phtml b/app/views/console/home/index.phtml index 4729481162..723810d5f6 100644 --- a/app/views/console/home/index.phtml +++ b/app/views/console/home/index.phtml @@ -127,10 +127,10 @@ $graph = $this->getParam('graph', false); -   + -

Get Started

+

From 2c1df141dcbb7addcd4072540efec018dbe284e7 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Fri, 15 May 2020 17:54:37 +0300 Subject: [PATCH 2/3] Updated test command --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f585217755..83321193d9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -158,7 +158,7 @@ Before running the command, make sure you have proper write permissions to the A To run tests manually, run phpunit from your command line: ```bash -docker exec appwrite /bin/bash -c '/usr/share/nginx/html/vendor/bin/phpunit' +docker exec appwrite test ``` ## Tutorials From 13e316bc53eacbcc11e8b162debd222ed12bae77 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 16 May 2020 14:42:55 +0300 Subject: [PATCH 3/3] Updated default OAuth2 URLs --- app/controllers/api/account.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index b05c244486..5ab41fbf0b 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -30,8 +30,8 @@ use GeoIp2\Database\Reader; include_once __DIR__ . '/../shared/api.php'; -$oauthDefaultSuccess = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/success'; -$oauthDefaultFailure = Config::getParam('protocol').'://'.Config::getParam('domain').'/auth/oauth2/failure'; +$oauthDefaultSuccess = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/success'; +$oauthDefaultFailure = Config::getParam('protocol').'://'.$request->getServer('_APP_HOME').'/auth/oauth2/failure'; $oauth2Keys = [];