aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix: Use sha256 to hash arguments of background jobsLouis Chemineau2024-09-051-5/+4
| | | | | | This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database. Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #47484 from nextcloud/backport/46013/stable30Arthur Schiwon2024-09-051-0/+25
|\ | | | | [stable30] fix: write object to the correct urn when moving from another storage to object store
| * fix: write object to the correct urn when moving from another storage to ↵Robin Appelman2024-09-041-0/+25
| | | | | | | | | | | | object store Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(appstore): Cache apps.json also on dev instancesMarcel Müller2024-09-051-8/+9
|/ | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix(files): Create non-existent parents of mountpointsprovokateurin2024-09-041-0/+9
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #47728 from nextcloud/backport/47155/stable30Andy Scherzinger2024-09-041-37/+16
|\ | | | | [stable30] fix(jobs): Switch to executeStatement() while deleting rows
| * fix: lintGit'Fellow2024-09-041-1/+1
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * fix(jobs): Swicth to executeStatement() while deleting rowsGit'Fellow2024-09-041-37/+16
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | fix: Do not throw if appstore is unavailable during upgradeJulius Härtl2024-09-041-1/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Do not fail to get internal path on NonExistingFile/NonExistingFolderJulius Härtl2024-09-032-0/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #47626 from nextcloud/backport/47546/stable30John Molakvoæ2024-08-301-3/+3
|\
| * fix: Adjust filename validation messagesFerdinand Thiessen2024-08-301-3/+3
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #47621 from nextcloud/backport/47567/stable30John Molakvoæ2024-08-301-1/+1
|\ \ | |/ |/|
| * fix(config): Avoid error messages for restricted opcache APIJosh2024-08-301-1/+1
| | | | | | | | | | | | | | Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments. Fixes #47562 Signed-off-by: Josh <josh.t.richards@gmail.com>
* | Revert "fix(TaskProcessing): Use OCP\Server::get instead of copying methods"Marcel Klehr2024-08-301-5/+45
| | | | | | | | | | | | This reverts commit d624c8da8f0dc2eaf18d416aa15db0a2035de398. Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | fix(TextProcessing): Don't run taskProcessing if task type is not availableMarcel Klehr2024-08-301-1/+1
| | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | fix(SpeechToTextManager): Throw TaskProcessing Task failedMarcel Klehr2024-08-301-13/+15
| | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | fix(TaskProcessing): Use OCP\Server::get instead of copying methodsMarcel Klehr2024-08-301-45/+5
| | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | feat(speech-to-text): SpeechToTextManager::transcribeFile calls ↵Julien Veyssier2024-08-304-8/+58
| | | | | | | | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | feat(textprocessing): TextProcessingManager::runTask calls ↵Julien Veyssier2024-08-302-3/+84
|/ | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(DB): do not assume sharding is always enabledArthur Schiwon2024-08-291-13/+19
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix(DB): set sharding parameters only when intendedArthur Schiwon2024-08-291-5/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #47528 from nextcloud/backport/47510/stable30Andy Scherzinger2024-08-291-2/+29
|\ | | | | [stable30] fix(db): Increase log level for very slow transactions
| * fix(db): Increase log level for very slow transactionsChristoph Wurst2024-08-271-2/+29
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #47588 from nextcloud/backport/47515/stable30Andy Scherzinger2024-08-281-13/+21
|\ \ | | | | | | [stable30] fix(migration): Correctly sort migrations by version number
| * | fix(migration): Correctly sort migrations by version numberJoas Schilling2024-08-281-13/+21
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix: Also validate parent path in `verifyPath`Ferdinand Thiessen2024-08-282-3/+17
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | fix: Allow read-only filename validation to allow reading filesFerdinand Thiessen2024-08-281-1/+12
| | | | | | | | | | | | | | | | | | Needed to read files with the "Windows compatibility" feature. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | fix: Renaming does not need update but delete permissionsFerdinand Thiessen2024-08-281-5/+8
|/ / | | | | | | | | | | | | Renaming is basically copy + delete (a move), so no need to update permissions. Especially if the node is in a invalid directory the node should be moveable but not editable. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix: Backport to 30Louis Chemineau2024-08-281-0/+10
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | chore: Apply php:cs recommendationsLouis Chemineau2024-08-289-39/+39
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> [skip ci]
* | fix: mark systemconfig value as not being tainted because they are ↵Robin Appelman2024-08-281-1/+19
| | | | | | | | | | | | implicitly trusted Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-284-11/+73
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: fix share cleanup for deleted groups with shardingRobin Appelman2024-08-281-10/+18
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: run mimetype repair query across all shardsRobin Appelman2024-08-281-0/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: hint storage id in more placesRobin Appelman2024-08-281-2/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: only allow pre-defined shardsRobin Appelman2024-08-281-8/+30
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-2820-26/+1330
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat: add option to automatically partition queries by specific tablesRobin Appelman2024-08-2810-2/+971
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: delay calculating global cache prefix untill a cache is createdRobin Appelman2024-08-282-30/+66
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: don't make ICacheFactory depend on databaseRobin Appelman2024-08-281-8/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat: track expected output columns in query builderRobin Appelman2024-08-282-0/+33
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #47398 from nextcloud/backport/47259/stable30Stephan Orbaugh2024-08-285-0/+55
|\ \ | | | | | | [stable30] feat: add negative compare-and-delete to imemcache
| * | feat: add negative compare-and-delete to imemcacheRobin Appelman2024-08-235-0/+55
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #47542 from nextcloud/backport/47522/stable30Andy Scherzinger2024-08-282-83/+138
|\ \ \ | | | | | | | | [stable30] [TaskProcessing] Add manager::runTask method
| * | | fix(taskprocessing): fix condition to reschedule SynchronousBackgroundJobJulien Veyssier2024-08-271-10/+13
| | | | | | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
| * | | feat(taskprocessing): add IManager::runTask method to run task synchronouslyJulien Veyssier2024-08-272-73/+125
| | |/ | |/| | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | Merge pull request #47533 from nextcloud/backport/47509/stable30Andy Scherzinger2024-08-281-9/+15
|\ \ \ | | | | | | | | [stable30] fix: gracefully handle unexpected exif orientation types
| * | | fix: gracefully handle unexpected exif orientation typesRichard Steinmetz2024-08-271-9/+15
| |/ / | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>