aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix default toast message for failed uploads with HTTP/2Daniel Calviño Sánchez2022-06-141-1/+1
| | | | | | | | | | | | | | | | When an upload fails a toast is shown with either a specific message or just the textual part of the HTTP error code (which comes from the upload failure handler and set by "jQuery.ajax()". However, if there is neither a message nor an error then the toast will show the default message from the Toastify-js library, which is an undescriptive "Hi there!". When HTTP/2 is used Chromium does not provide the textual part of the HTTP error code, so when an upload fails the toast can receive an empty message and thus just show "Hi there!". Now an explicit message is provided as a fallback to prevent that. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* l10n: Delete apostropheValdnet2022-06-071-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Improve accessibility with more visible focus indication for non vue appsCarl Schwan2022-05-161-1/+3
| | | | | | | | | | | | - Add visible-focus effect on each header entry - Show focus outline when using focus-visible (keyboard navigation) - Add polyfy for focus-visible since it's only very recently available on webkit - Change text for link to home button to describe the destination and not the current page - Improve focus effect in app sidebar navigation Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Revert "Show the child folders in the breadcrumb menu when on a parent entry."Simon L2022-04-291-20/+3
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Remove accessibilityJohn Molakvoæ2022-04-211-1/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix filelist not loading after refresh in firefoxRobin Appelman2022-04-071-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Explicitly close div elementLouis Chemineau2022-04-043-5/+5
| | | | | | Fix: #30002 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* try to fix broken tooltipszaimen2022-02-141-1/+0
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Merge pull request #30925 from ↵Louis2022-02-081-3/+20
|\ | | | | | | | | paierlep/feature/breadcrumb_menu_parent_folder_visible Show the child folders in the breadcrumb menu when on a parent entry.
| * Show the parent folders in the breadcrumb menu when on a child entry.Christian Paier2022-02-021-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | Previously, clicking on an menu item in the breadcrumb menu removed the parent entries of the path, i.e.: Clicking on the "to" entry in "/path/to/some/folder" changed the breadcrumb menu to show only the "/path/to" entries. With this change the breadcrumb menu changes this behaviour as the full path is still visible (and usable) but with the "to" entry beeing highlighted. Signed-off-by: Christian Paier <hallo+git@cpaier.com>
* | Fix bugs with incorrect currentFileList in the favorite and share by youCarl Schwan2022-02-031-0/+6
|/ | | | | | | | view This was causing bugs when trying to create new template in this views Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Properly hide progress bar after errorVincent Petry2022-01-121-5/+16
| | | | | | | | | Whenever an error occurs, also hide the progress bar. The logic was also adjusted to properly detect uploads that are pending deletion, in which case the progress bar can already be hidden. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Properly abort uploadsVincent Petry2022-01-121-9/+36
| | | | | | | | | Add a new approach for flagging an upload as aborted because we can't rely on the browser fully cancelling the request as we now seem to receive an error response from the server instead of a jQuery "abort" message. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #30572 from nextcloud/fix/lint_warningsLouis2022-01-128-34/+34
|\ | | | | Fix lint warnings
| * Add generic type and description when its missingLouis Chemineau2022-01-111-4/+4
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * Typing correctionsLouis Chemineau2022-01-118-31/+31
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Trigger "changeDirectory" even on URL changeVincent Petry2022-01-112-9/+14
|/ | | | | | | | | | | | | | | | | When using the browser back button or clicking on sections on the left sidebar (like favorites), the "changeDirectory" jQuery event did not get called, so apps like recommendations would not notice the directory change. This fixes the issue by also setting changeUrl to true when the file list's directory got changed as a result from a URL change. Added optional changedThroughUrl argument to make sure the event recipient knows if the change was done through a URL change and make it possible prevent a loop in the onDirectoryChange handler that actually changes the URL when the origin was already from a URL change. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Delete outdated bundlesJohn Molakvoæ (skjnldsv)2022-01-086-1110/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump core-js from 3.20.0 to 3.20.1dependabot[bot]2022-01-016-6/+6
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.20.0 to 3.20.1. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.20.0...v3.20.1) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix template picker for file actions using the fileInfoModelJulien Veyssier2021-12-302-3/+3
| | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Bump core-js from 3.19.3 to 3.20.0dependabot[bot]2021-12-186-16/+16
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.3 to 3.20.0. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.19.3...v3.20.0) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Bump core-js from 3.19.2 to 3.19.3dependabot[bot]2021-12-126-9/+9
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.2 to 3.19.3. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.19.2...v3.19.3) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Bump @nextcloud/vue from 4.2.0 to 4.3.0dependabot[bot]2021-12-116-23/+23
| | | | | | | | | | | | | | | | | Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v4.2.0...v4.3.0) --- updated-dependencies: - dependency-name: "@nextcloud/vue" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #30141 from nextcloud/fix/filelist-reloadJulius Härtl2021-12-081-1/+3
|\
| * Reload page on 401 since there is an authentification problemCarl Schwan2021-12-071-5/+3
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Stop reloading file list when getting 401 error on root dirCarl Schwan2021-12-071-0/+4
| | | | | | | | | | | | | | | | When reaching the root dir, instead of reloading the file list we reload the page completely. This trigger a redirection to the login page automatically with the correct ?redirect_url= in thr url. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | do not trigger events when setting active view in gotopluginJulien Veyssier2021-12-071-1/+1
|/ | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Bump core-js from 3.19.1 to 3.19.2dependabot[bot]2021-12-056-16/+16
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.1 to 3.19.2. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.19.1...v3.19.2) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-306-69/+50
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/axios from 1.7.0 to 1.8.0dependabot[bot]2021-11-276-26/+26
| | | | | | | | | | | | | | | | | Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.7.0 to 1.8.0. - [Release notes](https://github.com/nextcloud/nextcloud-axios/releases) - [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.7.0...v1.8.0) --- updated-dependencies: - dependency-name: "@nextcloud/axios" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Bump jquery from 3.5.1 to 3.6.0dependabot[bot]2021-11-272-8/+8
| | | | | | | | | | | | | | | | Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0. - [Release notes](https://github.com/jquery/jquery/releases) - [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0) --- updated-dependencies: - dependency-name: jquery dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix mainfileinfodetailsview appendingVincent Petry2021-11-194-11/+11
| | | | | | | | | Since the jquery update to 3.5.0, it seems Handlebars doesn't correctly render self-closed elements. This fixes mainfileinfodetailsview template to not use self-closed elements and fixes the JS unit tests. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix action share icon markupVincent Petry2021-11-182-2/+2
| | | | | | | Expanded the empty span tag to resolve issue with wrong appending done by either handlebars or jquery. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #29574 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.1dependabot[bot]2021-11-086-11/+11
|\
| * Merge pull request #29572 from ↵John Molakvoæ2021-11-086-11/+11
| | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-2.1.1 Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | refs #11864 handle empty dir drop in Files UIJulien Veyssier2021-11-082-3/+19
|/ | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Bump @nextcloud/initial-state from 1.2.0 to 1.2.1dependabot[bot]2021-11-064-4/+4
| | | | | | | | | | | | | | | | | Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases) - [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.2.0...v1.2.1) --- updated-dependencies: - dependency-name: "@nextcloud/initial-state" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Bump core-js from 3.18.3 to 3.19.0dependabot[bot]2021-10-306-40/+40
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.3 to 3.19.0. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.18.3...v3.19.0) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Move to combined files entrypointJulius Härtl2021-10-2510-414/+427
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Bump core-js from 3.18.2 to 3.18.3dependabot[bot]2021-10-176-6/+6
| | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.2 to 3.18.3. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.18.2...v3.18.3) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #28250 from pjft/patch-3Louis2021-10-141-1/+6
|\ | | | | Fix bug introduced on drag and drop external files
| * Fix bug introduced on drag and drop external filespjft2021-08-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drag and drop of external (OS filesystem) to subdirectories in the browser would fail on specific cases, mainly when the subdirectory was no longer off the root folder. This seemed to have been an issue introduced with the subdirectory free space calculation [here](https://github.com/nextcloud/server/commit/f9536b08096ed1c80391af36d33a18198be1fced) and it seems to fail for any subdirectory that doesn't belong to the root folder. Bug reports: - https://help.nextcloud.com/t/drag-drop-into-subfolders/120731 - https://github.com/nextcloud/server/issues/24720 I couldn't find any reference on scenarios or quota management that would suggest when a subdirectory's free space would be different to the parent's free space, other than when on the root folder, where subdirectories can be external mounts. As such, if my understanding is correct (please review), this calculation can - and should - be made by getting the free space from the first subdirectory in the total path, which caters for all subdirectory scenarios. Please advise, happy to help improve this. Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: pjft <pjft@users.noreply.github.com>
* | Merge pull request #29101 from nextcloud/enh/noid/fileaction-in-single-filenamePytal2021-10-124-16/+39
|\ \
| * | adding action.filename to FileActionsMaxence Lange2021-10-084-16/+39
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Bump core-js from 3.18.1 to 3.18.2dependabot[bot]2021-10-108-37/+37
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.1 to 3.18.2. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.18.1...v3.18.2) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Fix container element for newFileMenu tooltipLouis Chemineau2021-10-061-1/+1
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Bump @nextcloud/vue from 4.1.1 to 4.2.0dependabot[bot]2021-10-038-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 4.1.1 to 4.2.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v4.1.1...v4.2.0) --- updated-dependencies: - dependency-name: "@nextcloud/vue" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Bump core-js from 3.18.0 to 3.18.1dependabot[bot]2021-10-036-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.0 to 3.18.1. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v3.18.0...v3.18.1) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Bump @nextcloud/paths from 2.0.0 to 2.1.0dependabot[bot]2021-10-028-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@nextcloud/paths](https://github.com/nextcloud/nextcloud-paths) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/nextcloud/nextcloud-paths/releases) - [Changelog](https://github.com/nextcloud/nextcloud-paths/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-paths/commits/v2.1.0) --- updated-dependencies: - dependency-name: "@nextcloud/paths" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Bump @nextcloud/axios from 1.6.0 to 1.7.0dependabot[bot]2021-10-026-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/nextcloud/nextcloud-axios/releases) - [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.6.0...v1.7.0) --- updated-dependencies: - dependency-name: "@nextcloud/axios" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>