Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | fix(files): Ensure that the hash method does not return null | Louis Chemineau | 2024-09-16 | 2 | -2/+10 |
| | | | | | | | | 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> | ||||
* | fix(Storage\Local): Do not call getSourcePath() on SplFileInfofix/storage-local/get-source-path-spl-file-info | provokateurin | 2024-09-15 | 1 | -1/+1 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(files): Never return a null ETag in DAV | provokateurin | 2024-09-09 | 3 | -10/+3 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore(storage): refactor some code portions | Git'Fellow | 2024-09-06 | 1 | -30/+16 |
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> chore: revert portion Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | fix: Also validate parent path in `verifyPath` | Ferdinand Thiessen | 2024-08-28 | 1 | -1/+13 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 7 | -24/+24 |
| | | | | 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> | ||||
* | Merge branch 'master' into jr-readdir-false-false | John Molakvoæ | 2024-08-16 | 21 | -683/+412 |
|\ | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> | ||||
| * | 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> | ||||
| * | fix: Release directory iterator and thereby its potential directory lock ↵ | Dennis Verspuij | 2024-07-27 | 1 | -0/+1 |
| | | | | | | | | | | | | prior to deleting a directory, to avoid e.g. "Text file busy" error with VirtualBox shared folder storage Signed-off-by: Dennis Verspuij <6680484+dennisverspuij@users.noreply.github.com> | ||||
| * | refactor: Migrate filename validation logic from `Storage` to ↵ | Ferdinand Thiessen | 2024-07-16 | 1 | -64/+12 |
| | | | | | | | | | | | | `FilenameValidator` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
| * | Merge branch 'master' into refactor/OC-Server-getHTTPClientService | John Molakvoæ | 2024-05-30 | 21 | -596/+374 |
| |\ | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> | ||||
| | * | chore: Add SPDX header | Andy Scherzinger | 2024-05-24 | 21 | -513/+81 |
| | | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
| | * | fix: Fix newly spotted psalm issues, add exhaustive typed magic properties ↵ | Côme Chilliet | 2024-04-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | for LDAP classes Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
| | * | fix(storage): Fix DAV storage as false is never returned | Joas Schilling | 2024-04-22 | 1 | -6/+0 |
| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
| | * | fix(CI): Suppress psalm UndefinedClass | Joas Schilling | 2024-04-18 | 1 | -0/+1 |
| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
| | * | fix(files): Also skip cross storage move with access control | Joas Schilling | 2024-04-17 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
| | * | Merge pull request #44294 from nextcloud/fix/storage-mount-owner | Julius Härtl | 2024-04-09 | 2 | -0/+17 |
| | |\ | | | | | | | | | 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 | 2 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 6 | -14/+14 |
| | | | | | | | | | | | | 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: avoid scanning a non existing directory | Benjamin Gaussorgues | 2024-03-14 | 1 | -1/+5 |
| | | | | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
| | * | fix: add some recrusive detection/prevention | Robin Appelman | 2024-03-08 | 1 | -0/+11 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| | * | fix: Enforce forbidden filename characters on backend | Ferdinand Thiessen | 2024-02-28 | 1 | -5/+7 |
| | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
| | * | fix: Throw instead of yielding nothing when listing local directories | Julius Härtl | 2024-02-23 | 1 | -0/+6 |
| | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
| | * | use OCP\Server | Robin Appelman | 2024-02-12 | 1 | -1/+2 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> |