aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* feat(Http): Add RequestHeader attributefeat/http/request-header-attributeprovokateurin2025-05-203-0/+52
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #52848 from nextcloud/fix/cleanup-servercontainerKate2025-05-195-907/+39
|\
| * fix: Do not use circle provider class constantCôme Chilliet2025-05-161-2/+1
| | | | | | | | | | | | | | This is to avoid issues if the circles app is disabled but you still have circles shares in your DB Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Count on the circles application to register its share providerCôme Chilliet2025-05-161-40/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Remove deprecated getters from Server that were previously removed from ↵Côme Chilliet2025-05-161-461/+0
| | | | | | | | | | | | public interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Remove more unused deprecated getters from IServerContainerCôme Chilliet2025-05-162-58/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated ↵Côme Chilliet2025-05-163-145/+48
| | | | | | | | | | | | | | | | | | getters Ideally circles and talk should migrate to calling registerProvider and core would not need to use their OCA classes like currently. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Remove deprecated getters in IServerContainer which are not used anymoreCôme Chilliet2025-05-161-213/+0
| | | | | | | | | | | | | | | | For now I left the ones which are called from lib/ Next step is to fix all calls and remove those as well. Also the getters should be removed from the implementation. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-182-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #52890 from nextcloud/chore/move-stream-copy-implementationFerdinand Thiessen2025-05-178-35/+51
|\ \ | | | | | | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
| * | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`Ferdinand Thiessen2025-05-168-35/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | The function was already there but called the legacy version. So moved the implementation and migrated all usages of it. Sadly the interface was slightly different so adjusted it to be compatible with both legacy and the OCP one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #52912 from nextcloud/chore/remove-deprecated-oc-helperFerdinand Thiessen2025-05-172-103/+6
|\ \ \ | | | | | | | | chore!: remove legacy functions from `OC_Helper` deprecated before v10
| * | | chore!: remove legacy functions from `OC_Helper` deprecated before v10Ferdinand Thiessen2025-05-162-103/+6
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-172-0/+4
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | chore: deprecate OC_Helper::copyrchore/deprecate-ochelper-copyrFerdinand Thiessen2025-05-162-5/+43
| | | | | | | | | | | | | | | | | | Inline it into Installer as needed. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #52885 from nextcloud/fix/docblock-colorKate2025-05-161-1/+1
|\ \ \ | |/ / |/| | fix(OCP\Color): use correct doc block type
| * | fix(OCP\Color): use correct doc block typefix/docblock-colorFerdinand Thiessen2025-05-151-1/+1
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | chore: move implementation to non-deprecated OCP\Util from OC_Helperchore/move-impl-utilFerdinand Thiessen2025-05-162-53/+53
| |/ |/| | | | | | | | | | | | | Only moves the implementation where it was already existing and adds more helpful deprecation messages. This way we can in the future just remove the OC_Helper variants. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52871 from AndyXheli/patch-2Christoph Wurst2025-05-161-1/+1
|\ \ | | | | | | fix(previews): lower log level when cached preview isn't found
| * | 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>