aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* ocm controllerMaxence Lange2023-09-205-0/+358
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* enh(db): provide database providers via APIAnna Larch2023-09-191-0/+20
| | | | | | | | | To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the associated constants fixes https://github.com/nextcloud/server/issues/30877 Signed-off-by: Anna Larch <anna@nextcloud.com>
* core: Fix OpenAPI for reference APIjld31032023-09-142-1/+8
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #32912 from nextcloud/group-backend-batch-methodCôme Chilliet2023-09-114-3/+100
|\ | | | | Add batch methods in user backends
| * Fix psalm spotted type errorsCôme Chilliet2023-09-051-4/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Move new methods to a new interface in OCPCôme Chilliet2023-09-054-31/+64
| | | | | | | | | | | | | | This avoids breaking compatibility for group backends not based on ABackend abstract class. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Fix psalm errors about groupExists return typeCôme Chilliet2023-09-051-8/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Add batch methods in user backendsCarl Schwan2023-09-053-2/+70
| | | | | | | | | | | | This allows for faster group search with significantly less DB traffic Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | feat: Add dedicated method to load init scriptsJulius Härtl2023-09-071-11/+26
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Co-authored-by: John Molakvoæ <skjnldsv@protonmail.com> Update lib/public/Util.php Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Detect aborted connection in OC\Files\View and stop writing data to the ↵Benjamin Gaussorgues2023-09-071-0/+33
| | | | | | | | | | | | output buffer Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #35539 from ↵Côme Chilliet2023-09-051-9/+8
|\ \ | | | | | | | | | | | | nextcloud/cleanup/carl/application-contactsmanager Cleanup psalm issues in DB/ContactsManager and Console
| * | Cleanup plsam issues in DB/ContactsManager and ConsoleCarl Schwan2023-09-051-9/+8
| |/ | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* / add IFileInfo::getParentIdRobin Appelman2023-09-041-0/+9
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #39863 from nextcloud/sharing-mask-wrapperRobin Appelman2023-09-041-0/+8
|\ | | | | move share permission logic to storage wrapper
| * more share permission logic to storage wrapperRobin Appelman2023-08-141-0/+8
| | | | | | | | | | | | this way we only have to determine the share permissions once Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(utility): De- deprecate getDateTime as now() only returns immutable objectsAnna Larch2023-08-251-2/+0
| | | | | | | | | | | | | | | | This will mean lots of code like ```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()``` if a regular DateTime object is needed Signed-off-by: Anna Larch <anna@nextcloud.com>
* | fix(dbal): Migrate to Doctrine\DBAL\ParameterTypesJoas Schilling2023-08-231-5/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #39958 from nextcloud/dav-permissions-perfJohn Molakvoæ2023-08-221-6/+7
|\ \
| * | improve performance of calculating dav permissionsRobin Appelman2023-08-181-6/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | feat(dashboard): implement widget item api v2Richard Steinmetz2023-08-224-3/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | This API enables the dashboard to render all widgets from the API data alone without having apps to provide their own bundles. This saves a lot of traffic and execution time as a lot less javascript has to be parsed on the frontend. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | fix: Make bypass function public APIJoas Schilling2023-08-211-0/+10
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | feat(security): Add a bruteforce protection backend base on memcacheJoas Schilling2023-08-211-1/+18
| | | | | | | | | | | | | | | | | | Similar to the ratelimit backend Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #39867 from nextcloud/login-lessJoas Schilling2023-08-182-3/+65
|\ \ \ | |/ / |/| | Add a separate event for login page rendering
| * | add core fileclient script before othersRobin Appelman2023-08-171-2/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | don't always add core/common and core/main during "sorting"Robin Appelman2023-08-171-1/+6
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add separate event for rendering login page templateRobin Appelman2023-08-171-0/+52
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / feat: redirect to the mime icon if no preview availableJohn Molakvoæ2023-08-172-0/+43
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* 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…