aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * | Fix opening a section again in the Files appDaniel Calviño Sánchez2018-10-213-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a section is open in the Files app a "show" event is triggered. File list objects handle that event by reloading themselves, but only if the file list was shown at least once. However, the file list objects of plugins are created when the "show" event is triggered for the first time for their section; as the file list objects register their handler for the "show" event when they are created they never handle the first triggered "show" event, as the handler is set while that event is being already handled. Therefore, from the point of view of the handler, the second time that a "show" event was triggered it was seen as if the file list was shown for the first time, and thus it was not reloaded. Now the "shown" property is explicitly set for those file lists that are created while handling a "show" event, which causes them to be reloaded as expected when opening their section again. Note that it is not possible to just reload the file list whenever it is shown; the file list is reloaded also when the directory changes, and this can happen when the web page is initially loaded and the URL is parsed. In that case, if file lists were reloaded when shown for the first time then it could be reloaded twice, one with the default parameters due to the "show" event and another one with the proper parameters once the URL was parsed, and the files that appeard in the list would depend on which response from the server was received the last. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Add missing variable declarationsStefan Weil2018-10-192-2/+2
|/ / | | | | | | | | | | | | | | | | This fixes errors from LGTM like the following one: Variable i is used like a local variable, but is missing a declaration. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Merge pull request #11905 from nextcloud/design/noid/tab-iconsRoeland Jago Douma2018-10-194-3/+22
|\ \ | | | | | | Add icon to file sidebar tabs
| * | Add icon to file sidebar tabsJulius Härtl2018-10-184-3/+22
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #11823 from ↵Morris Jobke2018-10-191-0/+14
|\ \ | | | | | | | | | | | | lex111/fix-illegible-text-color-in-size-and-modified-columns Fix illegible text color in columns Size and Modified on dark theme
| * | Fix illegible text color in columns Size and Modified on dark theme: rework ↵Alexey Pyltsyn2018-10-181-2/+2
| | | | | | | | | | | | | | | | | | after review Signed-off-by: Alexey Pyltsyn <lex61rus@gmail.com>
| * | Fix illegible text color in columns Size and Modified on dark themeAlexey Pyltsyn2018-10-161-0/+14
| | | | | | | | | | | | Signed-off-by: Alexey Pyltsyn <lex61rus@gmail.com>
* | | Add missing semicolonsStefan Weil2018-10-192-3/+3
| |/ |/| | | | | | | | | | | | | | | This fixes some recommendations from LGTM: Avoid automated semicolon insertion (90% of all statements in the enclosing function have an explicit semicolon). Signed-off-by: Stefan Weil <sw@weilnetz.de>
* | Move fileactionsmenu to compiled handlebarsRoeland Jago Douma2018-10-153-22/+55
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix depracted jQuery.bind callChristoph Wurst2018-10-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #11679 from nextcloud/refactor/remove-ie8-apisMorris Jobke2018-10-082-2/+0
|\ | | | | Remove IE8 APIs
| * Remove OC.scaleFixForIE8Christoph Wurst2018-10-082-2/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #11682 from ↵Morris Jobke2018-10-081-5/+0
|\ \ | | | | | | | | | | | | nextcloud/refactor/remove-deprecated-unused-fileDownloadPath Remove deprecated and unused fileDownloadPath
| * | Remove deprecated and unused fileDownloadPathChristoph Wurst2018-10-081-5/+0
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Remove deprecated SVG helpers for old IEsChristoph Wurst2018-10-081-5/+0
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove leftover 'Roeland Jago Douma2018-10-042-2/+2
| | | | | | Followup to #11583 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move newfilemenu to compiled handlebarsRoeland Jago Douma2018-10-044-26/+52
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move mainfileinfodetailsview to commpiled handlebarsRoeland Jago Douma2018-10-043-27/+69
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move fileactions to compiled handlebarsRoeland Jago Douma2018-10-043-16/+58
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move tagsplugin to compiled handlebarsRoeland Jago Douma2018-10-043-11/+19
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move detailsview to compiled handlebarsRoeland Jago Douma2018-10-043-22/+36
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move filelist to compiled handlebarsRoeland Jago Douma2018-10-043-9/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Refactored Variablename to trashElementFelix Nüsse2018-10-021-7/+7
| | | | Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
* Fixed highlightdelay on first dragFelix Nüsse2018-10-021-1/+3
| | | | Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
* Added Dropzone-Highlighting to TrashFelix Nüsse2018-10-021-1/+17
| | | | Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
* Added Trash-Dropzone to easily dispose of files and foldersFelix Nüsse2018-10-022-0/+25
| | | | Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
* Refine wording from 'Target folder' to 'Choose target folder'Jan-Christoph Borchardt2018-10-012-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Move the filemultiselectmenu over to compiled handlebarsRoeland Jago Douma2018-10-013-17/+45
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move to 1 template file for filesRoeland Jago Douma2018-10-015-31/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump templates to handlebars 4.0.12Roeland Jago Douma2018-09-281-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Compile filesummary handlebarsRoeland Jago Douma2018-09-274-13/+24
| | | | | | | | | | Fixes #11030 For https://github.com/orgs/nextcloud/projects/18 This template is now compiled so this no longer has to happen in the browser. Another step towards a stricter CSP. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not hide the progress bar while the chunked upload is being assembledDaniel Calviño Sánchez2018-09-071-1/+48
| | | | | | | | | | | | | | | Large files are not uploaded in a single operation, but uploaded in several chunks; once all the chunks are uploaded then the server needs to assemble them to get the final file. Before, once the chunks were uploaded the progress bar was hidden. However, this was confusing for the users, as the file could still need some time to appear in the file list due to the assembling. Now once all the chunks are uploaded the text in the progress bar changes to inform the user that there are still some pending operations, and only when the file is finally assembled the progress bar is hidden. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Stores the sorting only if there is an userMichael Weimann2018-08-171-1/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Object.values polyfillJohn Molakvoæ (skjnldsv)2018-08-161-0/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not show action menu if no actions are availableJohn Molakvoæ (skjnldsv)2018-08-151-1/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>