Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | perf: Avoid updating the folder size if we know the size difference | Julius Härtl | 2024-04-09 | 2 | -15/+19 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | fix: use proper jailed patch in watcher | Robin Appelman | 2024-04-09 | 2 | -4/+76 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #44508 from nextcloud/backport/39367/stable27 | Robin Appelman | 2024-04-03 | 1 | -1/+3 |
|\ | | | | | [stable27] handle more exceptions in AmazonS3::fopen | ||||
| * | fix SeekableHttpStream::stream_stat errors on failed open | Robin Appelman | 2024-03-27 | 1 | -1/+3 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | feat(files)): Add retry logic to cover deadlock situations when moving many ↵ | Louis Chemineau | 2024-03-28 | 1 | -6/+25 |
|/ | | | | | | files Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | fix: log error when default getWrapperStorage would return null | Robin Appelman | 2024-03-22 | 1 | -0/+9 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: add some recrusive detection/prevention | Robin Appelman | 2024-03-19 | 1 | -0/+11 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: ensure nested mount points are handled in the correct order | Robin Appelman | 2024-03-18 | 1 | -0/+7 |
| | | | | 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> | ||||
* | Refactoring getName function | hopleus | 2024-03-14 | 1 | -5/+3 |
| | | | | Signed-off-by: hopleus <hopleus@gmail.com> | ||||
* | Fixes for getting the file name in the cases when the file name key is ↵ | hopleus | 2024-03-14 | 1 | -1/+5 |
| | | | | | | received, but it is empty Signed-off-by: hopleus <hopleus@gmail.com> | ||||
* | 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 |