aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | fix(previews): lower log level when cached preview isn't foundAndyXheli2025-05-151-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | Since this PR #52221 was implemented, the log file has been flooded with warnings stating, "Cached preview not found for file; generating a new preview." This appears to be more of an informational message rather than a warning. This PR will change it from warning to debug Original PR #52221 Signed-off-by: AndyXheli <andyxheli@gmail.com>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-162-6/+6
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #52873 from nextcloud/cache-rename-source-errorRobin Appelman2025-05-151-1/+1
|\ \ \ | |_|/ |/| | fix: improve error message when cache rename source can't be found
| * | fix: improve error message when cache rename source can't be foundcache-rename-source-errorRobin Appelman2025-05-151-1/+1
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | refactor: migrate from OC to OCP in public interfacesrefactor/ocp-deprecationsFerdinand Thiessen2025-05-1514-33/+34
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | refactor: add missing template implements where neededFerdinand Thiessen2025-05-152-7/+7
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52870 from nextcloud/chore/remove-get-storageKate2025-05-152-34/+0
|\ \
| * | chore!(\OCP\Files): remove deprecated static `getStorage` methodchore/remove-get-storageFerdinand Thiessen2025-05-152-34/+0
| |/ | | | | | | | | | | | | Was deprecated since Nextcloud 14 and is not used anymore. Removing allows us to clean the OCP psalm baseline. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(RouteParser): bail out if method name contains hashtagrefactor/app/remove-register-routesFerdinand Thiessen2025-05-151-1/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | chore(AppFramework): Remove unused RouteConfig class and migrate tests to ↵provokateurin2025-05-154-282/+1
| | | | | | | | | | | | RouteParser Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | refactor(App): Remove registerRoutes methodprovokateurin2025-05-152-33/+1
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: add command to get basic storage infoRobin Appelman2025-05-152-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #52822 from nextcloud/feat/mime-namesJohn Molakvoæ2025-05-153-2/+32
|\
| * feat(core): add human readable mimesJohn Molakvoæ (skjnldsv)2025-05-143-2/+32
| | | | | | | | 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>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-152-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #52667 from nextcloud/fix/improve-init-profilingCôme Chilliet2025-05-146-30/+37
|\ \ | | | | | | 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-136-29/+35
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | 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>