Commit Graph

289 Commits

Author SHA1 Message Date
ralf
66f40ee391 * Calendar: fix generating/importing exceptions on recurring events using explicit RDATEs instead of a RRULE
also correctly recognize Windows timezone names without "Standard Time" postfix like "Romance" instead of "Romance Standard Time" for "Europe/Paris"
2024-06-04 15:30:54 +02:00
nathan
70c8649a62 Calendar: Stop EGroupware\Status\Videoconference\Call::getMeetingRegex() from breaking the import
Jitsi backend was crashing with no error
2023-12-15 15:38:15 -07:00
nathan
fef8d27790 Calendar: Make sure iCal imports recurring event exceptions as exceptions, not additional events 2023-11-14 15:10:45 -07:00
nathan
046bd4f042 Calendar: Change iCal export use to use event timezone. Fixes whole day events grow to next day 2023-11-14 09:55:06 -07:00
nathan
0d87e1ab2b Calendar: iCal can import events that use RDATE:VALUE=PERIOD 2023-11-13 17:21:15 -07:00
ralf
608963aa9b fix lots of warnings filling zpush logs 2023-06-09 18:28:57 +02:00
ralf
18c3ed19f4 * eSync: fix meeting requests confirmed via ActiveSync protocol got wrong time
if user- and server-timezone was different
2023-06-06 11:01:40 +02:00
ralf
ccd6acd606 * Calendar/CalDAV: set current user as owner for events created in resource calendar 2023-04-05 16:08:36 +02:00
Ralf Becker
3c5bea23ef * Calendar/CalDAV: ignore Outlook CalDAV Synchronizer setting participant status back to unknown/needs-action (other status will be updated) 2022-02-09 14:19:57 +02:00
Ralf Becker
2944a00e02 fix PHP 8.0 TypeError: Cannot access offset of type string on string, when iCal exporting a GEO attributes 2021-11-10 16:59:47 +01:00
Ralf Becker
a7e796a66b fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - EGroupware\Api\DateTime 2021-11-10 11:22:58 +01:00
Ralf Becker
a34c13fd94 fix PHP 8.0 error: Illegal offset type
when PUTint an all-day series
2021-11-08 18:01:18 +01:00
Ralf Becker
6b8f8c6473 fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - int 2021-11-05 14:58:38 +01:00
Ralf Becker
3e17b79d5c fix an other PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically 2021-10-11 13:23:26 +02:00
Ralf Becker
b7ef766ebb fix PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically 2021-10-11 13:15:34 +02:00
nathangray
ba194038bf Silence "PHP Warning: count(): Parameter must be an array or an object that implements Countable" 2021-05-31 14:35:12 -06:00
nathangray
80f797567d Calendar: Make sure videoconference & notify_externals attributes have X-EGROUPWARE to avoid errors from clients 2021-04-20 11:45:11 -06:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
Ralf Becker
e0113c6026 * CalDAV/Calendar: fix weekly recurring events without explicit weekday (BYDAY) were not using start-date 2021-03-02 15:26:55 +02:00
Ralf Becker
32c9e1b6bb * CalDAV/Calendar: participants without status were not imported for new events (eg. from Thunderbird) 2021-03-01 15:39:44 +02:00
nathangray
fa26bcb29c Calendar: Fix all day events were missing end date in iCal 2021-01-25 10:27:31 -07:00
Ralf Becker
86ddd9cb58 * CalDAV/Calendar: fixed doublication of alarms when participant setting the alarm has no edit rights on the event
also fixed alarms set on a recurrence where lost, if you had edit rights
2020-08-21 13:59:36 +02:00
Ralf Becker
4f2ad476a6 * Calendar/CalDAV: config to replace email-domain eg. for a migration 2020-08-14 18:03:44 +02:00
nathangray
634eee092b Calendar: Add videoconference link to ical/groupdav event description 2020-06-09 10:27:10 -06:00
Ralf Becker
86bb99e45e * Calendar/CalDAV: videoconference was lost, if meeting was accepted of updated via CalDAV 2020-06-05 11:17:37 +02:00
nathangray
5864368386 Calendar: Fix wrong EXDATE values
Current iCal export always puts exdates into UTC.  Now pre-adjusting the dates to counteract that.
2020-04-28 10:47:56 -06:00
nathangray
ddccf59758 * Calendar: Fix more than 2 exceptions caused missed exceptions with groupdav / iOS 2020-04-15 13:40:14 -06:00
Ralf Becker
1bbfb13421 * CalDAV/Calendar: always set organizer and participants outside own calendar
in own calendar organzier and participants are suppressed if owner is only participant
2020-02-26 13:51:58 +01:00
Ralf Becker
0f64b4c740 * CalDAV/Calendar: fix for first recurence being an exception cause it to be deleted by mac calendar
due to wrong start of series not taking execption into account
also fix missing timezone in EXDATE did not match recurrence
2020-01-10 11:13:18 +01:00
Ralf Becker
3346976e22 several fixes for z-push 2.5 and iOS 12.3:
- send not invitations as calendar-events, just email meeting requests, as they double the events with z-push 2.5 and iOS 12.3
- send all participants incl. organizer as participants, as Exchange also does that and they are otherwise lacking on Android
- fix meeting requests without CLASS:PUBLIC got imported as private events
- better logging for ChangeMessage
2019-06-14 21:12:05 +02:00
Ralf Becker
75403eea94 * CalDAV/CardDAV: allow removing categories 2019-05-28 18:48:14 +02:00
Ralf Becker
5b7281ed5c Revert "some chars also require encoding for iCal 2+ or vCard 3+"
This reverts commit f75b9e93f4.
2019-05-28 16:27:50 +02:00
Ralf Becker
038caabd72 some chars also require encoding for iCal 2+ or vCard 3+ 2019-05-27 17:00:40 +02:00
Ralf Becker
1338090a84 * CalDAV/CardDAV: encoding VT (vertical tab) as it stalls Outlook (CalDav Synchronizer) 2019-05-24 15:11:07 +02:00
nathangray
484ec5aaa7 Calendar - import ical Add additional option to select category for iCal import.
iCal.
2019-03-27 10:27:24 -06:00
Ralf Becker
1246d77e28 fix Lightning work-around for %40 2019-02-21 17:49:54 +01:00
Ralf Becker
8670036af6 * CalDAV: work around Lighning not having synced event before accepting 2019-02-21 17:00:00 +01:00
nicorac
64c1c126c0 Function calendar_ical.aggregate_periods() returns only the last event 2018-12-19 21:49:48 +01:00
Ralf Becker
01bd78e34a fix PHP 7.3 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2" 2018-12-11 12:45:50 +01:00
Ralf Becker
c3b518b7d5 fix typo 2018-12-10 14:14:26 +01:00
Ralf Becker
d65194fce3 * Calendar/CalDAV: store huge iCal attributes compressed to fix stalled sync of Outlook/Exchange events
X-ALT-DESC from Outlook/Exchange gets easy over 16k of our table, but it's nicely compressable ;)
2018-12-09 13:54:35 +01:00
Ralf Becker
d9e2d991e1 fix not working CalDAV PUT of recurring event 2018-09-24 15:51:03 +02:00
Ralf Becker
c1316beda5 WIP: periodic running admin-commands 2018-09-18 16:27:40 +02:00
Ralf Becker
a2758c4319 * CalDAV/Calendar/Resources: do not allow to change resource quantity via CalDAV
Resource quantity is restored from existing event, as neither iOS nor Thunderbird returns our X-EGROUPWARE-QUANTITY attribute on the attendee. Also display quantity > 1 in brackets after resource name.
2018-08-06 19:04:41 +02:00
Ralf Becker
17f8e3016b * CalDAV/Calendar: fix accepting invitations with an not attending organizer adds organizer as attendee
Before we added a not attending organizer as attendee with status DELEGATED, now we no longer add him as attendee at all.
2018-08-06 18:21:45 +02:00
Ralf Becker
42736c833c * CalDAV/Calendar: dealing with Thunderbird setting partipant status on organizer
If secritary creates an event in the owners calendar the owner/organizer is on status NEEDS-ACTION.
Accepting that event in Thunderbird set PARTSTAT=ACCEPTED on ORGANIZER, while ATTENDEE is still on PARTSTAT=NEEDS-ACTION. In that case prefer the PARTSTAT from ORGANIZER over ATTENDEE. 
In my opionion Thunderbird behavior is wrong, thought that fix does not do any other harm,
as no other client sets PARTSTAT in ORGANIZER.
2018-08-06 18:21:45 +02:00
Ralf Becker
4ce11e1468 fix SQL error caused by trying to attached files, if we have no event id 2018-02-02 17:29:13 +01:00
Hadi Nategh
2c2d9b02a7 Fix a typo 2017-12-20 12:16:34 +01:00
Ralf Becker
26c67aa33d default to user timezone on export, if event has no or invalid timezone 2017-12-18 19:48:25 +07:00
Ralf Becker
d75ca6ad13 aggregate freebusy periods and fix off by one sec due to whole-day events 2017-10-03 11:19:27 +02:00