diff --git a/README.md b/README.md index e1e8e60..9fc7a72 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@

- + +

# Media Manager @@ -176,9 +177,9 @@ return [ - install dependencies ```bash -yarn add vue axios dropzone keycode vue-ls vue-tippy vue2-filters vuemit vue-notif vue-clipboard2 vue-touch@next babel-preset-es2015-node6 babel-preset-stage-2 +yarn add vue axios dropzone keycode vue-ls vue-multi-ref vue-tippy vue2-filters vuemit vue-notif vue-clipboard2 vue-touch@next babel-preset-es2015-node6 babel-preset-stage-2 # or -npm install vue axios dropzone keycode vue-ls vue-tippy vue2-filters vuemit vue-notif vue-clipboard2 vue-touch@next babel-preset-es2015-node6 babel-preset-stage-2 --save +npm install vue axios dropzone keycode vue-ls vue-multi-ref vue-tippy vue2-filters vuemit vue-notif vue-clipboard2 vue-touch@next babel-preset-es2015-node6 babel-preset-stage-2 --save ``` - for styling we use ***bulma*** diff --git a/logs/v2.2.1.txt b/logs/v2.2.1.txt deleted file mode 100644 index 7085c1e..0000000 --- a/logs/v2.2.1.txt +++ /dev/null @@ -1,14 +0,0 @@ -- change config `hide_ext` to `hide_files_ext` -- fix the damn move btn disable/enable for good -- fixed enabling directory even if its inside the locked list -- fixed going to prev folder in restricted path -- fixed refresh issue in restricted path -- use plain html for form instead of laravel-collection -- use axios instead of jquery ajax -- jquery is now only handling “keydown & player events” (if anyone can convert those to plain js i would deeply appreciate it) -- optimize fileSelected event to fire only when using the manager from a modal. -- updated https://github.com/ctf0/Laravel-Media-Manager/wiki/Folder-Restriction -- updated https://github.com/ctf0/Laravel-Media-Manager/wiki/Lock-Files-&-Folder -- update assets -- update view -- update readme \ No newline at end of file diff --git a/logs/v2.3.0.txt b/logs/v2.3.0.txt new file mode 100644 index 0000000..604db5d --- /dev/null +++ b/logs/v2.3.0.txt @@ -0,0 +1,31 @@ +# we are now jQuery free :scream::metal::boom::muscle::dancers: + +## image +- animate navigation +- clicking the preview will open the image in a new tab +- preview is now a card with basic info and main functionality “mostly for mobile users” + +## new options +- added hide folder option +- add random names option for uploaded files “will also be saved in local-storage” +- save visited folder to local-storage so you can continue from where you left. +- auto select folder after creation +- set “max-height” to the manager if opened inside a modal + +## fixs +- fix hide ext +- disallow folder creation with single character name +- disallow folder rename to single character +- fix list update after remove items with same name but diff type +- fix preview modal image align + +## styling +- better responsive +- some styling & animation +- added some patterns for upload panel bg so image change on each toggle +- change lock/unlock notification msg +- add notification for single file download + +- update assets “make sure to republish the assets” +- update readme +- update wiki \ No newline at end of file diff --git a/src/MediaManagerServiceProvider.php b/src/MediaManagerServiceProvider.php index a71422e..0279984 100644 --- a/src/MediaManagerServiceProvider.php +++ b/src/MediaManagerServiceProvider.php @@ -75,7 +75,7 @@ protected function viewComp() ->url('/'); $patterns = collect( - app('files')->allFiles(public_path('assets/vendor/MediaManager/patterns')) + app('files')->allFiles(public_path('assets/vendor/MediaManager/patterns')) )->map(function ($item) { return "/assets/vendor/MediaManager/patterns/{$item->getFileName()}"; }); diff --git a/src/resources/assets/js/components/media.vue b/src/resources/assets/js/components/media.vue index 69e343a..254867a 100644 --- a/src/resources/assets/js/components/media.vue +++ b/src/resources/assets/js/components/media.vue @@ -1,24 +1,3 @@ - -