aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #52822 from nextcloud/feat/mime-namesJohn Molakvoæ2025-05-152-2/+24
|\
| * feat(core): add human readable mimesJohn Molakvoæ (skjnldsv)2025-05-142-2/+24
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | fix: Fix warning when crash reporter fails to get loadedJoas Schilling2025-05-151-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52667 from nextcloud/fix/improve-init-profilingCôme Chilliet2025-05-144-21/+27
|\ \ | | | | | | Improve init profiling
| * | fix: Fix psalm issue and update baselinefix/improve-init-profilingCôme Chilliet2025-05-141-1/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat: Improve init a bit, and add more profiling stepsCôme Chilliet2025-05-134-20/+25
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #52544 from nextcloud/chore/drop-deprecated-account-scopesJohn Molakvoæ2025-05-142-24/+4
|\ \ \
| * | | chore(IAccountManager): remove deprecated visibility constantschore/drop-deprecated-account-scopesFerdinand Thiessen2025-05-142-24/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Those constants are not used anywhere anymore and are deprecated for more than ten versions. So its time to cleanup the interface. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #52812 from nextcloud/chore/oc-helper-rmdirrJohn Molakvoæ2025-05-145-36/+16
|\ \ \ \
| * | | | chore: move implementation from OC legacy to OCP\Fileschore/oc-helper-rmdirrFerdinand Thiessen2025-05-145-36/+16
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move implementation to the OCP variant that called the legacy before - add the missing deprecation notice - add missing parameter to align both signatures - use OCP\Files where this method is still used Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #52684 from ↵Benjamin Gaussorgues2025-05-144-10/+43
|\ \ \ \ | | | | | | | | | | | | | | | nextcloud/bugfix/noid/last-insert-id-when-reconnecting
| * | | | fix(db): Store last insert id before reconnectJoas Schilling2025-05-144-10/+43
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During a reconnect we are losing the connection and when the realLastInsertId call is the one triggering the reconnect, it does not return the ID. But inside the reconnect, we were able to save the last insert id, so calling it a second time is going to be successful. We can not return the result on the initial call, as we are already way deeper in the stack performing the actual database query on the doctrine driver. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #48560 from nextcloud/fix/migrate-encryption-away-from-hooksCôme Chilliet2025-05-146-191/+148
|\ \ \ \ | |_|/ / |/| | | feat(encryption): Migrate from hooks to events
| * | | fix(encryption): Only prevent cache deletion if target is not object store ↵Côme Chilliet2025-05-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | in moveFromStorage Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix(encryption): Improve Update class and event listeneningCôme Chilliet2025-05-134-99/+42
| | | | | | | | | | | | | | | | | | | | | | | | to avoid back&forth between path and Node object Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: Preserve file id when moving from object store even if encryption ↵Côme Chilliet2025-05-131-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | wrapper is present Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix(encryption): Fix a PHP error in Encryption Util in specific situationsCôme Chilliet2025-05-131-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: Fix mtime preservation when moving a directory across storages with ↵Côme Chilliet2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | encryption registered Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix(encryption): Fix filesize for part files in Encryption wrapperCôme Chilliet2025-05-131-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | feat(encryption): Migrate from hooks to eventsCôme Chilliet2025-05-134-106/+107
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #52775 from nextcloud/nested-jail-rootAndy Scherzinger2025-05-141-5/+8
|\ \ \ \ | | | | | | | | | | fix unjailedroot of nested jails if there are other wrappers in between
| * | | | fix: fix unjailedroot of nested jails if there are other wrappers in betweennested-jail-rootRobin Appelman2025-05-131-4/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | test: add test for nested cache jail unjailedrootRobin Appelman2025-05-131-1/+1
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #52800 from nextcloud/debt/noid/simple-file-generic-exceptionKate2025-05-141-2/+8
|\ \ \ \
| * | | | fix: annotate possible exceptionsdebt/noid/simple-file-generic-exceptionDaniel Kesselberg2025-05-131-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | File.getContent can throw a GenericFileException since https://github.com/nextcloud/server/pull/37943. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #52798 from ↵Daniel2025-05-141-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bug/noid/log-requests-exceeding-rate-limit fix: log requests exceeding the rate limiting
| * | | | | fix: log requests exceeding the rate limitingbug/noid/log-requests-exceeding-rate-limitDaniel Kesselberg2025-05-141-0/+7
| | |_|_|/ | |/| | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #52801 from nextcloud/chore/oc-helper-filesizeFerdinand Thiessen2025-05-143-57/+7
|\ \ \ \ \ | | | | | | | | | | | | chore: replace legacy OC_Helper calls with OCP\Util
| * | | | | chore: replace leagcy OC_Helper calls with OCP\Utilchore/oc-helper-filesizeFerdinand Thiessen2025-05-143-57/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace legacy calls with OCP\Util - Add missing deprecation notices - Inline implementation in OCP\Util and call it from OC_Helper Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | Merge pull request #52802 from nextcloud/chore/oc-helper-can-execFerdinand Thiessen2025-05-142-2/+6
|\ \ \ \ \ | |/ / / / |/| | | | chore: deprecate \OC_Helper::canExecute
| * | | | chore: deprecate \OC_Helper::canExecutechore/oc-helper-can-execFerdinand Thiessen2025-05-142-2/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | replace this legacy method with just the IBinaryFinder Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | fix(log): Only log client request id if present, and at the endfeat/log-client-side-req-idCôme Chilliet2025-05-141-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | feat(log): Log the request id sent with the requestCôme Chilliet2025-05-141-0/+2
|/ / / | | | | | | | | | | | | | | | This should help matching client logs with server logs, hopefully. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #52688 from nextcloud/feat/ocp-sanitize-filenamesCôme Chilliet2025-05-131-0/+37
|\ \ \ | |/ / |/| | feat(FilenameValidator): allow to sanitize filenames
| * | feat(FilenameValidator): allow to sanitize filenamesfeat/ocp-sanitize-filenamesFerdinand Thiessen2025-05-131-0/+37
| |/ | | | | | | | | | | Share the filename sanitizing with the OCP filename validator. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52778 from ↵Christoph Wurst2025-05-131-42/+95
|\ \ | |/ |/| | | | | nextcloud/fix/noid-check-for-properties-before-processing fix: check if properties exist before using them
| * fix: check if properties exist before using themfix/noid-check-for-properties-before-processingSebastianKrupinski2025-05-121-42/+95
| | | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | Merge pull request #51920 from nextcloud/newfolder-race-improvementsCôme Chilliet2025-05-131-2/+15
|\ \ | |/ |/| fix: improve handling of newFolder race condition handling
| * fix: improve handling of newFolder race condition handlingnewfolder-race-improvementsRobin Appelman2025-05-081-2/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #52706 from nextcloud/info-file-more-encryption-checksRobin Appelman2025-05-121-0/+12
|\ \ | | | | | | feat: add more encryption checks to info:file
| * | feat: add more encryption checks to info:fileinfo-file-more-encryption-checksRobin Appelman2025-05-091-0/+12
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #52665 from nextcloud/mountpoint-mkdir-quotaRobin Appelman2025-05-122-0/+19
|\ \ \ | | | | | | | | fix: create mountpoint folder even if the user has a quota of 0
| * | | fix: create mountpoint folder even if the user has a quota of 0mountpoint-mkdir-quotaRobin Appelman2025-05-082-0/+19
| | |/ | |/| | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: throw a better error if we can't get the encrypted header sizeencryption-no-header-size-errorRobin Appelman2025-05-091-0/+11
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #52634 from nextcloud/perf/share20/get-all-shares-in-folderKate2025-05-082-19/+36
|\ \ | |/ |/|
| * perf(Share20): Add interface to query all shares in a folder without ↵perf/share20/get-all-shares-in-folderprovokateurin2025-05-082-19/+36
| | | | | | | | | | | | filtering by user Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #52375 from nextcloud/fix/noid/metadata-on-fresh-setupKate2025-05-071-0/+2
|\ \
| * | fix(metadata): set background job on fresh setupfix/noid/metadata-on-fresh-setupMaxence Lange2025-04-231-0/+2
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Merge pull request #52623 from nextcloud/feat/noid/get-value-type-from-lexiconMaxence Lange2025-05-071-0/+8
|\ \ \ | | | | | | | | iAppConfig: getValueType() get data from lexicon if available
| * | | feat(appconfig): getValueType() get data from lexicon if availablefeat/noid/get-value-type-from-lexiconMaxence Lange2025-05-051-0/+8
| | |/ | |/| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>