]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
15 months agocompile assets 39776/head
Julien Veyssier [Wed, 9 Aug 2023 09:31:19 +0000 (11:31 +0200)]
compile assets

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agobump last version digit
Julien Veyssier [Wed, 9 Aug 2023 12:58:26 +0000 (14:58 +0200)]
bump last version digit

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agofix psalm issues
Julien Veyssier [Wed, 9 Aug 2023 11:07:51 +0000 (13:07 +0200)]
fix psalm issues

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agofix eslint issue
Julien Veyssier [Wed, 9 Aug 2023 09:29:50 +0000 (11:29 +0200)]
fix eslint issue

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agofix psalm issue
Julien Veyssier [Mon, 7 Aug 2023 15:49:58 +0000 (17:49 +0200)]
fix psalm issue

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit f154fe7f8ea5e81f313192555e8c720b2207b9fb)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agofeat: Add delete task API
Julius Härtl [Fri, 4 Aug 2023 13:41:35 +0000 (15:41 +0200)]
feat: Add delete task API

Signed-off-by: Julius Härtl <jus@bitgrid.net>
(cherry picked from commit fca1c309a025e34cc5d635766796d9e5b4f9386b)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agochange sql where order to match index order
Julien Veyssier [Fri, 4 Aug 2023 08:43:54 +0000 (10:43 +0200)]
change sql where order to match index order

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 05a6a799a7e05f90c9d1eb10b5a41800457e1749)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agoallow anon text processing scheduling
Julien Veyssier [Thu, 3 Aug 2023 21:11:29 +0000 (23:11 +0200)]
allow anon text processing scheduling
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>
15 months agostart implementing ocs endpoint to get task list from user+appId+identifier
Julien Veyssier [Wed, 2 Aug 2023 14:47:41 +0000 (16:47 +0200)]
start implementing ocs endpoint to get task list from user+appId+identifier

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 9986e02097e5c82e1bb21ba3f897b14d82a50c15)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
15 months agoFix TextProcessing test for 32bit
Marcel Klehr [Mon, 7 Aug 2023 10:03:11 +0000 (12:03 +0200)]
Fix TextProcessing test for 32bit

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
15 months agofix: missing argument for TextProcessing Manager 39774/head
Daniel Kesselberg [Wed, 2 Aug 2023 22:20:35 +0000 (00:20 +0200)]
fix: missing argument for TextProcessing Manager

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
15 months agofix composer autoload files 39773/head
Julien Veyssier [Tue, 1 Aug 2023 13:31:20 +0000 (15:31 +0200)]
fix composer autoload files

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 8d6a6e5242c771b80f52228803ef98357cba6388)

15 months agofix wrong NcSelect event in AI admin settings
Julien Veyssier [Tue, 1 Aug 2023 10:35:26 +0000 (12:35 +0200)]
fix wrong NcSelect event in AI admin settings

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit a877865fba846d95b7d96336f193c80581c9b585)

15 months agopolish AI admin settings UI
Julien Veyssier [Tue, 1 Aug 2023 09:59:10 +0000 (11:59 +0200)]
polish AI admin settings UI

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 0ace67c762c3c7e8af792bd0635a071269faa4ad)

15 months agouse DB type constants
Julien Veyssier [Tue, 1 Aug 2023 09:45:50 +0000 (11:45 +0200)]
use DB type constants

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 601679bd25d409ae9303fc1fe2f477f3667545f3)

15 months agomove long click handlers into methods
Julien Veyssier [Tue, 1 Aug 2023 09:43:13 +0000 (11:43 +0200)]
move long click handlers into methods

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 577640663b649836731ea4fb2ab60f6b6e156553)

15 months agoAdmin AI settings: Use ContainerInterface instead of IServerContainer
Marcel Klehr [Fri, 28 Jul 2023 14:25:42 +0000 (16:25 +0200)]
Admin AI settings: Use ContainerInterface instead of IServerContainer

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 7adb2ce819f556ffe6297412f7ef390089240fc8)

15 months agoAdmin AI settings: Improve a11y of machine translation precendence
Marcel Klehr [Fri, 28 Jul 2023 10:58:11 +0000 (12:58 +0200)]
Admin AI settings: Improve a11y of machine translation precendence

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 830692cebd796df573bb4ea96602c28aeda1af26)

15 months agoUpdate apps/settings/src/components/AdminAI.vue
Marcel Klehr [Fri, 28 Jul 2023 14:07:38 +0000 (16:07 +0200)]
Update apps/settings/src/components/AdminAI.vue

Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ff39466e4fc89f38a138dac97ba11df48d3325bb)

15 months agoUpdate apps/settings/src/components/AdminAI.vue
Marcel Klehr [Fri, 28 Jul 2023 14:07:10 +0000 (16:07 +0200)]
Update apps/settings/src/components/AdminAI.vue

Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 3ca44282d05f615185437884a5a5b2ba3821c26d)

15 months agoFix typo
Marcel Klehr [Fri, 28 Jul 2023 09:26:22 +0000 (11:26 +0200)]
Fix typo

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a0eaed0296166660b54fb0f438b9c90c95108cd3)

15 months agoMigration: Drop llm_tasks table and add textprocessing_tasks
Marcel Klehr [Fri, 28 Jul 2023 08:52:48 +0000 (10:52 +0200)]
Migration: Drop llm_tasks table and add textprocessing_tasks

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ad3f3533357a2f85be92891bd024b656a98a9f4f)

15 months agoAI admin settings: lint:fix
Marcel Klehr [Tue, 25 Jul 2023 13:05:48 +0000 (15:05 +0200)]
AI admin settings: lint:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit be7487b55998e3e65adadf1e4dc5d441ad1ab70c)

15 months agoAI admin settings: lint:fix
Marcel Klehr [Tue, 25 Jul 2023 12:54:06 +0000 (14:54 +0200)]
AI admin settings: lint:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a193458e3836aa7895818f307a3f7d3ca09b81ab)

15 months agoAI admin settings: lint:fix
Marcel Klehr [Tue, 25 Jul 2023 12:47:27 +0000 (14:47 +0200)]
AI admin settings: lint:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 112268a48aebf2f2025ee106f41fd6186b08bb59)

15 months agoAI admin settings: cs:fix
Marcel Klehr [Tue, 25 Jul 2023 12:28:57 +0000 (14:28 +0200)]
AI admin settings: cs:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 4ec150c9b6d24e877a7843fc005cfb6b8997363b)

15 months agoAI admin settings: strict_types
Marcel Klehr [Tue, 25 Jul 2023 12:27:20 +0000 (14:27 +0200)]
AI admin settings: strict_types

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit f72f3f7df4f551b8a6c01d3e3b5969d1bb0264d8)

15 months agoAI admin settings: Update composer autoloaders
Marcel Klehr [Tue, 25 Jul 2023 12:21:37 +0000 (14:21 +0200)]
AI admin settings: Update composer autoloaders

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit aa74d6fd31fb4324fe8daead1d3a2c57ee39f4f3)

15 months agoAI admin settings: Add a draggable icon in UI for translation provider precedence
Marcel Klehr [Tue, 25 Jul 2023 12:18:28 +0000 (14:18 +0200)]
AI admin settings: Add a draggable icon in UI for translation provider precedence

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 2d29413d5d7193b97c808c983d57d73efd463d23)

15 months agoAI admin settings: Use config values in AI feature managers
Marcel Klehr [Tue, 25 Jul 2023 12:17:57 +0000 (14:17 +0200)]
AI admin settings: Use config values in AI feature managers

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 2a3ef102f7527041609ad96bc59d6b21f42980d4)

15 months agoAI admin settings: Add save mechanism
Marcel Klehr [Mon, 24 Jul 2023 12:47:15 +0000 (14:47 +0200)]
AI admin settings: Add save mechanism

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a840e8c6e5a0d7b7c3a371776fd395976b2c2fdf)

15 months agofix(TextProcessing): Inject L10N\IFactory instead of IL10N
Marcel Klehr [Mon, 24 Jul 2023 12:07:34 +0000 (14:07 +0200)]
fix(TextProcessing): Inject L10N\IFactory instead of IL10N

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8ec1926aba549eeaea872d7dd2fcb69592b3a3bc)

15 months agoAI Admin settings: Implement mt settings, stt settings and tp settings
Marcel Klehr [Mon, 24 Jul 2023 12:06:31 +0000 (14:06 +0200)]
AI Admin settings: Implement mt settings, stt settings and tp settings

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 4e33d044443973f2fc82e74bca0bc43e845a36e7)

15 months agoFirst pass at ai admin settings
Marcel Klehr [Mon, 24 Jul 2023 10:12:06 +0000 (12:12 +0200)]
First pass at ai admin settings

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fc9780a41d586e2983f18e128a4095484e5860ac)

15 months agoFix tests: Adjust constructor signature 39771/head
Marcel Klehr [Wed, 19 Jul 2023 15:33:11 +0000 (17:33 +0200)]
Fix tests: Adjust constructor signature

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 6d568b0d32d1255f76608e9d6b4b154dc57e5fea)

15 months agoFix tests: Adjust constructor signature
Marcel Klehr [Wed, 19 Jul 2023 15:32:28 +0000 (17:32 +0200)]
Fix tests: Adjust constructor signature

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fd0fd97a6594f47c9a5fc4f833c2defa07078ae2)

15 months agoRemove Task::factory method
Marcel Klehr [Wed, 19 Jul 2023 11:15:14 +0000 (13:15 +0200)]
Remove Task::factory method

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 7389567c7d05ba994533b7273cba1e5818a20b94)

15 months agoFix psalm errors
Marcel Klehr [Mon, 17 Jul 2023 11:30:20 +0000 (13:30 +0200)]
Fix psalm errors

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d63c122ec0071cc1d0417eaa5eb1a85e41290263)

15 months agocs:fix
Marcel Klehr [Mon, 17 Jul 2023 09:34:16 +0000 (11:34 +0200)]
cs:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 2811932247da3301c25259396c1b4a1667db1b54)

15 months agoUpdate autoloaders
Marcel Klehr [Mon, 17 Jul 2023 09:20:43 +0000 (11:20 +0200)]
Update autoloaders

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit add5962b4c2a9839c90a7db51ab41737f032bab4)

15 months agoApply suggestions from code review
Marcel Klehr [Mon, 17 Jul 2023 09:11:16 +0000 (11:11 +0200)]
Apply suggestions from code review

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)

15 months agoFix psalm errors
Marcel Klehr [Fri, 14 Jul 2023 14:27:06 +0000 (16:27 +0200)]
Fix psalm errors

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit df1cf18f368ce935dd3f57a99426b6712421ed3e)

15 months agoFix psalm errors
Marcel Klehr [Fri, 14 Jul 2023 14:10:39 +0000 (16:10 +0200)]
Fix psalm errors

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 95d2d3af5ce3aba22a206b01c89373a38f9ffb3a)

15 months agoMassive refactoring: Turn LanguageModel OCP API into TextProcessing API
Marcel Klehr [Fri, 14 Jul 2023 13:59:50 +0000 (15:59 +0200)]
Massive refactoring: Turn LanguageModel OCP API into TextProcessing API

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ffe27ce14ca74b509c8721c9fba7c759498fa471)

15 months agoUpdate core/Controller/LanguageModelApiController.php
Marcel Klehr [Tue, 11 Jul 2023 13:28:37 +0000 (15:28 +0200)]
Update core/Controller/LanguageModelApiController.php

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit bd45c436ebc710da2309dca232173d8133e9e06a)

15 months agoUpdate core/Controller/LanguageModelApiController.php
Marcel Klehr [Tue, 11 Jul 2023 13:28:22 +0000 (15:28 +0200)]
Update core/Controller/LanguageModelApiController.php

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d430cbbfca86c9e21df9cc4013f7f9b9ee86fe59)

15 months agoFix openapi docs
Marcel Klehr [Tue, 11 Jul 2023 12:37:14 +0000 (14:37 +0200)]
Fix openapi docs

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 48c820653840a50f7c67801418222b718e9be40b)

15 months agoUpdate core/Controller/LanguageModelApiController.php
Marcel Klehr [Tue, 11 Jul 2023 10:41:31 +0000 (12:41 +0200)]
Update core/Controller/LanguageModelApiController.php

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b7c3b50e411bf949a73f551af6d8582bdf390b08)

15 months agoSince 27.1.0
Marcel Klehr [Fri, 7 Jul 2023 11:46:03 +0000 (13:46 +0200)]
Since 27.1.0

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 069962d04fb51fd52f891297b9096dd7143eaa18)

15 months agoLanguageModelApiController: Use jsonSerialize method to help psalm
Marcel Klehr [Fri, 7 Jul 2023 11:36:27 +0000 (13:36 +0200)]
LanguageModelApiController: Use jsonSerialize method to help psalm

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 49ea56b306d0675958ece8bf043dcc06cee74ef9)

15 months agocs:fix
Marcel Klehr [Fri, 7 Jul 2023 11:34:16 +0000 (13:34 +0200)]
cs:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a4578cd99519a63f1b0b5292ec369c0f2dada91f)

15 months agoLLM OCP API: Change Tests to use EventDispatcher mock
Marcel Klehr [Fri, 7 Jul 2023 10:56:17 +0000 (12:56 +0200)]
LLM OCP API: Change Tests to use EventDispatcher mock

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit bf2dcd67f3cb83e3bebc472d65fac3bc8755e25d)

15 months agoLLM OCP API: Improve scheduleTask docblock
Marcel Klehr [Fri, 7 Jul 2023 10:37:01 +0000 (12:37 +0200)]
LLM OCP API: Improve scheduleTask docblock

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9f405a19f782c88310d8cbe1f02eb4e1e8157115)

15 months agoLLM OCP API: Fix OpenApi docs
Marcel Klehr [Fri, 7 Jul 2023 10:11:46 +0000 (12:11 +0200)]
LLM OCP API: Fix OpenApi docs

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ea4dc4cba8c433f7cf3436794706c0d5b1c57bd9)

15 months agoLLM OCP API: Fix psalm issues
Marcel Klehr [Fri, 7 Jul 2023 10:00:12 +0000 (12:00 +0200)]
LLM OCP API: Fix psalm issues

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit de1cfaae9c4ff76baaf7185c79821e497099ea54)

15 months agoLLM OCP API: Avoid using OC in OCP
Marcel Klehr [Fri, 7 Jul 2023 09:50:01 +0000 (11:50 +0200)]
LLM OCP API: Avoid using OC in OCP

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8f1a4f42557302c7d1c97be0439c47e59133955a)

15 months agoOCP\Common\NotFoundException: Add param type
Marcel Klehr [Fri, 7 Jul 2023 09:47:27 +0000 (11:47 +0200)]
OCP\Common\NotFoundException: Add param type

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 397495346470bd78ff02d05e34c72ac2f2cbcb82)

15 months agoLLM OCP API: Simplify TaskBackgroundJob#run catch block
Marcel Klehr [Fri, 7 Jul 2023 09:46:31 +0000 (11:46 +0200)]
LLM OCP API: Simplify TaskBackgroundJob#run catch block

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9ccc65d68c025eb371b1e1877e05593c7a808fea)

15 months agoLLM OCP API: Explain TaskBackgroundJob#setAllowParallelRuns
Marcel Klehr [Fri, 7 Jul 2023 09:45:46 +0000 (11:45 +0200)]
LLM OCP API: Explain TaskBackgroundJob#setAllowParallelRuns

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit e810a8b66b6b39e13dbafba9138cec776609af65)

15 months agoLLM OCP API: Don't lose trace of wrapped exceptions
Marcel Klehr [Fri, 7 Jul 2023 09:44:35 +0000 (11:44 +0200)]
LLM OCP API: Don't lose trace of wrapped exceptions

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 05fcf319872988c4cf24e8a98c7611f0356565d5)

15 months agoLLM OCP API: Simplify LanguageModelManager#canHandleTask
Marcel Klehr [Fri, 7 Jul 2023 09:42:19 +0000 (11:42 +0200)]
LLM OCP API: Simplify LanguageModelManager#canHandleTask

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 945522768e1e0df6684bb15d6dc5ef92d0cf6be6)

15 months agoLLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/
Marcel Klehr [Fri, 7 Jul 2023 09:40:19 +0000 (11:40 +0200)]
LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d56286b8acb319e05eaa8b8a920c76e76da336cf)

15 months agoLLM OCP API: Add missing copyright and strict types
Marcel Klehr [Fri, 7 Jul 2023 09:36:26 +0000 (11:36 +0200)]
LLM OCP API: Add missing copyright and strict types

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a28d8fac2fb282b752e960e3329acffd1302da20)

15 months agoLLM Migration: Return null if nothing changed
Marcel Klehr [Fri, 7 Jul 2023 09:35:38 +0000 (11:35 +0200)]
LLM Migration: Return null if nothing changed

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0909657ea03bd195ba2e0acb1c0a3b63aec79894)

15 months agoUpdate lib/public/LanguageModel/Events/TaskFailedEvent.php
Marcel Klehr [Fri, 7 Jul 2023 09:54:23 +0000 (11:54 +0200)]
Update lib/public/LanguageModel/Events/TaskFailedEvent.php

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)

15 months agoUpdate lib/public/LanguageModel/ILanguageModelProvider.php
Marcel Klehr [Fri, 7 Jul 2023 09:51:16 +0000 (11:51 +0200)]
Update lib/public/LanguageModel/ILanguageModelProvider.php

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)

15 months agoApply suggestions from code review
Marcel Klehr [Fri, 7 Jul 2023 09:50:19 +0000 (11:50 +0200)]
Apply suggestions from code review

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 95d2bd50da721353f0bc84d93cf63d65852b0f23)

15 months agoLLM OCS API: Add OpenAPI docs
Marcel Klehr [Fri, 7 Jul 2023 09:33:25 +0000 (11:33 +0200)]
LLM OCS API: Add OpenAPI docs

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 61b9b4f47413dc69cc029a808ec1ace8cceff1da)

15 months agoLLM OCS API: s/tasks/tasktypes/
Marcel Klehr [Fri, 7 Jul 2023 08:51:07 +0000 (10:51 +0200)]
LLM OCS API: s/tasks/tasktypes/

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d33b7a8da421fbcdcd958579cc913ab0c25888bc)

15 months agoLLM OCP API: Fix psam error
Marcel Klehr [Thu, 6 Jul 2023 13:24:54 +0000 (15:24 +0200)]
LLM OCP API: Fix psam error

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0a0e8124537d91373870b81ba1f6142f90f26fa0)

15 months agoLLM OCP API: Fix psam errors
Marcel Klehr [Thu, 6 Jul 2023 10:48:40 +0000 (12:48 +0200)]
LLM OCP API: Fix psam errors

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d6d4e0ffe367a89dda1105fed3df15bc66bff11a)

15 months agoLLM OCP API: Fix security issue
Marcel Klehr [Thu, 6 Jul 2023 10:41:42 +0000 (12:41 +0200)]
LLM OCP API: Fix security issue

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit f7e1e79880261e62daad800c42c0b65ca593a223)

15 months agoLLM OCP API: Fix psalm error
Marcel Klehr [Thu, 6 Jul 2023 09:31:04 +0000 (11:31 +0200)]
LLM OCP API: Fix psalm error

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 62b19e0675681d251c210f4231823e3304bd6cd3)

15 months agoLLM OCP API: Add identifier param
Marcel Klehr [Thu, 6 Jul 2023 08:24:28 +0000 (10:24 +0200)]
LLM OCP API: Add identifier param

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit f6f8cb43313deb3dfd366bc9e2128d787c833405)

15 months agoApply suggestions from code review
Marcel Klehr [Thu, 6 Jul 2023 07:47:26 +0000 (09:47 +0200)]
Apply suggestions from code review

Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 5b772468ad12f6f7e0d1077c05011912275cc4e7)

15 months agocs:fix
Marcel Klehr [Fri, 30 Jun 2023 11:23:12 +0000 (13:23 +0200)]
cs:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fb657bfff8c23dea7fea5ab6c9415332677ec81a)

15 months agoFix LanguageModelManager#runTask: Insert task into db if it doesn't exist
Marcel Klehr [Fri, 30 Jun 2023 11:20:15 +0000 (13:20 +0200)]
Fix LanguageModelManager#runTask: Insert task into db if it doesn't exist

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 1747068e518240edec22ff3c4f6946ac925918fe)

15 months agoAdd test for task cleanup
Marcel Klehr [Fri, 30 Jun 2023 11:19:38 +0000 (13:19 +0200)]
Add test for task cleanup

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit c568c4a4640e79134eaa59625a546915bb706f28)

15 months agoMake tests pass
Marcel Klehr [Thu, 29 Jun 2023 15:08:23 +0000 (17:08 +0200)]
Make tests pass

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 66c0e6b9f79d1e82f55af2acd9d2b500c8128614)

15 months agoFix tests
Marcel Klehr [Thu, 29 Jun 2023 15:07:31 +0000 (17:07 +0200)]
Fix tests

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 20cb9935ca80c32665b131315078661064037795)

15 months agoAdd preliminary tests
Marcel Klehr [Wed, 28 Jun 2023 14:18:59 +0000 (16:18 +0200)]
Add preliminary tests

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ebc76315441d75c3c7659c8a3fd0a285bdcd8cb2)

15 months agoILanguageModelTask: Use php type checking along with psalm parameterized types
Marcel Klehr [Wed, 28 Jun 2023 13:19:57 +0000 (15:19 +0200)]
ILanguageModelTask: Use php type checking along with psalm parameterized types

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 27e1c86652d73b27f48756b350bb4578cdeeee0b)

15 months agoILanguageModelManager: Add docblock description
Marcel Klehr [Wed, 28 Jun 2023 13:16:21 +0000 (15:16 +0200)]
ILanguageModelManager: Add docblock description

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0a94525042b754b19664292f3134cc8c98dcd2a7)

15 months agoTaskMapper#update: Use time factory
Marcel Klehr [Wed, 28 Jun 2023 13:14:41 +0000 (15:14 +0200)]
TaskMapper#update: Use time factory

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 1623ad9eda5fed298b798d5cac0012a3a0af8bda)

15 months agoAdd tasks::last_updated column and vacate tasks after a week
Marcel Klehr [Wed, 28 Jun 2023 12:59:20 +0000 (14:59 +0200)]
Add tasks::last_updated column and vacate tasks after a week

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit cb0f918d2101bf7644d7d84f811b37e3e672f091)

15 months agocs:fix
Marcel Klehr [Tue, 27 Jun 2023 14:58:17 +0000 (16:58 +0200)]
cs:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 1d3661ded9c4ca80c30a1ae4eb08a2d4967da8cf)

15 months agoLLM OCP API: Fix copyright
Marcel Klehr [Tue, 27 Jun 2023 14:52:50 +0000 (16:52 +0200)]
LLM OCP API: Fix copyright

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 94fcf888923d39b904129b19a1cc20d85f09e8ef)

15 months agoLLM OCP API: Use OCP\Common\Exception\NotFoundException
Marcel Klehr [Tue, 27 Jun 2023 14:51:41 +0000 (16:51 +0200)]
LLM OCP API: Use OCP\Common\Exception\NotFoundException

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b00a9a6eaeeafce11e0141199f37d8a105050cce)

15 months agoOCP: Introduce OCP\Common\Exception\NotFoundException
Marcel Klehr [Tue, 27 Jun 2023 14:51:30 +0000 (16:51 +0200)]
OCP: Introduce OCP\Common\Exception\NotFoundException

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a7cd6bf5b80d1974d8e680fd5da9b7f3af28ffa6)

15 months agoLLM OCP API: strict types and copyright
Marcel Klehr [Tue, 27 Jun 2023 14:44:15 +0000 (16:44 +0200)]
LLM OCP API: strict types and copyright

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 83db23ea4852dc86f6d6bcbb0ad1771665875528)

15 months agoLLM OCP API: Type shenanigans for Visitor pattern
Marcel Klehr [Tue, 27 Jun 2023 14:43:54 +0000 (16:43 +0200)]
LLM OCP API: Type shenanigans for Visitor pattern

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 906e9b7014203ac4e7608155287efe793a83aa8e)

15 months agoApply suggestions from code review
Marcel Klehr [Tue, 27 Jun 2023 12:08:05 +0000 (14:08 +0200)]
Apply suggestions from code review

Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8e4aa92167c4856dac42bae1ae4d8f5d653a2735)

15 months agoUpdate lib/public/AppFramework/Bootstrap/IRegistrationContext.php
Marcel Klehr [Tue, 27 Jun 2023 09:10:44 +0000 (11:10 +0200)]
Update lib/public/AppFramework/Bootstrap/IRegistrationContext.php

Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fb55afc9ffea906432e52def8bacb6f902afe220)

15 months agoLLM OCP API: Commit autoloaders
Marcel Klehr [Mon, 26 Jun 2023 09:51:33 +0000 (11:51 +0200)]
LLM OCP API: Commit autoloaders

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 5bc6180b38baca1c78eea250d77a65103983e30c)

15 months agoLLM OCP API: Add task definitions
Marcel Klehr [Mon, 26 Jun 2023 09:45:54 +0000 (11:45 +0200)]
LLM OCP API: Add task definitions

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fb4de16c113143022e195ee41f87c42c16aa09ea)

15 months agoUpdate lib/public/LanguageModel/ITopicsProvider.php
Marcel Klehr [Mon, 26 Jun 2023 09:39:48 +0000 (11:39 +0200)]
Update lib/public/LanguageModel/ITopicsProvider.php

Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 249dd5cce44b7d226ebd94c58701034123e8473d)

15 months agoLLM OCP API: Fix coding style and psalm
Marcel Klehr [Tue, 20 Jun 2023 16:26:29 +0000 (18:26 +0200)]
LLM OCP API: Fix coding style and psalm

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 72ea76178a694b302ece8a0752bbf5a22afc637a)

15 months agoLLM OCP API: cs:fix
Marcel Klehr [Tue, 20 Jun 2023 16:02:53 +0000 (18:02 +0200)]
LLM OCP API: cs:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 75d7af86acfbe283e99f6f690f6bf4c948afc6a5)

15 months agoLLM OCP API: Fix static analysis
Marcel Klehr [Tue, 20 Jun 2023 15:50:56 +0000 (17:50 +0200)]
LLM OCP API: Fix static analysis

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fac83ce4b66cde708c720284f7102090ac99d540)

15 months agoLLM OCP API: Add @since
Marcel Klehr [Tue, 20 Jun 2023 15:30:07 +0000 (17:30 +0200)]
LLM OCP API: Add @since

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9935034480eabc8d6ece586f7af0a11117f516f4)