aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* feat(files): allow to ignore warning to change file typeFerdinand Thiessen2025-02-251-0/+6
| | | | | | | | | | | | | * Missing pieces of https://github.com/nextcloud/server/issues/46528 * Add checkbox to not show this dialog again * Add user config as suggested by designers in files settings to reenable or diable this behavior. * Fix behavior of dialog: It says "keep .ext" but it does not keep the extension but cancels the operation. From the button label the user expects that the operation is continued but with the old extension. * Added more test coverage by adding component tests. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): properly forward open params from short urlsskjnldsv2025-02-181-14/+26
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-134-11/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(files): Fix folder preview for favorites widgetprovokateurin2025-02-031-7/+12
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Only hide template folder creation if default was changed to emptyfix/show-templates-folder-defaultJulius Knorr2025-01-301-1/+1
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* fix: Hide "Create templates folder" option if templates are disabled in ↵Pawel Boguslawski2025-01-271-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>
* chore(files): Deprecate thumbnail endpoint in favor of core preview endpointfix/harden-thumbnail-endpointFerdinand Thiessen2025-01-261-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Harden thumbnail endpointFerdinand 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>
* feat(files): add conversion actionskjnldsv2025-01-221-1/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): more conversion tests and translate error messagesskjnldsv2025-01-171-2/+10
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Log exceptions that happen during file conversionfix/convert-logJulius Knorr2025-01-171-1/+3
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* Merge pull request #50208 from nextcloud/feat/conversion-adjustingJohn Molakvoæ2025-01-161-5/+5
|\ | | | | fix(files): conversion api simplification and conflict check
| * fix(files): conversion api simplification and conflict checkskjnldsv2025-01-161-5/+5
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | Merge pull request #49761 from nextcloud/transfer-share-skip-notfoundDaniel2025-01-161-4/+13
|\ \ | |/ |/| fix: skip transfering shares that we can't find
| * fix: skip transfering shares that we can't findtransfer-share-skip-notfoundRobin Appelman2025-01-031-4/+13
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(api): File conversion APIElizabeth Danzberger2025-01-152-1/+103
| | | | | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* | feat(dashboard): added new FavouriteWidget to display favorite files in ↵yemkareems2025-01-142-0/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dashboard widget * Added widget star icon * run build/autoloaderchecker.sh * removed unwanted IWidget and usersession * renamed id * renamed class to FavoriteWidget * removed limit logic * removed IAPIWidget * ui fixes to remove rounded corners and make the ui/ux similar to recommendation widget. * cs fix + composer fix no dev and review comments from Joas and Côme addressed * added count and removed slice Signed-off-by: yemkareems <yemkareems@gmail.com> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
* | Merge pull request #49905 from nextcloud/chore/deps/openapi-extractorKate2025-01-061-0/+2
|\ \
| * | refactor(OpenAPI): Adjust scopes to match previous behaviorprovokateurin2025-01-061-0/+2
| |/ | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* / fix: explicitly ignore nested mounts when transfering ownershipmount-move-checksRobin Appelman2025-01-061-1/+1
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(Navigation): emit dedicated event for loading additional entriesenh/noid/navigationentryeventArthur Schiwon2024-12-181-0/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #48612 from nextcloud/fix/activity-log-for-favorites-in-davJulius Knorr2024-12-124-51/+92
|\ | | | | add activity logging for favorites in dav
| * refactor(tags): move favorite event dispatching to tags.phpgrnd-alt2024-12-032-12/+0
| | | | | | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
| * fix(dav): add activity logging for favorites in davgrnd-alt2024-12-034-41/+94
| | | | | | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
* | fix: Copying a live photo to a folder with a conflicting mov fileLouis Chemineau2024-12-041-14/+22
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix: Handle copy of folders containing live photosLouis Chemineau2024-12-041-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(files_sharing,files): Do not validate shares before adjusting the ownerprovokateurin2024-11-251-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #49407 from nextcloud/feat/occ-files-cleanup-helpDaniel2024-11-211-1/+2
|\ | | | | feat(files): Add help to / update description of `files:cleanup`
| * feat(occ): Add help and update description for `files:cleanup`feat/occ-files-cleanup-helpJosh2024-11-201-1/+2
| | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | refactor(files): Use functions for all in `occ files:cleanup`refactor/files-cleanupJosh2024-11-201-12/+18
|/ | | | | Tidying. Signed-off-by: Josh <josh.t.richards@gmail.com>
* fix: smuggle storage id to metadata insert queriesRobin Appelman2024-11-071-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #49015 from nextcloud/fix/openapi/array-syntaxJohn Molakvoæ2024-11-067-32/+60
|\
| * fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-057-32/+60
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #48721 from nextcloud/feat/allow-getter-setter-decl-forsJohn Molakvoæ2024-11-064-101/+26
|\ \
| * | refactor(files): Migrate from event listener to class based declarative settingsfeat/allow-getter-setter-decl-forsFerdinand Thiessen2024-10-154-101/+26
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #47425 from ↵Côme Chilliet2024-11-041-10/+10
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/fix/avoid-invalid-share-on-transfer-ownership fix: promote re-shares when deleting the parent share
| * | fix: Transfer incomming shares first, do not delete non-migratable onesCôme Chilliet2024-10-141-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-10-141-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>
* | | Merge pull request #48790 from ↵Kate2024-10-2224-298/+124
|\ \ \ | | | | | | | | | | | | nextcloud/refactor/apps/constructor-property-promotion
| * | | refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-2124-298/+124
| | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | feat(files): Expose chunked upload config via capabilitiesfeat/files/chunked-upload-config-capabilitiesprovokateurin2024-10-214-3/+74
|/ / / | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* | | chore(db): Correctly apply query typesGit'Fellow2024-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* | | Merge pull request #48734 from nextcloud/fix/45884/accept-notificationJoas Schilling2024-10-172-11/+23
|\ \ \ | | | | | | | | fix: get rid of denied notification when accept
| * | | fix: add notification icon for transfer ownershipfix/45884/accept-notificationMaksim Sukharev2024-10-161-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
| * | | fix: do not duplicate existing entityMaksim Sukharev2024-10-161-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-162-5/+20
| | |/ | |/| | | | | | | | | | | | | - do not create 'denied' notification if bg job exists Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* | | refactor: Inject IRootFolderChristopher 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>
* / chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-159-21/+35
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>