Commit Graph

2377 Commits (00a84d28d8fc2ffe612f445a26b3c4ca56ba43f7)

Author SHA1 Message Date
Ferdinand Thiessen 832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +07:00
Sebastian Krupinski 3ba981c15e
Merge pull request #52561 from nextcloud/backport/52228/stable30
[stable30] fix(CalDAV): do not ignore move command object target uri
2025-04-30 17:46:07 +07:00
SebastianKrupinski f64ad8a452 fix: do not ignore move command object target uri
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-04-30 14:27:57 +07:00
skjnldsv b658c8519c fix(dav): check the owner displayName scope before giving attribute
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-30 12:39:10 +07:00
Richard Steinmetz 1b71425b96 perf(caldav): increase chunk size in RemoveOrphanEventsAndContacts repair step
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-29 21:05:12 +07:00
Andy Scherzinger 290d609a9a
Merge pull request #52139 from nextcloud/revert-52122-backport/51431/stable30
Revert "[stable30] feat(bulk-upload): change the default to disabled …
2025-04-25 15:47:52 +07:00
Louis 1f6c10d3b5 Revert "[stable30] feat(bulk-upload): change the default to disabled as there are still some bugs present" 2025-04-24 14:54:06 +07:00
Christoph Wurst a819f910b3 perf(db): Extend index on cards_properties to cover name and value
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-24 11:33:55 +07:00
Ferdinand Thiessen 744a4394fe fix(dav): allow uploading of files with long filenames
A filename must be less or equal 255 characters, but when adding the
`.part` and `.ocfiletransfer` extensions we might overflow this limit.
So we should also use filename hashes for uploading when the file has a
long filename, similar like when we are uploading to the user storage
directly.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 15:19:36 +07:00
Ferdinand Thiessen 95b5fa203f refactor(dav): simplify length header handling
Reduce nesting and drop duplicated sections.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 15:19:36 +07:00
Robin Appelman 9f87babd5e fix: fix preloading files with no custom properties
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-18 07:49:30 +07:00
John Molakvoæ 9ba1d2a065
Merge pull request #52122 from nextcloud/backport/51431/stable30 2025-04-11 13:40:11 +07:00
Simon L. 2b4a4556e4 feat(bulk-upload): change the default to disabled as there are still some bugs present
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-11 09:22:11 +07:00
Joas Schilling 97ed500b90 fix(dav): Really only run the chunk cleanup once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-08 21:02:30 +07:00
Richard Steinmetz 550d8d9fce
fix(oauth2): retain support for legacy ownCloud clients
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-02 12:23:45 +07:00
Marcel Klehr fe0849ebad fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-31 11:46:42 +07:00
Christoph Wurst 6006425b54 fix(dav): Create SAB at installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-30 14:47:22 +07:00
Christoph Wurst cf130f43d7
Merge pull request #51538 from nextcloud/backport/51380/stable30
[stable30] fix(cardav): only show users from enabled addressBooks in contacts menu
2025-03-26 14:54:36 +07:00
SebastianKrupinski b9247bba94 fix(CalDav): alter invitation attachment filename and type
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-21 16:46:11 +07:00
Hamza Mahjoubi e55a375ae3 fix(cardav): only show useres from enabled addressBooks in contacts menu
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-03-21 15:14:46 +07:00
Robin Appelman e5cca48be6 fix: log which file cannot be opened
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-19 14:16:15 +07:00
Christoph Wurst 776d9145b8 fix(dav): Use IUser::getDisplayName directly
No need to send this from the client.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 22:51:44 +07:00
Andy Scherzinger 76486b7a20
Merge pull request #49840 from nextcloud/revert-49825-revert-49650-backport/49293/stable30
Revert "Revert "[stable30] fix: Handle copy of folders containing live photos""
2025-03-05 16:27:12 +07:00
Joas Schilling 31cbd6a138
Merge pull request #51272 from nextcloud/backport/51256/stable30
[stable30] fix(dav): Handle long absence status earlier
2025-03-05 15:52:50 +07:00
Louis acf19f7880
Revert "Revert "[stable30] fix: Handle copy of folders containing live photos""
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:45:23 +07:00
Louis Chemineau 009a7a3368 feat: Support deleting metadata from WebDAV
The `$value` will be `null` if the update is wrapped inside a `<d:remove>...</d:remove>` block.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:39:40 +07:00
Christoph Wurst 31deaf0ee1 fix(dav): Handle long absence status earlier
Validate the request early. Don't let this cause a database error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-05 10:02:55 +07:00
Ferdinand Thiessen 01663e67ec
fix(dav): Handle end of stream in `File::put`
If the stream is aborted and the callback wrapper returns false (or
null as it happened in some cases), we should not try to write to the
storage but abort the operation.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 10:09:28 +07:00
Joas Schilling 50a6f2540c
fix(activity): Fix activity parameter types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-19 10:40:41 +07:00
Andy Scherzinger d0b39d1955
Merge pull request #50803 from nextcloud/backport/50784/stable30
[stable30] fix: Fix regression in calendar invitation sending
2025-02-17 09:31:31 +07:00
Robin Appelman 6cec3eef49 fix: use relative paths for upload locks
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-15 14:42:51 +07:00
Daniel Kesselberg d7b1ecb881 fix: Replace the TypeError to prevent exposing the installation path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +07:00
Daniel Kesselberg e8a5e0c392 Revert "fix(dav): Always respond custom error page on exceptions"
This reverts commit 9992e7d439.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +07:00
Daniel Kesselberg cd296eb807 Revert "fix: Drop unnecessary exit"
This reverts commit d2bf3613f6.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +07:00
Daniel Kesselberg 44ad5793a3 Revert "fix: Override start method of \Sabre\DAV\Server to remove exception output"
This reverts commit e202896a74.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +07:00
SebastianKrupinski 978f0f542b fix: Fix regression in calendar invitation sending
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-13 20:11:28 +07:00
SebastianKrupinski 53bc29335d fix: change translation logic to handle plurals better
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-05 13:16:58 +07:00
SebastianKrupinski a74b3c2079 fix(CalDav): Spelling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-28 19:51:38 +07:00
Andy Scherzinger cfc0c1f80b
Merge pull request #50144 from nextcloud/backport/50034/stable30
[stable30] fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
2025-01-26 12:27:42 +07:00
Raimund Schlüßler 8c83b96478 fix: adjust url for task links
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:26:27 +07:00
Richard Steinmetz 8fb04cd4d5
fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:29:07 +07:00
Thomas Citharel 0747d03845 fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
When doing a PROPFIND on default-calendar-url, if the current default calendar (fallbacking on personal uri)
is in the trashbin, it's being purged so that it's recreated.

This leads to loss of data.

We can simply rename the calendar URI and add a unique suffix so that it doesn't conflict with the new calendar
being created.
Shares are fine because they reference the resourceid and not the calendar URI.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-01-11 15:36:33 +07:00
Robin Appelman c6e68988d2 fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-07 09:26:05 +07:00
Richard Steinmetz 38932220ef
Merge pull request #49780 from nextcloud/backport/49503/stable30
[stable30] fix(CalDAV): disable both iTip and iMip messages
2024-12-30 12:50:30 +07:00
SebastianKrupinski 7bf1863545 fix: replace null character when serializing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 20:41:06 +07:00
SebastianKrupinski 2f46f9801b fix: return 204 instead of 404
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 17:35:12 +07:00
Marcel Müller c3fa1e4a25 chore(absence): Add capability for absence replacement support
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-13 07:46:20 +07:00
Marcel Müller 235e1fb878 chore(absence): Add capability for absence api
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-13 07:46:20 +07:00
Louis cabedbf9c3
Revert "[stable30] fix: Handle copy of folders containing live photos" 2024-12-12 14:28:09 +07:00
John Molakvoæ d8c3425878
Merge pull request #49650 from nextcloud/backport/49293/stable30
[stable30] fix: Handle copy of folders containing live photos
2024-12-12 14:19:55 +07:00