aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Allow "wasm-unsafe-eval" in CSPDaniel Calviño Sánchez2023-08-103-1/+21
| | | | | | | | | | | | | | | | | | If a page has a Content Security Policy header and the `script-src` (or `default-src`) directive does not contain neither `wasm-unsafe-eval` nor `unsafe-eval` loading and executing WebAssembly is blocked in the page (although it is still possible to load and execute WebAssembly in a worker thread). Although the Nextcloud classes to manage the CSP already supported allowing `unsafe-eval` this affects not only WebAssembly, but also the `eval` operation in JavaScript. To make possible to allow WebAssembly execution without allowing JavaScript `eval` this commit adds support for allowing `wasm-unsafe-eval`. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* feat: Add delete task APIJulius Härtl2023-08-071-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* allow anon text processing schedulingJulien Veyssier2023-08-072-2/+13
| | | | | | | | | add a textprocessing_tasks index convert anotations to method attributes refactor TP manager add mapper methods Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* start implementing ocs endpoint to get task list from user+appId+identifierJulien Veyssier2023-08-071-0/+8
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanupJoas Schilling2023-08-049-10/+456
|\ | | | | fix!: Final round of moving to IEventDispatcher
| * fix!: Move getEventDispatcher usage to IEventDispatcherJoas Schilling2023-07-281-0/+50
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * chore!: Remove legacy SymfonyAdapterJoas Schilling2023-07-281-10/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate Share accepted event to typed eventJoas Schilling2023-07-281-0/+50
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate unShare events to typed eventsJoas Schilling2023-07-282-0/+100
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate Sharing events to typed eventsJoas Schilling2023-07-281-0/+66
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate AccountManager event to typed eventJoas Schilling2023-07-281-0/+58
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate TagService events to typed eventsJoas Schilling2023-07-282-0/+132
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | AI admin settings: cs:fixMarcel Klehr2023-08-021-1/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix(TextProcessing): Inject L10N\IFactory instead of IL10NMarcel Klehr2023-08-024-9/+26
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | First pass at ai admin settingsMarcel Klehr2023-08-023-0/+18
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | provisioning_api: Add OpenAPI specjld31032023-07-311-1/+1
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | fix share roots always being marked as writableRobin Appelman2023-07-281-2/+16
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | expose MovableMount in public interfaceRobin Appelman2023-07-281-0/+48
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove allowParallelRuns check in OCP\BackgroundJob\JobMarcel Klehr2023-07-281-5/+0
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA ManagerJoas Schilling2023-07-271-11/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix!: Remove legacy event dispatching Symfony's GenericEvent from ↵Joas Schilling2023-07-271-9/+0
| | | | | | AdditionalScripts Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix!: Remove legacy event dispatching Symfony's GenericEventJoas Schilling2023-07-271-6/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #39485 from ↵Joas Schilling2023-07-261-8/+4
|\ | | | | | | | | nextcloud/bugfix/noid/move-remaining-easy-usages-to-IEventDispatcher fix(dispatcher): Move remaining simple cases in apps/ folder to IEven…
| * fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcherJoas Schilling2023-07-251-8/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(db)!: Remove private legacy event because we can not keep itJoas Schilling2023-07-241-33/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix: Add options to support all used features by coreJoas Schilling2023-07-241-4/+23
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(dispatcher): Add typed event for "db:add-missing-primary-keys"Joas Schilling2023-07-242-2/+63
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(dispatcher): Add typed event for "db:add-missing-columns"Joas Schilling2023-07-243-4/+65
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #38854 from nextcloud/enh/llm-apiMarcel Klehr2023-07-2113-0/+799
|\
| * Remove Task::factory methodMarcel Klehr2023-07-191-17/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Fix psalm errorsMarcel Klehr2023-07-175-0/+9
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * cs:fixMarcel Klehr2023-07-171-2/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Apply suggestions from code reviewMarcel Klehr2023-07-171-7/+0
| | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Fix psalm errorsMarcel Klehr2023-07-141-6/+9
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Fix psalm errorsMarcel Klehr2023-07-141-1/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-07-1419-535/+353
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Since 27.1.0Marcel Klehr2023-07-0716-81/+81
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Improve scheduleTask docblockMarcel Klehr2023-07-071-1/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Avoid using OC in OCPMarcel Klehr2023-07-071-16/+0
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * OCP\Common\NotFoundException: Add param typeMarcel Klehr2023-07-071-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/Marcel Klehr2023-07-071-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update lib/public/LanguageModel/Events/TaskFailedEvent.phpMarcel Klehr2023-07-071-2/+4
| | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update lib/public/LanguageModel/ILanguageModelProvider.phpMarcel Klehr2023-07-071-1/+1
| | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Fix psam errorsMarcel Klehr2023-07-071-2/+6
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Fix psalm errorMarcel Klehr2023-07-071-2/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * LLM OCP API: Add identifier paramMarcel Klehr2023-07-072-3/+21
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Apply suggestions from code reviewMarcel Klehr2023-07-071-2/+2
| | | | | | | | Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Make tests passMarcel Klehr2023-07-071-4/+5
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * ILanguageModelTask: Use php type checking along with psalm parameterized typesMarcel Klehr2023-07-075-12/+14
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * ILanguageModelManager: Add docblock descriptionMarcel Klehr2023-07-071-0/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>