Commit graph

1123 commits

Author SHA1 Message Date
Cristian Scheid
ba99779fcc feat(recent-search): pass recent_limit config value to getRecentSearch function
feat(recent-search): pass recent_limit config value to getRecentSearch function

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-03-26 09:42:47 -03:00
David Dreschner
a260b15d8c
feat(CalDAV): Add function to get the token of a publicly shared calendar
Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
2026-03-19 16:57:33 +01:00
Cristian Scheid
6a3f8f8498 fix(dav): add missing search_supports_creation_time and search_supports_upload_time to Capabilities return type
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-03-03 23:24:21 +00:00
SebastianKrupinski
bd4e802601 feat: restrict calendar invitation participants
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2026-01-12 15:24:27 -05:00
Joas Schilling
0aceb8fd11
fix(comments): Check comment object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-12-11 08:41:14 +01:00
skjnldsv
2959854fe4 feat(config): add maximum.supported.desktop.version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-10-24 11:34:59 +02:00
Louis Chemineau
52aec18d8e fix(contacts): Do not expose SAB in /contactsmenu
When hitting the `/contactsmenu/contacts` endpoint with the `dav.system_addressbook_exposed` config switch set to `"no"`, the system address book content is still listed in the response.

This ensure that we do not expose unexpectedly the system address book.

Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-14 18:54:35 +02:00
Arusekk
196895b3a7
fix(caldav): show confidential event if writable
If a party can edit the calendar/event, just display it instead of
hiding the details and risking overwrites.
This might be considered a change impacting privacy,
but it actually improves semantics.

Relevant test updates included, improving assertion correctness.

I think all the relevant use cases are solved by this.

Closes https://github.com/nextcloud/server/issues/5551
Closes https://github.com/nextcloud/calendar/issues/4044
Closes https://github.com/nextcloud/server/issues/11214

Signed-off-by: Arusekk <floss@arusekk.pl>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-27 09:54:07 +02:00
Richard Steinmetz
21b237fd1d
fix(carddav): IAddressBook::getKey() should return a string
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-26 15:02:42 +02:00
Richard Steinmetz
89dc3df551 fix(caldav): encode calendar URLs properly when formatting search results
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-08-19 22:17:18 +02:00
Christoph Wurst
676d123c2b fix(dav): calculate permissions based on addressbook principal
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-08-06 21:37:22 +00:00
Julius Knorr
782f42c678
perf(dav): Preload dav search with tags/favorites
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 23:43:18 +02:00
Daniel Kesselberg
d0871f6cdc
fix(caldav): prevent unshare entry creation for owner unsharing
- Introduces a `unshare` method in `CalDavBackend` to handle user unshares.
- Implements check to determine if unshare entry is needed based on group/circle membership.
- Ensures `updateShares` is only used when the calendar owner manages shares.
- Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`.

Related PRs:
- https://github.com/nextcloud/server/pull/43117
- https://github.com/nextcloud/server/pull/47737

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-01 16:39:43 +02:00
Richard Steinmetz
9c0c107e5d fix(caldav): don't send invitations to circles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-26 07:07:09 +02:00
Kate
119727d74a
Merge pull request #52759 from nextcloud/backport/49352/stable30 2025-05-19 06:44:24 +02:00
Robin Appelman
48640ce155 fix: improve assembly stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:59:38 +02:00
Richard Steinmetz
9a41fe993e
fix(dav): move orphan cleaning logic to a chunked background job
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-07 13:28:53 +02:00
Ferdinand Thiessen
832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +02: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 +02: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 +02: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 +02:00
Kate
559d6e8639
Merge pull request #51523 from nextcloud/backport/51389/stable30
[stable30] fix: skip caching lastSeenQuotaUsage for remote shares
2025-03-28 15:14:48 +01: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 +01:00
Daniel Kesselberg
590c6a7d4b fix: skip caching lastSeenQuotaUsage for remote shares
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-03-19 23:32:09 +01: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 +01:00
SebastianKrupinski
53bc29335d fix: change translation logic to handle plurals better
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-02-05 13:16:58 -05:00
Robin Appelman
5d094feee0
fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:09:04 +01: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 +01:00
Raimund Schlüßler
0c61096ec9 fix(TasksSearchProviderTest): adjust deep link to Tasks app
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:26:27 +00: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 +00: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 +01:00
SebastianKrupinski
7bf1863545 fix: replace null character when serializing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 20:41:06 -05:00
SebastianKrupinski
2f46f9801b fix: return 204 instead of 404
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 17:35:12 +00: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 +01: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 +01:00
SebastianKrupinski
85fbce23aa fix: disable both iTip and iMip messages
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-10 13:27:00 -05:00
SebastianKrupinski
6e4c6db9e7 fix: add support for Microsoft time zones
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-09 13:57:41 -05:00
Sebastian Krupinski
2f65ffd2dc
Merge pull request #49302 from nextcloud/backport/48833/stable30
[stable30] fix: RDATE and EXDATE property instances
2024-11-15 07:49:08 -05:00
SebastianKrupinski
2e807c9f99 fix: RDATE and EXDATE property instances
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-15 06:50:14 +00:00
SebastianKrupinski
1260ec5f21 feat: mail provider settings
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 20:26:22 -05:00
SebastianKrupinski
fe249daf76 fix: use invokePrivate for test
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 16:38:46 +00:00
SebastianKrupinski
58a9fb3603 fix: override iTip Broker to fix several issues
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-13 23:33:39 +00:00
SebastianKrupinski
bc77cf9259 feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-12 15:43:20 +00:00
Daniel
3846e0aafc
Merge pull request #48529 from nextcloud/backport/48519/stable30
[stable30] fix(dav): don't crash subscription on invalid calendar object
2024-10-02 18:29:13 +02:00
escoand
48eec1fd35
fix(dav): don't crash subscription on invalid calendar object
Signed-off-by: escoand <escoand@users.noreply.github.com>
2024-10-02 15:53:50 +02:00
Anna Larch
e480fd39a2 fix(caldav): add missing handlers
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-02 13:13:52 +00:00
Daniel Kesselberg
8026f7afba
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 21:37:18 +02:00
Anna Larch
a75e432572
test: fix ContactsMigratorTest
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-25 08:39:15 +02:00
Christoph Wurst
4bd9b936a9
Merge pull request #48211 from nextcloud/backport/47399/stable30
[stable30] fix: expand select and group by for calendar reminder backend
2024-09-19 17:28:42 +02:00
Hamza Mahjoubi
2f2394cfa9 fix: expand select and group by for calandar reminder backend
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-19 14:58:13 +00:00