Côme Chilliet
cb0450b5c4
Improve typing on new methods
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-05 12:01:12 +01:00
Julius Härtl
908b7aa70a
Attempt to fix CalendarImpl tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-09 16:37:34 +01:00
Richard Steinmetz
304b71647f
Fix duplicate event email notifications
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-11-04 16:24:57 +01:00
Christoph Wurst
3b084e5fbc
Merge pull request #34893 from nextcloud/fix/move-imip-to-separate-interface
...
Move iMIP to its own interface
2022-11-03 15:03:42 +01:00
Anna Larch
9dd51601c6
Switch to DisplayNameCache for CardDAV
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:26:34 +01:00
Anna Larch
e5c290bb7f
Switch to DisplayNameCache for CalDAV
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:26:34 +01:00
Anna Larch
aebcc3126a
Move iMIP to it's own interface
...
and clean up the code a bit.
Added:
- author
Removed:
- unused imports
Changed:
- moved iMIP handling to new interface
- pointed code to new implementation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-11-03 10:07:09 +01:00
Thomas Citharel
6f15873321
Add a background job to prune outdated sync tokens
...
We remove all outdated sync tokens, based on their auto-incremented ID.
By default we only keep the last 10 000, but this can be configurable.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-27 20:12:13 +00:00
Christoph Wurst
2f4b7c9057
Merge pull request #34415 from nextcloud/fix/caldav-backend-causal-reads
...
Fix causal reads in CalDAV backend
2022-10-06 10:58:58 +02:00
Christoph Wurst
e6d8da4cdc
Fix causal reads in CalDAV backend
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-03 20:03:29 +02:00
Thomas Citharel
d084e7656b
Add isDeleted property to OCP\Calendar\ICalendar
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-03 18:56:02 +02:00
Anna
9c516c2009
Merge pull request #34388 from sylvainmetayer/feat_2464_exclude_contact_from_birthday_calendar
...
feat(contacts): exclude contact from birthday calendar
2022-10-03 14:15:36 +02:00
blizzz
f055328094
Merge pull request #33608 from nextcloud/perf/improve-getCalendarsForUsers
...
Remove the loop of calendars when only one is needed
2022-10-03 10:59:25 +02:00
Thomas Citharel
98030e97d3
Add typings to OCP\Calendar\ICalendar and implementation
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-03 08:35:42 +02:00
Sylvain
5b8d8271a2
fix: define exclusion key as constant
...
Signed-off-by: Sylvain <git@sylvain.dev>
2022-10-02 18:30:13 +02:00
Sylvain
e3d50f99c9
feat(contacts): exclude contact from birthday calendar
...
Signed-off-by: Sylvain <git@sylvain.dev>
2022-10-02 17:55:11 +02:00
Anna Larch
3a8c7b6bf3
Remove the loop of calendars when only one is needed
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-10-01 22:17:40 +02:00
Anna Larch
b044c7586b
Check calendar URI length before creation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-08-26 13:57:43 +02:00
Anna Larch
4ca4b02793
Support iMIP invitations from Mail
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-08-22 22:10:12 +02:00
Joas Schilling
7e11778190
Use user name cache in activity providers
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-19 10:48:32 +02:00
luz paz
d4637ef4d8
Fix typos in apps/dav subdirectory
...
Found via `codespell -q 3 -S l10n -L jus ./apps/dav`
Signed-off-by: luz paz <luzpaz@github.com>
2022-07-26 17:40:10 -04:00
Anna
5671abd168
Merge pull request #33251 from cneukom/feature/birthday-calendar-reminder-settings
...
Birthday Calendar Reminder Setting
2022-07-26 20:59:33 +02:00
Thomas Citharel
554e2dce48
Don't try to purge objects from the birthday calendar when it doesn't exist
...
Doesn't matter much as it's been recreated afterwards with (ensureCalendarExists).
Closes #29617
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 17:56:24 +02:00
blizzz
4ced3a4518
Merge pull request #32869 from nextcloud/dav-no-deleted-user-activities
...
Avoid calendar & addressbook activities being created on user being deleted
2022-07-23 00:01:30 +02:00
Cédric Neukom
9eb276b20b
fix possibly null variables
...
Signed-off-by: Cédric Neukom <github@webguy.ch>
2022-07-17 18:36:06 +02:00
Cédric Neukom
483549d22a
Respect user settings when generating alerts for birthday calendar
...
Signed-off-by: Cédric Neukom <github@webguy.ch>
2022-07-17 14:51:46 +02:00
Carl Schwan
14a16320ec
Merge pull request #32884 from nextcloud/typing/dav-sharing
...
Add typing to Sharing Backend
2022-06-22 11:09:06 +02:00
Carl Schwan
3598ec4028
Add typing to Sharing Backend
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-22 10:25:17 +02:00
Valdnet
814d9ac74a
Spelling unification
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-15 11:01:58 +02:00
Valdnet
5e200f2670
l10n: Spelling unification
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-15 11:01:18 +02:00
Valdnet
dd30ab9c7f
l10n: Spelling unification
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-15 10:57:05 +02:00
Thomas Citharel
39ef0500d1
Handle the move operation properly between shared calendars
...
- Introduce a new CalendarObjectMovedEvent typed event dedicated for
this operation
- Handle the event in the activity backend and add new appropriate activity subjects
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-14 14:40:24 +02:00
Thomas Citharel
4129089f87
Avoid calendar & addressbook activities being created on user being deleted
...
Addressbooks and Calendar data are destroyed through hook OC_User::pre_deleteUser, which when it reaches the backends sends AddressBookDeletedEvent/CalendarDeletedEvent typed events, which in turns generates activities that aren't deleted until they expire.
This can probably lead to old activities being visible for a new user created with the same uid.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-14 11:54:42 +02:00
Vincent Petry
5f8e1b7fb9
Merge pull request #31622 from nextcloud/increase-loglevel-modernize-refresh-webcal
...
Increase loglevel of Webcal parsing errors and modernize code
2022-06-10 16:31:51 +02:00
Vincent Petry
dcfdcf991f
Merge pull request #32361 from nextcloud/dav-scheduling-default-calendar
...
Put calendar invites into the user's first available calendar
2022-06-10 16:03:09 +02:00
Vincent Petry
8e61671b82
Merge pull request #32364 from nextcloud/dav-listeners
...
🧹 Remove all legacy event dispatchers from CalDAV & CardDAV backends
2022-06-10 15:57:35 +02:00
Christoph Wurst
ca45e6a064
Merge pull request #28703 from nextcloud/enhancement/caldav-reminders-logging
...
Debug log what happens during reminders processing
2022-06-02 14:29:58 +02:00
Christoph Wurst
4e5ed32025
Merge pull request #32471 from nextcloud/fix-wrong-dav-activities
...
Make sure activities are not created when a deleted calendar object expires
2022-06-01 17:01:58 +02:00
Christoph Wurst
58f7a150ed
Debug log what happens during reminders processing
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-06-01 11:38:02 +02:00
Joas Schilling
2c670f9cf9
Also trim the name
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-25 08:06:32 +02:00
Joas Schilling
ba684f5c58
Fix handling events without names in activities
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-24 17:04:56 +02:00
Thomas Citharel
424fc1b736
Rename user-agent used by the Webcal Refresh Service
...
Some services don't like the "crawler" inside the previous user-agent.
Closes https://github.com/nextcloud/calendar/issues/4232
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-20 16:23:40 +02:00
Thomas Citharel
cf8b98bf5f
Make sure activities are not created when a deleted calendar object expires
...
Closes https://github.com/nextcloud/activity/issues/784
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-18 11:17:27 +02:00
Anna Larch
440f69bd69
Add email validation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-05-18 07:54:30 +02:00
Thomas Citharel
741c44385f
Increase loglevel of Webcal parsing errors and modernize code
...
Closes #31612
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:11:58 +02:00
Thomas Citharel
060c8d7c4b
Add some typed properties
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:49 +02:00
Thomas Citharel
4bb31c021e
Remove all legacy event dispatchers from CalDAV & CardDAV backends
...
Move them to proper EventListeners and test them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-17 15:09:46 +02:00
Carl Schwan
f7be76125f
Fix more psalm issues
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 11:05:54 +02:00
Thomas Citharel
8d7154318f
Put calendar invites into the user's first available calendar
...
If there's no default calendar and we can't find anything with URI
'personal', instead of creating a new one, start by using the first
"real personal calendar" available.
If not, then we create the default one.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-12 15:28:36 +02:00
Carl Schwan
829490ab7a
Cleanup dav
...
- Remove unused class AppEnabledPlugin
- Add more type hinting when possible
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-05 22:03:59 +02:00