aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #48597 from ↵Côme Chilliet2024-10-081-0/+2
|\ | | | | | | | | nextcloud/fix/fix-email-share-transfer-accross-storages Fix email share transfer accross storages
| * feat(transfer-ownership): Improve verbose output of commandCôme Chilliet2024-10-071-0/+2
| | | | | | | | | | | | Makes debbuging way easier Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-084-16/+4
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* perf(files): Adjust default chunk size for chunked upload to 100MiBperf/files/chunked-upload-default-100-mibprovokateurin2024-09-301-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48223 from nextcloud/feat/add-rector-configCôme Chilliet2024-09-232-11/+11
|\ | | | | Add rector config
| * chore: Apply rector configuration to apps folderCôme Chilliet2024-09-202-11/+11
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(activity): Update more activity providers to use new exceptionsfollowup/48086/fix-more-activity-providersJoas Schilling2024-09-232-19/+19
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore(files): Remove legacy style filesFerdinand Thiessen2024-09-201-1/+0
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | chore(files): Remove legacy UI scripts now that everything is migrated to VueFerdinand Thiessen2024-09-201-3/+0
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-197-7/+8
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: move to new activity exceptionrefactor/move-to-new-activity-exceptionAnna Larch2024-09-172-4/+6
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #47792 from nextcloud/chore/use-public-api-helperJohn Molakvoæ2024-09-161-11/+14
|\
| * chore(files): Use public API where possiblechore/use-public-api-helperFerdinand Thiessen2024-09-051-11/+14
| | | | | | | | | | | | | | This is not fixing all issues in the helper, but at least where possible use the public methods. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | feat(NavigationManager): Add default entries handlingprovokateurin2024-09-091-1/+3
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-052-2/+2
| | | | Signed-off-by: Anna Larch <anna@nextcloud.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>
* chore: Apply php:cs recommendationsLouis Chemineau2024-08-281-2/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-282-53/+135
| | | | 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(files): Do not block files page load with server-side favorites retrievalChristopher Ng2024-08-271-15/+0
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2524-79/+79
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* perf: improve cleanup of tags/commentsRobin Appelman2024-08-151-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>
* feat(files): Allow specifying path and depth for returned folder treeChristopher Ng2024-08-081-44/+37
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): When redirecting to a file (internal link) then it should open ↵Ferdinand Thiessen2024-08-031-0/+2
| | | | | | by default Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Update openapi specChristopher Ng2024-08-012-1/+18
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Allow toggling folder treeChristopher Ng2024-08-011-1/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Implement endpoint to retrieve a user's folder treeChristopher Ng2024-08-012-25/+95
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #46807 from nextcloud/refactor/files/security-attributesKate2024-08-017-73/+56
|\
| * refactor(files): Replace security annotations with respective attributesprovokateurin2024-07-277-73/+56
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | chore: Remove deprecated legacy search backendJulius Härtl2024-08-011-7/+0
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #46672 from nextcloud/fix/preview-invalid-idAndy Scherzinger2024-07-251-0/+4
|\ | | | | Avoid using partial file info as valid one
| * fix: Ignore preview requests for invalid file idsJulius Härtl2024-07-221-0/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: PHP formattingElizabeth Danzberger2024-07-252-1/+8
| | | | | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* | feat: Add support for filling fields to backend componentsElizabeth Danzberger2024-07-251-2/+12
|/ | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat(files): Allow to configure Windows filename compatibility in the settingsFerdinand Thiessen2024-07-176-0/+202
| | | | | | | | This adds an admin setting to toggle Windows filename compatibility. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Remove deprecated `Util` function for filename validation to ↵Ferdinand Thiessen2024-07-161-44/+20
| | | | | | `FilenameValidator` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add `forbidden_filename_basenames` config optionFerdinand Thiessen2024-07-151-1/+2
| | | | | | | | This allows to configure forbidden filenames (the full filename like `.htaccess`) and also forbidden basenames like `com0` where `com0`, `com0.txt` and `com0.tar.gz` will match. We need this as only using basenames was too restrictive and will cause problems on some systems when updating. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add new forbidden filename options to CapabilitiesFerdinand Thiessen2024-07-111-9/+12
| | | | | | | | | Allow clients to access the new filename validation options and make frontend name validation possible. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #46059 from nextcloud/perf/remove_useless_sessionBenjamin Gaussorgues2024-06-271-3/+0
|\
| * perf(session): remove useless session openBenjamin Gaussorgues2024-06-241-3/+0
| | | | | | | | | | | | | | `UseSession` isn’t used in theses controllers. Not using it should avoid a few session locks. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | feat(notifications): Migrate server INotifiers to new exceptionsJoas Schilling2024-06-251-4/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(files): Rename openFileInfo to fileInfoLouis Chemineau2024-06-191-1/+1
| | | | | | And check if openFile is set in the URL before opening a file. Signed-off-by: Louis Chemineau <louis@chmn.me>
* perf: Tell browsers to cache storage stats endpoint as it is cachedJulius Härtl2024-06-181-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(files): Properly handle denied ownership transfersFerdinand Thiessen2024-06-142-29/+34
| | | | | | | | | | | | | When the receiver denies the transfer the notification handler was missing, so no notification was created for the transfer owner. But also the internal notification was created two times: 1. When rejecting the transfer 2. By the reject function when dismissing the notification This is fixed by only relying on the dismiss function. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Use receiving users language for the ownership transfer target ↵Ferdinand Thiessen2024-05-291-8/+13
| | | | | | folder Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2967-1372/+160
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>