aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TaskProcessing
Commit message (Collapse)AuthorAgeFilesLines
* feat(TaskProcessing): Add TextToSpeech providerLukas Schaefer2025-04-261-0/+1
| | | | Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
* fix(taskprocessing): use the event for AppAPI to get list of AI providersfix/noid/taskprocessing-appapiOleksander Piskun2025-04-091-1/+45
| | | | Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
* fix: Work around psalm taint false-positive by not using var_exportCôme Chilliet2025-02-171-1/+1
| | | | | | | | | var_export is listed as a taint sink because it may output stuff depending on the parameters. It was not the case here, but we can simply json_encode the result by passing it as context to the logger method rather than using var_export. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-131-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(TaskProcessing\Manager): Always use distributed cache and use PHP serializeMarcel Klehr2025-02-041-0/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: lib/private/TaskProcessing/Manager.phpMarcel Klehr2025-02-041-2/+4
| | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TaskProcessing\Manager): Always use distributed cache and use PHP serializefix/taskprocessing-cacheMarcel Klehr2025-02-041-6/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TaskProcessing): Cache providersById in getPreferredProvidersfix/perf/cache-avilable-taskt-typesMarcel Klehr2025-01-241-3/+8
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: copypastaMarcel Klehr2025-01-241-1/+1
| | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(taskprocessing): cache provider settings in distributed cache as wellMarcel Klehr2025-01-241-1/+11
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TaskProcessing\Manager): Cache the result of parsing JSONMarcel Klehr2025-01-241-3/+4
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(taskprocessing): Cache result of getAvailableTaskTypes between requestsMarcel Klehr2025-01-241-2/+12
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResultfix/taskprocessing-better-errorsMarcel Klehr2025-01-231-2/+6
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* feat: add proofread task typeJana Peper2024-12-201-0/+1
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* fix: error handling for wrong json valuesJana Peper2024-12-181-4/+16
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* feat: add error flags for json_decodeJana Peper2024-12-181-1/+1
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* fix(taskrpocessing): Cache result of getAvailableTaskTypesMarcel Klehr2024-12-181-31/+39
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: always regenerate availabe task typesJana Peper2024-12-181-33/+32
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* fix: show all types when no preferences savedJana Peper2024-12-181-0/+3
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* feat: filter disabled apps in task types requestsJana Peper2024-12-181-1/+13
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* feat(TaskProcessing): More task typesMarcel Klehr2024-12-091-0/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(QBMapper): Fix findEntities() return type to be list<T>fix/qbmapper/find-entities-return-typeprovokateurin2024-11-061-3/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-081-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResultfix/taskprocessing-manager/php-noticeMarcel Klehr2024-10-021-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-5/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(TaskProcessing): increase error_message column lengthAnupam Kumar2024-09-061-2/+3
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-052-6/+6
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Revert "fix(TaskProcessing): Use OCP\Server::get instead of copying methods"Marcel Klehr2024-08-301-5/+45
| | | | | | This reverts commit d624c8da8f0dc2eaf18d416aa15db0a2035de398. Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(TaskProcessing): Use OCP\Server::get instead of copying methodsMarcel Klehr2024-08-301-45/+5
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(speech-to-text): SpeechToTextManager::transcribeFile calls ↵Julien Veyssier2024-08-301-2/+24
| | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(textprocessing): TextProcessingManager::runTask calls ↵Julien Veyssier2024-08-301-3/+28
| | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(taskprocessing): fix condition to reschedule SynchronousBackgroundJobJulien Veyssier2024-08-271-10/+13
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add IManager::runTask method to run task synchronouslyJulien Veyssier2024-08-272-73/+125
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-3/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(taskprocessing): select preferred provider when running sync task, fix ↵Julien Veyssier2024-08-122-11/+16
| | | | | | task type values according to preferred provider Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Merge pull request #46912 from ↵Marcel Klehr2024-08-011-0/+4
|\ | | | | | | | | nextcloud/fix/taskprocessing-speech-to-text-legacy More fixes for task processing
| * fix(TaskProcessing): Legacy Speech To Text support needs UserIdMarcel Klehr2024-07-311-0/+4
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix(TaskProcessing): Don't break if provider methods throwMarcel Klehr2024-07-301-14/+18
|/ | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(taskprocessing): add missing translate default task typeJulien Veyssier2024-07-251-0/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix: Don't validate input again upon running a taskMarcel Klehr2024-07-251-7/+0
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: Make sure provider provides enum valuesMarcel Klehr2024-07-251-1/+4
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(taskprocessing): Update lib/private/TaskProcessing/Manager.phpMarcel Klehr2024-07-251-2/+2
| | | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(taskprocessing): run cs:fixJulien Veyssier2024-07-251-17/+17
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(TaskProcessing): Implement enums and default valuesMarcel Klehr2024-07-251-35/+161
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(taskprocessing): build autoloader files and fix psalm issueJulien Veyssier2024-07-231-1/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add appId filter to taskprocessing occ commandsJulien Veyssier2024-07-232-3/+20
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add occ commands to list tasks and compute statsJulien Veyssier2024-07-233-3/+45
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add start, stop and schedule time to tasksJulien Veyssier2024-07-232-0/+37
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add support for webhooks (http or AppAPI) in the task ↵Julien Veyssier2024-07-222-3/+92
| | | | | | processing API Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Merge pull request #46605 from nextcloud/bugfix/noid/test-more-oracle-versionsJoas Schilling2024-07-191-5/+5
|\ | | | | fix(deps): Deprecate functionality deprecated by doctrine and test on more oracle versions