summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Since 27.1.0Marcel Klehr2023-08-0916-81/+81
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 069962d04fb51fd52f891297b9096dd7143eaa18)
* 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-093-6/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit a4578cd99519a63f1b0b5292ec369c0f2dada91f)
* LLM OCP API: Change Tests to use EventDispatcher mockMarcel Klehr2023-08-091-41/+8
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit bf2dcd67f3cb83e3bebc472d65fac3bc8755e25d)
* 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: 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 OCP API: Avoid using OC in OCPMarcel Klehr2023-08-093-17/+10
| | | | | 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: Simplify TaskBackgroundJob#run catch blockMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 9ccc65d68c025eb371b1e1877e05593c7a808fea)
* LLM OCP API: Explain TaskBackgroundJob#setAllowParallelRunsMarcel Klehr2023-08-091-0/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit e810a8b66b6b39e13dbafba9138cec776609af65)
* LLM OCP API: Don't lose trace of wrapped exceptionsMarcel Klehr2023-08-091-4/+4
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 05fcf319872988c4cf24e8a98c7611f0356565d5)
* LLM OCP API: Simplify LanguageModelManager#canHandleTaskMarcel Klehr2023-08-091-1/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 945522768e1e0df6684bb15d6dc5ef92d0cf6be6)
* LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/Marcel Klehr2023-08-093-10/+10
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d56286b8acb319e05eaa8b8a920c76e76da336cf)
* LLM OCP API: Add missing copyright and strict typesMarcel Klehr2023-08-093-0/+69
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit a28d8fac2fb282b752e960e3329acffd1302da20)
* LLM Migration: Return null if nothing changedMarcel Klehr2023-08-091-1/+3
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 0909657ea03bd195ba2e0acb1c0a3b63aec79894)
* 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)
* Apply suggestions from code reviewMarcel 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 95d2bd50da721353f0bc84d93cf63d65852b0f23)
* 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-092-2/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d33b7a8da421fbcdcd958579cc913ab0c25888bc)
* LLM OCP API: Fix psam errorMarcel Klehr2023-08-091-1/+3
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 0a0e8124537d91373870b81ba1f6142f90f26fa0)
* LLM OCP API: Fix psam errorsMarcel Klehr2023-08-092-4/+8
| | | | | 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 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-094-5/+33
| | | | | 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)
* cs:fixMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fb657bfff8c23dea7fea5ab6c9415332677ec81a)
* Fix LanguageModelManager#runTask: Insert task into db if it doesn't existMarcel Klehr2023-08-091-2/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 1747068e518240edec22ff3c4f6946ac925918fe)
* Add test for task cleanupMarcel Klehr2023-08-091-0/+37
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit c568c4a4640e79134eaa59625a546915bb706f28)
* Make tests passMarcel Klehr2023-08-094-9/+31
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 66c0e6b9f79d1e82f55af2acd9d2b500c8128614)
* Fix testsMarcel Klehr2023-08-092-29/+99
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 20cb9935ca80c32665b131315078661064037795)
* Add preliminary testsMarcel Klehr2023-08-091-0/+269
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ebc76315441d75c3c7659c8a3fd0a285bdcd8cb2)
* 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)
* TaskMapper#update: Use time factoryMarcel Klehr2023-08-091-2/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 1623ad9eda5fed298b798d5cac0012a3a0af8bda)
* Add tasks::last_updated column and vacate tasks after a weekMarcel Klehr2023-08-097-2/+143
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit cb0f918d2101bf7644d7d84f811b37e3e672f091)
* cs:fixMarcel Klehr2023-08-096-0/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 1d3661ded9c4ca80c30a1ae4eb08a2d4967da8cf)
* 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-093-4/+7
| | | | | 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)
* Apply suggestions from code reviewMarcel Klehr2023-08-091-2/+2
| | | | | | Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 8e4aa92167c4856dac42bae1ae4d8f5d653a2735)
* 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: Commit autoloadersMarcel Klehr2023-08-092-0/+40
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 5bc6180b38baca1c78eea250d77a65103983e30c)
* LLM OCP API: Add task definitionsMarcel Klehr2023-08-096-0/+12
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fb4de16c113143022e195ee41f87c42c16aa09ea)