From a8b666dfc31accea034f55dfa0da5c242293a8ef Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 18 Jan 2021 08:29:26 +0200 Subject: [PATCH] First commit --- app/controllers/general.php | 4 + app/views/console/account/index.phtml | 16 ++ app/views/console/comps/footer.phtml | 3 + app/views/console/comps/header.phtml | 13 ++ app/views/console/database/collection.phtml | 7 + app/views/console/database/document.phtml | 4 + app/views/console/database/index.phtml | 2 + app/views/console/functions/function.phtml | 14 ++ app/views/console/functions/index.phtml | 2 + app/views/console/home/index.phtml | 13 ++ app/views/console/index.phtml | 7 +- app/views/console/keys/index.phtml | 6 + app/views/console/settings/index.phtml | 16 ++ app/views/console/storage/index.phtml | 6 + app/views/console/tasks/index.phtml | 6 + app/views/console/users/index.phtml | 6 + app/views/console/users/team.phtml | 8 + app/views/console/users/user.phtml | 10 + app/views/console/webhooks/index.phtml | 6 + app/views/home/auth/join.phtml | 2 + app/views/home/auth/recovery.phtml | 2 + app/views/home/auth/recovery/reset.phtml | 2 + app/views/home/auth/signin.phtml | 2 + app/views/home/auth/signup.phtml | 2 + gulpfile.js | 2 + public/dist/scripts/app-all.js | 18 +- public/dist/scripts/app.js | 18 +- public/scripts/services/api.js | 199 ++++++++++++++++++++ public/scripts/views/analytics/activity.js | 17 ++ public/scripts/views/analytics/event.js | 2 +- 30 files changed, 407 insertions(+), 8 deletions(-) create mode 100644 public/scripts/services/api.js create mode 100644 public/scripts/views/analytics/activity.js diff --git a/app/controllers/general.php b/app/controllers/general.php index 0ac19d589..5cc69346f 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -233,6 +233,10 @@ App::options(function ($request, $response) { $origin = $request->getOrigin(); + var_dump('-----------'); + var_dump($origin); + var_dump('-----------'); + $response ->addHeader('Server', 'Appwrite') ->addHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, PATCH, DELETE') diff --git a/app/views/console/account/index.phtml b/app/views/console/account/index.phtml index 84a18521d..3f1e7decc 100644 --- a/app/views/console/account/index.phtml +++ b/app/views/console/account/index.phtml @@ -29,6 +29,8 @@
Update Password PLEASE NOTE: Account deletion is irreversible.

getParam('version', '').'.'.APP_CACHE_BUSTER;