Commit graph

2334 commits

Author SHA1 Message Date
Kate
614d8c23a0
Merge pull request #48494 from nextcloud/refactor/storage/strong-param-types 2024-10-08 15:20:17 +02:00
provokateurin
54ec472d9a
fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-08 11:26:53 +02:00
provokateurin
2489608a72
refactor(dav): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:07 +02:00
Ferdinand Thiessen
02f3c88d73
Merge pull request #48438 from nextcloud/fix/bring-back-zip-event
fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archive
2024-10-07 11:58:34 +02:00
Anna
004d7dac91
Merge pull request #48508 from nextcloud/fix/webcal-subscription-jobs-middleware
fix(caldav): add missing handlers
2024-10-02 15:12:26 +02:00
escoand
a5eb38f277
fix(dav): don't crash subscription on invalid calendar object
Signed-off-by: escoand <escoand@users.noreply.github.com>
2024-10-02 11:33:18 +02:00
Anna
e333bc3c8f
Merge pull request #47788 from nextcloud/feat/add-addressbook-list-command
feat(carddav): add command to list address books
2024-10-02 10:35:44 +02:00
Anna Larch
d30c0669a6 fix(caldav): add missing handlers
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-01 22:12:37 +02:00
Daniel Kesselberg
870816466f
fix: make federation address book sync work with allow_local_remote_servers = false
Client.preventLocalAddress expects an absolute URL, which means the base_uri option cannot be used.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-01 18:00:46 +02:00
Anna Larch
6468ec5716 feat(carddav): add command to list address books
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-30 11:53:02 +02:00
Ferdinand Thiessen
e0c00af3bf
fix(dav): Emit BeforeZipCreatedEvent when creating folder zip archive
This is required to not break behavior on zip download (apps should be able to react to zip download especially for shares).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-29 13:29:04 +02:00
Ferdinand Thiessen
d66e16b07e
feat(dav): New ZipFolderPlugin which allows to download folders using GET requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:23 +02:00
Côme Chilliet
1a4978c4ea
chore: Apply rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +02:00
Hamza
34445ea9d1
Merge pull request #47399 from nextcloud/fix/47275/driverException
fix: expand select and group by for calendar reminder backend
2024-09-19 16:57:17 +02:00
Hamza Mahjoubi
ab3a239853 fix: expand select and group by for calandar reminder backend
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-19 15:25:16 +02:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +02:00
Louis Chemineau
e202896a74 fix: Override start method of \Sabre\DAV\Server to remove exception output
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-18 17:53:43 +02:00
Louis Chemineau
d2bf3613f6
fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-17 17:32:33 +02:00
Anna Larch
1ce46c1fca refactor: move to new activity exception
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-17 12:06:24 +02:00
provokateurin
dc13f9cc1e
fix(Files): Handle getOwner() returning false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:10:50 +02:00
provokateurin
8ca6fcace7
fix(Storage): Document getOwner() can return false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:10:50 +02:00
Côme Chilliet
801733e523
fix: Remove OCP\Files\Storage interface deprecated since version 9
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:10:48 +02:00
Joas Schilling
cc9c61d580
Merge pull request #47947 from nextcloud/feat/make-setup-check-trait-public
feat: Make `CheckServerResponseTrait` public and provide as `OCP\SetupCheck\CheckServerResponseTrait`
2024-09-16 15:33:48 +02:00
Joas Schilling
cfed24cb02
Merge pull request #47924 from ldidry/catch-MaxInstancesExceededException
🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-16 15:04:49 +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
Luc Didry
615f0b2c0e
fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 12:57:22 +02:00
Anna
1a972d0f47
Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-to-int
fix(dav): cast content length to interger
2024-09-16 11:07:40 +02:00
John Molakvoæ
388618bd44
Merge pull request #48030 from nextcloud/fix/dav-cast-params-to-string 2024-09-16 11:07:31 +02:00
Anna
04997dfc53
Merge pull request #48031 from nextcloud/fix/filesreport-cast-fileId-to-int
fix(filesreport): cast fileId to integer
2024-09-16 11:07:22 +02:00
Christoph Wurst
0a7b4b597e
Merge pull request #48042 from nextcloud/refactor/elvis
refactor: Use the elvis operator + fix: Handle null checks with the ?? operator
2024-09-16 10:04:37 +02:00
Anna Larch
92d1bdb965 fix(dav): cast content length to interger
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 22:46:46 +02:00
Kate
876631435e
Merge pull request #48045 from nextcloud/fix/add-function-type-for-mimetype-sanitizer 2024-09-15 22:42:01 +02:00
Anna Larch
160866c52d fix(dav): set string type for sanitizeMtime
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 21:32:55 +02:00
Christoph Wurst
614f9ec0a2
refactor: Use the elvis operator
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:01:34 +02:00
Anna Larch
35969bfaaa fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 19:19:41 +02:00
Anna Larch
1f00cef13a feat(caldav): create subscriptions via occ
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 19:11:26 +02:00
Anna Larch
9479ac8376 fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 18:47:59 +02:00
Richard Steinmetz
5afe212103
Merge pull request #47737 from nextcloud/fix/also-allow-unsharing-for-circles
fix(caldav, carddav): also allow unsharing of circle shares
2024-09-10 07:42:17 +02:00
Ferdinand Thiessen
5fc715a9e2
fix: Adjust unit tests and protect against XSS
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 17:16:10 +02:00
Camila
0a72756d96
fix(dav): Update 403 error message
* The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
  See #nextcloud/desktop/issues/6273
* Update BlockLegacyClientPluginTest to reflect the new 403 error message.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 17:15:45 +02:00
Anna Larch
17ef20c5f3 fix(dav): also allow unsharing of circle shares
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:34:20 +02:00
Anna Larch
8af7ecb257 chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +02:00
Louis Chemineau
9992e7d439
fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 16:17:32 +02:00
Ferdinand Thiessen
08836696e2 fix: Allow read-only filename validation to allow reading files
Needed to read files with the "Windows compatibility" feature.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen
030c209d22 fix: Renaming does not need update but delete permissions
Renaming is basically copy + delete (a move), so no need to update permissions.
Especially if the node is in a invalid directory the node should be moveable but not editable.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen
0d41c49918 fix(dav): Pre-check if node can be copied or moved in DAV files plugin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Robin Appelman
1363e142d8
fix: make preload custom proterties sharding compatible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +02:00
Louis
d2c372639c
Merge pull request #47495 from nextcloud/artonge/dept/delegat_is_encrypted_to_e2ee
feat: Delegate is-encrypted handling to the e2ee app
2024-08-27 12:32:40 +02:00
Louis Chemineau
ac1d8cdbef
feat: Delegate is-encrypted handling to the e2ee app
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-26 19:45:30 +02:00
Joas Schilling
7a1a0eb7a2
fix(dav): Allow apps to get unshares for DAV resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-26 18:58:32 +02:00