Alexander Piskun
|
156013a711
|
introduce IProviderWithUserId
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
|
2024-01-14 22:44:37 +03:00 |
|
Marcel Klehr
|
997f6c33cd
|
fix(psalm issues)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2024-01-09 10:11:39 +01:00 |
|
MB-Finski
|
f27d2bf352
|
Update doc blocks
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
|
2023-12-20 07:49:09 +00:00 |
|
Sami Finnilä
|
8904bf645b
|
Return providers as indexed array
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
|
2023-12-19 13:25:45 +00:00 |
|
Joas Schilling
|
aa5f037af7
|
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
|
2023-11-23 10:36:13 +01:00 |
|
Marcel Klehr
|
ee76cc512c
|
fix(TextToImage): Always set completionExpectedAt in run/schedule methods
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-11-02 12:07:10 +01:00 |
|
Marcel Klehr
|
9a494407ee
|
fix(TextToImage): Consistently use the right method to get the preferred providers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-31 10:27:29 +01:00 |
|
Marcel Klehr
|
b9985bfd66
|
fix(TextToImage): Add missing task status update
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-26 11:41:21 +02:00 |
|
Marcel Klehr
|
14d1c18665
|
en(TextToImage): Add getId method to IProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-26 11:26:47 +02:00 |
|
Marcel Klehr
|
47e13cd55b
|
en(TextToImage): Use specific exception class instead of generic RuntimeException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-26 11:16:15 +02:00 |
|
Marcel Klehr
|
8339b5b128
|
fix: Minor copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 15:00:40 +02:00 |
|
Marcel Klehr
|
0c1bd845a7
|
fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 13:23:28 +02:00 |
|
Marcel Klehr
|
4b8a58cc49
|
fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 13:16:37 +02:00 |
|
Marcel Klehr
|
5f815bdcc6
|
fix(TextToImage\Db\Task): Inject ITimeFactory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 11:50:03 +02:00 |
|
Marcel Klehr
|
ded77292d5
|
Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 11:44:48 +02:00 |
|
Marcel Klehr
|
f9d209cf15
|
Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 11:44:33 +02:00 |
|
Marcel Klehr
|
5d36c4c1d1
|
Update lib/private/TextToImage/Manager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 11:43:35 +02:00 |
|
Marcel Klehr
|
91448888d1
|
Update lib/private/TextToImage/RemoveOldTasksBackgroundJob.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-23 11:43:09 +02:00 |
|
Marcel Klehr
|
497559b246
|
fix(RemoveOldTasksBackgroundJob): Update after change to support multiple images in TextToImage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-22 12:49:46 +02:00 |
|
Marcel Klehr
|
fa2fa47e6b
|
fix(TextToImage/Manager): Appease psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-22 12:38:40 +02:00 |
|
Marcel Klehr
|
b1018597bc
|
fix(Text2Image): Fix appdata folder creation
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-22 12:21:00 +02:00 |
|
Marcel Klehr
|
9787f9dba0
|
enh(Text2Image): Add AI settings section to text2image
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-22 11:10:24 +02:00 |
|
Marcel Klehr
|
9ee72633cf
|
enh(Text2Image): Expose expected completion time
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-20 13:54:36 +02:00 |
|
Marcel Klehr
|
4c58edc1b7
|
fix(Text2Image): Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-20 13:53:32 +02:00 |
|
Marcel Klehr
|
bc85acf7d0
|
fix(Text2Image): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-20 13:38:20 +02:00 |
|
Marcel Klehr
|
37c4ccc751
|
fix(Text2Image): Fix Task#lastUpdated initialization to use DateTime instead of time()
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-20 13:15:40 +02:00 |
|
Marcel Klehr
|
b7fd5185b6
|
enh(TextToImage): Allow generating multiple images with one task
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-20 13:13:15 +02:00 |
|
Marcel Klehr
|
8968573d9f
|
enh(TextToImage): Add getExpectedRuntime to IProvider and run tasks during request lifetime if possible
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-20 12:17:17 +02:00 |
|
Marcel Klehr
|
ab856a5c78
|
fix(TextToImage): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 14:09:04 +02:00 |
|
Marcel Klehr
|
1d07dcc346
|
Update lib/private/TextToImage/Db/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
e8faaebb0f
|
enh(TextToImage): Allow anonymous access to IManager#getUserTasksByApp
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
c59861a9fa
|
enh(TextToImage): Implement removal of stale images and change Task#last_updated to DATETIME
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
207c95838f
|
fix(TextToImage): Fix coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
3e6a8b31c4
|
fix(TextToImage): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
e5efbc88d8
|
enh(TextToImage): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
41847c951a
|
Update lib/private/TextToImage/TaskBackgroundJob.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
666f7b33c9
|
Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|
Marcel Klehr
|
c8cab9d2fd
|
Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-10-18 13:21:50 +02:00 |
|