summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #48558 from nextcloud/backport/48522/stable30Stephan Orbaugh2024-10-081-8/+4
|\ | | | | [stable30] fix(QueryBuilder): Account for aliases in output columns
| * fix(QueryBuilder): Account for aliases in output columnsbackport/48522/stable30provokateurin2024-10-031-8/+4
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(config): Mark more app configs sensitivebackport/48584/stable30Joas Schilling2024-10-071-0/+9
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #48514 from nextcloud/backport/48513/stable30Marcel Klehr2024-10-021-1/+1
|\ | | | | [stable30] fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
| * fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResultbackport/48513/stable30Marcel Klehr2024-10-021-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #48077 from nextcloud/backport/47852/stable30Benjamin Gaussorgues2024-10-026-11/+11
|\ \
| * | fix: misc code fixes around db shardingbackport/47852/stable30Robin Appelman2024-09-166-11/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #48093 from nextcloud/backport/47316/stable30Kate2024-10-021-1/+1
|\ \ \
| * | | fix: Prevent crash when refreshing metadata for files without an ownerbackport/47316/stable30Vincent FarZz2024-10-021-1/+1
| | |/ | |/| | | | | | | | | | | | | This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout" Signed-off-by: Vincent FarZz <farcry69@live.fr>
* / | fix(theming): Use `AppConfig` for setting background imagebackport/48439/stable30Ferdinand Thiessen2024-10-021-0/+1
|/ / | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #48503 from nextcloud/backport/48426/stable30Josh2024-10-011-1/+2
|\ \ | | | | | | [stable30] fix(config): Suppress `config.php` fopen error at install time
| * | fix(config): Suppress error at install timebackport/48426/stable30Josh2024-10-011-1/+2
| | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | fix(Auth): ignore missing token when trying to set password-unconfirmablebackport/48484/stable30Arthur Schiwon2024-10-011-6/+14
|/ / | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #48317 from nextcloud/backport/48307/stable30Kate2024-09-301-0/+10
|\ \
| * | fix: gracefully parse non-standard trusted certificatesbackport/48307/stable30Richard Steinmetz2024-09-301-0/+10
| | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle ↵backport/48361/stable30provokateurin2024-09-261-0/+17
| | | | | | | | | | | | | | | | | | limitations Signed-off-by: provokateurin <kate@provokateurin.de>
* | | fix(share): Ensure unique share tokensbackport/47265/stable30ernolf2024-09-251-5/+17
| | | | | | | | | | | | | | | | | | | | | - check for token collisions and retry up to three times. - throw after 3 attempts without finding a unique token. Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
* | | fix(querybuilder): Fix boolean type so that oracle handles boolean wellbackport/48215/stable30Joas Schilling2024-09-251-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #48127 from nextcloud/backport/48114/stable30Grigorii K. Shartsev2024-09-242-9/+1
|\ \ | | | | | | [stable30] fix(appstoreFetcher): get list from a custom store and remove unnecessary warning
| * | fix(appstoreFetcher): get app list from custom app storebackport/48114/stable30Grigorii K. Shartsev2024-09-172-8/+1
| | | | | | | | | | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
| * | fix(appstoreFetcher): remove unneeded warningGrigorii K. Shartsev2024-09-171-1/+0
| | | | | | | | | | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* | | Merge pull request #48285 from nextcloud/backport/48207/stable30Andy Scherzinger2024-09-232-9/+18
|\ \ \ | | | | | | | | [stable30] fix: Don't crash if disabled user is missing in the database
| * | | 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: skip the integrity check for nextcloud-init-sync.lockbackport/48268/stable30Daniel Kesselberg2024-09-231-2/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time. Ref: https://github.com/nextcloud/docker/issues/2299. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | 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: 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>
* | | Merge pull request #47944 from nextcloud/backport/47883/stable30Ferdinand Thiessen2024-09-191-2/+2
|\ \ \ | |/ / |/| | [stable30] fix(setup-checks): Ensure URL with webroot works
| * | fix(setup-checks): Ensure URL with webroot worksFerdinand Thiessen2024-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | 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: 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>
* | 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-151-2/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | |