Commit Graph

270 Commits

Author SHA1 Message Date
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
Ralf Becker
3cc0012c77 * CalDAV: fix not parsed recurrence exceptions
caused by newer Horde Icalendar class always importing them as date
2017-09-21 15:19:07 +02:00
Ralf Becker
8dba9967e3 * Calendar/CalDAV: do not report non-participants as busy or conflict 2017-08-18 10:00:37 +02:00
Ralf Becker
d3dbe6e31e remove duration check of 86400, as it fails over daylight saving changes and more then one day 2017-06-12 12:33:33 +02:00
nathangray
10934f9cc1 Calendar - Fix 1 day holidays with duration specified as P1D spanning 2 days 2017-06-09 15:28:06 -06:00
Ralf Becker
a3154e8de2 * Calendar/CalDAV: fix changes on clients creating multiple alarms on server
fix changing alarm offset on Mac was additional keeping alarm with old offset
also ignoring now X-LIC-ERROR from libical
2017-03-31 17:34:44 +02:00
Ralf Becker
9810077eab * Calendar/CalDAV: fix wrong end-date of recurring events incl. whole-day events 2017-03-29 19:32:49 +02:00
Ralf Becker
cb6121c41f * Calendar: fix holidays are displayed one day off for eg. Austria, Slovakia, Australia (from iCloud)
Caused by no real floating date support in EGroupware and defaulting to UTC, if no timezone specified, because Horde_Icalendar does not report datetimes postfixed with Z as UTC.
Fixed now by not using UTC workaround for date (not datetime) values.
Also implemented default duration of one day for dtstart as date and no dtend/duration given.
2016-11-05 12:01:28 +01:00
nathangray
4bb16b2bec Add flag in calendar import definitions (CSV & iCal) to not import conflicting events 2016-07-11 13:09:08 -06:00
Ralf Becker
8c7c0c1eb2 reading holidays now from Mozilla holiday calendars, or a custom iCal URL 2016-05-04 17:15:18 +00:00
Ralf Becker
dcc003cedf move calendar to new api 2016-05-01 17:47:59 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
7c2b2d4950 * CalDAV: fix exceptions (EXDATE) was exported with timezone and Zulu-time, causing eM Clinet to fail
current Horde_Icalendar only exports EXDATE in Zulu-time, so we can only remove timezone. Apple calendar on OS X 10.11.4 uses a timezone, so does Horde eg. for Recurrence-ID
2016-04-27 16:27:04 +00:00
Ralf Becker
df83dcf933 fix wrong replacement 2016-04-27 16:23:30 +00:00
Ralf Becker
fc9c345930 move egw_ical_iterator to Api\CalDAV\IcalIterator 2016-04-04 23:45:39 +00:00
Ralf Becker
ca1bf71361 fix PHP Fatal error when creating/updating entries 2016-04-04 22:39:49 +00:00
Ralf Becker
6886b0a3b1 meeting requests and responses were send twice in spite of esync preferences 2015-10-22 17:24:14 +00:00
Ralf Becker
66581cee3f * Calendar/CalDAV/iMip: only include replying participant in iMip REPLY messages 2015-10-14 16:39:39 +00:00
Ralf Becker
c6ad6d2caa allow to reuse managed-id of existing attachment in PUT request by symlinking it, return correct xml-error for invalid mananaged-id 2015-09-30 03:27:29 +00:00
Ralf Becker
8d476dae23 Several fixed to cope better with CalDAVTester:
- adding priority=0=undefined to calendar, as it is iCalendar default
- no longer export iCalendar defaults PRIORITY=0, TRANSP=OPAQUE, CLASS=PUBLIC
- assume UTC if no timezone given, unfortunatly Horde_Icalendar currently does not tell UTC or local
- export DURATION instead of DTEND for UTC and duration less or equal 1 day (todo: store if user entered duration in db model, to be able export it as such again)
2015-09-29 10:25:32 +00:00