Commit Graph

243 Commits

Author SHA1 Message Date
Ralf Becker
d96c3f84de fix SQL error caused by trying to attached files, if we have no event id 2018-02-02 17:30:37 +01:00
Hadi Nategh
5cb26c044c Fix a typo 2017-12-20 12:17:38 +01:00
Ralf Becker
755a9bdf39 default to user timezone on export, if event has no or invalid timezone 2017-12-18 19:50: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
Ralf Becker
b34cbded3a multiple fixes around managed attachments and new Horde_Icalendar:
- no longer decodes base64 automatic
- size param have to be string due to bug in handling of integers in Horde_Icalendar
- allow stripping of non-binary (eg. text/plain) inline attachments
- only add X-EGROUPWARE-ATTACH-INCLUDED, if we have a real managed attachment
- store external / url attachments as other unsupported attributes
2015-09-29 07:37:15 +00:00
Ralf Becker
9fce06e650 * Calendar/CalDAV: fix Outlook does not import invitations with wired error "organizer needs not to send responses"
caused by new Horde Icalendar class exporting all integer x-properties as empty string, casting X-EGROUPWARE-UID not explicit to string before passing it to Horde code
2015-09-28 08:11:31 +00:00
Ralf Becker
4fbd2716ab * CalDAV/Calendar: fix not working private flag from Apple clients 2015-07-29 13:31:03 +00:00
Ralf Becker
2fcde50257 * CalDAV/Calendar/InfoLog: do NOT use ENCODING=QUOTED-PRINTABLE for iCal 2.0, cuts eg. description off in TB, if containing non-ascii chars 2015-07-23 15:51:26 +00:00
Ralf Becker
b2d48dcd84 * Calendar/CalDAV: recurence exceptions were not exported since last package (Horde_Icalendar update) 2015-07-16 12:53:28 +00:00
Ralf Becker
ca8a6328d5 * Calendar/CalDAV: rejected meeting-requests were not returned when searching for free time 2015-07-16 12:09:19 +00:00
Ralf Becker
6d2ef17b0f * CalDAV/Calendar: storing now all properties send by client and not known to EGroupware and fixed acknowledging and snoozing of alarms 2015-06-25 20:39:53 +00:00
Ralf Becker
cd48c7c22b new Horde_Icalendar throws Horde_Icalendar_Exception on call to getAttribute() for not existing attributes, getAttributeDefault($name, $default) returns $default instead 2015-06-24 12:30:56 +00:00
Ralf Becker
3640ef4eb0 using new Horde code in vendor: fix PHP Fatal error: Cannot access protected property Horde_Icalendar_Vevent::$_attributes 2015-06-24 10:46:19 +00:00
Ralf Becker
dc45cf1982 fix PHP Fatal error: Cannot access protected property Horde_Icalendar_Vevent::$_container 2015-06-24 08:51:20 +00:00
Ralf Becker
3b4708f9ea using new Horde code in vendor for CalDAV/CardDAV, moved all old Horde and SyncML code to syncml app, not sure it is still functional 2015-06-22 15:36:23 +00:00
Ralf Becker
99b7fc66a0 use X-CALENDARSERVER-ACCESS attribute on vCalendar only for CalDAV, not eg. for file export and import 2015-06-22 14:13:28 +00:00
Nathan Gray
9b1b338bf8 Avoid fatal error if the recurrence end date cannot be determined. 2015-04-11 00:17:28 +00:00
Ralf Becker
965e56e02e * Calendar: fix not shown last recurrence of limited recurring event in day-view (requires database update for existing events) 2015-03-09 18:56:17 +00:00
Nathan Gray
f1d7cd3b9e If recur end date could not be parsed, handle it as missing. 2015-01-27 21:50:56 +00:00
Klaus Leithoff
668c48eaa8 fix typo preventing ics parsing 2015-01-27 13:07:59 +00:00
Ralf Becker
c3a28cc7db using recommended lowercase protocol "mailto:" in ATTENDEE or ORGANIZER iCal properties 2015-01-23 09:45:11 +00:00
Ralf Becker
f0252c1b74 * Calendar/CalDAV/eSync: exceptions show up in calendars of participants only participating in exceptions not whole recuring event (requires a DB update for existing events!) 2014-10-28 16:01:55 +00:00
Ralf Becker
d23d41ca50 * Calendar/iCal/CalDAV: normalize enddates not on a recurrence-date, to recurrence-date before (not next) 2014-06-16 13:25:00 +00:00
Ralf Becker
8d3a2d0007 * CalDAV/Calendar: store and therefore keep external organizer if he has no common name (just email) and also store its common name 2014-03-13 10:20:17 +00:00
Jörg Lehrke
2925d10165 Fix X-MICROSOFT-CDO-ALLDAYEVENT calendar issue for CalDAV clients 2013-11-23 08:13:01 +00:00
Ralf Becker
edd4cc49ca basic managed attachment support, tested with iCal from OS X mountain lion 2013-09-23 13:39:28 +00:00
Ralf Becker
1752f7defd basic managed attachment support, tested with iCal from OS X mountain lion 2013-09-23 10:21:31 +00:00
Ralf Becker
85aae69c69 keep role "CHAIR" from an external organizer, even if he is a regular participant with a different role 2013-08-26 17:48:19 +00:00
Ralf Becker
9ef5149632 * Calendar/ImportExport: fixed out-of-memory condition while importing large iCal files
do NOT read whole file into memory, just pass stream so iCal class can use an iterator
2013-03-14 15:40:05 +00:00
Ralf Becker
9e873a7092 * Calendar/CalDAV: fixed iCal import of recurring events to convert (not understood) yearly byday to monthly byday with interval 12 and daily byday to weekly byday, also fixed of by one error in enddate 2013-02-28 17:00:01 +00:00
Ralf Becker
ba06ed56a9 * Calendar/CalDAV: fixed iCal parser calculating recurrence-enddate from COUNT parameter, taking into account BY* rules (RRULE:FREQ=WEEKLY;COUNT=4;BYDAY=Mo,Mi runs just 2 weeks!) 2013-02-27 14:35:12 +00:00