aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* feat: Add declarative settingsjld31032024-03-121-0/+11
| | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> Signed-off-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* fix: Allow nonce in csp header also if no other reasons are givenJulius Härtl2024-03-081-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat: Implement team provider apiJulius Härtl2024-03-051-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat(AppFramework): Add Route attributeprovokateurin2024-02-213-0/+287
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(OCP): Add since tag for all constantsJoas Schilling2024-02-142-0/+250
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Migrate away from OC::$server->getLoggerCôme Chilliet2024-02-131-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add timezone getter to ITimeFactoryAnna Larch2024-02-131-0/+8
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix psalmMaxence Lange2024-01-311-2/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* sync with new OCP\IAppConfigMaxence Lange2024-01-311-1/+232
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix: public dav and files_sharing testing fixesJohn Molakvoæ2024-01-091-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(API): Use a distinct exception so apps can react to it and customize the ↵Joas Schilling2023-11-281-0/+79
| | | | | | return Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-237-17/+17
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(CSP): Only add `strict-dynamic` when using noncesFerdinand Thiessen2023-11-171-6/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on ↵Ferdinand Thiessen2023-11-171-1/+1
| | | | | | `script-src-elem` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(ContentSecurityPolicy): Allow to set `strict-dynamic` on ↵Ferdinand Thiessen2023-11-172-6/+30
| | | | | | | | | `script-src-elem` only This adds the possibility to set `strict-dynamic` on `script-src-elem` only while keep the default rules for `script-src`. The idea is to allow loading module js which imports other files and thus does not allow nonces on import but on the initial script tag. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(openapi): Add OpenAPI attribute to allow multiple scopes and ↵Joas Schilling2023-11-032-0/+100
| | | | | | overwriting tags Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #40326 from nextcloud/enh/text-to-image-apiJoas Schilling2023-10-261-0/+11
|\ | | | | Implement TextToImage OCP API
| * fix: Minor copypastaMarcel Klehr2023-10-231-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix(Text2Image): Fix psalm errorsMarcel Klehr2023-10-201-0/+11
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Fix docblock and types for new public APICôme Chilliet2023-10-191-3/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add api to register setup checksCarl Schwan2023-10-191-0/+10
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #39852 from nextcloud/pragmaHeaderFerdinand Thiessen2023-10-181-4/+3
|\ | | | | Stop sending deprecated Pragma header