aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13855 from tomasz-grobelny/faster_file_uploadChristoph Wurst2019-01-292-1/+6
|\ | | | | Throttle getstoragestats.php calls and allow simultaneous uploads
| * Throttle getstoragestats.php calls and allow simultaneous uploadsTomasz Grobelny2019-01-272-1/+6
| | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
* | changed case on variable to match initial caseimsolost2019-01-251-1/+1
| | | | | | | | Signed-off-by: imsolost <imsolost@gmail.com>
* | fixed replacement functions to catch all instances of parenthesisimsolost2019-01-251-3/+2
|/ | | | Signed-off-by: imsolost <imsolost@gmail.com>
* apps: file-upload: fix typo in commentsTigran Mkrtchyan2019-01-211-2/+2
| | | | Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
* fix testing for undefinedFlorian Schunk2019-01-162-2/+2
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* also remember folder for multiselect actionsFlorian Schunk2019-01-161-1/+6
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* remember last copied to directoryFlorian Schunk2019-01-161-1/+6
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* copy Dialog starts in current directoryFlorian Schunk2019-01-161-1/+1
| | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* Merge pull request #13212 from nextcloud/bugfix/noid/ie11-files-loadingRoeland Jago Douma2018-12-211-2/+5
|\ | | | | Files list not rendering if user has favorites navigation unfolded
| * Replace ChildNode.before with custom before helperJulius Härtl2018-12-211-2/+5
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Only check whatsnew once per hourRoeland Jago Douma2018-12-201-1/+4
|/ | | | | | | | Store the last check in the session storage. (Which gets cleared on logout). And only check once an hour. Saves a request to the server on most requests when browsing. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not show general warning on free space errorRoeland Jago Douma2018-12-051-1/+1
| | | | | | | | Fixes #12588 Probably needs more fixing for the other cases. But this is the quick fix I could come up with for now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #10825 from greenido/fixing-issue-9931Morris Jobke2018-11-221-1/+50
|\ | | | | Copy a file to the same directory
| * JSUnit tests are not compatible with let/const yetMorris Jobke2018-11-191-10/+10
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Translate name for "(copy)"Morris Jobke2018-11-191-11/+12
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Per the last comment on having only (copy) for the first oneIdo Green2018-11-191-5/+19
| | | | | | | | Signed-off-by: Ido Green <greenido@gmail.com>
| * Use the new naming per the comments on #9931Ido Green2018-11-191-5/+5
| | | | | | | | | | | | More details here: https://github.com/nextcloud/server/issues/9931#issuecomment-402318120 Signed-off-by: Ido Green <greenido@gmail.com>
| * fixing issue 9931 - copy a file to the same directoryIdo Green2018-11-191-1/+35
| | | | | | | | | | Signed-off-by: Ido Green <greenido@gmail.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Do not switch to root folder if filelist is already shownJulius Härtl2018-11-222-3/+13
| | | | | | | | | | | | | | Navigating to the root folder is already handled by OCA.Files.Navigation.setActiveItem in case the view doesn't change. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix rendering of the sidebar in Files appDaniel Calviño Sánchez2018-11-222-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a view is rendered it should not be concerned with where it is going to be placed in the document; in general this should be a responsibility of the object using the view. Moreover, when the details view is rendered it should simply prepare a skeleton that includes the root elements provided by the plugins; those elements will be updated by the plugins as needed when a file or a tab is selected. Finally, the details view should not be explicitly rendered. The rendering removes the previous elements, but that is needed only when the details view is in a dirty state, that is, when new plugins were added since the last time that it was rendered. However, that dirty state is internally handled, and the view is automatically rendered again if needed when a file info is set. Due to all that the details view is no longer explicitly rendered when updating it with a different file. Also, as each file list has its own details view, and each details view has its own element, but there can be only one details view/sidebar element in the document, when the file list updates the details view it also replaces the current one in the document with its own details view if needed (that is, if it is not the current one already). Besides that, when the element of a details view is replaced with the element of a different details view the old one should be detached from the document, but never removed. Otherwise the event handlers would not work when that element is attached again later (when changing to a different section in the Files app and then going back to the previous one). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix whitespace and file action cleanupJulius Härtl2018-11-201-11/+10
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Allow to hide download option for folders shared by linkJulius Härtl2018-11-201-9/+11
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make number of file list entries depending on the width for grid viewJulius Härtl2018-11-181-1/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Show thumbnail on renameMorris Jobke2018-11-151-3/+3
| | | | | | | | * does not hide thumbnail when rename is shown * fixes layout for grid and list view * fixes #11901 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix min trhumbnail sizeJohn Molakvoæ (skjnldsv)2018-11-061-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add grid toggle for every files viewJohn Molakvoæ (skjnldsv)2018-11-061-2/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #12128 from tomasz-grobelny/fix_file_moveMorris Jobke2018-11-061-4/+43
|\ | | | | Fix file move operation for large number of files
| * Merge remote-tracking branch 'upstream/master' into fix_file_moveTomasz Grobelny2018-11-042-0/+18
| |\ | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Fix move related testsTomasz Grobelny2018-11-031-6/+10
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Fix file move operation for large number of filesTomasz Grobelny2018-10-301-5/+40
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
* | | Ask before cancelling an ongoing uploadJohn Molakvoæ (skjnldsv)2018-11-051-5/+24
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Set the filemodel before rending the detailsviewRoeland Jago Douma2018-11-021-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | fixes #10934 Else it triggers the rendering two times. Resulting is weird state in for example the comments. Because the comments for OLD_FILEID are retrieved but then the model is changed to NEW_FILEID. But the old comments still get in and get parsed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #11647 from ↵Julius Härtl2018-10-312-0/+18
|\ \ | |/ |/| | | | | nextcloud/make-possible-for-tab-views-to-add-css-classes-to-their-container Make possible for tab views to add CSS classes to their container
| * Make possible for tab views to add CSS classes to their containerDaniel Calviño Sánchez2018-10-042-0/+18
| | | | | | | | | | | | | | | | | | In general the style of the tabs container should not change depending on which tab is the currently selected one. However, this could be needed in some very specific cases, so now the tab views can specify the extra CSS classes to be used in their container when they are selected. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix jsdocs build on server repoJulius Härtl2018-10-243-6/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #11573 from nextcloud/gridview-tableMorris Jobke2018-10-241-0/+27
|\ \ | | | | | | Files grid view
| * | Restore table headJohn Molakvoæ (skjnldsv)2018-10-231-0/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Merge branch 'master' of https://github.com/nextcloud/server into gridview-tableJohn Molakvoæ (skjnldsv)2018-10-2310-14/+55
| |\ \ | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Public fixes, request & default to gridJohn Molakvoæ (skjnldsv)2018-10-231-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Tooltip on hover onlyJohn Molakvoæ (skjnldsv)2018-10-231-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Fix table hidden on empty folderJohn Molakvoæ (skjnldsv)2018-10-231-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | TooltipJohn Molakvoæ (skjnldsv)2018-10-181-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Remember toggle and events handlerJohn Molakvoæ (skjnldsv)2018-10-181-4/+15
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Show view toggle in controls barJan-Christoph Borchardt2018-10-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | | Grid initJohn Molakvoæ (skjnldsv)2018-10-181-0/+10
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #11928 from stweil/fixRoeland Jago Douma2018-10-231-1/+1
|\ \ \ \ | |_|/ / |/| | | Fix use of undeclared variable
| * | | Fix use of undeclared variableStefan Weil2018-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a warning from LGTM: Variable 'data' is used before its declaration. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | | | Merge pull request #11967 from ↵Morris Jobke2018-10-234-6/+14
|\ \ \ \ | |/ / / |/| | | | | | | | | | | nextcloud/fix-opening-a-section-again-in-the-files-app Fix opening a section again in the Files app
| * | | Remove event handler no longer neededDaniel Calviño Sánchez2018-10-211-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The custom handler for "URL changed" events were added to reload the file list whenever the sections for favorites and shares were opened; this was used to fix the problem of not reloading the file lists when opening them for a second time. However, besides that the handlers were not really necessary, and as the root of the bug was fixed in the previous commit those handlers are now removed. The file list for tags uses the handler for a different purpose, though, so that one was kept. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>