aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
...
| * Remove Task::factory methodMarcel Klehr2023-07-191-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Fix psalm errorsMarcel Klehr2023-07-141-19/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-07-141-14/+37
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update core/Controller/LanguageModelApiController.phpMarcel Klehr2023-07-111-1/+1
| | | | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update core/Controller/LanguageModelApiController.phpMarcel Klehr2023-07-111-1/+1
| | | | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Fix openapi docsMarcel Klehr2023-07-111-4/+10
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update core/Controller/LanguageModelApiController.phpMarcel Klehr2023-07-111-1/+1
| | | | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LanguageModelApiController: Use jsonSerialize method to help psalmMarcel Klehr2023-07-071-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * cs:fixMarcel Klehr2023-07-071-2/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Fix OpenApi docsMarcel Klehr2023-07-071-3/+3
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Fix psalm issuesMarcel Klehr2023-07-071-3/+3
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCS API: Add OpenAPI docsMarcel Klehr2023-07-071-3/+30
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCS API: s/tasks/tasktypes/Marcel Klehr2023-07-071-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Fix psam errorsMarcel Klehr2023-07-071-2/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Fix security issueMarcel Klehr2023-07-071-0/+4
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Fix copyrightMarcel Klehr2023-07-071-2/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Use OCP\Common\Exception\NotFoundExceptionMarcel Klehr2023-07-071-1/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Implement ocs APIMarcel Klehr2023-07-071-0/+96
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix(core): Add password confirmation requirement for getapppasswordJoas Schilling2023-07-171-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | core: Add OpenAPI specjld31032023-07-1331-68/+450
|/ | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Update core/Controller/SetupController.phpFaraz Samapoor2023-06-201-1/+3
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Applies agreed-upon indentation convention to the changed controllers.Faraz Samapoor2023-06-209-45/+63
| | | | | | Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors controllers by using PHP8's constructor property promotion.Faraz Samapoor2023-06-2010-118/+44
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Applies agreed-upon indentation convention to the changed controllers.Faraz Samapoor2023-06-1612-86/+110
| | | | | | Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Fixes psalm error.Faraz Samapoor2023-06-161-2/+2
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Fixes php-cs-fixer error.Faraz Samapoor2023-06-161-1/+0
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors controllers by using PHP8's constructor property promotion.Faraz Samapoor2023-06-1611-176/+65
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Applies agreed-upon indentation convention to the changed controllers.Faraz Samapoor2023-06-059-55/+73
| | | | | | Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Update core/Controller/AppPasswordController.phpFaraz Samapoor2023-06-051-5/+6
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Update core/Controller/CollaborationResourcesController.phpFaraz Samapoor2023-06-051-5/+7
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Update core/Controller/AppPasswordController.phpFaraz Samapoor2023-06-051-2/+3
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors controllers by using PHP8's constructor property promotion.Faraz Samapoor2023-06-0411-187/+81
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors "strpos" calls in /core to improve code readability.Faraz Samapoor2023-06-026-9/+9
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* fix(lostpassword): Also rate limit the setPassword endpointJoas Schilling2023-05-151-6/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(translation): Return the detected language so clients can show more detailsJoas Schilling2023-05-021-4/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(translation): Allow guests to use translations as wellJoas Schilling2023-04-131-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(translation): Use 400 as status code to be distinguishable from server ↵Joas Schilling2023-04-131-2/+2
| | | | | | errors Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(translation): Properly set the numbers as HTTP status codeJoas Schilling2023-04-131-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(translation): Translate error messages on translations APIJoas Schilling2023-04-131-4/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #37495 from joshtrichards/jr-trim-pw-reset-usernameCôme Chilliet2023-04-051-0/+2
|\ | | | | Trim the user/email provided for password resets
| * Trim user earlierJosh Richards2023-04-041-1/+3
| | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
| * Trim the user/email provided for password resetsJosh Richards2023-03-301-1/+1
| | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | Improve handling of profile fieldsChristopher Ng2023-03-301-0/+1
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Use implementations instead of interfaces for accessing private methodsjld31032023-03-301-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Send header to all browsers under HTTPSGit'Fellow2023-03-261-2/+2
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Don't send Clear-Site-Data to Safari Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix lint Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Fix controller class import for autocompletejld31032023-03-161-2/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(translation): Allow regular users to use translation api endpointsJulius Härtl2023-02-281-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat(translations): Add translation provider APIJulius Härtl2023-02-271-0/+66
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #36634 from ↵MichaIng2023-02-271-1/+1
|\ | | | | | | | | nextcloud/fix/client-login-flow/state-token-missing-response fix(client-login-flow): Use correct response for missing state token
| * fix(client-login-flow): Use correct response for missing state tokenChristoph Wurst2023-02-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>