aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Fix lintGit'Fellow2023-08-131-1/+0
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Remove check for very old PGsql Git'Fellow2023-08-131-39/+0
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Merge pull request #38082 from nextcloud/allow-wasm-unsafe-eval-in-cspJoas Schilling2023-08-111-0/+8
|\ | | | | Allow "wasm-unsafe-eval" in CSP
| * Allow "wasm-unsafe-eval" in CSPDaniel Calviño Sánchez2023-08-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #39723 from nextcloud/removed-apc-extension-version-checkDaniel2023-08-101-4/+1
|\ \ | | | | | | chore: remove version check for apc extension
| * | chore: remove version check for apc extensionDaniel Kesselberg2023-08-101-4/+1
| | | | | | | | | | | | | | | | | | APC is gone since PHP 7.0. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | docs: remove superfluous phpdocsDaniel Kesselberg2023-08-101-9/+1
|/ / | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / log imaginary errors as info to not spam the server logsSimon L2023-08-091-2/+2
|/ | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* feat: Add delete task APIJulius Härtl2023-08-071-0/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* change sql where order to match index orderJulien Veyssier2023-08-071-2/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* allow anon text processing schedulingJulien Veyssier2023-08-073-6/+56
| | | | | | | | | 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-072-1/+37
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Merge pull request #39698 from joshtrichards/invalid-source-storage-path-catchJohn Molakvoæ2023-08-051-1/+1
|\
| * fix: simplify `sourceData` checkJohn Molakvoæ2023-08-051-1/+1
| | | | | | | | Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * Catch more invalid cache source storage pathsJosh Richards2023-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | OC\Files\Cache\Cache::get can return string|false|null, not just string|false. - nextcloud/server#26270 added handling of false, but null is needed too. - Well, or we change the default $resullt to false, but I'm not sure if that has other ramifications and the real need here is to simply catch situations where the cache source storage path is not valid for whatever reason Related: nextcloud/server#19009 Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanupJoas Schilling2023-08-0410-471/+80
|\ \ | |/ |/| fix!: Final round of moving to IEventDispatcher
| * fix!: Move getEventDispatcher usage to IEventDispatcherJoas Schilling2023-07-283-5/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * chore!: Remove legacy SymfonyAdapterJoas Schilling2023-07-283-348/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix: Migrate collaboration listener and remove legacy adapterJoas Schilling2023-07-281-34/+16
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix: Remove legacy dispatcher from share managerJoas Schilling2023-07-282-7/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate Share accepted event to typed eventJoas Schilling2023-07-282-3/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate unShare events to typed eventsJoas Schilling2023-07-282-44/+27
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate Sharing events to typed eventsJoas Schilling2023-07-282-23/+17
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat!: Migrate AccountManager event to typed eventJoas Schilling2023-07-281-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Migration: Drop llm_tasks table and add textprocessing_tasksMarcel Klehr2023-08-021-1/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | AI admin settings: Use config values in AI feature managersMarcel Klehr2023-08-023-5/+53
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | fix(storage): fallback to copy and unlink when rename failsDaniel Kesselberg2023-07-311-13/+6
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #39629 from ir0nhide/fix/sse-cJulius Härtl2023-07-311-1/+1
|\ \
| * | fix(s3): add SSE-C parameters to headObject callTobias Zimmerer2023-07-301-1/+1
| | | | | | | | | | | | Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
* | | provisioning_api: Add OpenAPI specjld31032023-07-312-5/+28
|/ / | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* / expose MovableMount in public interfaceRobin Appelman2023-07-281-1/+3
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #39473 from nextcloud/fix/parallel-aware-jobJoas Schilling2023-07-281-9/+23
|\ | | | | fix(IParallelAwareJob): Check for other reserved jobs before setting new ones as reserved
| * Fix ParallelAwareJob testsMarcel Klehr2023-07-281-9/+23
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #37624 from nextcloud/fix/logging-for-failed-fopenArthur Schiwon2023-07-281-0/+7
|\ \ | |/ |/| fix: log fopen calls when stream isn't available
| * fix: log fopen calls when stream isn't availableAnna Larch2023-07-201-0/+7
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | fix!: Remove symfony EventDispatcherInterface from GroupJoas Schilling2023-07-273-86/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix!: Remove symfony EventDispatcherInterface from UserJoas Schilling2023-07-274-47/+13
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #39571 from ↵Joas Schilling2023-07-2713-169/+65
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/move-lib-to-IEventDispatcher Move lib/ events to IEventDispatcher where possible
| * | fix!: Remove User events which have a typed event replacementJoas Schilling2023-07-271-4/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix: Move Sharing events to IEventDispatcherJoas Schilling2023-07-272-24/+30
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix: Move Node HookConnecter events to IEventDispatcherJoas Schilling2023-07-272-26/+13
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix: Move SystemTags events to IEventDispatcherJoas Schilling2023-07-273-47/+13
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA ManagerJoas Schilling2023-07-271-14/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix!: Remove legacy event dispatching Symfony's GenericEvent from ↵Joas Schilling2023-07-271-30/+5
| | | | | | | | | | | | | | | | | | AdditionalScripts Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix: Move AppManager events to IEventDispatcherJoas Schilling2023-07-272-8/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | fix!: Remove legacy event dispatching Symfony's GenericEventJoas Schilling2023-07-273-16/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(SystemTagManager): Use truncated tagName in getTag and updateTagMarcel Klehr2023-07-271-4/+8
|/ / | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #39506 from ↵Joas Schilling2023-07-241-0/+55
|\ \ | | | | | | | | | | | | nextcloud/techdebt/39488/ensure-index-name-uniqueness feat(db): Ensure that index names are unique across the database
| * | feat(db): Ensure that index names are unique across the databaseJoas Schilling2023-07-201-0/+55
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #38854 from nextcloud/enh/llm-apiMarcel Klehr2023-07-2110-0/+568
|\ \