Côme Chilliet
1ab09ec753
chore: Apply new coding standard to all files
...
The diff can be checked using: git diff --ignore-all-space --ignore-blank-lines
To see only the changes not related to blank lines.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-01 13:46:39 +02:00
Ferdinand Thiessen
81752fc9ed
chore(ocp): add Override attribute to all OCP classes
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-28 21:29:27 +02:00
Marcel Klehr
dd4dfe6af2
fix(TextToImage): Refactor scheduling mechanism
2026-02-04 13:48:32 +01:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +02:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +02:00
Marcel Klehr
397b1d1654
chore: deprecate old AI APIs
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-26 11:20:46 +02:00
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00
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
MB-Finski
f27d2bf352
Update doc blocks
...
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-20 07:49:09 +00:00
Marcel Klehr
1823a8ebf3
Update lib/public/TextToImage/IProvider.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:49:02 +02:00
Marcel Klehr
9658d9c126
Update lib/public/TextToImage/IManager.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:44:24 +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
1f090a3ad7
Update lib/public/TextToImage/Task.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:32 +02:00
Marcel Klehr
4624748937
Update lib/public/TextToImage/Task.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:03 +02:00
Marcel Klehr
4055a90004
fix(Text2Image): Fix $completionExpectedAt default value
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:20:29 +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
cee5aa84f0
fix(Text2Image): Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 14:56: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
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
9b7f63946f
fix(TextToImage): Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:44:21 +02:00
Marcel Klehr
5ddf3c3366
Update lib/public/TextToImage/Exception/TextToImageException.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
47372380b4
Update lib/public/TextToImage/Exception/TaskNotFoundException.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
e5efbc88d8
enh(TextToImage): Address review comments
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
53678a8534
Update lib/public/TextToImage/Events/TaskSuccessfulEvent.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
e199d1aae1
Update lib/public/TextToImage/IManager.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
dc8cba6026
cs:Fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr
2d44c7c1ed
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