Commit graph

1559 commits

Author SHA1 Message Date
Christoph Wurst
593b4e53b3 Carefully filter out non matching time ranges for CalDAV search
When we search for CalDAV objects in the DB we take the first and last
occurence into account. For recurring events that is when they take
place the very first time and the very last time. Searching in a more
specific time range will still match this condition, because the
recurring event starts before the end of the requested range but ends
after the start of the requested range.

Sabre has filters for this. If we apply them on all seach objects of a
search with a time range, then only the recurring events actually taking
place at the time of the requested time range will be returned.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-14 13:52:56 +00:00
Joas Schilling
955c0d4885
Convert strict_search to wildcard property and add psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:49:03 +01:00
Joas Schilling
b5d78d0b7c
Only wildcard search if enumeration is allowed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:48:41 +01:00
John Molakvoæ
36bacaa7af Prevent writing invalid mtime
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-07 11:16:29 +00:00
Christoph Wurst
2de7273905 Close open cursor in the caldav back-end
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 15:34:20 +00:00
Christoph Wurst
ea450f1161 Cast orphan subscription id to int
DB columns are of type int by default, so they need to be casted.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-01 13:47:40 +00:00
Julius Härtl
3d8aa4e038 Allow to fetch the creation time of folders
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-24 10:23:30 +00:00
Christoph Wurst
dab21ab707 Fix loading all principal calendars in the dav app calendar provider
If we load all calendar infos of a principal then we get back an array
and not a single calendar info. This was handled incorrectly and an
array of calendar infos were passed to the calendar implementation,
resulting in interesting bugs.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 15:12:51 +00:00
Anna Larch
da22791424 Force Calendar Obejct Chnage Path to support public write
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-11-08 16:06:39 +01:00
Anna Larch
bc68108f2a Fix missing calendar path for public write on Calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-11-04 12:52:55 +01:00
John Molakvoæ
d6a26b2536
Revert "add dav plugin to trigger recalculating of checksums" 2021-11-01 11:26:17 +01:00
John Molakvoæ
e1bf5c1cd3
Merge pull request #27378 from nextcloud/dav-recalc-checksum 2021-11-01 11:25:21 +01:00
Christoph Wurst
2d698cc629
Merge pull request #29481 from nextcloud/fix/dav-calendar-query-start-end-immutable
Fix immutable datetime handling in DAV calendar search
2021-10-28 22:15:13 +02:00
Christoph Wurst
2956f1c017
Fix immutable datetime handling in DAV calendar search
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-28 19:45:39 +02:00
Christoph Wurst
b193f854d1
Register missing DAV app calendar provider
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-28 18:33:13 +02:00
John Molakvoæ
8b742ab394
Merge pull request #28997 from nextcloud/fix/set-attendee-as-recipient 2021-10-22 12:07:39 +02:00
Christoph Wurst
f432dd2e2e
Add scheduling availability settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-18 20:21:51 +02:00
Julius Härtl
6204c63308
Merge pull request #28991 from nextcloud/feature/bulk_upload 2021-10-16 11:33:38 +02:00
Louis Chemineau
def983dc7e Clean BulkUpload plugin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-16 09:42:07 +02:00
Carl Schwan
a67a12cb96
Merge pull request #29240 from nextcloud/work/admin-delegation-implementation
Add support for Delegation Settings for more apps
2021-10-15 20:59:43 +02:00
Carl Schwan
719dbafd13
Add support for Delegation Settings for more apps
* This adds support for the sharing, groupware, theming and user_ldap
  app
* This adds some code who disapeared during a rebase in the initial
  delegation PR (provisioning_api)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-15 18:41:00 +02:00
Louis Chemineau
fc6e07705a Add BulkUpload DAV plugin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-15 11:54:01 +02:00
Daniel
5645b2a18a
Merge pull request #29188 from nextcloud/enhancement/public-write-api
Add calendar object creation API to OCP
2021-10-15 11:33:37 +02:00
Anna Larch
0401d6dc0f
Add create method to extended calendar implementation
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-15 09:35:29 +02:00
Anna Larch
926fb5b3de Change return type to correct type
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-10-14 21:05:25 +02:00
Daniel
abc2472c5d
Merge pull request #29195 from nextcloud/fix/calendar-invitations-default-language
Fix default language detection for calendar emails
2021-10-14 09:24:59 +02:00
Anna Larch
a58d1e6b06
Add Public Calendar Provider
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-14 08:22:24 +02:00
Christoph Wurst
2148c448cc
Fix default language detection for calendar notifications
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 20:33:29 +02:00
Christoph Wurst
30c3202f49
Remove shadowed $config variable
The variable is overwritten a few lines later.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 13:03:40 +02:00
Christoph Wurst
c6166c0a37
Fix default langauge detection for calendar invite emails
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 11:01:32 +02:00
Daniel Kesselberg
fab887cb7c
Update attendence for external users
For local users it's possible to select their calendar via the principal url and first update their own attendance status.
External users have no calendar event hence the recipient is the organizer.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08 18:12:37 +02:00
Anna Larch
35be21dbb7
Scheduling plugin not updating responding attendee status take two
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-10-08 16:35:31 +02:00
szaimen
fbf59c6ade
Merge pull request #28716 from nextcloud/add-orphan-subscriptions-repair-task
Add repair job to delete calendar subscriptions that were orphaned when deleting an user
2021-09-13 15:20:50 +02:00
Arthur Schiwon
27865d03c0
use specific email getter where necessary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +02:00
kesselb
fa8083ac12
Merge pull request #28692 from nextcloud/enh/send-invitation-to-req-participants
Send attendence links to required and optinal attendees of an event without an RSVP
2021-09-07 16:03:08 +02:00
Thomas Citharel
45d5a797e7
Add repair job to delete calendar subscriptions that were orphaned when
deleteding an user

Follow-up to https://github.com/nextcloud/server/pull/28419

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-04 20:55:12 +02:00
Anna Larch
56cc01c45c Send Invitation to Attendees with ROLE=REQ-PARTICIPANT
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-09-03 14:48:46 +02:00
Christoph Wurst
613798a54b
Merge pull request #28419 from nextcloud/bug/28419/delete-calendar-subscriptions-when-deleting-user
Delete calendar subscriptions as well when deleting user
2021-08-31 08:59:50 +02:00
Robin Appelman
a334eb7ab1
always allow dav move for movable mount root
the root of a movable mountpoint can be moved even if it doesn't have update permissions

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-27 16:02:45 +02:00
acsfer
2132cde6e3
Remove error suppression
This seems no longer needed as per https://bugs.php.net/bug.php?id=50688
2021-08-24 00:57:39 +02:00
Robin Appelman
fd5e11a81a
Add dav plugin to trigger recalculating of checksums
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-23 15:38:58 +02:00
Thomas Citharel
a7b9b398a3
Expose user language through DAV
Introduces the '{http://nextcloud.com/ns}language' prop that gives the
user's language

Closes #28449

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 19:03:00 +02:00
Thomas Citharel
57e2f2a903
Delete calendar subscriptions as well when deleting user
Closes #28418

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 14:19:03 +02:00
Anna Larch
904a762de7
Extend caldav resource search
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-07-30 17:14:28 +02:00
John Molakvoæ
97976746b8
Merge pull request #28084 from nextcloud/bugfix/noid/dav-user-id
Make sure that the dav propfind plugins always use the proper user id
2021-07-23 08:31:41 +02:00
Julius Härtl
6909ce6641
Make sure that the dav propfind plugins always use the proper user id
For old android versions it could happen that the requests are performed
with a login name instead of the actual user id, so before this change
the property methods used the wrong value for fetching their information

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-22 12:28:00 +02:00
Daniel Kesselberg
dedf51b6e6
QuotaPlugin expect 1 parameter
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-21 17:06:03 +02:00
J0WI
3b656446af Introduce ISecureRandom::CHAR_ALPHANUMERIC
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-08 15:11:31 +02:00
Joas Schilling
8ebbd91909
Merge pull request #17148 from nextcloud/always-provide-color-to-default-personal-calendar
Always provide theme color for default personal calendar
2021-07-02 16:29:18 +02:00
Julius Härtl
d1b0ccb715
Merge pull request #27488 from msrn/win10cal-useragent
Add regex to match Windows 10 calendar user-agent
2021-06-29 18:36:51 +02:00