Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(encryption): Correctly handle file opening and copying failuresfix/catch-exception-in-encrypt-all | Côme Chilliet | 2025-07-03 | 1 | -3/+17 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: apply new CSFixer rules | Ferdinand Thiessen | 2025-07-01 | 31 | -47/+65 |
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php | ||||
* | fix: handle ambiguous IResponse.getBody return typesdebt/noid/wrong-return-type-iresponse | Daniel Kesselberg | 2025-06-30 | 1 | -1/+9 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | fix: remove double cache write in ObjectStoreStorage::touch | Robin Appelman | 2025-06-18 | 1 | -10/+0 |
| | | | | | | the file_put_contents already puts all of those values into the cache Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #53419 from ↵ | Kent Delante | 2025-06-18 | 1 | -17/+43 |
|\ | | | | | | | | | nextcloud/leftybournes/fix/object_storage_large_uploads fix(s3): retry failed multipart uploads with decreased concurrency | ||||
| * | fix(s3): retry failed multipart uploads with decreased concurrencyleftybournes/fix/object_storage_large_uploads | Kent Delante | 2025-06-10 | 1 | -17/+43 |
| | | | | | | | | Signed-off-by: Kent Delante <kent.delante@proton.me> | ||||
* | | fix(FilenameValidator): use `_` as default replacement for invalid charsfix/validation-defaults | Ferdinand Thiessen | 2025-06-18 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | | fix(ObjectStore): Make S3 "connect_timeout" option configurablefix/noid/make-s3-connect-timeout-option-configurable | Daniel Calviño Sánchez | 2025-06-16 | 2 | -2/+6 |
|/ | | | | | | | | | | | The hardcoded connection timeout of 5 seconds may not be enough in some cases, so now it is got from the ObjectStore arguments in Nextcloud configuration, falling back to 5 if not set. The connection timeout is set in seconds, but decimal precision can be used for subsecond accuracy (for example, 4.2 for 4200 milliseconds). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> | ||||
* | fix: Run cleanByMoundId query on all shards | Joas Schilling | 2025-06-06 | 1 | -0/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(dav): file drop nickname | skjnldsv | 2025-06-05 | 2 | -0/+12 |
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> | ||||
* | Merge pull request #52242 from nextcloud/artonge/fix/copy_subfolders_s3 | Louis | 2025-06-02 | 1 | -3/+3 |
|\ | |||||
| * | perf: set the folder size in the same query as we create it | Robin Appelman | 2025-05-28 | 1 | -7/+3 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | fix(S3): Use original folder size during copy | Louis Chemineau | 2025-05-28 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | This prevent having copied folders with a wrongly set size of 0KB. - Fix https://github.com/nextcloud/server/issues/51916 Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | | feat: move primary object store configuration to a single placeprimary-object-store-settings | Robin Appelman | 2025-05-28 | 3 | -144/+168 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix(node): emit hooks on `Node::copy()` | Jonas | 2025-05-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | When calling `Files\Node\Node::copy()`, `Files\View::copy()` gets called, but `Files\View::fakeRoot` is empty so the hooks are not emitted if no path is given to `Files\View::shouldEmitHooks()`. This results in node-related events like `NodeCopiedEvent` not being fired when copying files via `Files\Node\Node::copy()`. `Files\View::shouldEmitHooks()` is given a path as parameter in almost all places except when called from the `copy()` function. This commit changes it and passes the copy target path. Fixes: nextcloud/collectives#1756 Signed-off-by: Jonas <jonas@freesources.org> | ||||
* | feat(IUser): add `getQuotaBytes` method to get machine readable quotafeat/user-get-quota-bytes | Ferdinand Thiessen | 2025-05-22 | 1 | -2/+1 |
| | | | | | | | | | | | Proper replacement for deprecated `OC_Util::getUserQuota`. Also we still use this in some cases we can now replace, moreover it just makes sense to have a machine readable format in the API instead of only the human readable format which is less precise. Alings also with `getQuota` of the quota storage, which already returned the machine readable format. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix(SetupManager): Include home and root providers when registering mountsfix/setupmanager/home-root-providers-register-mounts | provokateurin | 2025-05-20 | 2 | -57/+68 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | feat: only load template fields when requested | Elizabeth Danzberger | 2025-05-19 | 1 | -2/+63 |
| | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> | ||||
* | feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-events | provokateurin | 2025-05-19 | 1 | -7/+24 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files` | Ferdinand Thiessen | 2025-05-16 | 6 | -8/+15 |
| | | | | | | | | | The function was already there but called the legacy version. So moved the implementation and migrated all usages of it. Sadly the interface was slightly different so adjusted it to be compatible with both legacy and the OCP one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix: improve error message when cache rename source can't be foundcache-rename-source-error | Robin Appelman | 2025-05-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #52822 from nextcloud/feat/mime-names | John Molakvoæ | 2025-05-15 | 1 | -0/+22 |
|\ | |||||
| * | feat(core): add human readable mimes | John Molakvoæ (skjnldsv) | 2025-05-14 | 1 | -0/+22 |
| | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | | Merge pull request #52812 from nextcloud/chore/oc-helper-rmdirr | John Molakvoæ | 2025-05-14 | 1 | -2/+6 |
|\ \ | |||||
| * | | chore: move implementation from OC legacy to OCP\Fileschore/oc-helper-rmdirr | Ferdinand Thiessen | 2025-05-14 | 1 | -2/+6 |
| |/ | | | | | | | | | | | | | | | | | - move implementation to the OCP variant that called the legacy before - add the missing deprecation notice - add missing parameter to align both signatures - use OCP\Files where this method is still used Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | | Merge pull request #48560 from nextcloud/fix/migrate-encryption-away-from-hooks | Côme Chilliet | 2025-05-14 | 1 | -9/+20 |
|\ \ | | | | | | | feat(encryption): Migrate from hooks to events | ||||
| * | | fix(encryption): Only prevent cache deletion if target is not object store ↵ | Côme Chilliet | 2025-05-13 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | in moveFromStorage Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
| * | | fix(encryption): Improve Update class and event listenening | Côme Chilliet | 2025-05-13 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | to avoid back&forth between path and Node object Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
| * | | fix: Preserve file id when moving from object store even if encryption ↵ | Côme Chilliet | 2025-05-13 | 1 | -4/+15 |
| | | | | | | | | | | | | | | | | | | wrapper is present Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
| * | | fix: Fix mtime preservation when moving a directory across storages with ↵ | Côme Chilliet | 2025-05-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | encryption registered Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
| * | | fix(encryption): Fix filesize for part files in Encryption wrapper | Côme Chilliet | 2025-05-13 | 1 | -2/+3 |
| |/ | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | Merge pull request #52775 from nextcloud/nested-jail-root | Andy Scherzinger | 2025-05-14 | 1 | -5/+8 |
|\ \ | | | | | | | fix unjailedroot of nested jails if there are other wrappers in between | ||||
| * | | fix: fix unjailedroot of nested jails if there are other wrappers in betweennested-jail-root | Robin Appelman | 2025-05-13 | 1 | -4/+7 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | | test: add test for nested cache jail unjailedroot | Robin Appelman | 2025-05-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | | Merge pull request #52800 from nextcloud/debt/noid/simple-file-generic-exception | Kate | 2025-05-14 | 1 | -2/+8 |
|\ \ \ | |||||
| * | | | fix: annotate possible exceptionsdebt/noid/simple-file-generic-exception | Daniel Kesselberg | 2025-05-13 | 1 | -2/+8 |
| |/ / | | | | | | | | | | | | | | | | File.getContent can throw a GenericFileException since https://github.com/nextcloud/server/pull/37943. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | / | chore: deprecate \OC_Helper::canExecutechore/oc-helper-can-exec | Ferdinand Thiessen | 2025-05-14 | 1 | -2/+5 |
| |/ |/| | | | | | | | | | replace this legacy method with just the IBinaryFinder Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | | feat(FilenameValidator): allow to sanitize filenamesfeat/ocp-sanitize-filenames | Ferdinand Thiessen | 2025-05-13 | 1 | -0/+37 |
|/ | | | | | | Share the filename sanitizing with the OCP filename validator. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | Merge pull request #51920 from nextcloud/newfolder-race-improvements | Côme Chilliet | 2025-05-13 | 1 | -2/+15 |
|\ | | | | | fix: improve handling of newFolder race condition handling | ||||
| * | fix: improve handling of newFolder race condition handlingnewfolder-race-improvements | Robin Appelman | 2025-05-08 | 1 | -2/+15 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #52706 from nextcloud/info-file-more-encryption-checks | Robin Appelman | 2025-05-12 | 1 | -0/+12 |
|\ \ | | | | | | | feat: add more encryption checks to info:file | ||||
| * | | feat: add more encryption checks to info:fileinfo-file-more-encryption-checks | Robin Appelman | 2025-05-09 | 1 | -0/+12 |
| |/ | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #52665 from nextcloud/mountpoint-mkdir-quota | Robin Appelman | 2025-05-12 | 2 | -0/+19 |
|\ \ | | | | | | | fix: create mountpoint folder even if the user has a quota of 0 | ||||
| * | | fix: create mountpoint folder even if the user has a quota of 0mountpoint-mkdir-quota | Robin Appelman | 2025-05-08 | 2 | -0/+19 |
| |/ | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* / | fix: throw a better error if we can't get the encrypted header sizeencryption-no-header-size-error | Robin Appelman | 2025-05-09 | 1 | -0/+11 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #52047 from nextcloud/sub-mount-filter-no-storage | Kate | 2025-05-06 | 1 | -2/+1 |
|\ | |||||
| * | fix: don't construct storage when checking if a sub-mount is applicablesub-mount-filter-no-storage | Robin Appelman | 2025-04-08 | 1 | -2/+1 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #52441 from nextcloud/scan-locked-error | Kate | 2025-05-06 | 2 | -6/+15 |
|\ \ | |||||
| * | | fix: better error message when trying to scan a folder that is already being ↵scan-locked-error | Robin Appelman | 2025-04-25 | 2 | -6/+15 |
| | | | | | | | | | | | | | | | | | | scanned Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | | Merge pull request #51779 from nextcloud/object-store-filename | Kate | 2025-05-06 | 3 | -19/+56 |
|\ \ \ |