aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #52544 from nextcloud/chore/drop-deprecated-account-scopesJohn Molakvoæ2025-05-143-51/+5
|\
| * chore(IAccountManager): remove deprecated visibility constantschore/drop-deprecated-account-scopesFerdinand Thiessen2025-05-143-51/+5
| | | | | | | | | | | | | | 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-146-38/+50
|\ \
| * | chore: move implementation from OC legacy to OCP\Fileschore/oc-helper-rmdirrFerdinand Thiessen2025-05-146-38/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-149-200/+158
|\ \ \ | |_|/ |/| | 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-137-115/+117
| | | | | | | | | | | | 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-142-4/+16
|\ \ \ \
| * | | | fix: annotate possible exceptionsdebt/noid/simple-file-generic-exceptionDaniel Kesselberg2025-05-132-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-145-62/+63
|\ \ \ \ \ | | | | | | | | | | | | chore: replace legacy OC_Helper calls with OCP\Util
| * | | | | chore: replace leagcy OC_Helper calls with OCP\Utilchore/oc-helper-filesizeFerdinand Thiessen2025-05-145-62/+63
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | | | | Merge pull request #52782 from nextcloud/feat/log-client-side-req-idKate2025-05-141-0/+4
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | 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>
* / | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-1430-6/+66
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #52688 from nextcloud/feat/ocp-sanitize-filenamesCôme Chilliet2025-05-132-0/+50
|\ \ \ | |/ / |/| | feat(FilenameValidator): allow to sanitize filenames
| * | feat(FilenameValidator): allow to sanitize filenamesfeat/ocp-sanitize-filenamesFerdinand Thiessen2025-05-132-0/+50
| |/ | | | | | | | | | | 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(l10n): Update translations from TransifexNextcloud bot2025-05-124-2/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-116-2/+30
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #52707 from nextcloud/encryption-no-header-size-errorKate2025-05-104-0/+30
|\ \ \
| * | | fix: throw a better error if we can't get the encrypted header sizeencryption-no-header-size-errorRobin Appelman2025-05-094-0/+30
| | |/ | |/| | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-102-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix: add calendar enablefix/noid/calendar-enabledSebastianKrupinski2025-05-093-0/+26
|/ / | | | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-094-0/+18
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #52634 from nextcloud/perf/share20/get-all-shares-in-folderKate2025-05-085-19/+62
|\ \ | |/ |/|
| * perf(Share20): Add interface to query all shares in a folder without ↵perf/share20/get-all-shares-in-folderprovokateurin2025-05-085-19/+62
| | | | | | | | | | | | filtering by user Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-084-12/+32
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #52375 from nextcloud/fix/noid/metadata-on-fresh-setupKate2025-05-071-0/+2
|\ \