From 515e8ef5ef6fa47c11ad4e3f2470663dbfc63375 Mon Sep 17 00:00:00 2001 From: MakingCG Date: Sat, 14 Mar 2020 18:56:35 +0100 Subject: [PATCH] V1.1 User Authentication - Login to user account - Register new user account - Reset user password Functionality - Added locations to menu - Added trash for deleted folders & files - Restore files or folders from trash - Empty trash function - Favourites folders - List of 5 latest uploads - Profile settings page - Storage info and upload limits Design - Night Mode - Navigation sidebar - Quick action buttons in mobile version - Improved mobile UX - Other small design improvements Settings - Enable/Disable user account registration - Set storage limitation - Set storage capacity for all users --- .editorconfig | 15 - .idea/php.xml | 2 + .idea/vue-filemanager-laravel.iml | 2 + .idea/workspace.xml | 797 ++++++++---------- app/FileManagerFile.php | 2 +- app/FileManagerFolder.php | 28 +- .../Controllers/FileManagerController.php | 47 +- composer.lock | 217 +++-- config/vuefilemanager.php | 2 +- database/vue-file-manager-127.0.0.114-03-2020 | 272 ++++++ public/css/app.css | 2 +- public/js/main.js | 2 +- public/mix-manifest.json | 116 +-- resources/js/components/VueFileManager.vue | 23 +- .../VueFileManagerComponents/Auth.vue | 27 +- .../VueFileManagerComponents/FilesView.vue | 17 +- .../FilesView/Alert.vue | 8 + .../FilesView/ContextMenu.vue | 18 +- .../FilesView/DesktopToolbar.vue | 8 + .../FilesView/FileInfoPanel.vue | 19 + .../FilesView/FileItemList.vue | 2 +- .../FilesView/FilesContainer.vue | 1 - .../FilesView/MobileActionButton.vue | 7 +- .../FilesView/MobileActionButtonUpload.vue | 7 +- .../FilesView/MobileOptionList.vue | 5 +- .../FilesView/MobileToolbar.vue | 17 +- .../FilesView/ToolbarButton.vue | 4 +- .../FilesView/ToolbarButtonUpload.vue | 5 +- .../Others/PageHeader.vue | 5 + .../Others/TextLabel.vue | 2 +- .../VueFileManagerComponents/Sidebar.vue | 25 +- .../Sidebar/StorageSize.vue | 5 + .../Sidebar/UserHeadline.vue | 12 +- .../VueFileManagerComponents/UserSettings.vue | 6 + resources/js/components/router.js | 246 ------ resources/js/helpers.js | 21 + resources/js/store/modules/filesView.js | 23 +- resources/js/store/modules/userAuth.js | 34 +- resources/sass/vue-file-manager/_forms.scss | 44 +- resources/views/index.blade.php | 6 +- routes/api.php | 1 + webpack.mix.js | 1 + 42 files changed, 1107 insertions(+), 996 deletions(-) delete mode 100644 .editorconfig create mode 100644 database/vue-file-manager-127.0.0.114-03-2020 delete mode 100644 resources/js/components/router.js diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 6537ca46..00000000 --- a/.editorconfig +++ /dev/null @@ -1,15 +0,0 @@ -root = true - -[*] -charset = utf-8 -end_of_line = lf -insert_final_newline = true -indent_style = space -indent_size = 4 -trim_trailing_whitespace = true - -[*.md] -trim_trailing_whitespace = false - -[*.{yml,yaml}] -indent_size = 2 diff --git a/.idea/php.xml b/.idea/php.xml index d5b9bbbe..1549dad1 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -115,6 +115,8 @@ + + diff --git a/.idea/vue-filemanager-laravel.iml b/.idea/vue-filemanager-laravel.iml index 2a6f36d8..d3428ad6 100644 --- a/.idea/vue-filemanager-laravel.iml +++ b/.idea/vue-filemanager-laravel.iml @@ -19,6 +19,8 @@ + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e6df82d3..887e14f0 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,39 +2,47 @@ - - - - + + + - - - - - - - - - - - + + + + + + + - + - + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + - VerifyCsrfToken - CreateFreshApiToken - j. M. Y, H:i - PersonalAccessTokens - cookieAu - CookieAuth - XSRF-TOKEN - @/assets/img/hero.svg - <style lang="scss"> - <style lang="scss" scoped> - $middlewareGroups SET_AUTHORIZED error.data SET_START_DIREC @@ -80,20 +99,21 @@ 'bo SET_CURRENT logOut + 255 + _forms + limit + max_file_uploads + post_max_size + uploadFiles + whereIn + trash + you exceed your storage + deleted_files + trashed_files - - - - - - - - - - @@ -109,6 +129,16 @@ + + + + + + + + + + @@ -120,22 +150,7 @@ @@ -289,6 +319,8 @@ + + @@ -303,31 +335,46 @@ + + + + + + + + +