Commit Graph

248 Commits

Author SHA1 Message Date
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
Ralf Becker
a8e6f13304 * Calendar/CalDAV: fixed wrong time in notification mails caused by updates via CalDAV (not web interface), if user-timezone differs from server 2013-01-31 15:15:48 +00:00
Nathan Gray
872fe5918e Some missed skip_notifications 2012-12-18 16:00:29 +00:00
Nathan Gray
2f2ad58e98 Implement 'No notifications' flag when importing iCal 2012-12-17 23:56:56 +00:00
Ralf Becker
6127be47d7 * CalDAV: fix recurring event one day short, if number of recurence specified together with event-length, after rrule in iCal 2012-10-23 14:22:33 +00:00
Ralf Becker
9f607a36bb * Calendar/CalDAV: fixed event created in calendar of a resource, was not editable (no owner set, now creating user is owner) 2012-10-22 12:45:04 +00:00
Ralf Becker
61a20467e8 * Calendar/CalDAV: deleting of recurrences under Android (eg. CalDAV Sync app) did not work
Android sets STATUS: CANCELLED instead of adding event to EXDATE of master, as other CalDAV clients do
2012-10-07 17:13:03 +00:00
Ralf Becker
52675388a3 * CalDAV/CardDAV: sync-collection report for all apps allowing a more efficient sync 2012-09-26 14:30:47 +00:00
Ralf Becker
7bf5b90739 * Calendar/CalDAV/eSync: tracking participant status changes now in modified date and user of calendar entry (main table), fixes sometimes not synced status changes and simplifies code a lot 2012-09-25 11:54:41 +00:00
Ralf Becker
e83a7c1b8d cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 09:08:45 +00:00
Ralf Becker
cc52575549 * Calendar/CalDAV/eSync: not searching addressbook for CN, as match can be not unique or without an email address, causing notification to fail --> store as email address 2012-07-24 20:13:56 +00:00
Ralf Becker
5bab15b433 patch from Achim Koenigs <achim-at-tratschtante.de> to shift alarms of recurring events to first future recurrent, so they get stored, modified to not doublicate code 2012-07-18 06:45:09 +00:00
Ralf Becker
84bc15ebba * CalDAV: fixed not working exceptions of recuring events in iCal on iOS or OS X (skipping optional and default VALUE=DATE-TIME attribute in iCal EXDATE component) 2012-05-10 11:25:55 +00:00
Klaus Leithoff
b09b90b8db * calendar: use possible attribute values regarding X-MICROSOFT-CDO-ALLDAYEVENT 2012-04-24 11:03:25 +00:00
Ralf Becker
aef04880e9 * CalDAV: allow to create private events on OS X iCal, fixing DAV header for new shared folders 2012-02-07 20:19:16 +00:00
Ralf Becker
d43e93cf7f * CalDAV: fixed Outlook needs Microsoft specific x-property to recognice all-day events as such 2012-02-03 22:28:00 +00:00
Ralf Becker
f293f8edb8 * Calendar/iCal/CalDAV: if no end(-time) is given in iCal we use the default lenght from user prefs 2012-01-29 18:41:46 +00:00
Ralf Becker
a596c9c89a * Calendar/iCal/CalDAV: if no end(-time) is given in iCal we use the default lenght from user prefs 2012-01-29 18:20:40 +00:00
Ralf Becker
f99e4f276a * CalDAV: fixed group-invitations got lost (urn:uuid url lost one char with each new import) 2011-11-24 14:37:12 +00:00
Ralf Becker
5458179c30 fixed modifying an existing event with timezone different from default timezone of user to a whole-day event (no timezone allowed according to iCal rfc) 2011-11-10 18:47:53 +00:00
Ralf Becker
f37f8578cf - fixed calendar_ical::importVCal() to (again) return 0 on etag mis-match, as documented and return 412 Precondition Failed in that case
- Disabling Schedule-Tag handling completly, as current implementation seems to create too much trouble with iCal under OS X or iOS, which send If-Schedule-Tag-Match condition event for major updates, not just changing own status or alarms
2011-11-08 21:09:06 +00:00
Ralf Becker
8cad47e22f fixing r37108 calendar_timezone::DateTimeZone() returns a DateTimeZone not an egw_time object 2011-11-07 17:11:59 +00:00
Klaus Leithoff
0d0511b099 * calendar/esync: handle error regarding not getting an egw_time object but no exception is thrown; may be php 5.2.x related. occurs when a NokiaE72 tries to open Outlook invitations 2011-11-03 14:20:49 +00:00
Ralf Becker
b599d4a4e2 using maximum of cal_modified and cal_user_modified for iCal LAST-MODIFIED too 2011-10-23 08:31:44 +00:00
Ralf Becker
8096c34bef - fixed ORGANIZER/ATTENDEE in iCal for CalDAV:
+ do NOT use ORGANIZER for events without further participants or a different organizer
+ do not include event owner/ORGANIZER as participant in his own calendar, if he is only participant
--> all other cases include ORGANZIER and additional as ATTENDEE (tested with iCal on iOS and OS X)
- implemented schedule-tag and If-Schedule-Tag-Match header from CalDAV Scheduling
- allow to change participant status and add/remove alarms with schedule-tag instead of ETag
--> If-Schedule-Tag-Match header has precedence over If-Match (ETag) header, but limits changes to participant status and alarms
--> ToDo: test accepting, rejecting recurrences
2011-10-20 20:10:04 +00:00
Ralf Becker
512138ed56 diverse fixes for resources&locations, thought iCal only autocompletes locations, no idea why it skips resources, thought resources booked via webgui are shown correct 2011-10-17 15:36:28 +00:00
Ralf Becker
a949acf031 locations and resources principal tree, should allow (untested!) to add resources via iCal autocomplate and "subscribe" to resource calendars 2011-10-16 08:53:07 +00:00
Ralf Becker
49a6cdd34d reverting accidental commit r36964 2011-10-16 08:51:11 +00:00
Ralf Becker
377a32ef7a not announcing DAV level 2, as we dont support locking 2011-10-16 08:49:29 +00:00
Ralf Becker
c2f74d0c72 * CalDAV: fixed wrong VTIMEZONE component generated (has to be in UTC), probably fixes bug #2984: Problem with VTIMEZONE component generated for NZ 2011-10-08 18:40:29 +00:00
Ralf Becker
b2ea1a7d05 new method groupdav_principals::url2uid to convert a principal url to a calendar uid, fixes emclient uses urn:uuid urls in outbox posts to get freebusy 2011-10-07 06:02:30 +00:00
Ralf Becker
175197d7c0 * CalDAV: no METHOD:PUBLISH for CalDAV outside the inbox 2011-10-03 12:53:28 +00:00
Ralf Becker
58f4cc1405 * CalDAC fix for aCal Android client sending DTSTART+DURATION instead of DTSTART+DTEND
- for new events, allways add owner as participant. Users expect to participate too, if they invite further participants
2011-10-03 09:43:06 +00:00
Ralf Becker
df1d9e81b2 - implemented regular CalDAV free-busy-query report
- fixed FBTYPE for tentative accepted invitations: BUSY-TENTATIVE
- fixed typo stalling outbox free-busy request
2011-09-22 19:49:01 +00:00
Ralf Becker
c26fcffda7 first step for CalDAV scheduling
- principal reports scheduling-inbox-URL /<username>/inbox/ and scheduling-outbox-URL /<username>/outbox/
- outbox collection contains no events
- outbox correctly answers POST for freebusy information
- outbox respons to all other POST with "204 No Content", ignore client request to deliver invitations
- inbox collection contains events of unknown status (PARTSTAT=NEEDS-ACTION)
- inbox responds to DELETE with "200 Ok"
--> iCal under OS X now shows freebusy times :-)
(had to add "write-content" privilege for calendar collections user has edit rights for, to allow adding events)
2011-09-22 15:22:52 +00:00
Ralf Becker
d2a87d2de4 fixed Warning: DateTime::modify(): Failed to parse time string (1234.5 second) at position 7 (s): The timezone could not be found in the database, caused by second fraction 2011-08-11 08:41:13 +00:00
Jörg Lehrke
ef6393e8af * Fix RRULE parser (UTC fix) - Bug#2991@egroupware.org 2011-06-25 17:48:27 +00:00
Jörg Lehrke
6b084b40f9 * Fix RRULE parser (2nd part) - Bug#2991@egroupware.org 2011-06-25 14:15:16 +00:00
Jörg Lehrke
5e8e806651 * Fix RRULE parser - Bug#2991@egroupware.org 2011-06-25 12:13:36 +00:00
Ralf Becker
77a3342da6 * Calendar/CalDAV: use X-EGROUPWARE-UID only, if it resolves to same email (otherwise we are in trouble if different EGw installs talk to each other) 2011-05-26 16:46:23 +00:00
Ralf Becker
30259bfd4c * Calendar: fixed not included organizer in meeting request 2011-05-26 10:48:57 +00:00
Ralf Becker
b0949a3e65 return parsed organizer, as we need it in AS and it does not hurt other users of ical class 2011-04-28 17:56:44 +00:00
Ralf Becker
440bcb1235 * Calendar: fixed not working "use event TZ" pref for iCal exports and allways use event TZ for calendar notifications (NOT use file export pref.) 2011-04-11 10:59:59 +00:00
Ralf Becker
0bfd238e3f * CalDAV: store name part of URL from client PUT request, to fully comply with CalDAV spec 2011-04-06 19:26:10 +00:00
Ralf Becker
63e61442c9 * Calendar: fixed in some cases not updated alarms, if event got moved
- sending alarms to CalDAV/GroupDAV clients as offset, not fixed time like before
- only exception to the above are alarms for recuring events to Lightning, which must be absolute, as offset lead to infinit poping up alarms in Lightning
- update all alarm times of other users alarms too, when storing events, as they might not be included in the stored event
2011-03-07 13:49:08 +00:00
Ralf Becker
3bb9e89bcf * CalDAV/Lightning: fixed under some conditions infinit poping up alarms and user not able to add alarms
- Lightning pops up alarm, until Sequence/etag get updated: if user has no edit rights on an other users calendar, etag never got updated, now we update it
- fixed user was not able to add alarms via CalDAV, if he had no edit rights for event (was always possible in web UI)
- alarms from other users calendars are not included any more, as they make no sense but a lot of trouble
- fixed wrong condition on adding alarms, causing some alarms no being saved
2011-03-05 10:21:32 +00:00
Philip Herbert
4d3be13eec enable X-RECURRENCE-ID for Nokia S60 Devices 2010-11-04 10:46:56 +00:00
Jörg Lehrke
a85fdb55cd Allow to add events to group calendars via CalDAV 2010-09-29 16:54:16 +00:00
Ralf Becker
1e79225a29 removed explicit var parameter from Horde_iCalendar $component parameter of _ical2egw_callback, as all object are passed by reference in PHP5+, but usage via call_user_func_array(), gives warning as no (explicit) var parameters are allowed 2010-09-15 13:10:29 +00:00
Jörg Lehrke
f91095f2ec Fix EXDATE issue for Apple devices 2010-08-26 20:28:54 +00:00
Jörg Lehrke
44c3c7eb9a Improve iPhone iCal support 2010-08-15 06:42:05 +00:00
Jörg Lehrke
d4985709c5 Fix recurrence enddate issue 2010-08-15 06:34:16 +00:00
Jörg Lehrke
0f284a0bfb Disable Thunderbird special treatment 2010-08-08 21:52:44 +00:00
Ralf Becker
c7bc0fbd82 using created and modified timestamps from calendar, and not reading them separate from egw_content_history table 2010-08-05 17:57:59 +00:00
Jörg Lehrke
c9e1b56d2d Fix vCalendar v1.0 EXDATE export 2010-07-05 19:05:54 +00:00
Jörg Lehrke
2bfebbdb7f Improve group invitation handling 2010-06-28 05:08:22 +00:00
Jörg Lehrke
bce68a9e82 Fix CalDAV group attendee issue; various GroupDAV improvements 2010-06-27 22:16:22 +00:00
Jörg Lehrke
c6b0f825d9 Fix SyncML replace and recur_enddate issue 2010-06-26 15:58:33 +00:00
Jörg Lehrke
48bc5c8119 Remove user as attendee, if he is the only participant and has accepted 2010-06-23 15:54:07 +00:00
Jörg Lehrke
7b850eabb6 Fix recurring event issues for vCal 1.0 imports; fix bug Stylite #646 2010-06-23 14:52:55 +00:00
Jörg Lehrke
b94e897717 Optimze alarm handling 2010-06-18 13:44:50 +00:00
Jörg Lehrke
1800367a2d Fix iCalendar v1.0 TZ issue 2010-06-14 14:54:24 +00:00
Jörg Lehrke
f54410da4f Fix recurrence enddate again 2010-06-11 22:13:27 +00:00
Jörg Lehrke
65e7054869 Fix recurrence enddate for vCalendar 1.0 2010-06-11 12:16:58 +00:00
Jörg Lehrke
0f00bb08a2 Set recurrence enddate to end time and use device TZ for vCalendar 1.0 2010-06-11 06:19:22 +00:00
Jörg Lehrke
82455c87a6 Newer Nokia E-Series SyncML supported fields default 2010-06-07 12:50:17 +00:00
Philip Herbert
f6e5b9de41 recognize Nokia e72-1 and e51-1 as s60 phone (supported fields) 2010-06-07 10:26:00 +00:00
Ralf Becker
13463578f5 using already read event to check acl (and not just the id causing a read) 2010-06-01 09:24:10 +00:00
Jörg Lehrke
e4d0b6737c Fix egw_ical iterator issues 2010-05-21 06:18:52 +00:00
Jörg Lehrke
4c1e3a9e70 Fix CalDAV series event handling 2010-05-19 16:13:37 +00:00
Jörg Lehrke
8cb71dfc84 Allow upgrade of single events to series via SyncML/CalDAV 2010-05-19 09:20:15 +00:00
Jörg Lehrke
2552476036 Special Lightning CalDAV treatment 2010-05-18 14:41:22 +00:00
Jörg Lehrke
e8298f217f Fix iCal attendee CN issue 2010-05-18 10:04:29 +00:00
Jörg Lehrke
5623866894 Fix monthly recurrence issue (bug#2584) 2010-05-14 10:17:11 +00:00
Jörg Lehrke
dc8b3f2dec Fix 'non_blocking' issue (especially for Nokia) 2010-05-14 09:28:46 +00:00
Jörg Lehrke
362afdb312 Fix GroupDAV private event issue 2010-05-14 08:35:16 +00:00
Jörg Lehrke
015173f608 Fix email-only attendees issue 2010-05-14 08:06:08 +00:00
Jörg Lehrke
0d13079a46 Fix supportedFields settings for Nokia devices 2010-04-26 07:29:51 +00:00
Jörg Lehrke
a707c183f3 Export all-day events as 'EVENT' to Nokia devices 2010-04-23 14:38:07 +00:00
Jörg Lehrke
22bb23b8ff Fix new all-day event handling 2010-04-23 13:52:45 +00:00
Jörg Lehrke
fe5d9f305b Fix iCal export of incomplete events again .-( 2010-04-23 11:03:32 +00:00
Jörg Lehrke
4cb30032ba Fix iCal export from calendar list view 2010-04-23 10:34:47 +00:00
Jörg Lehrke
c5c5330799 Add Nokia 5800 XpressMusic to supported devices 2010-04-23 07:06:42 +00:00
Jörg Lehrke
e339b3626c Support old SyncML preference settings 2010-04-16 07:04:53 +00:00
Jörg Lehrke
2b9198e8f7 Fix SyncML preferences 2010-04-14 16:40:54 +00:00
Jörg Lehrke
d3ad7cae78 Fix undefined status issue 2010-04-14 14:44:21 +00:00
Ralf Becker
239793470b adding an iterator for iCal files to minimize memory footprint on import of huge iCal files (not yet used for iCal data supplied as string, eg. from SyncML, as calendar_ical::importVCal uses count() and array access to returned components/events, and not just looping over it via foreach) 2010-04-14 10:19:41 +00:00
Jörg Lehrke
15e379249f Fix group participant issue 2010-04-12 07:20:11 +00:00
Jörg Lehrke
b0532e4ac2 Fix group participant localization issue 2010-04-12 06:31:30 +00:00
Jörg Lehrke
0dfb44228c Fix SyncML preferences 2010-03-24 11:37:22 +00:00
Jörg Lehrke
42a09eda30 Add configurable client character set for SyncML & various fixes 2010-03-22 18:03:23 +00:00
Ralf Becker
57adecd8ff fixed after r29540 broken install:
- calling egw_time::getTimezones() not possible during setup time -->
  stalling all installs
- using tz_id=1 for a default is not possible, as that's the first
  regular tz_id on new install --> using '0' now
- added translation for that new calendar setting
2010-03-22 14:20:19 +00:00
Jörg Lehrke
7f2e37b5eb Configurable timezone for file export of calendar data 2010-03-17 16:57:03 +00:00
Jörg Lehrke
8b5dfcb926 Fix CLASS:PRIVATE issue 2010-03-15 17:18:17 +00:00
Jörg Lehrke
0978663ada Fix Funambol STATUS issue 2010-03-08 13:54:13 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00