aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor(core): Replace security annotations with respective attributesprovokateurin2024-07-262-10/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: PHP formattingElizabeth Danzberger2024-07-253-19/+11
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Fix static analysis errorsElizabeth Danzberger2024-07-253-0/+35
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Add support for filling fields to backend componentsElizabeth Danzberger2024-07-251-1/+11
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(api): Add alias to `Field`Elizabeth Danzberger2024-07-251-3/+4
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Make field index a string for better id/index supportElizabeth Danzberger2024-07-251-1/+1
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Correct name of `InvalidFieldTypeException` class fileElizabeth Danzberger2024-07-251-0/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Add proper field typesElizabeth Danzberger2024-07-251-1/+5
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Remove commentsElizabeth Danzberger2024-07-251-3/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Add `InvalidFieldType` exceptionElizabeth Danzberger2024-07-252-1/+18
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: `Field` and `FieldType` implementationElizabeth Danzberger2024-07-252-8/+32
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Add Field and FieldType back to server APIElizabeth Danzberger2024-07-252-0/+30
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Move field classes out of the server apiElizabeth Danzberger2024-07-252-28/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Emit new `BeforeGetTemplates` eventElizabeth Danzberger2024-07-254-6/+26
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Template fieldsElizabeth Danzberger2024-07-253-1/+43
| | | | | | | | | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> fix: Composer dump Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> fix: Add field array to template class Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(taskprocessing): fix typo in text2text task typeJulien Veyssier2024-07-251-1/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add translate task typeJulien Veyssier2024-07-251-0/+102
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(taskprocessing): fix psalm issueJulien Veyssier2024-07-251-0/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(taskprocessing): add licenseJulien Veyssier2024-07-251-0/+8
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(taskprocessing): run cs:fixJulien Veyssier2024-07-251-1/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(TaskProcessing): Implement enums and default valuesMarcel Klehr2024-07-255-3/+125
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Merge pull request #46708 from nextcloud/update-event-docsAnna2024-07-246-2/+17
|\ | | | | docs: update docs for ocp events
| * docs: update docs for ocp eventsDaniel Kesselberg2024-07-236-2/+17
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegationLouis2024-07-241-0/+8
|\ \ | | | | | | feat(users): Add users and group management to admin delegation
| * | feat(users): Add support for admin delegation for users and groups managementLouis Chemineau2024-07-221-0/+8
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | feat: mail provider backendSebastianKrupinski2024-07-2313-0/+1353
| |/ |/| | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | feat(taskprocessing): add appId filter to taskprocessing occ commandsJulien Veyssier2024-07-231-2/+4
| | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | feat(taskprocessing): add occ commands to list tasks and compute statsJulien Veyssier2024-07-231-0/+16
| | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | feat(taskprocessing): add start, stop and schedule time to tasksJulien Veyssier2024-07-231-1/+56
|/ | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add support for webhooks (http or AppAPI) in the task ↵Julien Veyssier2024-07-221-0/+37
| | | | | | processing API Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Merge pull request #46473 from nextcloud/feat/restrict_admin_to_ipsAndy Scherzinger2024-07-224-0/+124
|\ | | | | feat(security): restrict admin actions to IP ranges
| * feat(Security): add Factory for IP addresses and rangesBenjamin Gaussorgues2024-07-191-0/+30
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * feat(security): Add public API to allow validating IP Ranges and checking ↵Joas Schilling2024-07-193-0/+94
| | | | | | | | | | | | | | for "in range" Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | Merge pull request #46605 from nextcloud/bugfix/noid/test-more-oracle-versionsJoas Schilling2024-07-193-9/+26
|\ \ | |/ |/| fix(deps): Deprecate functionality deprecated by doctrine and test on more oracle versions
| * fix(db): Deprecate `IExpressionBuilder::or()` and ↵Joas Schilling2024-07-192-3/+6
| | | | | | | | | | | | `IExpressionBuilder::and()` without parameters Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(db): Deprecate `getState()` as per upstreamJoas Schilling2024-07-191-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of ↵Joas Schilling2024-07-191-1/+2
| | | | | | | | | | | | removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(db): Deprecate using table alias for DELETE and UPDATEJoas Schilling2024-07-191-5/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(db): Deprecate `getQueryPart()` and `resetQueryPart()` methods that will ↵Joas Schilling2024-07-191-0/+8
| | | | | | | | | | | | be removed with Doctrine/DBAL 4 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #46368 from nextcloud/fix/task-processingMarcel Klehr2024-07-192-3/+39
|\ \ | |/ |/| TaskProcessing follow-up
| * fix(TaskProcessing): Add since doc for new EShapeType methodMarcel Klehr2024-07-171-0/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix: Validate output properlyMarcel Klehr2024-07-171-1/+34
| | | | | | | | | | | | Differentiate between output with file IDs and output with File data Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * feat(TaskProcessing): Allow setting task results for file slotsMarcel Klehr2024-07-171-2/+4
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | feat: allow for ExApps to call Admin endpoints marked with specific attrAlexander Piskun2024-07-181-0/+21
| | | | | | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* | Merge pull request #46510 from nextcloud/feat/info-xml-backendsRichard Steinmetz2024-07-171-0/+15
|\ \ | | | | | | feat: hide caldav server settings if no app uses the caldav backend
| * | feat: hide caldav server settings if no app uses the caldav backendRichard Steinmetz2024-07-161-0/+15
| | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | feat(Reference): Add public API endpoints to get referencesJonas2024-07-173-3/+54
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling the public API endpoints will check for matching registered reference providers that implement `IPublicReferenceProvider` and call their respective functions. If no matching provider is found, the default `LinkReferenceProvider` will be used to provide open graph data. The frontend reference widget components will call these endpoints from unauthorized sessions, e.g. in public shares. If present, the sharing token of the origin URL is passed to `resolveReferencePublic()` as additional information for the reference provider to determine the access scope. This allows the respective reference providers to determine whether the origin share has access to the linked resource. `getCacheKeyPublic` also gets the sharing token so it can scope the cached entry to it. Contributes to #45978 Signed-off-by: Jonas <jonas@freesources.org>
* | Merge pull request #46538 from nextcloud/fix/use-filename-validatorFerdinand Thiessen2024-07-161-34/+0
|\ \ | | | | | | refactor: Migrate filename validation from `Storage` and `Util` to `FilenameValidator`
| * | refactor: Remove deprecated `Util` function for filename validation to ↵Ferdinand Thiessen2024-07-161-34/+0
| |/ | | | | | | | | | | `FilenameValidator` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* / feat: allow running QueryBuilder queries on different connectionsRobin Appelman2024-07-151-3/+7
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>