Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: Throw instead of yielding nothing when listing local directories | Julius Härtl | 2024-02-26 | 1 | -0/+6 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Merge pull request #43246 from nextcloud/backport/41327/stable27 | Benjamin Gaussorgues | 2024-02-09 | 2 | -8/+32 |
|\ | |||||
| * | also updated parent etags when a changed etag is detected during scanning | Robin Appelman | 2024-01-31 | 2 | -7/+30 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | dont reuse etag for folders marked explicitly unscanned | Robin Appelman | 2024-01-31 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #43390 from nextcloud/backport/43131/stable27 | Git'Fellow | 2024-02-09 | 1 | -1/+1 |
|\ \ | | | | | | | [stable27] fix(files): Don't attempt to format a partial cache entry | ||||
| * | | fix(files): Don't attempt to format a partial cache entry | Christoph Wurst | 2024-02-06 | 1 | -1/+1 |
| |/ | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* / | continue background scanning different storages if one fails | Robin Appelman | 2024-02-07 | 1 | -23/+27 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: reduce memory consumption of scans | Git'Fellow | 2024-01-16 | 1 | -3/+6 |
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix lint Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> | ||||
* | fix(s3): Add config option to disable multipart copy for certain s3 providers | Julius Härtl | 2023-12-29 | 2 | -1/+4 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | only do a multipart s3 copy when above the regular copy limit | Robin Appelman | 2023-12-29 | 2 | -11/+23 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | setup filesystem wrappers before we mark the root as setup | Robin Appelman | 2023-12-05 | 1 | -2/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | add more checks to ensure mounts aren't empty | Robin Appelman | 2023-12-05 | 2 | -1/+15 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix(TemplateManager): Bail early if templatedirectory is empty | Marcel Klehr | 2023-12-04 | 1 | -0/+5 |
| | | | | | | fixes #39266 Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Merge pull request #41462 from nextcloud/backport/40996/stable27 | Arthur Schiwon | 2023-11-28 | 1 | -1/+1 |
|\ | | | | | [stable27] reuse sharing disabled state when listing folder content | ||||
| * | reuse sharing disabled state when listing folder content | Robin Appelman | 2023-11-14 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | optimize UserMountCache::registerStorage | Robin Appelman | 2023-11-16 | 3 | -57/+61 |
| | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | | Merge pull request #41502 from nextcloud/backport/40935/stable27 | Benjamin Gaussorgues | 2023-11-16 | 1 | -2/+31 |
|\ \ | | | | | | | [stable27] add some support for rename on case insensitive local filesystems | ||||
| * | | add some support for rename on case insensitive local filesystems | Robin Appelman | 2023-11-15 | 1 | -2/+31 |
| |/ | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #41363 from nextcloud/optmize-storage-wrappers-27 | Benjamin Gaussorgues | 2023-11-16 | 5 | -39/+73 |
|\ \ | | | | | | | [27] optimize builtin storage wrappers | ||||
| * | | optimize isShared and isMounted | Robin Appelman | 2023-11-09 | 1 | -18/+5 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | | optimize builtin storage wrappers | Robin Appelman | 2023-11-09 | 4 | -21/+68 |
| |/ | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* / | fix(s3): support SSE-C headers for the MultipartCopy call | Tobias Zimmerer | 2023-11-15 | 1 | -1/+7 |
|/ | | | | Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com> | ||||
* | optimize cache jail creation | Robin Appelman | 2023-11-07 | 2 | -6/+1 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | enh(IMountManager): Add method to get MountPoint from CachedMountInfo | Jonas | 2023-10-26 | 2 | -1/+20 |
| | | | | Signed-off-by: Jonas <jonas@freesources.org> | ||||
* | Merge pull request #40569 from nextcloud/backport/40499/stable27 | Arthur Schiwon | 2023-10-11 | 1 | -0/+142 |
|\ | | | | | [stable27] add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is | ||||
| * | add wrapper to ensure we don't get an mtime that is lower than we know it is | Robin Appelman | 2023-10-10 | 1 | -0/+142 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #40577 from nextcloud/s3-multipart-copy-27 | Julius Härtl | 2023-10-10 | 1 | -4/+12 |
|\ \ | |/ |/| | |||||
| * | use multipart copy for s3 | Robin Appelman | 2023-09-22 | 1 | -4/+12 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Store size in int|float for 32bit support | Côme Chilliet | 2023-09-25 | 2 | -4/+7 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Merge pull request #40379 from nextcloud/backport/38808/stable27 | Arthur Schiwon | 2023-09-21 | 4 | -4/+6 |
|\ | | | | | [stable27] Fix issues where unencrypted_size was being falsely used for non-encrypted home folders | ||||
| * | fix: Only read unencrypted_size when file is actually encrypted | Julius Härtl | 2023-09-12 | 2 | -3/+3 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
| * | fix: Only store unencrypted_size if path should be encrypted | Julius Härtl | 2023-09-12 | 2 | -1/+3 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | | Wrap mimetype insert and getLastInsertId in a transaction | Lucas Azevedo | 2023-09-16 | 1 | -7/+9 |
| | | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com> | ||||
* | | fix(mimetype): Remove unnecessary transaction when storing a mime type | Lucas Azevedo | 2023-09-16 | 1 | -26/+22 |
|/ | | | | | | | | | | | | Fixes #40064. This could be fixed by adding a rollback and starting a new transaction before the SELECT query, but in this case that would have the same effect as not using one. See https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html and https://www.postgresql.org/docs/7.1/sql-begin.html#R1-SQL-BEGIN-1 Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com> | ||||
* | only determine quota_include_external_storage once for quota wrapper | Robin Appelman | 2023-09-07 | 2 | -4/+6 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | reuse dependencies from wrapped cache | Robin Appelman | 2023-09-07 | 1 | -3/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #40286 from nextcloud/backport/40233/stable27 | Arthur Schiwon | 2023-09-07 | 1 | -2/+12 |
|\ | | | | | [stable27] Detect aborted connection in OC\Files\View and stop writing data to t… | ||||
| * | Detect aborted connection in OC\Files\View and stop writing data to the ↵ | Benjamin Gaussorgues | 2023-09-06 | 1 | -2/+12 |
| | | | | | | | | | | | | output buffer Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | | Merge pull request #40231 from nextcloud/sharing-mask-wrapper-27 | Arthur Schiwon | 2023-09-06 | 5 | -77/+50 |
|\ \ | |/ |/| | [27] move share permission logic to storage wrapper | ||||
| * | cleanup di for share permissions wrapper | Robin Appelman | 2023-09-04 | 2 | -79/+42 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | more share permission logic to storage wrapper | Robin Appelman | 2023-09-04 | 4 | -10/+20 |
| | | | | | | | | | | | | this way we only have to determine the share permissions once Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #40227 from nextcloud/backport/40195/stable27 | Arthur Schiwon | 2023-09-05 | 1 | -1/+2 |
|\ \ | | | | | | | [stable27] fix: prevent sharing permissions on user root folder | ||||
| * | | fix: prevent sharing permissions on user root folder | John Molakvoæ | 2023-09-04 | 1 | -1/+2 |
| |/ | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> | ||||
* / | fix(s3): fix handling verify_bucket_exists parameter | Thomas Citharel | 2023-08-31 | 1 | -1/+1 |
|/ | | | | | | | | If 'verify_bucket_exists' is set to false in the config.php s3 configuration, it's supposed to avoid verifying that the bucket exists. However empty(falsy) will always return true, so this condition would not work. Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | fix: don't emit Hooks when hookpaths are empty | Anna Larch | 2023-08-21 | 1 | -16/+24 |
| | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> | ||||
* | fix: Prevent PHP warnings when optional CacheEntry attributes are unset | Ferdinand Thiessen | 2023-08-17 | 2 | -4/+4 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | select the fileid first when looking for incomplete files | Robin Appelman | 2023-08-14 | 1 | -5/+9 |
| | | | | | | this seems to improve mariadbs index selection Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: simplify `sourceData` check | John Molakvoæ | 2023-08-05 | 1 | -1/+1 |
| | | | | Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> | ||||
* | Catch more invalid cache source storage paths | Josh Richards | 2023-08-05 | 1 | -1/+1 |
| | | | | | | | | | | OC\Files\Cache\Cache::get can return string|false|null, not just string|false. - nextcloud/server#26270 added handling of false, but null is needed too. - Well, or we change the default $resullt to false, but I'm not sure if that has other ramifications and the real need here is to simply catch situations where the cache source storage path is not valid for whatever reason Related: nextcloud/server#19009 Signed-off-by: Josh Richards <josh.t.richards@gmail.com> | ||||
* | Merge pull request #39642 from nextcloud/backport/39629/stable27 | Julius Härtl | 2023-08-03 | 1 | -1/+1 |
|\ |