Skip to content

Commit

Permalink
v2.3.7
Browse files Browse the repository at this point in the history
fix selectin in reverse

fix reverse selection 2
  • Loading branch information
ctf0 committed Dec 20, 2017
1 parent b902911 commit 449bed5
Show file tree
Hide file tree
Showing 21 changed files with 562 additions and 355 deletions.
84 changes: 45 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ new Vue({

- multi
- upload
- move
- move/copy ***"toggle between"***
- delete
- bulk selection
- restrict access to [folders](https://github.com/ctf0/Laravel-Media-Manager/wiki/Folder-Restriction)
Expand Down Expand Up @@ -88,7 +88,7 @@ new Vue({
+ all
+ selected
+ search found
- protection against overwriting (files / folders)
- protection against overwriting (files/folders)
- autoplay media files ***"if selected filter is audio/video"***
- file name sanitization for
+ upload
Expand All @@ -97,46 +97,50 @@ new Vue({
- disable/enable buttons depend on the usage to avoid noise & keep the user focused
- shortcuts

| navigation | button | keyboard | mouse (click) | touch |
|----------------|------------------------------------|--------------|---------------|-------------|
| | upload *(toolbar)* | u | * | |
| | refresh *(toolbar)* | r | * | |
| | move *(toolbar)* | m | * | swipe up |
| | delete *(toolbar)* | d/del | * | swipe down |
| | lock/unlock *(toolbar)* | l | * | |
| | bulk select *(toolbar)* | b | * | |
| | bulk select all *(toolbar)* | a | * | |
| |   | | | |
| | confirm rename *(modal)* | enter | * | |
| | confirm delete *(modal)* | enter | * | |
| | confirm move *(modal)* | enter | * | |
| | create new folder *(modal)* | enter | * | |
| |   | | | |
| | toggle *(info panel)* | t | * | |
| | play/pause media *(sidebar)* | space | * | |
| | preview image/pdf/text *(sidebar)* | space | * | tap |
| | preview image/pdf/text | space | 2x click | 2x tap |
| | hide image *(light-box)* | space/esc | * | |
| select next | | right / down | * | swipe left |
| select prev | | left / up | * | swipe right |
| select first | | home | * | |
| select last | | end | * | |
| open folder | | enter | 2x click | 2x tap |
| go to prev dir | folderName *(breadcrumb)* | backspace | * | swipe right |
| navigation | button | keyboard | mouse (click) | touch |
|----------------|--------------------------------------------|---------------|---------------|---------------------------|
| | upload *(toolbar)* | u | * | |
| | refresh *(toolbar)* | r | * | |
| | move *(toolbar)* | m | * | swipe up |
| | delete *(toolbar)* | d/del | * | swipe down |
| | lock/unlock *(toolbar)* | l | * | |
| | (reset) bulk select *(toolbar)* | b | * | |
| | (reset) bulk select all *(toolbar)* | a | * | |
| | cancel bulk selection | esc | | |
| | cancel search *(toolbar)* | esc | * | |
| |   | | | |
| | toggle *(sidebar)* | t | * | |
| | play/pause media *(sidebar)* | space | * | |
| | preview image/pdf/text *(sidebar)* | space | * | tap |
| |   | | | |
| | confirm rename *(modal)* | enter | * | |
| | confirm delete *(modal)* | enter | * | |
| | confirm move *(modal)* | enter | * | |
| | create new folder *(modal)* | enter | * | |
| |   | | | |
| | limit bulk select *(files container)* | shift + click | | |
| | preview image/pdf/text *(files container)* | space | ** | 2x tap |
| | hide light-box | space/esc | * | |
| select next | | right / down | * | swipe left *(light-box)* |
| select prev | | left / up | * | swipe right *(light-box)* |
| select first | | home | * | |
| select last | | end | * | |
| open folder | | enter | ** | 2x tap |
| go to prev dir | folderName *(breadcrumb)* | backspace | * | swipe right |

- events

| type | event-name | description |
|---------|---------------------------------------|------------------------------------------|
| [JS](https://github.com/gocanto/vuemit) | | |
| | modal-show | when modal is showen |
| | modal-hide | when modal is hidden |
| | file_selected *(when inside modal)* | get selected file url |
| [Laravel](https://laravel.com/docs/5.5/events#manually-registering-events) | | |
| | MMFileUploaded($file_path) | get uploaded file full path |
| | MMFileDeleted($file_path, $is_folder) | get deleted file/folder full path |
| | MMFileRenamed($old_path, $new_path) | get renamed file/folder "old & new" path |
| | MMFileMoved($old_path, $new_path) | get moved file/folder "old & new" path |
| type | event-name | description |
|---------|---------------------------------------|------------------------------------------|
| [JS](https://github.com/gocanto/vuemit) |
| | modal-show | when modal is showen |
| | modal-hide | when modal is hidden |
| | file_selected *(when inside modal)* | get selected file url |
| [Laravel](https://laravel.com/docs/5.5/events#manually-registering-events) |
| | MMFileUploaded($file_path) | get uploaded file full path |
| | MMFileDeleted($file_path, $is_folder) | get deleted file/folder full path |
| | MMFileRenamed($old_path, $new_path) | get renamed file/folder "old & new" path |
| | MMFileMoved($old_path, $new_path) | get moved file/folder "old & new" path |

<br>

Expand Down Expand Up @@ -194,3 +198,5 @@ return [
## Usage

- visit `localhost:8000/media`
- [Wiki](https://github.com/ctf0/Laravel-Media-Manager/wiki)

25 changes: 0 additions & 25 deletions logs/v2.3.6.txt

This file was deleted.

30 changes: 30 additions & 0 deletions logs/v2.3.7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## New

- you can now use “shift + click” to limit bulk selection to specific files.
- added new shortcuts
- you can now copy files/folders instead of moving as well.
- add new option for path breadcrumb for mobile to make it easier to navigate
- add audio for success & alert ops
- don't reset the selection if (deleting/moving/copying) an item has returned an error.

## Fix

- some fixes & cleanups here and there
- fixed issue with local-storage overriding the original keys
- fixed update folder info after moving
- fixed not selecting an item after getting the files from server “rare”
- fixed refreshing the manager when using “key modifier + r”
- fixed the hardcoded translation & now all handled through laravel.
- fixed pre-mature selection of first item after delete/move form submit
- fixed showing an empty notification
- fixed axios showing vague error message

## Update

- cleanup & optimization “js, controller”
- slightly better scroll to item
- change view files structure
- make file-box smaller on mobile
- update read me
- update wiki
- update resources
Loading

0 comments on commit 449bed5

Please sign in to comment.