summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add delete task APIJulius Härtl2023-08-091-0/+8
| | | | | | 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-092-2/+13
| | | | | | | | | | | | 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/+8
| | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 9986e02097e5c82e1bb21ba3f897b14d82a50c15) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* AI admin settings: cs:fixMarcel Klehr2023-08-091-1/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 4ec150c9b6d24e877a7843fc005cfb6b8997363b)
* fix(TextProcessing): Inject L10N\IFactory instead of IL10NMarcel Klehr2023-08-094-9/+26
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 8ec1926aba549eeaea872d7dd2fcb69592b3a3bc)
* First pass at ai admin settingsMarcel Klehr2023-08-093-0/+18
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fc9780a41d586e2983f18e128a4095484e5860ac)
* Remove Task::factory methodMarcel Klehr2023-08-091-17/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 7389567c7d05ba994533b7273cba1e5818a20b94)
* Fix psalm errorsMarcel Klehr2023-08-095-0/+9
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d63c122ec0071cc1d0417eaa5eb1a85e41290263)
* cs:fixMarcel Klehr2023-08-091-2/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 2811932247da3301c25259396c1b4a1667db1b54)
* Apply suggestions from code reviewMarcel Klehr2023-08-091-7/+0
| | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 590eefea70472db84439353ddefbba6df1a88280)
* Fix psalm errorsMarcel Klehr2023-08-091-6/+9
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit df1cf18f368ce935dd3f57a99426b6712421ed3e)
* Fix psalm errorsMarcel Klehr2023-08-091-1/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 95d2d3af5ce3aba22a206b01c89373a38f9ffb3a)
* Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-08-0919-535/+353
| | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ffe27ce14ca74b509c8721c9fba7c759498fa471)
* Since 27.1.0Marcel Klehr2023-08-0916-81/+81
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 069962d04fb51fd52f891297b9096dd7143eaa18)
* LLM OCP API: Improve scheduleTask docblockMarcel Klehr2023-08-091-1/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 9f405a19f782c88310d8cbe1f02eb4e1e8157115)
* LLM OCP API: Avoid using OC in OCPMarcel Klehr2023-08-091-16/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 8f1a4f42557302c7d1c97be0439c47e59133955a)
* OCP\Common\NotFoundException: Add param typeMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 397495346470bd78ff02d05e34c72ac2f2cbcb82)
* LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/Marcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d56286b8acb319e05eaa8b8a920c76e76da336cf)
* Update lib/public/LanguageModel/Events/TaskFailedEvent.phpMarcel Klehr2023-08-091-2/+4
| | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit bad124c07bb3ef541c31cfa94131df730c1ac30f)
* Update lib/public/LanguageModel/ILanguageModelProvider.phpMarcel Klehr2023-08-091-1/+1
| | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ba950f7e34185139f92e6e81394ab4449d76d105)
* LLM OCP API: Fix psam errorsMarcel Klehr2023-08-091-2/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d6d4e0ffe367a89dda1105fed3df15bc66bff11a)
* LLM OCP API: Fix psalm errorMarcel Klehr2023-08-091-2/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 62b19e0675681d251c210f4231823e3304bd6cd3)
* LLM OCP API: Add identifier paramMarcel Klehr2023-08-092-3/+21
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit f6f8cb43313deb3dfd366bc9e2128d787c833405)
* Apply suggestions from code reviewMarcel Klehr2023-08-091-2/+2
| | | | | | Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 5b772468ad12f6f7e0d1077c05011912275cc4e7)
* Make tests passMarcel Klehr2023-08-091-4/+5
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 66c0e6b9f79d1e82f55af2acd9d2b500c8128614)
* ILanguageModelTask: Use php type checking along with psalm parameterized typesMarcel Klehr2023-08-095-12/+14
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 27e1c86652d73b27f48756b350bb4578cdeeee0b)
* ILanguageModelManager: Add docblock descriptionMarcel Klehr2023-08-091-0/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 0a94525042b754b19664292f3134cc8c98dcd2a7)
* cs:fixMarcel Klehr2023-08-096-0/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 1d3661ded9c4ca80c30a1ae4eb08a2d4967da8cf)
* 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)
* OCP: Introduce OCP\Common\Exception\NotFoundExceptionMarcel Klehr2023-08-091-0/+41
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit a7cd6bf5b80d1974d8e680fd5da9b7f3af28ffa6)
* LLM OCP API: strict types and copyrightMarcel Klehr2023-08-097-1/+133
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 83db23ea4852dc86f6d6bcbb0ad1771665875528)
* LLM OCP API: Type shenanigans for Visitor patternMarcel Klehr2023-08-097-34/+30
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 906e9b7014203ac4e7608155287efe793a83aa8e)
* Update lib/public/AppFramework/Bootstrap/IRegistrationContext.phpMarcel Klehr2023-08-091-1/+1
| | | | | | Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fb55afc9ffea906432e52def8bacb6f902afe220)
* LLM OCP API: Add task definitionsMarcel Klehr2023-08-096-0/+12
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fb4de16c113143022e195ee41f87c42c16aa09ea)
* Update lib/public/LanguageModel/ITopicsProvider.phpMarcel Klehr2023-08-091-1/+1
| | | | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 249dd5cce44b7d226ebd94c58701034123e8473d)
* LLM OCP API: Fix coding style and psalmMarcel Klehr2023-08-097-5/+31
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 72ea76178a694b302ece8a0752bbf5a22afc637a)
* LLM OCP API: cs:fixMarcel Klehr2023-08-093-6/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 75d7af86acfbe283e99f6f690f6bf4c948afc6a5)
* LLM OCP API: Fix static analysisMarcel Klehr2023-08-093-6/+32
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fac83ce4b66cde708c720284f7102090ac99d540)
* LLM OCP API: Add @sinceMarcel Klehr2023-08-096-3/+94
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 9935034480eabc8d6ece586f7af0a11117f516f4)
* LLM OCP API: Fix type errorsMarcel Klehr2023-08-092-4/+24
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit b6a95e35b0583c2dfc87bf80067c1bdcd51431ca)
* LLM OCP API: Make linters happyMarcel Klehr2023-08-091-12/+11
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit b8a9f08d833ae2893eed9b4a19749822bf0441bc)
* LLM OCP API: cs:fixMarcel Klehr2023-08-096-9/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit b6941aa5c3d26b1c2d66837ee924e8e14e5e1232)
* LLM OCP API: Implement ocs APIMarcel Klehr2023-08-094-9/+45
| | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 795b097122a8dd70b4d6b9ebe044440396be9104)
* LLM OCP API: ADd topics and headline tasksMarcel Klehr2023-08-096-3/+159
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 9d5717d239d380273f49ea6542c7eee2f0353703)
* LLM OCP API: Implement private backend code + add ILanguageModelTaskMarcel Klehr2023-08-098-46/+126
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 34138736538f604af2c6c52aa43662d1d66087d0)
* LLM OCP API: Rework to use Task objectsMarcel Klehr2023-08-0912-150/+185
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 01dd1a894dbf9eb6ed1fb013c4b5ee4816c32904)
* Initial work on lm OCP APIMarcel Klehr2023-08-098-0/+339
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 70d5bf79e315a1bc8e6380ff4c5a14842362c9c7)
* feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()Joas Schilling2023-08-072-7/+276
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #39614 from nextcloud/dav-permissions-share-root-write-27Andy Scherzinger2023-08-011-2/+16
|\ | | | | [27] fix share roots always being marked as writable
| * fix share roots always being marked as writableRobin Appelman2023-07-281-2/+16
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>