summaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Use proper scroll container when dragging filesJulius Härtl2019-02-201-6/+5
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #12652 from tomasz-grobelny/operation_progress_improvements3John Molakvoæ2019-02-148-106/+243
|\ | | | | Operation progress improvements
| * Merge branch 'master' into operation_progress_improvements3Tomasz Grobelny2019-01-296-13/+35
| |\ | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Fix unit testsTomasz Grobelny2018-11-241-4/+7
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Use reportOperationProgress for removing filesTomasz Grobelny2018-11-241-43/+43
| | | | | | | | | | | | | | | | | | Fix copying files Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Properly handle errors (including 500)Tomasz Grobelny2018-11-241-2/+6
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Add progress reporting to move and copy operationsTomasz Grobelny2018-11-244-33/+60
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Fix progress bar labelTomasz Grobelny2018-11-244-14/+21
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Move progress bar to separate componentTomasz Grobelny2018-11-246-22/+108
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * | Restructuring code in file-upload.jsTomasz Grobelny2018-11-241-27/+37
| | | | | | | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
* | | Use the new method instead of the deprecated wrapperJoas Schilling2019-02-061-4/+11
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | HBOX-297 trim in webfrontend for new files to stay compatible with windowsChristian Aigner2019-02-012-2/+2
| | |
* | | Add drop zone for favorites quick access in navigationfnuesse2019-02-012-0/+45
| | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* | | Fix drop zone shadowfnuesse2019-02-011-0/+2
| | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* | | Unify handling of dropping one file or several files on the trash binDaniel Calviño Sánchez2019-02-011-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a single file was dropped on the trash bin the file information was gotten from the original element in the file list. When several files were dropped on the trash bin the file information was gotten from the helper elements being dragged around. The helper element also contain the needed file information when a single file is being dragged, so the handling was unified to always get the file information from the helper elements. As the handling of several files is the same as before there is still the issue of only deleting those files shown in the drag helper instead of all the selected files. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Use full names instead of abbreviations in variable namesDaniel Calviño Sánchez2019-01-311-8/+8
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Make code format more consistent with the rest of the fileDaniel Calviño Sánchez2019-01-311-12/+11
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Replace double quotes with single quotesDaniel Calviño Sánchez2019-01-312-8/+8
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Add missing trailing ";"Daniel Calviño Sánchez2019-01-312-4/+4
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Remove unneeded triggering of eventDaniel Calviño Sánchez2019-01-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "droppedOnTrash" event was being triggered when the file list was initialized, but it should be triggered only when the user actually drops a file on the trash bin. Besides that, the event had no effect; only the file list handles it, but as it was not triggered on any element it ended being triggered on the document, and thus not handled. Moreover, even if it had been triggered on the file list it would have been done before the handler was set, so it would not have been handled anyway. And even if it had been handled no data was provided, so the handler would have failed. In conclusion, triggering the event there was not needed, and thus it was removed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Remove duplicated variable declarationDaniel Calviño Sánchez2019-01-311-1/+0
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Remove leftover from a WIPDaniel Calviño Sánchez2019-01-311-1/+0
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Remove hack to prefetch the starred trash iconDaniel Calviño Sánchez2019-01-311-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since 6ad7f32938 SVG icons are directly embedded in "icons-vars.css", so the starred trash icon is now loaded along with the regular trash icon all at once. Therefore it is not needed to explicitly prefetch it using a hidden div. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #12364 from tomasz-grobelny/file_range_selectJohn Molakvoæ2019-01-303-26/+119
|\ \ \ | |_|/ |/| | Ability to select file ranges with mouse or touchscreen