summaryrefslogtreecommitdiffstats
path: root/apps/files
Commit message (Collapse)AuthorAgeFilesLines
...
* Update autoloaders and Node package-lock.jsonMichaIng2022-04-137-18/+11
| | | | Signed-off-by: MichaIng <micha@dietpi.com>
* [tx-robot] updated from transifexNextcloud bot2022-04-062-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-04-052-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-03-312-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-03-302-4/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-03-282-0/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-03-252-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-03-184-36/+40
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Init user's file system if not existing on ownership transferCarl Schwan2022-03-041-7/+6
| | | | | | | | This makes it a bit easier to transfer ownership when the new user hasn't already logged in. This still doesn't support encrypted storages because the keys are not generated yet. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* [tx-robot] updated from transifexNextcloud bot2022-03-042-0/+22
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-03-032-8/+8
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #31255 from nextcloud/backport/31143/stable23Vincent Petry2022-03-022-5/+5
|\ | | | | [stable23] Don't redirect when loading files index page
| * Redirection now only happens when dir is emptyCarl Schwan2022-02-211-4/+4
| | | | | | | | | | | | Otherwise dir it's just ignored and fileid is used Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Don't redirect when loading files index pageCarl Schwan2022-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we are redirecting from ?dir=/&fileid=2 to ?dir=/. This is an issue because we then need to load two pages with full file system setup and authentification instead of one and the assets won't start loading until the second page is delivered to the user. Additionally when loading ?dir=/, we then change the url back to ?dir=/&fileid=2 (without reload) so that the next time we load the page again we do the same thing again. Depending on the speed of the server and internet connection we can save 100ms to 400ms, improving the user experience. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | [tx-robot] updated from transifexNextcloud bot2022-02-282-4/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-02-272-216/+274
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-02-252-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-02-242-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-02-2324-46/+188
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #31050 from nextcloud/backport/30995/stable23Vincent Petry2022-02-181-0/+6
|\ \ | |/ |/| [stable23] Fix bugs with incorrect currentFileList in the favorite and share by you view
| * Fix bugs with incorrect currentFileList in the favorite and share by youCarl Schwan2022-02-071-0/+6
| | | | | | | | | | | | | | | | view This was causing bugs when trying to create new template in this views Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #31204 from nextcloud/backport/31097/stable23Louis2022-02-161-1/+5
|\ \ | | | | | | [stable23] Fix path handling when transferring incoming shares
| * | Fix path handling when transferring incoming sharesVincent Petry2022-02-161-1/+5
| |/ | | | | | | | | | | | | | | | | When transferring incoming shares from a guest user without specifying a path, the $path is empty. The fix properly handles that situation to avoid looking for shares in a path with doubled slashes which failed to find shares to transfer. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Merge pull request #31084 from nextcloud/backport/31081/stable23Vincent Petry2022-02-161-2/+10
|\ \ | | | | | | [stable23] Don't provide favorite activity settings
| * | Don't provide favorite activity settingsJoas Schilling2022-02-091-2/+10
| |/ | | | | | | | | | | | | | | | | Since mails and notifications are only available for actions of other users it does not make sense to allow changing this. It also prevents the common misunderstanding with "file was changed inside a favorited folder" Signed-off-by: Joas Schilling <coding@schilljs.com>
* / try to fix broken tooltipszaimen2022-02-151-1/+0
|/ | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* [files] new internal link GET param to avoid setting 'openfile' on redirectJulien Veyssier2022-01-141-2/+2
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Fix wrong unified search link to folderJohn Molakvoæ2022-01-141-6/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Properly hide progress bar after errorVincent Petry2022-01-131-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-131-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>
* Trigger "changeDirectory" even on URL changeVincent Petry2022-01-122-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>
* Recompile JSVincent Petry2022-01-104-11/+11
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix JS tests after test lib updatesVincent Petry2022-01-102-2/+7
| | | | | | | Prevent XHR during load by checking window.TESTING. Adjust some expected values. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix uploading text positionJohn Molakvoæ2022-01-041-9/+25
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix template picker for file actions using the fileInfoModelJulien Veyssier2021-12-303-5/+8
| | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Limit more contact searchesJoas Schilling2021-12-131-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump core-js from 3.19.2 to 3.19.3dependabot[bot]2021-12-116-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>
* Reload page on 401 since there is an authentification problemCarl Schwan2021-12-081-5/+3
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Stop reloading file list when getting 401 error on root dirCarl Schwan2021-12-081-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-046-23/+23
| | | | | | | | | | | | | | | | | 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>
* list.php files are only invoked via ViewController and APIControllerJoas Schilling2021-12-022-3/+2
| | | | | | | | Both of them actually check that the user is logged in before and also the list.php files themselves would break with getUserSession()->getUser()->getUID() which they contain. Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix testsRobin Appelman2021-12-022-7/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* stop background scan early if a users still has unscanned files after ↵Robin Appelman2021-12-021-1/+7
| | | | | | background scan Signed-off-by: Robin Appelman <robin@icewind.nl>
* find users for background scan one by oneRobin Appelman2021-12-021-22/+20
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move storage encoding compatibility warning logicVincent Petry2021-11-192-30/+4
| | | | | | | | | | | The encoding check for file names is now happening the Scanner, and an event will be emitted only if the storage doesn't contain the encoding compatibility wrapper. The event is listened to by the occ scan command to be able to display a warning in case of file name mismatches when they have NFD encoding. 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>