aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* fix: Fix several side effects of lazy ghostsCôme Chilliet2025-06-051-0/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Use only enabled applications versions in the cache prefixCôme Chilliet2025-06-052-2/+2
| | | | | | | This makes sure the cached routes are updated after enabling a previously disabled application Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Deprecate action and actionInclude from routes and fix actionIncludeCôme Chilliet2025-06-051-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(dav): file drop nicknameskjnldsv2025-06-051-0/+11
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(RequestHeader): Add indirect parameterfeat/requestheader/indirect-parameterprovokateurin2025-06-031-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(RequestHeader): Make parameter types stricterprovokateurin2025-06-031-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(RequestHeader): Remove unnecessary gettersprovokateurin2025-06-031-18/+0
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabledfix/noid/get-preview-force-mimetypeJulien Veyssier2025-06-021-1/+3
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat: add support for sensitive Declarative settings values encryptionAndrey Borysenko2025-05-281-0/+1
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* docs(caldav): update documentation for calendar searchdocs/53002/calendar-searchDaniel Kesselberg2025-05-231-7/+65
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat(IUser): add `getQuotaBytes` method to get machine readable quotafeat/user-get-quota-bytesFerdinand Thiessen2025-05-221-0/+9
| | | | | | | | | | | Proper replacement for deprecated `OC_Util::getUserQuota`. Also we still use this in some cases we can now replace, moreover it just makes sense to have a machine readable format in the API instead of only the human readable format which is less precise. Alings also with `getQuota` of the quota storage, which already returned the machine readable format. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52943 from nextcloud/feat/http/request-header-attributeKate2025-05-201-0/+50
|\
| * feat(Http): Add RequestHeader attributefeat/http/request-header-attributeprovokateurin2025-05-201-0/+50
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | chore: Set correct version for new UserMount eventschore/user-mount-events-sinceprovokateurin2025-05-203-3/+3
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | feat: only load template fields when requestedElizabeth Danzberger2025-05-192-1/+22
| | | | | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* | feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-eventsprovokateurin2025-05-193-0/+82
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #52848 from nextcloud/fix/cleanup-servercontainerKate2025-05-193-273/+4
|\
| * 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-161-2/+3
| | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #52890 from nextcloud/chore/move-stream-copy-implementationFerdinand Thiessen2025-05-171-4/+34
|\ \ | | | | | | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
| * | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`Ferdinand Thiessen2025-05-161-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | chore!: remove legacy functions from `OC_Helper` deprecated before v10Ferdinand Thiessen2025-05-161-2/+2
| | | | | | | | | | | | 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-161-5/+39
|/ | | | | | | | 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>
* 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-151-12/+0
|\
| * chore!(\OCP\Files): remove deprecated static `getStorage` methodchore/remove-get-storageFerdinand Thiessen2025-05-151-12/+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>
* | refactor(App): Remove registerRoutes methodprovokateurin2025-05-151-32/+0
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #52822 from nextcloud/feat/mime-namesJohn Molakvoæ2025-05-151-0/+8
|\
| * feat(core): add human readable mimesJohn Molakvoæ (skjnldsv)2025-05-141-0/+8
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #52544 from nextcloud/chore/drop-deprecated-account-scopesJohn Molakvoæ2025-05-141-27/+1
|\ \
| * | chore(IAccountManager): remove deprecated visibility constantschore/drop-deprecated-account-scopesFerdinand Thiessen2025-05-141-27/+1
| | | | | | | | | | | | | | | | | | | | | 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-141-2/+34
|\ \ \ | |/ / |/| |
| * | chore: move implementation from OC legacy to OCP\Fileschore/oc-helper-rmdirrFerdinand Thiessen2025-05-141-2/+34
| |/ | | | | | | | | | | | | | | | | - 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 #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>
* | | chore: replace leagcy OC_Helper calls with OCP\Utilchore/oc-helper-filesizeFerdinand Thiessen2025-05-142-5/+56
| |/ |/| | | | | | | | | | | | | - 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>
* | feat(FilenameValidator): allow to sanitize filenamesfeat/ocp-sanitize-filenamesFerdinand Thiessen2025-05-131-0/+13
|/ | | | | | Share the filename sanitizing with the OCP filename validator. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52707 from nextcloud/encryption-no-header-size-errorKate2025-05-101-0/+17
|\
| * fix: throw a better error if we can't get the encrypted header sizeencryption-no-header-size-errorRobin Appelman2025-05-091-0/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: add calendar enablefix/noid/calendar-enabledSebastianKrupinski2025-05-091-0/+24
|/ | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* Merge pull request #52634 from nextcloud/perf/share20/get-all-shares-in-folderKate2025-05-081-0/+24
|\
| * perf(Share20): Add interface to query all shares in a folder without ↵perf/share20/get-all-shares-in-folderprovokateurin2025-05-081-0/+24
| | | | | | | | | | | | filtering by user Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #52441 from nextcloud/scan-locked-errorKate2025-05-061-0/+12
|\ \
| * | fix: better error message when trying to scan a folder that is already being ↵scan-locked-errorRobin Appelman2025-04-251-0/+12
| | | | | | | | | | | | | | | | | | scanned Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #51779 from nextcloud/object-store-filenameKate2025-05-061-1/+10
|\ \ \
| * | | feat: store original storage id and path in object store metadataobject-store-filenameRobin Appelman2025-03-311-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>