Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 21 | -601/+448 |
| | | | | | | | | 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> | ||||
* | | refactor(Stream\Encryption): Migrate to strong types | provokateurin | 2024-10-07 | 1 | -74/+42 |
|/ | | | | 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 | 2 | -24/+82 |
|\ \ | | | | | | | test: re-add object store primary storage phpunit tests | ||||
| * | | fix: rework move into object store to better preserve fileidsreadd-object-store-phpunit | Robin Appelman | 2024-09-27 | 1 | -19/+55 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | | fix: preserve fileid when moving from objectstore to non-objectstore | Robin Appelman | 2024-09-27 | 2 | -6/+27 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | | fix: ensure source folder is removed from cache when moving to objectstore | Robin Appelman | 2024-09-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | otherwise this causes confusion down the line as it's contents will be moved to the new cache Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | | fix: catch NotPermittedException in Folder.nodeExistsupdate-phpdoc-for-folder-get | Daniel Kesselberg | 2024-09-30 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | | | docs: Folder.get throws a NotPermittedException exception | Daniel Kesselberg | 2024-09-30 | 3 | -23/+0 |
| |/ |/| | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | | 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 | 24 | -1484/+518 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListener | Carl Schwan | 2024-09-23 | 1 | -0/+5 |
| | | | | | | | | oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | 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: Add proper deprecation dates where missing | Ferdinand Thiessen | 2024-09-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | perf: reuse cache info we already have when moving to object storeobject-store-move-db | Robin Appelman | 2024-09-19 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 21 | -35/+35 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix: fix share reminder job for oracleoracle-share-reminder | Robin Appelman | 2024-09-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: ensure parent folder exists when writing a file to object storage | Robin Appelman | 2024-09-18 | 1 | -0/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: verify that parent exists in cache when inserting | Robin Appelman | 2024-09-18 | 1 | -0/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: fix object store id for test object store | Robin Appelman | 2024-09-18 | 1 | -2/+2 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: cleanup objectstore file_put_content | Robin Appelman | 2024-09-18 | 1 | -7/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: create intermediate directories for objectstore moveFromStorage | Robin Appelman | 2024-09-18 | 1 | -0/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: get source file before moving the cache item in objectstore moveFromStorage | Robin Appelman | 2024-09-18 | 1 | -1/+5 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #47986 from cfiehe/fix_move_on_same_bucket | Stephan Orbaugh | 2024-09-17 | 1 | -0/+5 |
|\ | | | | | perf(ObjectStoreStorage): Improve (slow) move on same object bucket | ||||
| * | perf(ObjectStoreStorage): Improve (slow) move on same object bucket | Christoph Fiehe | 2024-09-16 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage. The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder. Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de> | ||||
* | | fix(Storage): Fix method docs inheritancefix/storage/method-docs-inheritance | provokateurin | 2024-09-17 | 10 | -155/+16 |
| | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | fix(Files): Handle getOwner() returning falsefix/storage/get-owner-false | provokateurin | 2024-09-17 | 3 | -10/+51 |
| | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | fix(Storage): Document getOwner() can return false | provokateurin | 2024-09-17 | 7 | -41/+8 |
| | | | | | | | | 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 | 6 | -15/+71 |
| | | | | | | | | | | | | 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> | ||||
* | Merge pull request #47852 from nextcloud/sharding-code-fixes | John Molakvoæ | 2024-09-16 | 1 | -1/+1 |
|\ | |||||
| * | fix: misc code fixes around db shardingsharding-code-fixes | Robin Appelman | 2024-09-09 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #48016 from nextcloud/fix/s3configtrait/proxy-false | Kate | 2024-09-15 | 1 | -1/+1 |
|\ \ | |||||
| * | | fix(S3ConfigTrait): Allow proxy field to take falsefix/s3configtrait/proxy-false | provokateurin | 2024-09-15 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | | 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): Adjust Cache::searchQuery() parameter name to match interface | provokateurin | 2024-09-13 | 2 | -4/+4 |
| | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | | Merge pull request #47853 from nextcloud/clearify-swift-exception | Robin Appelman | 2024-09-10 | 1 | -4/+4 |
|\ \ | | | | | | | fix: make swift connect exception message more informative | ||||
| * | | fix: make swift connect exception message more informative | Robin Appelman | 2024-09-09 | 1 | -4/+4 |
| |/ | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* / | fix: Only write once to template instead of create/copy | Julius Knorr | 2024-09-10 | 1 | -3/+3 |
|/ | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net> | ||||
* | fix(files): Never return a null ETag in DAV | provokateurin | 2024-09-09 | 3 | -10/+3 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> |