diff --git a/README.md b/README.md index 2511d34..a3424b9 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ - [install dependencies](https://github.com/ctf0/Laravel-Media-Manager/wiki/Packages-In-Use) ```bash - yarn add vue vue-ls vue-async-computed vue-tippy@v1 vue2-filters vue-notif vue-clipboard2 vue-awesome@v2 vue-touch@next idb-keyval axios dropzone cropperjs keycode date-fns lottie-web laravel-echo fuse.js + yarn add vue vue-ls vue-async-computed vue-tippy@v1 vue2-filters vue-notif vue-clipboard2 vue-awesome@v2 vue-touch@next idb-keyval axios dropzone cropperjs keycode date-fns lottie-web fuse.js # or - npm install vue vue-ls vue-async-computed vue-tippy@v1 vue2-filters vue-notif vue-clipboard2 vue-awesome@v2 vue-touch@next idb-keyval axios dropzone cropperjs keycode date-fns lottie-web laravel-echo fuse.js --save + npm install vue vue-ls vue-async-computed vue-tippy@v1 vue2-filters vue-notif vue-clipboard2 vue-awesome@v2 vue-touch@next idb-keyval axios dropzone cropperjs keycode date-fns lottie-web fuse.js --save ``` - run `npm run watch` to compile your `js/css` files. @@ -229,6 +229,8 @@ return [ /** * do you want to enable broadcasting the changes * made by one user to others ? + * + * "laravel-echo" must be installed */ 'enable_broadcasting' => false ]; @@ -238,5 +240,22 @@ return [ ## Usage -- visit `localhost:8000/media` -- [Wiki](https://github.com/ctf0/Laravel-Media-Manager/wiki) +**1-** make sure you have pre-initiated vue +```js +// app.js + +window.Vue = require('vue'); + +new Vue({ + el: '#app' +}) +``` + +**2-** under `resources/views/vendor/MediaManager/media.blade.php` update the path to that js file +```html + +``` + +**3-** visit `localhost:8000/media` + +### [Check The Wiki](https://github.com/ctf0/Laravel-Media-Manager/wiki) diff --git a/logs/v3.1.2.txt b/logs/v3.1.2.txt deleted file mode 100644 index d3c450f..0000000 --- a/logs/v3.1.2.txt +++ /dev/null @@ -1,18 +0,0 @@ -## New - -- config option “enable_broadcasting” -- global search -- keyboard navigate by row -- use natural sort “natsort” for items - - -## Fix - -- dirs name after lock/unlock -- pdf file having 2 icons -- using the refresh btn even when its disabled -- incorrect mobile nav file name - -## Removed - -- item hover shadow \ No newline at end of file diff --git a/logs/v3.1.3.txt b/logs/v3.1.3.txt new file mode 100644 index 0000000..ab39ff3 --- /dev/null +++ b/logs/v3.1.3.txt @@ -0,0 +1,3 @@ +- remove audio notifs +- cleanup +- fix scrollbyrow after toggle info sidebar \ No newline at end of file diff --git a/src/MediaManagerServiceProvider.php b/src/MediaManagerServiceProvider.php index f6c155b..3811e80 100644 --- a/src/MediaManagerServiceProvider.php +++ b/src/MediaManagerServiceProvider.php @@ -74,10 +74,10 @@ protected function extraConfigs() $db = storage_path('logs/MediaManager.sqlite'); if ($this->file->exists($db)) { - config(['database.connections.mediamanager' => [ + $this->app['config']->set('database.connections.mediamanager', [ 'driver' => 'sqlite', 'database' => $db, - ]]); + ]); } } @@ -108,9 +108,8 @@ protected function viewComp() view()->composer('MediaManager::_manager', function ($view) use ($url, $patterns, $config) { $view->with([ - 'base_url' => preg_replace('/\/+$/', '/', $url), - 'patterns' => json_encode($patterns), - 'mobile_alt_navigation' => array_get($config, 'mobile_alt_navigation'), + 'base_url' => preg_replace('/\/+$/', '/', $url), + 'patterns' => json_encode($patterns), ]); }); } diff --git a/src/config/mediaManager.php b/src/config/mediaManager.php index f22f3e2..3787ce9 100644 --- a/src/config/mediaManager.php +++ b/src/config/mediaManager.php @@ -81,6 +81,8 @@ /* * do you want to enable broadcasting the changes * made by one user to others ? + * + * "laravel-echo" must be installed */ 'enable_broadcasting' => false, ]; diff --git a/src/dist/audio/alert.mp3 b/src/dist/audio/alert.mp3 deleted file mode 100644 index 9a0e8b3..0000000 Binary files a/src/dist/audio/alert.mp3 and /dev/null differ diff --git a/src/dist/audio/success.mp3 b/src/dist/audio/success.mp3 deleted file mode 100644 index f8a58cb..0000000 Binary files a/src/dist/audio/success.mp3 and /dev/null differ diff --git a/src/resources/assets/js/components/globalSearch/panel.vue b/src/resources/assets/js/components/globalSearch/panel.vue index 1b12ad7..0312721 100644 --- a/src/resources/assets/js/components/globalSearch/panel.vue +++ b/src/resources/assets/js/components/globalSearch/panel.vue @@ -122,7 +122,6 @@