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
Oleksander Piskun
f573285040
feat(taskprocessing): Add queue_stats API endpoint for external autoscalers
...
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com >
2026-03-30 12:03:19 +00:00
Anupam Kumar
3e4e544096
feat(TaskProcessing): add endpoints for ExApp access without userId
...
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com >
2026-01-08 11:36:08 +05:30
Julien Veyssier
b4f7fe2cb6
feat(taskprocessing): add a boolean 'includeWatermark' to taskprocessing tasks and pass it to ISynchronousWatermarkingProvider::process
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2025-11-27 11:32:08 +01:00
Marcel Klehr
d04d575ed3
Merge branch 'master' into feat/taskprocessing/user-facing-error-message
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-10-30 10:13:39 +01:00
Marcel Klehr
81bf9f342c
fix: regenerate openapi descriptions
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-10-15 09:30:12 +02:00
Marcel Klehr
7373f11af6
feat(TaskProcessing): user-facing error messages
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-10-14 16:53:41 +02:00
Marcel Klehr
be8e168f38
fix: Address psalm issues and review comments
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-10-14 15:51:31 +02:00
Marcel Klehr
16da8bbc8a
fix(TaskProcessingApiController): Implement getNextScheduledTasks for next_batch endpoint
...
in order to avoid hitting the DB with multiple 1 row requests
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-10-14 11:50:29 +02:00
Marcel Klehr
80eb3dd0d0
feat(TaskProcessingApiController): Add new next_batch endpoint
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-10-14 09:35:18 +02:00
Marcel Klehr
310cd23a6a
fix(TaskProcessingApiController): Don't allow anonymous access anymore
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-08-28 11:46:37 +02:00
Julien Veyssier
e6adbd921e
feat(taskprocessing): generate OpenAPI specs, fix lint issue, fix tests
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2025-08-07 15:12:21 +02:00
Julien Veyssier
8c52b6c0fe
feat(taskprocessing): add cleanup flag to tasks to decide if they should be cleaned up automatically
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2025-08-07 15:12:21 +02:00
Marcel Klehr
e2449bca6f
fix(TaskProcessingApiController): Improve error handling
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-07-22 11:21:17 +02:00
Oleksander Piskun
90e8fa25a6
fix(TaskProcessingApiController): use StreamResponse to return the task file content
...
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com >
2025-06-03 13:09:07 +03:00
provokateurin
82fb8f8508
refactor: Extend rector to core/
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2025-05-15 00:16:54 +02:00
Julien Veyssier
24332e2a06
fix(taskprocessing): /tasktypes endpoint was broken by #49015
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2025-01-09 10:06:25 +01:00
Marcel Klehr
3ac14af26b
fix(TaskProcessing): Set up fs in getFileContentsInternal
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-11-26 11:07:20 +01:00
John Molakvoæ
452e4be4f5
Merge pull request #46222 from nextcloud/fix/task-processing-api-controller/dont-use-plus
2024-11-06 09:02:23 +01:00
provokateurin
77114fb327
fix(OpenAPI): Adjust array syntax to avoid ambiguities
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-11-05 09:58:11 +01:00
dependabot[bot]
bb598c8451
chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-10-19 07:57:35 +02: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
Julien Veyssier
060fb26686
fix(taskprocessing): run cs:fix
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2024-07-25 10:10:32 +02:00
Marcel Klehr
799ee8fd51
feat(TaskProcessing): Implement enums and default values
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-07-25 10:10:31 +02:00
Julien Veyssier
fffc784769
feat(taskprocessing): add support for webhooks (http or AppAPI) in the task processing API
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2024-07-22 11:34:29 +02:00
Marcel Klehr
0d07ad98b0
fix(TaskProcessing): Update openapi specs
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-07-17 13:55:55 +02:00
Marcel Klehr
eb0b5f29fb
fix(TaskProcessingApiController): Address review comments
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-07-17 13:55:55 +02:00
Marcel Klehr
4ac1ac673e
fix: psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-07-17 13:55:55 +02:00
Marcel Klehr
4ac7f8275b
feat(TaskProcessing): Allow setting task results for file slots
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-07-17 13:55:55 +02:00
Julien CHATY-CAPELLE
2d84d0f5bf
fix(core): use OC namespace for core ReponseDefinitions instead of OCA
...
Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr >
2024-07-15 11:50:02 +02:00
Marcel Klehr
224779c33f
fix(TaskProcessingApiController): Don't use + to merge non-assoc. arrays
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-07-01 18:46:59 +02:00
provokateurin
f5ff8136ac
feat(TaskProcessingApi): Add endpoint for getting the next task
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-07-01 17:11:12 +02:00
Andy Scherzinger
e07a190641
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-05-27 14:53:40 +02:00
provokateurin
a8abe9d3c2
fix(TaskProcessingApi): Cleanup error handling
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-05-16 15:17:10 +02:00
provokateurin
4c375c98a4
docs(TaskProcessingApi): Set correct status code messages
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-05-16 14:57:34 +02:00
provokateurin
eabbb73173
docs(TaskProcessingApi): Cleanup endpoint descriptions
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-05-16 12:43:39 +02:00
provokateurin
79e153735c
docs(TaskProcessingApi): Fix result endpoint description
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-05-16 12:43:22 +02:00
Marcel Klehr
a8afa7f23d
fix(OCS-API): Add endpoint to list user tasks
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:41 +02:00
Marcel Klehr
f3a88f04ec
fix(OCS-API): No csrf required for /tasks/taskId/file/fileId
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:41 +02:00
Marcel Klehr
ec94a672d7
fix(ocs): change /tasktypes response to combine optional and non-optional IO slots
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:41 +02:00
Marcel Klehr
c079a61181
feat: Add cancel endpoint to OCS API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:41 +02:00
Marcel Klehr
4d9a0eab5f
fix: update openai specs
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:41 +02:00
Marcel Klehr
4a3b9b826e
refactor: identifier is now customId/custom_id
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:41 +02:00
Marcel Klehr
ec27c538b5
fix: address review comments
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:41 +02:00
Marcel Klehr
2c878099f1
fix: address review comments
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:40 +02:00
Marcel Klehr
b85a0edc92
fix: Update autoloaders
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:40 +02:00
Marcel Klehr
a5053d33c2
fix: Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:40 +02:00
Marcel Klehr
8ccb29ae3b
fix: psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:40 +02:00
Marcel Klehr
6203c1c7da
fix: Check if user is authorized to use the files they mentioned
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2024-05-14 11:38:40 +02:00