aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Stop sending deprecated Pragma headerGit'Fellow2023-08-281-4/+3
| | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Merge pull request #40367 from nextcloud/fix/user_ldap-update-groups-on-loginCôme Chilliet2023-10-161-1/+1
|\ \ | | | | | | Fire group membership events from LDAP at login
| * | Fix registerEventListener signatureCôme Chilliet2023-10-121-1/+1
| |/ | | | | | | | | | | It seems now psalm correctly supports this. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / Fix version number in ITimeFactory after it was delayedJoas Schilling2023-10-111-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(utility): De- deprecate getDateTime as now() only returns immutable objectsAnna Larch2023-08-251-2/+0
| | | | | | | | This will mean lots of code like ```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()``` if a regular DateTime object is needed Signed-off-by: Anna Larch <anna@nextcloud.com>
* add separate event for rendering login page templateRobin Appelman2023-08-171-0/+52
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow "wasm-unsafe-eval" in CSPDaniel Calviño Sánchez2023-08-103-1/+21
| | | | | | | | | | | | | | | | | | If a page has a Content Security Policy header and the `script-src` (or `default-src`) directive does not contain neither `wasm-unsafe-eval` nor `unsafe-eval` loading and executing WebAssembly is blocked in the page (although it is still possible to load and execute WebAssembly in a worker thread). Although the Nextcloud classes to manage the CSP already supported allowing `unsafe-eval` this affects not only WebAssembly, but also the `eval` operation in JavaScript. To make possible to allow WebAssembly execution without allowing JavaScript `eval` this commit adds support for allowing `wasm-unsafe-eval`. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix!: Remove legacy event dispatching Symfony's GenericEvent from ↵Joas Schilling2023-07-271-9/+0
| | | | | | AdditionalScripts Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #38854 from nextcloud/enh/llm-apiMarcel Klehr2023-07-211-0/+11
|\
| * Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-07-141-5/+5
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Since 27.1.0Marcel Klehr2023-07-071-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update lib/public/AppFramework/Bootstrap/IRegistrationContext.phpMarcel Klehr2023-07-071-1/+1
| | | | | | | | Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Implement ocs APIMarcel Klehr2023-07-071-0/+11
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Add IgnoreOpenAPI attributejld31032023-07-101-0/+37
|/ | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-061-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>