aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
Commit message (Collapse)AuthorAgeFilesLines
* feat(Http): Add RequestHeader attributefeat/http/request-header-attributeprovokateurin2025-05-201-0/+50
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: migrate from OC to OCP in public interfacesrefactor/ocp-deprecationsFerdinand Thiessen2025-05-154-11/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(App): Remove registerRoutes methodprovokateurin2025-05-151-32/+0
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Remove support for app.php loadingCôme Chilliet2025-04-141-2/+0
| | | | | | | | | It has been deprecated for a long time, and the last known active application to use it (user_saml) is now migrated the modern API. Presence of the file is still checked in order to log an error. This behavior may be removed as well in a few versions. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManagerCôme Chilliet2025-03-061-1/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix psalm issues and add missing methods to ITemplate interfaceCôme Chilliet2025-03-061-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Correctly flag json encoding methods as escaping html and quotesCôme Chilliet2025-02-171-0/+3
| | | | | | | Especially with JSON_HEX_TAG it’s perfectly fine to echo JSON, and we only use it in JSON output anyway. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: remove typing and return typefix/noid/revert-api-breaking-return-typeAnna Larch2025-01-231-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(api): File conversion APIElizabeth Danzberger2025-01-151-0/+13
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(IInitialState): Allow provideLazyInitialState() closure to return arrayprovokateurin2025-01-131-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #50070 from nextcloud/docs/http/cors-attributeJoas Schilling2025-01-091-1/+3
|\ | | | | docs(HTTP): Add proper docs for CORS attribute
| * docs(HTTP): Add proper docs for CORS attributedocs/http/cors-attributeprovokateurin2025-01-071-1/+3
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(Http): Only allow valid HTTP status code values via templatefix/http/template-valid-status-codesprovokateurin2025-01-0717-33/+35
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(HTTP): Adjust JSONResponse data typefix/http/jsonresponse-data-typeprovokateurin2025-01-041-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(config): implementation of lexiconMaxence Lange2024-12-131-0/+11
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat: Use inline password confirmation in external storage settingsLouis Chemineau2024-11-281-0/+17
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(QBMapper): Fix findEntities() return type to be list<T>fix/qbmapper/find-entities-return-typeprovokateurin2024-11-061-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(entity): Fix mapping of old/sub-types to actually supported database typesfollowup/47329/add-all-types-to-handlingJoas Schilling2024-10-231-0/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Adjust Entity typesfeat/add-datetime-qbmapper-supportFerdinand Thiessen2024-10-171-4/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Prevent breaking change in IQueryBuilderFerdinand Thiessen2024-10-171-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(AppFramework): Add full support for date / time / datetime columnsFerdinand Thiessen2024-10-172-27/+50
| | | | | | | | | | | | | | | | This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added. But especially those types are the important ones, as our **Entity** class works by detecting changes through setters. Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here. Similar the parameter types needed to be added. `Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity. Also added more tests, especially to make sure the mapper really serializes the values correctly. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Unify user related events to always provide a `getUid` methodchore/migrate-encryption-away-from-hooksFerdinand Thiessen2024-10-151-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-201-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-198-8/+10
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48008 from nextcloud/fix/entity/strict-typesKate2024-09-161-3/+2
|\
| * fix(Entity): Fix magic setter call for custom strong typed settersfix/entity/strict-typesprovokateurin2024-09-151-3/+2
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | feat(db): switch from settype to castsfeat/switch-from-settype-to-castsAnna Larch2024-09-151-46/+63
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix: Fix missing footer on public pagesChristopher Ng2024-09-041-0/+12
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore(ExternalShareMenuAction): Remove unused legacy propertiesFerdinand Thiessen2024-09-031-16/+5
| | | | | | | | | | | Keep them in the constructor to not break the API, but they are not used anymore. This way of adding a share was deprecated in Nextcloud 12 (2016!), in favor of the federated share API, in Nextcloud 28 this way to create a share was removed. So we can cleanup as all it takes now to create a federeated share is the share token + federated user ID. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(IMenuAction): Make public menu actions use the new Vue UIFerdinand Thiessen2024-09-035-61/+62
| | | | | | | | This removes custom rendering code an replaces it with the declarative menu actions. Also adjust the template to allow the Vue UI to mount. Custom entries still are possible. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2513-31/+31
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* test: Adjust tests for CSP nonceFerdinand Thiessen2024-08-131-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Make sure CSP nonce is not double base64 encodedFerdinand Thiessen2024-08-131-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: refactor "substr" calls to improve code readabilityHamid Dehnavi2024-08-061-1/+1
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* feat: Allow passing additional encode flags for json responseChristopher Ng2024-08-011-2/+15
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Increase max depth of encoded jsonChristopher Ng2024-08-011-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor(core): Replace security annotations with respective attributesprovokateurin2024-07-262-10/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: mail provider backendSebastianKrupinski2024-07-231-0/+11
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* feat: allow for ExApps to call Admin endpoints marked with specific attrAlexander Piskun2024-07-181-0/+21
| | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* fix: ARateLimit documentationskjnldsv2024-07-121-0/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(OpenAPI): Add ex_app scopeprovokateurin2024-07-021-0/+8
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(AppFramework): Add ExAppRequired attributeprovokateurin2024-07-011-0/+21
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: Add yieldEntities wrapper for entity mapping in QBMapperJulius Härtl2024-06-241-0/+21
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* chore: Add SPDX headerAndy Scherzinger2024-05-2480-1662/+208
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(IRegistrationContext): Add missing TaskProcessing methodsprovokateurin2024-05-161-0/+22
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Drop workarounds for unsupported obsolete PHP versionsCôme Chilliet2024-04-221-1/+1
| | | | | | Also improved error handling in Installer.php to be type safe. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #44644 from nextcloud/enh/noid/returns-formated-app-valuesFerdinand Thiessen2024-04-171-1/+1
|\ | | | | fix(appconfig): format app values
| * fix(appconfig): only convert single entry on searchValues()Maxence Lange2024-04-051-1/+1
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix(AppFramework): Fix error message about 204 not allowing custom headersprovokateurin2024-04-081-1/+1
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-028-8/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>