Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | fix unencrypted_size for files when scanning | Robin Appelman | 2023-04-04 | 1 | -1/+4 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #34607 from nextcloud/encryption-size-not-found | Vincent Petry | 2023-04-06 | 1 | -1/+3 |
|\ \ | | | | | | | fix encryption wrapper filesize for non existing files | ||||
| * | | fix encryption wrapper filesize for non existing files | Robin Appelman | 2023-04-04 | 1 | -1/+3 |
| |/ | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* / | Fix return type of methods returning false on error | Côme Chilliet | 2023-04-03 | 4 | -10/+10 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix quota typing for 32bits after forward port from 25 | Côme Chilliet | 2023-04-01 | 1 | -2/+2 |
| | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> | ||||
* | Adapt types of subclasses | Côme Chilliet | 2023-04-01 | 2 | -4/+4 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Make it clear that file sizes may be float on 32bits | Côme Chilliet | 2023-04-01 | 2 | -9/+11 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Remove quota value type for 32-bit systems | Vincent Petry | 2023-04-01 | 1 | -2/+2 |
| | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> | ||||
* | Respect OCP interface in private classes | Côme Chilliet | 2023-02-07 | 5 | -5/+5 |
| | | | | | | | Because the parameter type was moved to phpdoc it needs to be removed from implementations Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix psalm errors related to filesizes | Côme Chilliet | 2023-02-07 | 2 | -1/+4 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Strong type filesize related methods to ease 32bits problem findings | Côme Chilliet | 2023-02-07 | 5 | -17/+5 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(encryption): don't throw on missing file | Richard Steinmetz | 2023-01-30 | 1 | -4/+1 |
| | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> | ||||
* | composer run cs:fix | Côme Chilliet | 2023-01-20 | 2 | -4/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Suppress last psalm error until upstream fix is released and included | Côme Chilliet | 2023-01-02 | 1 | -0/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix psalm spotted errors with new requirements | Côme Chilliet | 2023-01-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | clear is-encrypted cache when trying to fix encrypted version | Robin Appelman | 2022-12-01 | 1 | -0/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> |