aboutsummaryrefslogtreecommitdiffstats
path: root/lib/composer
Commit message (Collapse)AuthorAgeFilesLines
* feat(core): setting NCU namespaceenh/noid/testing-namespaceMaxence Lange2024-11-072-0/+9
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #48721 from nextcloud/feat/allow-getter-setter-decl-forsJohn Molakvoæ2024-11-062-0/+2
|\
| * feat(DeclarativeSettings): Allow to implement value getter and setter ↵Ferdinand Thiessen2024-10-152-0/+2
| | | | | | | | | | | | | | | | | | directly in Form Instead of implementing the form class, a setter event listener and a getter event listener, this allows to simply write a basic class that provides `getSchema`, `setValue` and `getValue` functions. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | feat(core): add index to systemtag objecttypeskjnldsv2024-10-292-0/+2
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-193-7/+79
|/ | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48537 from nextcloud/add-command-to-cleanup-previewKate2024-10-142-0/+2
|\
| * feat(preview): add command to cleanup preview folderadd-command-to-cleanup-previewThomas Citharel2024-10-032-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | When changing preview parameters (size, format, …), one can simply delete the preview folder and run files:scan-app-data in order to retrigger updated preview recreation because files are absent. However, that's not possible when using ObjectStorage as primary storage, as there's no concept of "preview folder". This command allows to simply delete and recreate the preview folder properly from Nextcloud, so that the abstraction levels handle all the subfolder & file deleting part. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #47896 from nextcloud/fix/resiliant-user-removalFerdinand Thiessen2024-10-072-0/+6
|\ \ | |/ |/| fix: Make user removal more resilient
| * fix: Skip users that still exist in backendfix/resiliant-user-removalFerdinand Thiessen2024-09-262-2/+2
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * fix: Make user removal more resilientFerdinand Thiessen2024-09-262-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there is a problem if an exception is thrown in `User::delete`, because at that point the user is already removed from the backend, but not all data is deleted. There is no way to recover from this state, as the user is gone no information is available anymore. This means the data is still available on the server but can not removed by any API anymore. The solution here is to first set a flag and backup the user home, this can be used to recover failed user deletions in a way the delete can be re-tried. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | feat(taskprocessing): new command to get a task from a task ID, include ↵enh/noid/taskprocessing-commands-task-errorsJulien Veyssier2024-10-012-0/+2
| | | | | | | | | | | | error_message in list and get commands Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | chore: Drop unused legacy `OC_Files`Ferdinand Thiessen2024-09-282-2/+0
|/ | | | | | It is replaced with the Sabre `ZipFolderPlugin` and apps should use the `OCP\AppFramework\Http\StreamResponse`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListenerCarl Schwan2024-09-232-0/+2
| | | | | | | | oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Move storage constructor to specific interfaceCôme Chilliet2024-09-232-0/+2
| | | | | | That allows Wrappers to use DI and not care about the constructor Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-202-0/+2
| | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore: Add proper deprecation dates where missingFerdinand Thiessen2024-09-201-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Remove deprecated `ILogger` logging functionschore/remove-iloggerFerdinand Thiessen2024-09-192-2/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add OCP interface to format richtext into stringCôme Chilliet2024-09-172-0/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: fix autoloadersCôme Chilliet2024-09-162-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Make `CheckServerResponseTrait` public and provide as ↵feat/make-setup-check-trait-publicFerdinand Thiessen2024-09-162-0/+2
| | | | | | | | | `OCP\SetupCheck\CheckServerResponseTrait` This trait is used by other apps for creating setup checks, so we should provide it instead apps using private API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #47865 from ↵Côme Chilliet2024-09-132-0/+6
|\ | | | | | | | | nextcloud/admin_audit/enh/move-to-event-listeners-v2 Move admin_audit to proper event listeners v2
| * feat(user_ldap): Introduce user id assigned typed events for LDAP usageCarl Schwan2024-09-102-0/+6
| | | | | | | | | | | | Based on work from https://github.com/nextcloud/server/pull/32019 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | chore: Deleted now unused classes from \OC\OCSCôme Chilliet2024-09-092-4/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Move ApiHelper to \OC\OCS next to related classesCôme Chilliet2024-09-092-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Move OC_API into \OC\ApiHelper in standard namespaceCôme Chilliet2024-09-092-2/+2
|/ | | | | | It’s only used by ocs/v1.php Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: update autoloaderAnupam Kumar2024-09-062-0/+2
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* fix: Migrate existing bg jobs to use sha256Louis Chemineau2024-09-052-0/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Move \OC_Image to \OC\Image with the other internal classesCôme Chilliet2024-08-292-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-282-0/+20
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add option to automatically partition queries by specific tablesRobin Appelman2024-08-282-0/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-272-0/+6
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: add command to send raw commands to redisRobin Appelman2024-08-232-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(Security): Allow setting password context for validation and generationFerdinand Thiessen2024-08-222-0/+2
| | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>