Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files` | Ferdinand Thiessen | 2025-05-16 | 3 | -4/+7 |
| | | | | | | | | | 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(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 #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 | 2 | -214/+41 |
| | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | refactor(Storage): Align all Storage constructorsrefactor/storage/constructors | provokateurin | 2024-10-23 | 8 | -16/+16 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | 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 | 8 | -296/+241 |
| | | | | | | | | 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> | ||||
* | fix(Storage): Fix getDirectoryContent() return typefix/storage/get-directory-content-return-type | provokateurin | 2024-09-30 | 3 | -4/+4 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(Storage): Fix IStorage return types | provokateurin | 2024-09-26 | 9 | -1071/+280 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 1 | -5/+5 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(Storage): Fix method docs inheritancefix/storage/method-docs-inheritance | provokateurin | 2024-09-17 | 5 | -92/+0 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(Storage): Document getOwner() can return false | provokateurin | 2024-09-17 | 3 | -17/+4 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore: Remove deprecated Storage::search method instead of moving it to IStorage | Côme Chilliet | 2024-09-16 | 3 | -30/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(files): Ensure that the hash method does not return null | Louis Chemineau | 2024-09-16 | 1 | -0/+1 |
| | | | | | | | | To match https://github.com/nextcloud/server/blob/beececf66068f57c416225efcde9b44ce5c2e835/lib/private/Files/View.php#L1050 - Fix https://github.com/nextcloud/server/issues/44110 Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 3 | -4/+4 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | fix: use mountpoint from storage to find the encryption keys | Robin Appelman | 2024-08-20 | 1 | -3/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix(encryption): Fix mountpoint check to accept if several are found | Côme Chilliet | 2024-08-05 | 1 | -1/+1 |
| | | | | | | | There is no strong requirement to have only one mount for a given storage id. Also the error in this case would be misleading. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: fix some comments | withbest | 2024-07-29 | 1 | -1/+1 |
| | | | | Signed-off-by: withbest <seekseat@outlook.com> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-24 | 9 | -208/+35 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | Merge pull request #44294 from nextcloud/fix/storage-mount-owner | Julius Härtl | 2024-04-09 | 1 | -0/+4 |
|\ | | | | | fix: Pass the mountpoint target user to storages without owner | ||||
| * | fix: Pass the mountpoint target user to storages without owner | Julius Härtl | 2024-04-09 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Storages that do not have a dedicated owner (e.g. groupfolders, external storages) currently always assume the current session user as the owner. This leads to several issues when there is no user session but a node is obtained through a user folder. In order to have the correct user available we need to pass the user that is used to setup a mountpoint along to the storage layer as we generally assume that an owner is available for those. Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | | fix: use proper jailed patch in watcher | Robin Appelman | 2024-04-08 | 1 | -4/+3 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: Apply new coding standard to all files | Côme Chilliet | 2024-04-02 | 4 | -12/+12 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: log error when default getWrapperStorage would return null | Robin Appelman | 2024-03-20 | 1 | -0/+9 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: add some recrusive detection/prevention | Robin Appelman | 2024-03-08 | 1 | -0/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | chore: apply changes from Nextcloud coding standards 1.1.1 | Joas Schilling | 2023-11-23 | 1 | -1/+1 |
| | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | optimize cache jail creation | Robin Appelman | 2023-10-19 | 1 | -4/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Convert isset ternary to null coalescing operator | Hamid Dehnavi | 2023-09-28 | 1 | -2/+2 |
| | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> | ||||
* | add wrapper to ensure we don't get an mtime that is lower than we know it is | Robin Appelman | 2023-09-19 | 1 | -0/+142 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: Only store unencrypted_size if path should be encrypted | Julius Härtl | 2023-09-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | extend fix-key-location to handle cases from broken cross-storage moves | Robin Appelman | 2023-08-31 | 1 | -29/+17 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | only determine quota_include_external_storage once for quota wrapper | Robin Appelman | 2023-08-18 | 1 | -2/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix(sse): don't update uncached files | Richard Steinmetz | 2023-07-04 | 1 | -13/+21 |
| | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> | ||||
* | Refactors "strpos" calls in lib/private to improve code readability. | Faraz Samapoor | 2023-05-15 | 3 | -5/+5 |
| | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com> | ||||
* | Fix file_get_content signatures to make it clear it can return false | Côme Chilliet | 2023-04-27 | 4 | -4/+4 |
| | | | | | | | In File::getContent, which must return a string, throw an Exception instead of returning false. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Merge pull request #36857 from nextcloud/scan-repair-unencrypted-size | Robin Appelman | 2023-04-24 | 1 | -1/+4 |
|\ | | | | | fix unencrypted_size for folders when scanning the filesystem with encryption enabled |