summaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
* fix(search): Limit maximum number of search resultsJoas Schilling2024-05-151-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* make OAuth2 authorization code expireJulien Veyssier2024-01-221-13/+20
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix: Show error message when CSRF check fails at loginChristoph Wurst2023-12-041-1/+2
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(unifiedsearch): Allow searching for "0"Christoph Wurst2023-10-101-1/+1
| | | | | | empty("0") evaluates to true Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* ocm servicesMaxence Lange2023-09-221-0/+97
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix psalm issuesJulien Veyssier2023-08-091-10/+5
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix psalm issueJulien Veyssier2023-08-091-1/+2
| | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit f154fe7f8ea5e81f313192555e8c720b2207b9fb) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat: Add delete task APIJulius Härtl2023-08-091-0/+30
| | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> (cherry picked from commit fca1c309a025e34cc5d635766796d9e5b4f9386b) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* allow anon text processing schedulingJulien Veyssier2023-08-091-28/+43
| | | | | | | | | | | | add a textprocessing_tasks index convert anotations to method attributes refactor TP manager add mapper methods Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 41b19cf969956fe57fcb35e3dee0200d5c29b6d7) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* start implementing ocs endpoint to get task list from user+appId+identifierJulien Veyssier2023-08-091-0/+32
| | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 9986e02097e5c82e1bb21ba3f897b14d82a50c15) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Fix tests: Adjust constructor signatureMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 6d568b0d32d1255f76608e9d6b4b154dc57e5fea)
* Remove Task::factory methodMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 7389567c7d05ba994533b7273cba1e5818a20b94)
* Fix psalm errorsMarcel Klehr2023-08-091-19/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 95d2d3af5ce3aba22a206b01c89373a38f9ffb3a)
* Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-08-091-14/+37
| | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ffe27ce14ca74b509c8721c9fba7c759498fa471)
* Update core/Controller/LanguageModelApiController.phpMarcel Klehr2023-08-091-1/+1
| | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit bd45c436ebc710da2309dca232173d8133e9e06a)
* Update core/Controller/LanguageModelApiController.phpMarcel Klehr2023-08-091-1/+1
| | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d430cbbfca86c9e21df9cc4013f7f9b9ee86fe59)
* Fix openapi docsMarcel Klehr2023-08-091-4/+10
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 48c820653840a50f7c67801418222b718e9be40b)
* Update core/Controller/LanguageModelApiController.phpMarcel Klehr2023-08-091-1/+1
| | | | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit b7c3b50e411bf949a73f551af6d8582bdf390b08)
* LanguageModelApiController: Use jsonSerialize method to help psalmMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 49ea56b306d0675958ece8bf043dcc06cee74ef9)
* cs:fixMarcel Klehr2023-08-091-2/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit a4578cd99519a63f1b0b5292ec369c0f2dada91f)
* LLM OCP API: Fix OpenApi docsMarcel Klehr2023-08-091-3/+3
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ea4dc4cba8c433f7cf3436794706c0d5b1c57bd9)
* LLM OCP API: Fix psalm issuesMarcel Klehr2023-08-091-3/+3
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit de1cfaae9c4ff76baaf7185c79821e497099ea54)
* LLM OCS API: Add OpenAPI docsMarcel Klehr2023-08-091-3/+30
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 61b9b4f47413dc69cc029a808ec1ace8cceff1da)
* LLM OCS API: s/tasks/tasktypes/Marcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d33b7a8da421fbcdcd958579cc913ab0c25888bc)
* LLM OCP API: Fix psam errorsMarcel Klehr2023-08-091-2/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d6d4e0ffe367a89dda1105fed3df15bc66bff11a)
* LLM OCP API: Fix security issueMarcel Klehr2023-08-091-0/+4
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit f7e1e79880261e62daad800c42c0b65ca593a223)
* LLM OCP API: Fix copyrightMarcel Klehr2023-08-091-2/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 94fcf888923d39b904129b19a1cc20d85f09e8ef)
* LLM OCP API: Use OCP\Common\Exception\NotFoundExceptionMarcel Klehr2023-08-091-1/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit b00a9a6eaeeafce11e0141199f37d8a105050cce)
* LLM OCP API: Implement ocs APIMarcel Klehr2023-08-091-0/+96
| | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 795b097122a8dd70b4d6b9ebe044440396be9104)
* fix(core): Add password confirmation requirement for getapppasswordJoas Schilling2023-07-171-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.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>
* | [reference preview] fix getting null mimetype if the cached reference lacks ↵Julien Veyssier2023-02-221-1/+4
| | | | | | | | | | | | an image content type Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | Merge pull request #36443 from nextcloud/fix/23063/fix-login-log-entrySimon L2023-02-151-2/+2
|\ \ | |/ |/| fix the login log entry
| * fix the login log entrySimon L2023-01-301-2/+2
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>