Commit Graph

58 Commits

Author SHA1 Message Date
Ralf Becker
39d9004e42 * Calendar/eSync: iOS 9.0.2 (maybe other clients and versions too) moved start- and end-date of synchronised meeting requests to date of sync 2015-10-06 12:20:32 +00:00
Ralf Becker
7ed3f45649 skip current user only for users, not group(-preferences) 2014-07-23 13:16:01 +00:00
Ralf Becker
448241f596 need to check type, not account_id to detected "default" or "forced" prefs 2014-07-23 12:39:10 +00:00
Ralf Becker
349630ffa7 show calendars and ressource-calendars for user whos preferences are displayed, for "default" and "forced" we only display all and primary group calendars, but ressources of current user 2014-07-23 12:30:39 +00:00
Ralf Becker
9c1cb15fbd * Calendar/ActiveSync: keep external organizer and status&role of existing participants, if clients does not send them 2013-08-30 11:14:43 +00:00
Klaus Leithoff
4aae715fd7 * Calendar/eSync: performance optimization: we only want to fetch the owners events, where he is a participant to, as we assume, events feature the user as the organizer only, are of no use in a users calendar on a mobile device 2012-12-12 13:33:41 +00:00
Ralf Becker
4ae5bfb875 * Calendar/eSync/eMail: fix not working accept/reject on calendar items (mails was working before) 2012-09-25 15:07:54 +00:00
Ralf Becker
eff584ff4b * Calendar/eSync/CalDAV: meeting requests contain again nice body followed by a separator and describtion, ignore empty description in eSync ChangeMessage 2012-07-24 22:23:32 +00:00
Klaus Leithoff
1d374636d4 * Calendar/esync: control skip notifications (server-side) on client-side calendar edits/add as we introduced the control of client - side notification 2012-06-13 09:47:36 +00:00
Ralf Becker
21c49b0b26 * Calendar/CalDAV/eSync: fixed etag generation to NOT query maximum user-modification date for each entry, fixed etag and ctag for eSync to only use recurance master, as ActiveSync event does not contain extra participant data for exceptions (virtual and real) 2012-03-12 08:20:36 +00:00
Ralf Becker
8d61fc86a3 * eSync/Calendar: fixed tz-aliases to NOT use Etc/GMT* but Olson identifiers, no more exception in AS tzblob generation, generation of tzblobs for Etc/GMT* 2012-02-03 01:47:43 +00:00
Klaus Leithoff
eb6aa373e3 silence error_log from calendar_bo triggered by statMessage 2011-12-23 11:24:29 +00:00
Klaus Leithoff
3d3f0724df * calendar/esync: do not allow a minimum length of less then 1 for uid; esync: if no UID given, do not even try to fetch exceptions. 2011-12-22 14:03:12 +00:00
Klaus Leithoff
220afbf728 * calendar/esync: active-sync does NOT want calendar owner as participant 2011-12-06 14:00:04 +00:00
Philip Herbert
0b924e9e6e esync: fix for not updated calender, contact, task on device if only description or note was changed in EGroupware. Also fixing issue that values in these fields could not be deleted on several devices. 2011-10-23 18:16:41 +00:00
Ralf Becker
0580322fd7 * eSync/Calendar fixed "wrong" generation of AS timezone blobs from TZID
still some issues left with start- and endtime, might also be caused by wrong data on the device, but dont do much harm
2011-10-20 11:23:52 +00:00
Philip Herbert
9b8dccb16d disable debug 2011-10-05 23:21:51 +00:00
Ralf Becker
08a40bf8a8 some clients (CalenGoo on Android) send equal start&end for 1 day whole-day event 2011-06-09 17:21:01 +00:00
Ralf Becker
b1427273d8 skip notifications, as AS clients do their own notifications 2011-05-26 17:17:01 +00:00
Ralf Becker
c76b39f8d4 fixed typo preventing meeting responses 2011-05-26 16:50:31 +00:00
Ralf Becker
561c650c29 fixed typo preventing parsing of iCal 2011-05-26 10:49:39 +00:00
Ralf Becker
24b454a3fb fixed changed name for (attendee)status und (attendee)type 2011-05-23 20:30:29 +00:00
Ralf Becker
443704a12f temporary disabling meeting requests from calendar and docu update 2011-05-16 13:46:15 +00:00
Ralf Becker
678d0ed937 AS supports now two types of meeting requests:
a) meeting request arriving per mail via felamimail_activesync::GetMessage(List)
b) EGw internal meeting requests via calendar_activesync::GetMeetingRequest(s)
EGw backend returns both via INBOX to the client device (b) with negative id's to not conflict with mail uid's)
MettingResponse method in EGw backend calls calendar or fmail depending on id
Unfortunately this is NOT yet completly working:
- could not test with fmail, as I have no permanent internet access
- MeetingResponse method of calendar get never called, in fact client never sends one :-(
- meeting requests via calendar a now displayed double:
  a) via calendar_activesync::GetMessage(List), which could be switched off easily
  b) via calendar_activesync::GetMeetingRequest(s)
  client sends no MeetingResponse on either of them, for a) it displays buttons to accept, tentative or decline, but only calls SendMail and ChangeMessage (without status)
--> do NOT update if you already use AS!!!!!!!!!!!!!!!!!!!!!!!!!!
2011-05-15 18:25:16 +00:00
Ralf Becker
a3805293b2 name Z-Push based ActiveSync protocoll support in EGroupware "eSync" 2011-05-07 16:52:48 +00:00
Ralf Becker
f3402daf91 fixed not included participants which are email addresses or contacts in AS 2011-04-28 17:55:44 +00:00
Ralf Becker
7ccc7adadf fixed recurring events with enddate are on recurrence short in AS
enddate in EGroupware or iCal is only a date, but AS needs a time incl. correct starttime
2011-04-06 08:04:43 +00:00
Philip Herbert
81a74f2069 fix for foldersync loop, when users calendar is empty and ctag=0 2011-04-04 21:56:37 +00:00
Philip Herbert
cbcc4c6c49 updated activesync engine to latest as12.1 code from Andreas B:
- adding better support for non strict protocol implementations to improve device compatibility
- fixing an issue of iOS Mail App crashing, due to server reporting changes not requested by client during message fetch.
- adding support for multiple profiles(with different usernames) on one device to one server. (iOS) 
- Protocol Version 14.1 is now offered to the client
- general improvements to request handling
Updated egw backend and all plugins to be compatible with latest changes to sync engine.

ATTENTION: profiles need to be recreated on the devices.
2011-04-02 20:18:37 +00:00
Ralf Becker
e34db60775 fixed typo causing fatal error when client sends a recuring event with a given number of occurences 2011-04-01 08:23:09 +00:00
Philip Herbert
3a32a328a1 fixed calendar categories not beeing imported from as clients 2011-03-27 20:40:53 +00:00
Philip Herbert
b57bc41e54 as support for message flag 2011-03-27 19:02:04 +00:00
Ralf Becker
649861a7a8 - supporting AS busystatus (0=free --> non_blocking=1, 1=tentative,2=busy,3=out-of-office --> non_blocking=0)
- fixed whole day events been transmitted 1 sec short from EGw to the device (#2903)
2011-03-25 08:24:02 +00:00
Ralf Becker
cd4ff32143 returning and parsing of exceptions and alarms:
- AS does NOT support differnet participants or status for exceptions
- AS only supports a single alarm
2011-03-24 23:31:03 +00:00
Ralf Becker
c925abb578 Personal calendar is now always synced, as AS (at least some devices) stall if there's no personal calendar.
Prefs only allow to select additonal calendars to sync. 
Added a "none" forced pref, to hide that ability from the users.
2011-03-24 10:08:32 +00:00
Ralf Becker
ad287e8664 calendar_bo::list_cals() returns now array no longer indexed by account names, as this overwrites identical account names with the last one
also do NOT return no longer existing account, which are eg. still included in acl
2011-03-24 09:26:39 +00:00
Philip Herbert
ca11300994 GetFolderList must always return an array to not break sync 2011-03-20 18:08:44 +00:00
Ralf Becker
3684567a53 AS calendar prefs to choose which calendars to sync 2011-03-19 18:06:31 +00:00
Ralf Becker
136865d48e empty settings method, calendar selection with follow later 2011-03-19 12:53:31 +00:00
Philip Herbert
9167125f66 moved notes/description handling to backend, implemented description in calendar 2011-03-07 21:00:17 +00:00
Philip Herbert
b0b4c8bf6a implemented/fixed read flag handling, enabled categories for addressbook, fixed typos 2011-03-07 15:03:56 +00:00
Ralf Becker
ef8ac254a4 many fixes in calendar:
- fixed fatal error if participant is no account
- if participant has no email use a pseudo one: noreply-$uid-uid@egroupware.org
- do not add account of calendar as participant (readd it in ChangeMessage)
- use calendar_boupdate::update() instead of ::save() to get notifications
- fixed fatal error call to member function ->format(), if event has an exception
2011-02-24 22:55:05 +00:00
Ralf Becker
c65705aac4 - started implementing virtual exceptions for AS (currently commented out in line 176, as not yet tested)
- ChangeMessage now searched contacts for participants and always re-adds resources (everything but accounts, contacts and email)
- some more timezone specific fixes
>>> none of the above is tested, as my iPhone charges no more and battery is now flat :-(
2010-12-21 02:45:40 +00:00
Ralf Becker
59c33be565 Import of recurring events (got timezones working for southern hermisphere DST)
and other fixes
2010-12-20 03:29:37 +00:00
Ralf Becker
416410f338 deleting of events 2010-12-19 04:07:01 +00:00
Ralf Becker
a460dde341 Saving/modifying of calendar event on the server:
- no recurring events yet
- no categories
- no deleting on the client yet (like AB, what to return?)
2010-12-19 03:54:09 +00:00
Ralf Becker
0dd2109b62 - timezones get now converted correctly to what AS uses instead of timezones
- direction back is implemented (and tested) but not yet used, as storing events is not yet implemented
- timestamps are passed to zpush now in servertime, which it converts internal to UTC times
- recurring event information is now correctly supplied (thought we do NOT yet deal with virtual exceptions!)
--> next step would be storing events synced in from the client
2010-12-19 00:31:07 +00:00
Ralf Becker
0ff32d804a - added recurrence information to calendar events (GetMessage)
- added timezone export (currently disabled)
--> both needs testing and will probably not just work
2010-12-17 03:44:43 +00:00
Ralf Becker
08ec384512 allways using account_fullname for calendars 2010-12-03 17:55:04 +00:00
Ralf Becker
9981730b29 moved ctag to calendar_bo, to use it in CalDAV and ActiveSync, thought it needs to be reworked, as it is to expensive performance-wise 2010-12-02 22:27:32 +00:00