summaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Add single status code descriptions for OpenAPIjld31032023-09-277-0/+22
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Remove deprecated methods Util::writeLog and DIContainer::logCôme Chilliet2023-09-251-4/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* core: Fix OCM OpenAPIjld31032023-09-231-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* small fixesMaxence Lange2023-09-201-5/+11
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* ocm controllerMaxence Lange2023-09-201-0/+92
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* core: Fix OpenAPI for reference APIjld31032023-09-142-5/+5
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* ProfileApi: Fix typojld31032023-09-031-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25Joas Schilling2023-08-281-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(tests): preview phpunitJohn Molakvoæ2023-08-171-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: redirect to the mime icon if no preview availableJohn Molakvoæ2023-08-171-8/+25
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix text processing OpenAPIjld31032023-08-111-2/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix psalm issueJulien Veyssier2023-08-071-1/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat: Add delete task APIJulius Härtl2023-08-071-0/+30
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* allow anon text processing schedulingJulien Veyssier2023-08-071-30/+22
| | | | | | | | | 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>
* start implementing ocs endpoint to get task list from user+appId+identifierJulien Veyssier2023-08-071-0/+32
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* core: Document text processing APIjld31032023-07-311-0/+23
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #38854 from nextcloud/enh/llm-apiMarcel Klehr2023-07-211-0/+137
|\
| * Fix tests: Adjust constructor signatureMarcel Klehr2023-07-191-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * 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>