dependabot[bot]
bb598c8451
chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer
...
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 >
2024-10-19 07:57:35 +02:00
Kate
10d1c3c29f
Merge pull request #48537 from nextcloud/add-command-to-cleanup-preview
2024-10-14 08:57:00 +02:00
Ferdinand Thiessen
3095a92551
Merge pull request #47896 from nextcloud/fix/resiliant-user-removal
...
fix: Make user removal more resilient
2024-10-07 11:33:07 +02:00
Thomas Citharel
fe0f89c237
feat(preview): add command to cleanup preview folder
...
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 >
2024-10-03 13:41:32 +02:00
Julien Veyssier
14cf5b03ca
feat(taskprocessing): new command to get a task from a task ID, include error_message in list and get commands
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2024-10-01 20:30:31 +02:00
Ferdinand Thiessen
eb69e89fa5
chore: Drop unused legacy OC_Files
...
It is replaced with the Sabre `ZipFolderPlugin` and apps should use the `OCP\AppFramework\Http\StreamResponse`.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-09-28 13:18:40 +02:00
Ferdinand Thiessen
d57a2dd465
fix: Skip users that still exist in backend
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-09-26 20:48:45 +02:00
Ferdinand Thiessen
16833aff86
fix: Make user removal more resilient
...
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 >
2024-09-26 20:48:37 +02:00
Carl Schwan
77821f8f3e
feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListener
...
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 >
2024-09-23 18:13:21 +02:00
Côme Chilliet
94b0a0e863
fix: Move storage constructor to specific interface
...
That allows Wrappers to use DI and not care about the constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-23 09:46:44 +02:00
Julius Knorr
606241caeb
chore(legacy): Introduce public version ct plass and drop version methods from OC_Util
...
Signed-off-by: Julius Knorr <jus@bitgrid.net >
2024-09-20 14:53:34 +02:00
Ferdinand Thiessen
a8f46af20f
chore: Add proper deprecation dates where missing
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-09-20 00:46:03 +02:00
Ferdinand Thiessen
5cce140701
chore: Remove deprecated ILogger logging functions
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-09-19 00:37:06 +02:00
Côme Chilliet
70a886ce83
feat: Add OCP interface to format richtext into string
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-17 13:57:33 +02:00
Côme Chilliet
f80eda4398
chore: fix autoloaders
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-16 18:11:38 +02:00
Ferdinand Thiessen
7fbd518452
feat: Make CheckServerResponseTrait public and provide as 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 >
2024-09-16 14:58:21 +02:00
Côme Chilliet
dfa994ef28
Merge pull request #47865 from nextcloud/admin_audit/enh/move-to-event-listeners-v2
...
Move admin_audit to proper event listeners v2
2024-09-13 16:21:44 +02:00
Carl Schwan
986a3d45f8
feat(user_ldap): Introduce user id assigned typed events for LDAP usage
...
Based on work from https://github.com/nextcloud/server/pull/32019
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
2024-09-10 14:06:11 +02:00
Côme Chilliet
76d1b11bc9
chore: Deleted now unused classes from \OC\OCS
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-09 10:46:29 +02:00
Côme Chilliet
4c9104ef08
fix: Move ApiHelper to \OC\OCS next to related classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-09 10:46:29 +02:00
Côme Chilliet
ea32d17d88
fix: Move OC_API into \OC\ApiHelper in standard namespace
...
It’s only used by ocs/v1.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-09 10:46:29 +02:00
Anupam Kumar
31a983ac69
chore: update autoloader
...
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com >
2024-09-06 18:02:15 +05:30
Louis Chemineau
dbf56b6c11
fix: Migrate existing bg jobs to use sha256
...
Signed-off-by: Louis Chemineau <louis@chmn.me >
2024-09-05 15:36:51 +02:00
Côme Chilliet
47d2cb7479
fix: Move \OC_Image to \OC\Image with the other internal classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-08-29 17:06:32 +02:00
Robin Appelman
62f8b6517f
feat: implement distributing partitioned queries over multiple shards
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-08-28 10:21:19 +02:00
Robin Appelman
f5b3486744
feat: add option to automatically partition queries by specific tables
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-08-28 10:18:53 +02:00
Elizabeth Danzberger
79d005e11f
feat(templates): add support for checkboxes in template filler
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de >
2024-08-27 14:41:58 -04:00
Robin Appelman
2f9f9e83e8
feat: add command to send raw commands to redis
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-08-23 15:14:15 +02:00
Ferdinand Thiessen
127cacdd19
feat(Security): Allow setting password context for validation and generation
...
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 >
2024-08-22 19:16:50 +02:00
FedericoHeichou
a41e2f01b7
feat: Add user:welcome command
...
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com >
2024-08-16 10:11:29 +02:00
S1m
9189bc290b
feat(webauthn): Add user verification to webauthn challenges
...
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 >
2024-08-15 11:03:10 +02:00
Ferdinand Thiessen
b582630715
fix(webauthn): Increase database column for public key id
...
* 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 >
2024-08-14 22:12:54 +02:00
Ferdinand Thiessen
4bbcbc5206
feat: Make ISharedStorage public API and reuse where possible
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-08-12 11:42:10 +02:00
Ferdinand Thiessen
0563757ea4
fix(SetupCheck): Properly check public access to data directory
...
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 >
2024-08-08 22:08:42 +02:00
Andy Scherzinger
f0260246d9
Merge pull request #45879 from nextcloud/export-certificate-bundle
...
feat: add command to export certificate bundle
2024-08-06 23:37:39 +02:00
Robin Appelman
9af6184af6
chore: delete repair step for 8y old oc_mounts issue
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-08-02 17:21:54 +02:00
Julius Härtl
a6d421e767
chore: Remove deprecated legacy search backend
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-08-01 12:33:18 +02:00
Robin Appelman
9a06931175
feat: add command to export certificate bundle
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-08-01 10:06:50 +02:00
Joas Schilling
cef675358b
Merge pull request #46099 from nextcloud/fix/properly-add-accept-share-interface
...
fix: Add `acceptShare` as an interface
2024-07-30 18:35:16 +02:00
Ferdinand Thiessen
3d136e4466
fix: Add acceptShare as an interface
...
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 >
2024-07-30 15:25:51 +02:00
Maxence Lange
7c1ee524be
fix(migration-attributes): privatizing AttributeException
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com >
2024-07-29 12:44:52 -01:00
Maxence Lange
88cfab4f32
feat(upgrade): migration attributes
...
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 >
2024-07-29 12:44:52 -01:00
ernolf
a8bdd4f99b
feat(preview): move previews for imaginary pdf to own class ImaginaryPDF
...
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com >
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de >
2024-07-25 17:01:01 +02:00
Elizabeth Danzberger
912a938157
fix: Correct name of InvalidFieldTypeException class file
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de >
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger
4efdb9b438
fix: Composer autoloads for Field classes
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de >
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger
f01dd38724
fix: Move field classes out of the server api
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de >
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger
05ed5aa230
fix: Emit new BeforeGetTemplates event
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de >
2024-07-25 11:11:38 +02:00
Elizabeth Danzberger
d939858e3d
feat: Template fields
...
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 >
2024-07-25 11:11:38 +02:00
Julien Veyssier
5ed55b0634
feat(taskprocessing): add translate task type
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2024-07-25 10:37:36 +02:00
Julien Veyssier
c23f126c41
fix(taskprocessing): fix cs issues and generate autoloaders
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net >
2024-07-25 10:10:32 +02:00