summaryrefslogtreecommitdiffstats
path: root/apps/files
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2018-02-01104-2054/+104
|
* [tx-robot] updated from transifexNextcloud bot2018-01-302-0/+6
|
* [tx-robot] updated from transifexNextcloud bot2018-01-292-0/+2
|
* [tx-robot] updated from transifexNextcloud bot2018-01-262-0/+14
|
* [tx-robot] updated from transifexNextcloud bot2018-01-164-0/+18
|
* Merge pull request #7783 from ↵Julius Härtl2018-01-112-14/+37
|\ | | | | | | | | nextcloud/fix-empty-details-view-after-renaming-a-file Fix empty details view after renaming a file
| * Fix empty details view after renaming a fileDaniel Calviño Sánchez2018-01-112-1/+31
| | | | | | | | | | | | | | | | | | | | | | "FileList._updateDetailsView" expects either a file name (as a string) or a file model (as an "OCA.File.FileInfoModel"), but when called through "updateInList" an "OC.Files.FileInfo" object was given instead. As the given attribute was not a model "_updateDetailsView" treated it as a file name and tried to get the model for that file, which failed and caused the details view to be emptied. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Move adding test files to "beforeEach()"Daniel Calviño Sánchez2018-01-111-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | All the tests in the "Renaming files" section added the test files, although those calling "doRename()" added them by setting a path for the file too. However, the path is ignored in the other tests, so adding the files can be unified and moved to "beforeEach()". This would be needed, for example, to show the details view for a file before calling "doRename()". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | [tx-robot] updated from transifexNextcloud bot2018-01-112-0/+4
|/
* Merge pull request #7765 from nextcloud/fix_5574Morris Jobke2018-01-101-7/+7
|\ | | | | Don't encode paths that will be passed to the davclient
| * Don't encode paths passed to the OC.Files.ClientRoeland Jago Douma2018-01-101-7/+7
| | | | | | | | | | | | | | This is handled already in the client. So double encoding breaks things in some situations. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add events for favoritesJoas Schilling2018-01-103-4/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2018-01-102-0/+6
|/
* [tx-robot] updated from transifexNextcloud bot2018-01-096-0/+16
|
* Merge pull request #7716 from ↵Morris Jobke2018-01-082-0/+38
|\ | | | | | | | | nextcloud/hide-favourite-icon-in-details-view-if-favourite-action-is-not-available Hide favourite icon in details view if favourite action is not available
| * Hide favourite icon in details view if favourite action is not availableDaniel Calviño Sánchez2018-01-052-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | When the favourite icon in the details view is clicked the "Favorite" action is triggered. However, if the action name given to "triggerAction" is not found then the "Download" action is triggered instead. As the "Favorite" action is not available in some file lists (like "Recents") the "Download" action was executed instead in those cases, which was a strange behaviour. Now the favourite icon is hidden if its action is not available. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | [tx-robot] updated from transifexNextcloud bot2018-01-072-0/+6
| |
* | [tx-robot] updated from transifexNextcloud bot2018-01-068-104/+174
|/
* [tx-robot] updated from transifexNextcloud bot2018-01-0518-0/+94
|
* Composer updatedRoeland Jago Douma2018-01-042-16/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [tx-robot] updated from transifexNextcloud bot2018-01-0418-14/+376
|
* Fixup! removed unwanted lineJohn Molakvoæ (skjnldsv)2018-01-031-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed quota update on upload and on deleteJohn Molakvoæ (skjnldsv)2018-01-032-15/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #7681 from nextcloud/fix-quota-update-2Morris Jobke2018-01-032-0/+23
|\ | | | | Update quotas on each upload
| * Fix unwanted varJohn Molakvoæ (skjnldsv)2018-01-031-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Update quotas on each uploadJohn Molakvoæ (skjnldsv)2018-01-032-0/+23
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #7533 from ↵Morris Jobke2018-01-031-1/+12
|\ \ | |/ |/| | | | | nextcloud/oc-28545-handle-oc-total-length-in-new-chunking [oc] Handle OC-Total-Length in new chunking
| * Only set X-OC-Mtime when browser provided lastModified on uploadVincent Petry2017-12-151-4/+12
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Transmit OC-Total-Length in browser as wellThomas Müller2017-12-151-1/+4
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Show warning if slash is entered as filenameMorris Jobke2018-01-031-0/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7634 from Abijeet/bug-7539Roeland Jago Douma2018-01-033-1/+29
|\ \ | | | | | | Fixes the delete button not appearing on certain lower resolutions
| * | Remove margin for selected files summaryDaniel Calviño Sánchez2018-01-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The selected files summary shown in the multiselect header has a margin to align it with the names of the files in the contents of the file list. However, on very narrow screens, and depending on the verbosity of the language, the summary can overlap with the actions when the selection contains files and folders. To try to mitigate this, besides showing only the icons for the actions, the summary margin is removed too in very narrow screens. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Increase touch area for header iconsDaniel Calviño Sánchez2018-01-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | On narrow screens only the action icons are shown in the multiselect header of the file list. In that case the padding of those icons is increased to provide a larger touch area (the padding used is the same as in the inline actions of the file list). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Fixes the delete icon not appearing on certain resolutions.Abijeet2018-01-023-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #7539 Also fixes overlap of text on mobile devices by resorting to just icons on lower resolutions. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* | | Fix file list visible behind the multiselect headerDaniel Calviño Sánchez2018-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some parts of the file list contents (file name and actions) had a higher z-index than the file list multiselect header. That header is fixed in place, so when the file list contents were scrolled and those parts with a higher z-index overlapped the multiselect header they were fully visible. Now the z-index for the multiselect header has a higher value (the same used in the controls bar) to ensure that the contents are shown behind the header. Fixes #7540 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #7624 from ↵Morris Jobke2018-01-022-0/+27
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix-fileActions-currentFile-not-set-before-using-it Fix "fileActions.currentFile" not set before using it
| * | | Fix "fileActions.currentFile" not set before using itDaniel Calviño Sánchez2017-12-262-0/+27
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an empty area of a file row was clicked and the "Details" action was executed "fileActions.currentFile" was not guaranteed to be set to the appropriate object (it depended on the previous actions of the user), so when it was used by "getCurrentMimeType()" and other FileActions functions they may not work as expected. Now it is explicitly set to the appropriate value before its use. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #7626 from nextcloud/fixed-files-multiselect-top-marginRoeland Jago Douma2017-12-281-1/+1
|\ \ \ | | | | | | | | Fixed top position of multiselected files table
| * | | Fixed top position of multiselected files tableJohn Molakvoæ (skjnldsv)2017-12-261-1/+1
| |/ / | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #7592 from nextcloud/update-quota-on-files-uploadRoeland Jago Douma2017-12-285-3/+31
|\ \ \ | |/ / |/| | Update quota on files upload
| * | Fixed testsJohn Molakvoæ (skjnldsv)2017-12-262-3/+0
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Update quota on file upload and deletionJohn Molakvoæ (skjnldsv)2017-12-214-1/+32
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixed pinned state of quota if no apps registered an app nav itemJohn Molakvoæ (skjnldsv)2017-12-141-1/+1
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #7591 from ↵Morris Jobke2017-12-224-14/+123
|\ \ | | | | | | | | | | | | nextcloud/trigger-events-before-and-after-a-file-action-is-executed Trigger events before and after a file action is executed
| * | Remove internal unused propertyDaniel Calviño Sánchez2017-12-211-9/+0
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Trigger the "Details" action when clicking on an empty file row spaceDaniel Calviño Sánchez2017-12-211-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clicking on an empty space in a file row causes the details view to be shown. As it is a user initiated action on the file list now it is done by triggering the Details action instead of directly calling "_updateDetailsView"; the result is the same in both cases, but using the action is more consistent (clicking on the file name triggers the default action, and clicking on the inline actions triggers those actions) and also makes possible to use the "beforeTriggerAction" and "afterTriggerAction" listeners. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Trigger events before and after a file action is executedDaniel Calviño Sánchez2017-12-193-4/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the same way that other elements can know when a FileAction is registered or a default action is set this commit makes possible to be notified before and after a FileAction is executed. This is achieved by wrapping the registered action handler in a custom function that notifies the listeners before and after executing the handler itself. Due to this approach only FileActions registered through "registerAction" trigger the events, although that is not a problem as this is how the actions should be added to the FileActions anyway. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Fixed breadcrumbs testsJohn Molakvoæ (skjnldsv)2017-12-211-12/+31
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Properly show action iconsMorris Jobke2017-12-201-1/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Make contorls stick to the top when scrollingMarin Treselj2017-12-201-4/+0
| | | | | | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>