aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/TextToImageApiController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(core): Switch to attribute based routingprovokateurin2024-02-211-0/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-2/+2
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Update core/Controller/TextToImageApiController.phpMarcel Klehr2023-10-261-1/+1
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* en(TextToImage): Use specific exception class instead of generic ↵Marcel Klehr2023-10-261-1/+2
| | | | | | RuntimeException Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(Text2Image): Fix OpenAPI typesMarcel Klehr2023-10-201-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(TextToImage): Allow generating multiple images with one taskMarcel Klehr2023-10-201-5/+9
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(TextToImage): Add getExpectedRuntime to IProvider and run tasks during ↵Marcel Klehr2023-10-201-1/+8
| | | | | | request lifetime if possible Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TextToImage): Fix OpenAPI definitionsMarcel Klehr2023-10-191-2/+4
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TextToImage): Fix bruteforce protectionMarcel Klehr2023-10-181-19/+10
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TextToImage): Add bruteforce protection to APIMarcel Klehr2023-10-181-10/+28
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TextToImage): Fix docblock of getImage routeMarcel Klehr2023-10-181-4/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(TextToImage): Add bruteforce protection for anonymous API usageMarcel Klehr2023-10-181-2/+7
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(TextToImage): Address review commentsMarcel Klehr2023-10-181-3/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Update core/Controller/TextToImageApiController.phpMarcel Klehr2023-10-181-6/+6
| | | | Co-authored-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Small fixesMarcel Klehr2023-10-181-7/+6
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Implement TextToImage OCP APIMarcel Klehr2023-10-181-0/+221
Signed-off-by: Marcel Klehr <mklehr@gmx.net>