aboutsummaryrefslogtreecommitdiffstats
path: root/lib/composer
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add user:welcome commandFedericoHeichou2024-08-162-0/+2
| | | | Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
* feat(webauthn): Add user verification to webauthn challengesS1m2024-08-152-0/+2
| | | | | | | | Require user verification if all tokens are registered with UV flag, else discourage it Signed-off-by: S1m <git@sgougeon.fr> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(webauthn): Increase database column for public key idFerdinand Thiessen2024-08-142-0/+2
| | | | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/34476 There is no maximum length defined in the standard, most common the length is between 128 and 200 characters, but as we store it not in plain data but base64 encoded the length can grow about 1/3. We had a regression with 'Nitrokey 3' which created IDs with 196 byte length -> 262 bytes encoded base64. So to be save we increase the size to 512 bytes. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Make `ISharedStorage` public API and reuse where possibleFerdinand Thiessen2024-08-122-0/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(SetupCheck): Properly check public access to data directoryFerdinand Thiessen2024-08-082-0/+2
| | | | | | | | | | | | | When checking for public (web) access to the data directory the status is not enough as you might have a webserver that forwards to e.g. a login page. So instead check that the content of the file matches. For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content to allow checking. ¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #45879 from nextcloud/export-certificate-bundleAndy Scherzinger2024-08-062-0/+2
|\ | | | | feat: add command to export certificate bundle
| * feat: add command to export certificate bundleRobin Appelman2024-08-012-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | chore: delete repair step for 8y old oc_mounts issueRobin Appelman2024-08-022-2/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | chore: Remove deprecated legacy search backendJulius Härtl2024-08-012-16/+0
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #46099 from nextcloud/fix/properly-add-accept-share-interfaceJoas Schilling2024-07-302-0/+2
|\ | | | | fix: Add `acceptShare` as an interface
| * fix: Add `acceptShare` as an interfaceFerdinand Thiessen2024-07-302-0/+2
| | | | | | | | | | | | | | | | | | It was commented out because at that time no other share provider supported the `acceptShare` method. Today it is the same no other provider supports it, but we should make it discoverable by adding it to the public API as an additional interface. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(migration-attributes): privatizing AttributeExceptionMaxence Lange2024-07-292-10/+10
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | feat(upgrade): migration attributesMaxence Lange2024-07-292-0/+40
|/ | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com> f Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(preview): move previews for imaginary pdf to own class ImaginaryPDFernolf2024-07-252-0/+2
| | | | | | Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: Correct name of `InvalidFieldTypeException` class fileElizabeth Danzberger2024-07-252-0/+2
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Composer autoloads for Field classesElizabeth Danzberger2024-07-252-0/+4
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Move field classes out of the server apiElizabeth Danzberger2024-07-252-4/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Emit new `BeforeGetTemplates` eventElizabeth Danzberger2024-07-252-0/+2
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Template fieldsElizabeth Danzberger2024-07-252-0/+4
| | | | | | | | | | | | 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>
* feat(taskprocessing): add translate task typeJulien Veyssier2024-07-252-0/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(taskprocessing): fix cs issues and generate autoloadersJulien Veyssier2024-07-252-0/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat: mail provider backendSebastianKrupinski2024-07-232-0/+26
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(taskprocessing): build autoloader files and fix psalm issueJulien Veyssier2024-07-232-4/+8
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add occ commands to list tasks and compute statsJulien Veyssier2024-07-232-2/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add start, stop and schedule time to tasksJulien Veyssier2024-07-232-6/+8
| | | | 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-0/+2
| | | | | | processing API Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(Security): add Factory for IP addresses and rangesBenjamin Gaussorgues2024-07-192-0/+4
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(security): Add public API to allow validating IP Ranges and checking ↵Joas Schilling2024-07-192-2/+12
| | | | | | | for "in range" Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(security): restrict admin actions to IP rangesBenjamin Gaussorgues2024-07-192-0/+4
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat: allow for ExApps to call Admin endpoints marked with specific attrAlexander Piskun2024-07-182-0/+2
| | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* feat(Reference): Add public API endpoints to get referencesJonas2024-07-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 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>
* fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-172-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #46397 from nextcloud/extended-query-builder-baseRobin Appelman2024-07-152-0/+2
|\ | | | | feat: add base class for extending the query builder
| * feat: add base class for extending the query builderRobin Appelman2024-07-122-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(core): use OC namespace for core ReponseDefinitions instead of OCAJulien CHATY-CAPELLE2024-07-152-0/+2
| | | | | | | | Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr>
* | fix: psalm, cs, autoloader and lintskjnldsv2024-07-123-2/+4
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #46371 from nextcloud/feat/filename-validatorFerdinand Thiessen2024-07-102-0/+4
|\ | | | | feat: Add `IFilenameValidator` to have one consistent place for filename validation
| * feat: Add `IFilenameValidator` to have one consistent place for filename ↵Ferdinand Thiessen2024-07-092-0/+4
| | | | | | | | | | | | | | | | validation Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | feat: Add IPasswordHashBackendChristopher Ng2024-07-082-0/+2
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #46115 from nextcloud/enh/add-a-universal-debug-option-to-occCôme Chilliet2024-07-082-0/+4
|\ | | | | feat(occ): Add a --debug option to output all log levels to the output
| * feat: Add reserved options in a new OCP class so that applications know ↵Côme Chilliet2024-07-042-0/+2
| | | | | | | | | | | | about them Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * feat(occ): Add a --debug option to output all log levels to the outputCôme Chilliet2024-07-022-0/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #46251 from nextcloud/feat/taskprocessing-more-tasktypesJoas Schilling2024-07-042-0/+8
|\ \ | | | | | | feat(TaskProcessing): Add more task types
| * | feat(TaskProcessing): Add more task typesMarcel Klehr2024-07-042-0/+8
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Merge pull request #46194 from nextcloud/schema-export-cmndRobin Appelman2024-07-022-0/+6
|\ \ \ | |_|/ |/| | feat: add commands for exporting current and expected database schema
| * | feat: add commands for exporting current and expected database schemaRobin Appelman2024-07-022-0/+6
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #46185 from ↵Daniel2024-07-022-8/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/debt/noid/migrate-background-commands-to-iappconfig refactor: simplify background commands
| * | | refactor: simplify background commandsDaniel Kesselberg2024-07-012-8/+2
| |/ / | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / / feat(AppFramework): Add ExAppRequired attributeprovokateurin2024-07-012-0/+4
|/ / | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #45532 from nextcloud/feat/publish-resources-room-updateRichard Steinmetz2024-06-252-0/+2
|\ \ | |/ |/| feat: implement public OCP api to update resources and rooms