summaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* Fix IE11 upload fallback methodsJohn Molakvoæ (skjnldsv)2020-04-221-2/+26
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix uploadprogressbar tooltipHannes Burger2020-04-011-1/+1
| | | | Signed-off-by: Hannes Burger <hburger30@gmail.com>
* Call "OC.Util.humanFileSize" instead of global "humanFileSize"Daniel Calviño Sánchez2020-04-011-6/+6
| | | | | | | | | This prevents flooding the console on big file uploads with messages about "humanFileSize" being deprecated, which decreases the performance (even if the developer tools of the browser are not open) and in some cases even cause the upload to fail. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix default action for deleted sharesGretaD2020-03-181-1/+20
| | | | | Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Show proper file name when fetching details failsJulius Härtl2020-02-121-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not rerender the selection menu on showJulius Härtl2020-01-081-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Bump serialize-javascript and handlebarsChristoph Wurst2019-12-191-99/+99
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18247 from nextcloud/backport/18241/stable17Roeland Jago Douma2019-12-091-2/+1
|\ | | | | [stable17] Allow to unfavorite all files
| * Allow to unfavorite all filesJoas Schilling2019-12-051-2/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #18252 from nextcloud/17/bugfix/noid/tooltip-hide-dateRoeland Jago Douma2019-12-051-0/+1
|\ \ | |/ |/| Hide the tooltip if the list row is rerendered
| * Hide the tooltip if the list row is rerenderedJulius Härtl2019-12-051-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Also set X-OC-Mtime header for files that are smaller than 10MBJulius Härtl2019-11-081-0/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fallback to directory icon based on the mount typeJulius Härtl2019-10-221-0/+3
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Force hide tooltips on sidebar closeJohn Molakvoæ (skjnldsv)2019-10-091-0/+1
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Merge pull request #16969 from ↵Roeland Jago Douma2019-09-031-1/+1
|\ | | | | | | | | nextcloud/bugfix/14350/thumbnail_should_open_thefile_not_sidebar When you click on thumbnail of a file, it should open the file not the sidebar
| * Change filelist _onClickFile function so thumbnail to open the file instead ↵Greta Doci2019-09-021-1/+1
| | | | | | | | | | | | of the sidebar Signed-off-by: Greta Doci <gretadoci@gmail.com>
* | Fix grid viewJonathan Matthews2019-08-191-0/+5
|/ | | Signed-off-by: Jonathan Matthews <jgit@pixelnet.work>
* Rename delete label to Delete folder/fileJohn Molakvoæ (skjnldsv)2019-08-141-1/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix XSS when adding a file with a malicious name to favoritesMax Fichtelmann2019-07-291-1/+1
| | | | Signed-off-by: Max Fichtelmann <max.fichtelmann@procilon.de>
* Trigger fallback code to get max contrast value and use integer thereMorris Jobke2019-07-251-2/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix max contrast retrieval to limit minimum color for relative timeMorris Jobke2019-07-241-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #16151 from jameslao/masterMorris Jobke2019-07-151-1/+3
|\ | | | | Update operationprogressbar.js
| * Update operationprogressbar.jsJames Lao2019-06-281-1/+3
| | | | | | | | | | | | To fix issue #16137 Signed-off-by: james.lao@gmail.com <james.lao@gmail.com>
* | Properly load permissions in showActionsJulius Härtl2019-07-051-1/+1
| | | | | | | | | | | | When setViewerMode(false) is called, the permissions should be fetched from the available dirInfo Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix permissions for drag-n-drop uploadsRobin Appelman2019-07-011-1/+1
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix window scroll containerJulius Härtl2019-06-191-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #15767 from nextcloud/bugfix/0b-quota-createMorris Jobke2019-05-282-6/+4
|\ | | | | Hide newFile menu if quota is set to 0B
| * Hide newFile menu if quota is set to 0BJulius Härtl2019-05-282-6/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Also allow dragging below the file listJulius Härtl2019-05-271-0/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move OC.theme to the bundle and deprecate oc_defaultsChristoph Wurst2019-05-141-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate OC.fileIsBlacklisted and move it to the bundleChristoph Wurst2019-05-141-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update file-upload.jsValdnet2019-05-091-1/+1
| | | Change the location of the translation file.
* Merge pull request #15427 from ↵Morris Jobke2019-05-081-2/+2
|\ | | | | | | | | nextcloud/refactor/oc-current-user-deprecate-bundle Deprecate oc_current_user, fix usage and move currentUser to the bundle
| * Deprecate oc_current_user, fix usage and move currentUser to the bundleChristoph Wurst2019-05-081-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #15432 from nextcloud/fix/14986/fix-public-uploadMorris Jobke2019-05-081-0/+4
|\ \ | |/ |/| Fix public upload by also load the semaphore method
| * Fix public upload by also load the semaphore methodMorris Jobke2019-05-071-0/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #15302 from nextcloud/enhancement/files/table-head-stickyMorris Jobke2019-05-071-2/+0
|\ \ | |/ |/| Floating files header
| * Floating files headerJohn Molakvoæ (skjnldsv)2019-05-071-2/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Do NOT assume all files are selected if the first checkbox isJohn Molakvoæ (skjnldsv)2019-04-301-6/+18
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use slient option to switch for regular file actions as wellJulius Härtl2019-04-111-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Check if OCA.Files.App is available before callingJulius Härtl2019-04-081-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix opening folders from different file listsJulius Härtl2019-03-271-1/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Always show full previewsJulius Härtl2019-03-271-18/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #14776 from nextcloud/fix/files/size-colorMorris Jobke2019-03-211-7/+30
|\ | | | | Use max contrast variable to cap the generated colours
| * Use max contrast variable to cap the generated coloursJohn Molakvoæ (skjnldsv)2019-03-211-7/+30
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Show sharing in menu in grid viewJohn Molakvoæ (skjnldsv)2019-03-213-11/+21
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* [app:files] Use current directory for hashing.Evilham2019-03-131-4/+3
| | | | | | | | | | This fixes collisions that were causing uploads to break in a very terrible way. Kudos to @kesselb for finding the problematic place and to @hottwister for the proposed solution. Fixes #10527.
* Remove the upload and memory settingJoas Schilling2019-03-041-70/+0
| | | | | | | | | | * Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14251 from tomasz-grobelny/upload_reliability_improvementsRoeland Jago Douma2019-02-262-19/+25
|\ | | | | Limit number of simultaneous MKCOL requests to server to increase upload reliability
| * Limit number of simultaneous MKCOL requests to server to increase upload ↵Tomasz Grobelny2019-02-162-19/+25
| | | | | | | | | | | | reliability Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>