summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
Commit message (Collapse)AuthorAgeFilesLines
* feat: Implement team provider apiJulius Härtl2024-03-051-0/+30
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix xml ocs response for serializable objectsKlaus2024-02-231-0/+4
| | | | | Signed-off-by: sualko <klaus@jsxc.org> Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(Routing): Only use lowercase names for registering and matching routesprovokateurin2024-02-212-2/+14
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #43552 from ↵Joas Schilling2024-02-151-4/+9
|\ | | | | | | | | nextcloud/bugfix/noid/rfc7239-compatible-proxy-handling fix(request): Handle reverse proxy setting a port in Forwarded-For
| * fix(CS): Fix coding styleJoas Schilling2024-02-141-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(request): Fix regex handling and coding-styleJoas Schilling2024-02-131-5/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(request): Handle reverse proxy setting a port in Forwarded-ForMikael Peigney2024-02-131-4/+10
| | | | | | | | Signed-off-by: Mikael Peigney <Mika56@users.noreply.github.com>
* | feat: rename users to account or personVincent Petry2024-02-131-3/+3
|/ | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add timezone getter to ITimeFactoryAnna Larch2024-02-131-0/+7
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix typo in varGit'Fellow2024-02-091-1/+1
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* chore: Add missing ArrayAccess template parametersCôme Chilliet2024-02-061-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* adding testMaxence Lange2024-01-312-3/+3
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix psalmMaxence Lange2024-01-312-5/+10
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* sync with new OCP\IAppConfigMaxence Lange2024-01-311-13/+292
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #42794 from nextcloud/fix/invalid-trusted-proxiesFerdinand Thiessen2024-01-291-1/+8
|\ | | | | fix(Request): Catch exceptions in `isTrustedProxy`
| * fix(Request): Catch exceptions in `isTrustedProxy`Ferdinand Thiessen2024-01-271-1/+8
| | | | | | | | | | | | | | | | | | The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw. But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | code style: ommited space, reverted [code review]Pavel Kryl2024-01-271-1/+1
| |
* | fixing bug #6914: Config Param 'overwritecondaddr' not workingPavel Kryl2024-01-271-6/+4
|/ | | | | | | - just ignoring/removing extra parameter 'protocol' as suggested by blizzz Signed-off-by: Pavel Kryl <pavel@kryl.eu>
* techdebt(Middleware): Add more specific array types so its clickable in IDEsJoas Schilling2023-11-301-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(API): Use a distinct exception so apps can react to it and customize the ↵Joas Schilling2023-11-281-5/+5
| | | | | | return Signed-off-by: Joas Schilling <coding@schilljs.com>
* enh(dispatcher): enforce psalm ranges in the http dispatcherArthur Schiwon2023-11-242-7/+48
| | | | | | - allows devs to provide int ranges for API arguments Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2320-71/+71
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Reverse X-Forwarded-For list to read the correct proxy remote addressJoas Schilling2023-11-161-2/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(dependencyinjection): Allow optional (nullable) servicesChristoph Wurst2023-11-031-0/+5
| | | | | | Allows working with classes that might or might not be available. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #40326 from nextcloud/enh/text-to-image-apiJoas Schilling2023-10-261-0/+24
|\ | | | | Implement TextToImage OCP API
| * Implement TextToImage OCP APIMarcel Klehr2023-10-181-0/+24
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Add api to register setup checksCarl Schwan2023-10-191-3/+27
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #40865 from nextcloud/bugfix/noid/fix-version-commentJoas Schilling2023-10-161-1/+1
|\ | | | | Fix version number in ITimeFactory after it was delayed
| * Fix version number in ITimeFactory after it was delayedJoas Schilling2023-10-111-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(docs): Fix parameter types in docsJoas Schilling2023-10-131-8/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fixed Drone testAlexander Piskun2023-10-061-1/+2
| | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* added CORS skip if session was created by AppAPIAlexander Piskun2023-10-021-0/+4
| | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-6/+2
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Remove deprecated methods Util::writeLog and DIContainer::logCôme Chilliet2023-09-251-27/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(appframework): Expose programmatic rate limiterChristoph Wurst2023-09-201-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25Joas Schilling2023-08-284-17/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(middleware): Fix header injection for bruteforce middlewareJoas Schilling2023-08-221-5/+1
| | | | | | | Calling setHeaders(getHeaders()) breaks the CSP nonce for unknown reasons So shifting back to old standard practise for now Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat: Add a header which signals that the request was throttledJoas Schilling2023-08-211-4/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add separate event for rendering login page templateRobin Appelman2023-08-171-2/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Rewrite OCS CSRF check to be readablejld31032023-08-161-7/+15
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix!: Remove legacy event dispatching Symfony's GenericEvent from ↵Joas Schilling2023-07-271-30/+5
| | | | | | AdditionalScripts Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #38854 from nextcloud/enh/llm-apiMarcel Klehr2023-07-211-0/+21
|\
| * Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-07-141-10/+10
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Add to RegistrationContextMarcel Klehr2023-07-071-0/+21
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix(CardDAV): catch right exception when checking for federated app classesAnna Larch2023-07-061-1/+0
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Add template types to responsesjld31032023-06-303-1/+27
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Allow stdClass in XML responsesjld31032023-06-131-0/+4
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_privateRobin Appelman2023-06-016-17/+17
|\ | | | | Refactors "strpos" calls in lib/private to improve code readability.
| * Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-156-17/+17
| | | | | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* | chore: Drop \OC_App::getAppInfoChristoph Wurst2023-06-011-1/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>