Commit graph

2434 commits

Author SHA1 Message Date
Christoph Wurst
14a00a4753 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:03:56 +00:00
Louis Chemineau
d0b4746a08 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-04 13:12:20 +00:00
Ferdinand Thiessen
25b4c7dccd 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-02-28 09:38:11 +00:00
Joas Schilling
b041438dc9 fix(activity): Fix activity parameter types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-17 16:35:29 +00:00
SebastianKrupinski
17b86bab47 fix: Fix regression in calendar invitation sending
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-13 20:10:23 +00:00
Robin Appelman
856b87c08d fix: use relative paths for upload locks
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 16:29:43 +00:00
Daniel Kesselberg
cb22b3f63e fix: Replace the TypeError to prevent exposing the installation path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-11 16:29:43 +00:00
SebastianKrupinski
37adb8813e fix(CalDav): Spelling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-28 19:53:55 +00:00
Raimund Schlüßler
c79b8a6901 fix: adjust url for task links
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 23:46:13 +01:00
Richard Steinmetz
cc9f1e00dd fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:54:02 +01:00
Benjamin Gaussorgues
b4e3eff078 feat(systemtags): add setting to block non admin to create system tags
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-01-22 20:07:24 +01:00
GreyXor
94e1e8f964
fix: use self failure for consistency
Signed-off-by: GreyXor <greyxor@protonmail.com>
2025-01-16 21:49:30 +01:00
GreyXor
91464caa39
fix: add eol in dav command and use success const as return code
Signed-off-by: GreyXor <greyxor@protonmail.com>
2025-01-16 21:49:30 +01:00
Côme Chilliet
b45bc2a462
fix: Use the new countUsersTotal method where it makes sense
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 12:38:02 +01:00
Richard Steinmetz
a6bcaf7e7a
Merge pull request #50100 from nextcloud/feat/ocp/attendee-availability-api
feat(ocp): add calendar api to retrieve availability of attendees
2025-01-13 16:16:35 +01:00
Richard Steinmetz
3dbdf3266c
feat(ocp): add calendar api to retrieve availability of attendees
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-13 10:12:31 +01:00
Richard Steinmetz
f0702ad89f
Merge pull request #50034 from nextcloud/rename-deleted-default-calendar-in-trashbin
fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
2025-01-11 16:33:44 +01:00
tobiasKaminsky
9c1fe558af
feat: expose tag color via webdav
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2025-01-07 12:20:09 +01:00
Stephan Orbaugh
b64b106c13
Merge pull request #49966 from nextcloud/block-dav-move-parent
fix: block moving files to it's own parent with dav
2025-01-07 10:24:06 +01:00
Thomas Citharel
ef0e2213ea
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-06 11:45:05 +01:00
SebastianKrupinski
a912556a89 fix: change translation logic to handle plurals better
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-06 10:21:19 +01:00
Robin Appelman
9193cd664e fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-03 15:30:20 +01:00
Benjamin Gaussorgues
a14a5985cd chore(systemtags): pre-compute user authorizations
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-20 09:16:18 +01:00
Benjamin Gaussorgues
1c29257149 feat(dav): introduce paginate with custom headers
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-20 09:16:18 +01:00
Joas Schilling
f9ee3505a0
Merge pull request #49731 from nextcloud/bugfix/noid/allow-to-get-permissions-of-a-principal
fix(calendar): Fix getting the permissions of the user
2024-12-16 15:02:51 +01:00
Git'Fellow
7c59119c03
Merge pull request #49867 from nextcloud/useHttpFramework
refactor: Use Http framework where possible
2024-12-16 10:36:17 +01:00
Git'Fellow
36d6b0f1e6 refactor: Use Http framework where possible
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-14 11:23:29 +01:00
Sebastian Krupinski
dd89911b31
Merge pull request #49528 from nextcloud/fix/issue-47879-property-serialization
fix: replace null character when serializing
2024-12-13 20:20:42 -05:00
SebastianKrupinski
0628eb62f3 fix: return 204 instead of 404
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 11:47:18 -05:00
SebastianKrupinski
c1dd8ddf59 fix: replace null character when serializing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 11:46:26 -05:00
Julius Knorr
cba556d641
Merge pull request #48612 from nextcloud/fix/activity-log-for-favorites-in-dav
add activity logging for favorites in dav
2024-12-12 15:18:47 +01:00
Joas Schilling
4fd84e47bf
fix(calendar): Fix getting the permissions of the user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-11 08:39:09 +01:00
SebastianKrupinski
04cb122af2 fix: disable both iTip and iMip messages
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-10 12:39:49 -05:00
SebastianKrupinski
58b04fa7c7 fix: add support for Microsoft time zones
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-09 13:11:39 -05:00
SebastianKrupinski
a92547888c fix: add support for Microsoft time zones
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-09 12:39:37 -05:00
skjnldsv
885b692f9a fix(systemtags): handle null dav value
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:27:06 +01:00
skjnldsv
0c7e259151 feat(systemtags): allow setting color with occ
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
skjnldsv
adf8a454dd feat(systemtags): add color support backend
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
Robin Appelman
e4d0882b31
fix: improve assembly stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 14:12:36 +01:00
Robin Appelman
ca241baac0 fix: log which file cannot be opened
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 18:50:47 +01:00
Louis Chemineau
8be6a7c7dd
fix: Throw exception when copy failed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-04 16:23:39 +01:00
grnd-alt
8d953aeb8d refactor(tags): move favorite event dispatching to tags.php
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-12-03 20:56:36 +01:00
grnd-alt
2d02d83597 fix(dav): add activity logging for favorites in dav
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-12-03 20:56:36 +01:00
John Molakvoæ
3ac1a77180
Merge pull request #49527 from nextcloud/skjnldsv-patch-1 2024-12-03 09:15:12 +01:00
Marcel Müller
303a21fc9d chore(absence): Add capability for absence replacement support
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-01 23:15:32 +01:00
Marcel Müller
66d4f0e4c0 chore(absence): Add capability for absence api
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-01 23:15:32 +01:00
John Molakvoæ
63b74dc506 chore(config): set min supported desktop to 2.7.0
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-27 22:55:40 +01:00
skjnldsv
8c0f8db6ca feat(config): add maximum.supported.desktop.version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-27 11:39:49 +01:00
Christoph Wurst
d948fcb575
Merge pull request #49454 from nextcloud/fix/invitations-named-parameter
fix: invalid usage of IQueryBuilder::createNamedParameter()
2024-11-25 17:58:49 +01:00
Richard Steinmetz
739ab5cd82
fix: improve oci compatibility when purging calendar invitations
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-23 16:55:11 +01:00