From a4068e4771d23882689e80e495b25cdde89fd589 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sun, 12 Apr 2020 09:03:00 +0300 Subject: [PATCH] Added flutter to the UI options --- app/app.php | 2 +- app/init.php | 2 +- app/views/console/account/index.phtml | 6 +- app/views/console/home/index.phtml | 121 +++++++++++++++------- app/views/console/index.phtml | 23 +++- app/views/console/users/view.phtml | 6 +- public/dist/scripts/app-all.js | 61 ++++++----- public/dist/scripts/app.js | 61 ++++++----- public/dist/styles/default-ltr.css | 2 +- public/dist/styles/default-rtl.css | 2 +- public/images/clients/flutter-android.png | Bin 0 -> 23275 bytes public/images/clients/flutter-ios.png | Bin 0 -> 23275 bytes public/scripts/dependencies/litespeed.js | 57 ++++++---- public/scripts/filters.js | 9 +- public/scripts/views/ui/phases.js | 10 +- public/styles/comps/avatar.less | 19 ++++ public/styles/comps/modal.less | 12 +++ public/styles/forms.less | 1 + public/styles/functions.less | 24 +++++ public/styles/grid.less | 6 +- 20 files changed, 292 insertions(+), 132 deletions(-) create mode 100644 public/images/clients/flutter-android.png create mode 100644 public/images/clients/flutter-ios.png diff --git a/app/app.php b/app/app.php index 6297620b5..613707bb5 100644 --- a/app/app.php +++ b/app/app.php @@ -103,7 +103,7 @@ $utopia->init(function () use ($utopia, $request, $response, &$user, $project, $ && in_array($request->getMethod(), [Request::METHOD_POST, Request::METHOD_PUT, Request::METHOD_PATCH, Request::METHOD_DELETE]) && empty($request->getHeader('X-Appwrite-Key', '')) ) { - //throw new Exception('Access from this client host is forbidden', 403); + throw new Exception('Access from this client host is forbidden', 403); } /* diff --git a/app/init.php b/app/init.php index 2ed4f32c2..f3082d9c0 100644 --- a/app/init.php +++ b/app/init.php @@ -32,7 +32,7 @@ const APP_EMAIL_SECURITY = 'security@localhost.test'; // Default security email const APP_USERAGENT = APP_NAME.'-Server v%s. Please report abuse at %s'; const APP_MODE_ADMIN = 'admin'; const APP_PAGING_LIMIT = 15; -const APP_CACHE_BUSTER = 56; +const APP_CACHE_BUSTER = 58; const APP_VERSION_STABLE = '0.5.3'; const APP_STORAGE_UPLOADS = '/storage/uploads'; const APP_STORAGE_CACHE = '/storage/cache'; diff --git a/app/views/console/account/index.phtml b/app/views/console/account/index.phtml index 88b96cbe3..37abdb5dd 100644 --- a/app/views/console/account/index.phtml +++ b/app/views/console/account/index.phtml @@ -253,7 +253,7 @@
- + /
@@ -302,11 +302,11 @@ - + - + diff --git a/app/views/console/home/index.phtml b/app/views/console/home/index.phtml index dc2ee4769..d143544ae 100644 --- a/app/views/console/home/index.phtml +++ b/app/views/console/home/index.phtml @@ -115,12 +115,22 @@ $graph = $this->getParam('graph', false); -
- - +
+
+ + +
+ +
+ +
+ +
+
+  
-

+

Get Started

@@ -140,19 +150,19 @@ $graph = $this->getParam('graph', false);
@@ -233,40 +243,79 @@ $graph = $this->getParam('graph', false);