aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(trash): Fix order of metadata deletionbackport/54275/stable30Carl Schwan14 hours1-1/+1
| | | | | | | | | First query metadata for live photo and then delete the metadata, by making the SyncLivePhotosListener priority higher than the default. Partially fix #54274 Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
* fix(files): Always transfer incoming shares when doing ownership transfer to ↵provokateurin2025-07-012-46/+21
| | | | | | prevent broken reshares Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(files): Limit transferring incoming shares to the selected pathprovokateurin2025-07-011-15/+23
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Only hide template folder creation if default was changed to emptybackport/50540/stable30Julius Knorr2025-06-041-1/+1
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* fix(SyncLivePhotosListener): Don't handle copy event emitted from usbackport/52996/stable30Jonas2025-05-281-1/+9
| | | | | | | Running $peerFile->copy() causes a second BeforeNodeCopiedEvent now, which we don't want to handle. Signed-off-by: Jonas <jonas@freesources.org>
* perf: improve query to determine which users need a background scanbackport/53120/stable30Robin Appelman2025-05-271-3/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: Hide "Create templates folder" option if templates are disabled in ↵backport/50464/stable30Pawel Boguslawski2025-05-201-0/+1
| | | | | | | | | | | | | | | | | configuration When both `skeletondirectory` and `templatedirectory` are set to empty strings in configuration, templates folder creation should be disabled and no Create templates folder option should be present in new folder menu. Related: https://github.com/nextcloud/server/issues/39266 Related: https://github.com/nextcloud/server/issues/46455 Author-Change-Id: IB#1156403 Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: keep IObjectStoreMetaData in private namespace for backportsbackport/51603/stable30Robin Appelman2025-05-153-3/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: move streaming output helps to command base classRobin Appelman2025-05-153-60/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: rework object listingRobin Appelman2025-05-153-38/+42
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to list orphan objectsRobin Appelman2025-05-153-72/+151
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to list objectsRobin Appelman2025-05-151-0/+119
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to get object metadataRobin Appelman2025-05-151-0/+79
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add space after castbackport/52575/stable30Andy Scherzinger2025-05-011-1/+1
| | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(notification): Notification in activity shows "Rich subject or a ↵rakekniven2025-05-011-1/+1
| | | | | parameter for ..." Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* chore: apply code styleFerdinand Thiessen2025-04-3036-89/+102
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #51560 from nextcloud/backport/50663/stable30Julius Knorr2025-03-251-0/+6
|\ | | | | [stable30] enh: improve occ file:transfer-ownership logging
| * feat: improve occ file:transfer-ownership loggingbackport/50663/stable30grnd-alt2025-03-191-0/+6
| | | | | | | | Signed-off-by: grnd-alt <github@belakkaf.net>
* | fix:remote account activity translationbackport/51216/stable30SebastianKrupinski2025-03-221-5/+2
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | fix: skip transfering shares that we can't findbackport/49761/stable30Robin Appelman2025-03-201-7/+17
|/ | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Revert "Revert "[stable30] fix: Handle copy of folders containing live photos""Louis2025-03-051-67/+117
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): properly forward open params from short urlsskjnldsv2025-02-191-21/+27
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: explicitly ignore nested mounts when transfering ownershipRobin Appelman2025-02-051-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(files): Harden thumbnail endpointbackport/50430/stable30Ferdinand Thiessen2025-01-261-6/+17
| | | | | | | | - Catch all thrown exceptions and handle in such a way you do not get information about forbidden files. - Resepect download permissions of shares. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Transfer incomming shares first, do not delete non-migratable onesCôme Chilliet2024-12-191-13/+10
| | | | | | | | | | Canceling the previous add of deletion of invalid shares in transferownership because in some cases it deletes valid reshares, if incoming shares are not transfered on purpose. Inverting the order of transfer between incoming and outgoing so that reshare can be migrated when incoming shares are transfered. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: delete re-shares when deleting the parent shareLuka Trovic2024-12-191-0/+3
| | | | | | | | Note: Removed part about fix command from original PR Signed-off-by: Luka Trovic <luka@nextcloud.com> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> (cherry picked from commit 42181c2f490025860e22907255b6917583c798af)
* Revert "[stable30] fix: Handle copy of folders containing live photos"revert-49650-backport/49293/stable30Louis2024-12-121-117/+67
|
* fix: Copying a live photo to a folder with a conflicting mov fileLouis Chemineau2024-12-051-14/+22
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Handle copy of folders containing live photosLouis Chemineau2024-12-051-56/+98
| | | | | | | We need to recursively look for live photos in the folder, and then handle them as usual. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: smuggle storage id to metadata insert queriesRobin Appelman2024-12-051-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(BackgroundJobs): Adjust intervals and time sensitivitiesbackport/48600/stable30provokateurin2024-11-254-16/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48618 from nextcloud/backport/48597/stable30Benjamin Gaussorgues2024-10-301-0/+2
|\
| * feat(transfer-ownership): Improve verbose output of commandCôme Chilliet2024-10-151-0/+2
| | | | | | | | | | | | Makes debbuging way easier Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #48746 from nextcloud/backport/46124/stable30John Molakvoæ2024-10-291-3/+5
|\ \
| * | refactor: Inject IRootFolderbackport/46124/stable30Christopher Ng2024-10-161-4/+4
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | fix: Fix "Unknown path" error when source user `files` folder has not been ↵Christopher Ng2024-10-161-0/+2
| |/ | | | | | | | | | | initialized Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix: add notification icon for transfer ownershipMaksim Sukharev2024-10-171-0/+4
| | | | | | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* | fix: do not duplicate existing entityMaksim Sukharev2024-10-171-8/+1
| | | | | | | | | | | | - this reverts 1e8048abee1745bab648dba5bf96f956c718e4e3 Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* | fix: dismiss notification only after transfer bg job createdMaksim Sukharev2024-10-172-5/+20
|/ | | | | | - do not create 'denied' notification if bg job exists Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* fix(transfer-ownership): Improve comments according to code reviewCôme Chilliet2024-09-051-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(transfer-ownership): Correctly react to encrypted filesCôme Chilliet2024-09-051-20/+43
| | | | | | | | For E2EE encrypted files, we abort the transfer. For SSE encrypted files, we abort only if not using master key. Also fixed the check for when the path to a single file is used. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf(files): Do not block files page load with server-side favorites retrievalChristopher Ng2024-08-291-15/+0
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Backport to 30Louis Chemineau2024-08-281-10/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Apply php:cs recommendationsLouis Chemineau2024-08-281-2/+2
| | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> [skip ci]
* fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-282-43/+131
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: adjust systemtag orphan cleanup query to work with shardingRobin Appelman2024-08-281-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: make background scan job compatible with shardingRobin Appelman2024-08-281-12/+58
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* perf: improve cleanup of tags/commentsRobin Appelman2024-08-191-9/+6
| | | | | | delete entire chunk at once instead of one-by-one Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor(files): Drop unneeded initial stateFerdinand Thiessen2024-08-141-51/+0
| | | | | | | The initial state is no longer used, it was only used in legacy UI and in the f2v rewrite it was only used for the `id` which can be loaded just from the URL. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Update openapiChristopher Ng2024-08-082-6/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>