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 | 2 | -16/+16 |
| | | | | | | | 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> | ||||
* | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files` | Ferdinand Thiessen | 2025-05-16 | 5 | -7/+13 |
| | | | | | | | | | 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> | ||||
* | 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> | ||||
* | | 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 #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 | 1 | -0/+8 |
|\ \ | | | | | | | 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 | 1 | -0/+8 |
| |/ | | | | | | | 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> | ||||
* | fix: restore updated encrypted version when copying versionsencryption-version-version | Robin Appelman | 2025-01-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #49262 from nextcloud/move-from-encryption-no-opt | Robin Appelman | 2024-12-05 | 1 | -1/+5 |
|\ | | | | | fix: don't do same-storage move optimization with encryption wrappers | ||||
| * | fix: don't do same-storage move optimization with encryption wrappersmove-from-encryption-no-opt | Robin Appelman | 2024-11-13 | 1 | -1/+5 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #48651 from ↵ | Louis | 2024-12-04 | 1 | -1/+0 |
|\ \ | | | | | | | | | | | | | nextcloud/artonge/fix/copy_cache_during_copy_operations fix(files): Correctly copy the cache information during copy operations | ||||
| * | | fix(files): Correctly copy the cache information on copy operations | Louis Chemineau | 2024-12-03 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder. Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | | | fix: don't set 'name' on null metadata | Robin Appelman | 2024-12-03 | 1 | -1/+3 |
|/ / | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | refactor(storage): Code adjustements and simplificationsrefactSmallAdjust | Git'Fellow | 2024-11-21 | 4 | -242/+68 |
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | | fix(storage): Try to delete existing targetdeleteExistingTarget | Git'Fellow | 2024-11-20 | 2 | -10/+15 |
|/ | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Add same logic to common storage | ||||
* | chore: use `$this->logger` and prevent Server::getfix/undefined-response | skjnldsv | 2024-11-08 | 1 | -2/+2 |
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> | ||||
* | Fix Undefined variable: response notice in case of non-404 error | Victor Dubiniuk | 2024-11-08 | 1 | -2/+3 |
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> | ||||
* | Merge pull request #47847 from ↵ | John Molakvoæ | 2024-10-29 | 1 | -2/+6 |
|\ | | | | | | | nextcloud/fix-copying-or-moving-from-shared-groupfolders | ||||
| * | fix: Fix copying or moving from shared groupfolders | Daniel Calviño Sánchez | 2024-10-10 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When copying or moving between two local storages the source path (on disk) to copy or move from is got from the unjailed path of the source storage. However, if the source storage has more than one jail getting the unjailed path resolves the most external jail, but the source path needs to be got from the most internal jail instead (the one closer to the local storage). This can happen, for example, with a shared groupfolder: in that case there is an external jail for the shared storage, and one internal jail for the groupfolder storage wrapped by the shared storage. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> | ||||
* | | refactor(Storage): Align all Storage constructorsrefactor/storage/constructors | provokateurin | 2024-10-23 | 15 | -44/+44 |
| | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | feat(http-client): expose default request timeout constant to be used ↵add-default-request-timeout-const | Thomas Citharel | 2024-10-11 | 1 | -1/+2 |
|/ | | | | | | | | | | instead of magic number 30 Will be used to set default where we are able to override the default timeout. See https://github.com/nextcloud/server/pull/48418 Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | Merge pull request #48623 from nextcloud/fix/allow-quota-wrapper-check | Kate | 2024-10-09 | 1 | -1/+1 |
|\ | |||||
| * | fix: Allow overriding shouldApplyQuota check from child classesfix/allow-quota-wrapper-check | Julius Knorr | 2024-10-09 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net> | ||||
* | | refactor(Storage): Make all parameter types strong types | provokateurin | 2024-10-07 | 19 | -567/+422 |
| | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | refactor(Wrapper\Encryption): Migrate to strong typesrefactor/stream-encryption/typings | provokateurin | 2024-10-07 | 1 | -59/+15 |
|/ | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | Merge pull request #48454 from ↵ | Kate | 2024-10-01 | 5 | -6/+6 |
|\ | | | | | | | nextcloud/fix/storage/get-directory-content-return-type | ||||
| * | fix(Storage): Fix getDirectoryContent() return typefix/storage/get-directory-content-return-type | provokateurin | 2024-09-30 | 5 | -6/+6 |
| | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | Merge pull request #48235 from nextcloud/readd-object-store-phpunit | Robin Appelman | 2024-10-01 | 1 | -4/+16 |
|\ \ | |/ |/| | test: re-add object store primary storage phpunit tests | ||||
| * | fix: preserve fileid when moving from objectstore to non-objectstore | Robin Appelman | 2024-09-27 | 1 | -4/+16 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix: Fix test of IConstructableStorage implentation by storage classesfix/fix-storage-interface-check | Côme Chilliet | 2024-09-30 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(Storage): Fix IStorage return types | provokateurin | 2024-09-26 | 21 | -1458/+496 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix: Move storage constructor to specific interface | Côme Chilliet | 2024-09-23 | 2 | -1/+7 |
| | | | | | | That allows Wrappers to use DI and not care about the constructor Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 3 | -8/+8 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(Storage): Fix method docs inheritancefix/storage/method-docs-inheritance | provokateurin | 2024-09-17 | 9 | -151/+16 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(Storage): Document getOwner() can return false | provokateurin | 2024-09-17 | 5 | -31/+6 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore: Check storage is an instance of the correct class instead of ↵fix/remove-references-to-deprected-storage-interface | Côme Chilliet | 2024-09-16 | 1 | -6/+9 |
| | | | | | | psalm-suppress Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: Remove deprecated Storage::search method instead of moving it to IStorage | Côme Chilliet | 2024-09-16 | 4 | -34/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: psalm-suppress legacy code weirdness | Côme Chilliet | 2024-09-16 | 1 | -2/+12 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: Fix psalm issues, put back private versions of getter in private ↵ | Côme Chilliet | 2024-09-16 | 4 | -9/+63 |
| | | | | | | Storage interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Fix other uses of removed Storage interface | Côme Chilliet | 2024-09-16 | 2 | -84/+8 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: improve hash_file php usage in Local Storageartonge/fix/hash_return_type | John Molakvoæ | 2024-09-16 | 1 | -8/+1 |
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> |