aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(users): Don't crash if disabled user is missing in the databasebackport/48207/stable30Louis Chemineau2024-09-232-9/+18
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-09-2212-0/+102
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-09-2138-258/+10
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #48233 from nextcloud/backport/48222/stable30Kate2024-09-201-2/+2
|\
| * perf: reuse cache info we already have when moving to object storebackport/48222/stable30Robin Appelman2024-09-201-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #48221 from nextcloud/backport/30/fix_move_on_same_bucketKate2024-09-201-0/+5
|\ \ | |/ |/|
| * perf(ObjectStoreStorage): Improve (slow) move on same object bucketChristoph Fiehe2024-09-191-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(l10n): Update translations from TransifexNextcloud bot2024-09-2010-0/+140
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix: ensure parent folder exists when writing a file to object storageRobin Appelman2024-09-191-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: verify that parent exists in cache when insertingRobin Appelman2024-09-191-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: fix object store id for test object storeRobin Appelman2024-09-191-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: cleanup objectstore file_put_contentRobin Appelman2024-09-191-7/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: create intermediate directories for objectstore moveFromStorageRobin Appelman2024-09-191-0/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: get source file before moving the cache item in objectstore moveFromStorageRobin Appelman2024-09-191-1/+5
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-09-196-0/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #47944 from nextcloud/backport/47883/stable30Ferdinand Thiessen2024-09-192-3/+3
|\ | | | | [stable30] fix(setup-checks): Ensure URL with webroot works
| * fix(setup-checks): Ensure URL with webroot worksFerdinand Thiessen2024-09-152-3/+3
| | | | | | | | | | | | | | | | | | | | | | We basically mock the way `URLGenerator::getAbsoluteURL` works, so we must make sure that the URL might already contain the webroot. Because `baseURL` and `cliURL` also contain the webroot we need to remove the webroot from the URL first. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-09-1810-0/+10
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-09-184-16/+32
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #48088 from nextcloud/backport/48008/stable30Kate2024-09-171-3/+2
|\ \
| * | fix(Entity): Fix magic setter call for custom strong typed settersbackport/48008/stable30provokateurin2024-09-161-3/+2
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #48109 from nextcloud/backport/46218/stable30John Molakvoæ2024-09-172-1/+2
|\ \ \
| * | | chore: improve hash_file php usage in Local Storagebackport/46218/stable30John Molakvoæ2024-09-161-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 nullLouis Chemineau2024-09-162-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(l10n): Update translations from TransifexNextcloud bot2024-09-1740-0/+122
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix: switch from explode to substr (faster)backport/46140/stable30Josh Richards2024-09-161-1/+2
| | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | fix(config): Add missing handling for envCache in getKeys()Josh Richards2024-09-161-5/+12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NC_ env variable overrides were not appearing in the output of `occ config:list system` nor `occ config:system:get xxx`. This was creating nearly impossible to diagnose configuration/ behavior disprepancies. - Refactored readData() so that we aren't saving the entire environment in the envCache anymore (only those prefixed "NC_") and so that we save NC_ provided config values under their real key. - Refactored getValue() to accommodate readData() refactor - Fixed getKeys() to properly return envCache keys too Environment provided config variables now appear in `occ config:list system` as expected. Environment provided config variables now appear when queried via `occ config:system:get KEY` envCache is now free of non-NC stuff. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | fix(a11y): Add OTF font loading checkbackport/48063/stable30Joas Schilling2024-09-161-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-09-164-2/+70
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #47868 from nextcloud/backport/47858/stable30John Molakvoæ2024-09-151-0/+3
|\ \
| * | fix(preview): gracefully handle file not being opened in ProviderV2backport/47858/stable30Richard Steinmetz2024-09-101-0/+3
| | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | Merge pull request #47937 from nextcloud/backport/47854/stable30John Molakvoæ2024-09-151-1/+2
|\ \ \ | | | | | | | | [stable30] fix(appstore): Ensure returned apps from AppStore are valid
| * | | fix: check if key is setbackport/47854/stable30Git'Fellow2024-09-151-1/+1
| | | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | | fix(appstore): Ensure returned apps from AppStore are validGit'Fellow2024-09-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: lint chore: remove space Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: check if response array is null Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> chore: Add log
* | | | Merge pull request #47872 from nextcloud/backport/47834/stable30John Molakvoæ2024-09-151-2/+9
|\ \ \ \
| * | | | fix(appstore): disabled appstore log level bump from debug to infobackport/47834/stable30John Molakvoæ2024-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | | fix(appstore): return if appstore is manually disabledGit'Fellow2024-09-101-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: camel case Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: log a debug log Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: typing Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: typo fix: typing
* | | | | Merge pull request #47804 from nextcloud/backport/47801/stable30John Molakvoæ2024-09-153-2/+5
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | chore: update autoloaderbackport/47801/stable30Anupam Kumar2024-09-062-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
| * | | | fix(TaskProcessing): increase error_message column lengthAnupam Kumar2024-09-061-2/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* | | | | Merge pull request #47940 from nextcloud/backport/47933/stable30Andy Scherzinger2024-09-151-3/+3
|\ \ \ \ \ | | | | | | | | | | | | [stable30] fix(config): Throw PreconditionException always when it didn't match
| * | | | | fix(config): Throw PreconditionException always when it didn't matchbackport/47933/stable30Joas Schilling2024-09-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously even when the precondition did not match, the call "passed" when the after value was the expected one. This however can lead to race conditions, duplicate code excutions and other things. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #47796 from nextcloud/backport/47756/stable30Andy Scherzinger2024-09-151-1/+2
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | [stable30] fix(files): Check if target path is a descendant of the shared folder
| * | | | | fix(files): Check if the target path is a descendant of the shared folder pathbackport/47756/stable30Git'Fellow2024-09-061-1/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: fix tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: add tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests
* | | | | Merge pull request #48036 from nextcloud/backport/48016/stable30Kate2024-09-151-1/+1
|\ \ \ \ \
| * | | | | fix(S3ConfigTrait): Allow proxy field to take falsebackport/48016/stable30provokateurin2024-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | fix(BaseResponse): Cast XML element values to stringbackport/48013/stable30provokateurin2024-09-151-1/+3
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | Merge pull request #48027 from nextcloud/backport/48014/stable30Kate2024-09-151-2/+1
|\ \ \ \ \
| * | | | | fix(Tags): Return boolean for userHasTags()backport/48014/stable30provokateurin2024-09-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | | Merge pull request #48025 from nextcloud/backport/48017/stable30Kate2024-09-151-1/+1
|\ \ \ \ \ \