Commit Graph

78 Commits

Author SHA1 Message Date
Ralf Becker
28f8d4e2b7 * InfoLog/CalDAV: sync-collection report, thought reminder app on OS X 10.8.2 does not use it, moved logic for sync-token to baseclass and determine availablity on supported-report-set 2012-10-16 11:08:33 +00:00
Ralf Becker
39012f847b * CardDAV: rfc 6578 sync-collection report (more efficient way to sync contacts) 2012-10-16 11:04:27 +00:00
Ralf Becker
eaebb0d27a allow storing and retrieval of following CalDAV properties: default-alarm-vevent-date, default-alarm-vevent-datetime 2012-09-26 10:01:45 +00:00
Ralf Becker
3b9f7b3d6d * WebDAV/GroupDAV/CalDAV/CardDAV: removed option only used for old KDE GroupDAV resource and unknown WebDAV clients producing invalid XML, fix for community bug #3152 2012-08-13 14:34:16 +00:00
Ralf Becker
2f1981372a * CalDAV/CardDAV: log failed requests with ### like exceptions to ease diagnose problems, log if clients requests accounts not visible because of account-selection preference, skip proxys if not visible 2012-04-12 10:44:37 +00:00
Ralf Becker
06e213194f docu update: added accounts-addressbooks accessible via CardDAV 2012-04-11 20:33:54 +00:00
Ralf Becker
2faeb247a8 * CalDAV/CardDAV: fixed typo preventing sync, if logging to Apache error-log was switched on 2012-03-28 07:01:38 +00:00
Ralf Becker
587c2cf595 use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants 2012-02-21 20:05:35 +00:00
Ralf Becker
9635091c75 log request in case of exceptions too by installing a custom exeception handler 2012-02-20 09:07:02 +00:00
Ralf Becker
fa2c15e8c4 add empty line in log between request body and response 2012-02-18 10:50:20 +00:00
Ralf Becker
27cd6350bb logging whole requests, to be able to lock the log-file, as some clients (eg. SOGO) use multiple threads to request resources, which messes up the log otherwise 2012-02-17 09:12:23 +00:00
Ralf Becker
8a5200db66 * CalDAV: allow to create private events on OS X iCal, fixing DAV header for new shared folders 2012-02-10 12:24:43 +00:00
Ralf Becker
e789762727 resurrect preference to sync all ABs into one (allways implied for OS X) and new pref to "Distributionlists as groups", plus explenation of the prefs
r37966: many bugfixes around distribution-lists/groups and some code restructuring
2012-02-10 11:44:52 +00:00
Ralf Becker
4bae2b7fcd Hide Size in autoindex and move Displayname to first column after name 2012-02-10 11:29:55 +00:00
Ralf Becker
21dfe8ac02 implement RFC 5995 add member to collection via POST, but not yet set DAV:add-member due to problems with OS X clients 2012-02-10 11:28:56 +00:00
Ralf Becker
9d85196706 move logic of which addressbook/calendars are shared into app-handler
move app-specific settings to app-handler
2012-02-10 11:27:26 +00:00
Ralf Becker
97816b6e20 add http://calendarserver.org/ns/:shared to shared addressbooks/calendars for Apple clients to mark collections to user as shared 2012-02-10 11:18:12 +00:00
Ralf Becker
4a9d085719 allow PROPPATCH on *-home-set, to allow eg. jqcalendar to store its prefs there 2012-02-10 11:17:12 +00:00
Ralf Becker
6c313d4513 fixed wrong self-url in PROPFIND of shared addressbooks/calendars 2012-02-10 11:13:38 +00:00
Ralf Becker
a6577f2b9f outbox supports VFREEBUSY too, it is required from OS X iCal to autocomplete locations 2012-02-10 10:45:45 +00:00
Ralf Becker
ed96f75391 /addressbook/ was not anounced as directory gateway 2012-02-10 08:59:10 +00:00
Ralf Becker
83653c362f * CalDAV/CardDAV: /addressbook-accounts/ and PROPPATCH for addressbooks/calendars for every namespace but CalDAV, CardDAV or Calendarserver (displayname or *-describtion are ok) 2012-02-10 08:58:08 +00:00
Ralf Becker
a9ab47c674 * CalDAV/CardDAV: show addressbooks/calendars selected to sync in prefs under users addressbook-/calendar-home-set (incl. account addressbook, if enabled) 2012-02-10 08:53:50 +00:00
Ralf Becker
02c5181735 implement CalDAV <calendar-data><expand start="..." end="..."/></calendar-data> to return already expanded recurrences in a given time-range, instead of just a recurring event with a recurrence rule 2012-02-10 08:50:19 +00:00
Ralf Becker
f5a7c9cfe8 * CardDAV: Hack for iOS 5.0.1 addressbook to stop asking directory gateway permissions with depth=1, which might fail on installs with huge addressbooks 2012-01-21 01:47:49 +00:00
Ralf Becker
bf19293285 log REQUEST_URI not PATH_INFO, to log the correct request 2012-01-20 07:23:12 +00:00
Ralf Becker
ec93e57000 log full requests to files directory "$files/groupdav/$user-$agent.log" 2011-11-24 12:21:02 +00:00
Ralf Becker
ac78cbbdae * CalDAV/CardDAV/GroupDAV new user preference to log requests and responses to Apache error-log 2011-11-23 16:37:43 +00:00
Ralf Becker
b7a2bb01d5 removed calendar-preference "color for Apple iCal", as it set a single color for all calendars you have access too, storing and returning color set by iCal (untested) 2011-11-09 13:25:19 +00:00
Ralf Becker
1aca51010a fixed not working update of events, as etag2value still expected EGw- -wGE around ETag and adding Apple iCal 5.0.1 under OS X 10.7.2 user-agent 2011-11-08 21:10:37 +00:00
Ralf Becker
80510b5412 * CalDAV/CardDAV: major rework fixing lots of bugs/incompatibilites and adding new features: eg. autocompletion of accounts and resources under iCal, searchable addressbook gateway for all addressbooks available
merged changes from Trunk up to r37094 from addressbook, calendar, infolog, phpgwapi, egw-pear and resources (only CalDAV/CardDAV related stuff of cause)
2011-11-06 09:40:33 +00:00
Ralf Becker
21f4b6e887 * GroupDAV/KDE assume KDE 4.7+ uses native Akonadi resource, while below pre-Akonadi GroupDAV resource is used: unfortunately both have contradicting requirements 2011-09-26 10:21:25 +00:00
Ralf Becker
5686c441f6 * CalDAV: user agent detection of OS X 10.7 Lion iCal app (CoreDav instead of DavKit) 2011-08-02 13:01:21 +00:00
Ralf Becker
fe2b0d17bc * CalDAV/GroupDAV/KDE Akonadi seems to require redundant namespaces, see KDE bug #265096 https://bugs.kde.org/show_bug.cgi?id=265096 2011-06-13 09:10:10 +00:00
Ralf Becker
87ee0f0088 * CardDAV: store name part of URL from client PUT request, to fully comply with CardDAV spec 2011-04-05 20:39:13 +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
Jörg Lehrke
c59cb90742 * CalDAV: Apply other users' calendar color, too 2011-02-13 21:08:29 +00:00
Ralf Becker
9a8e3dc1f6 switched off forgotten permanent error_log 2010-11-03 10:05:08 +00:00
Ralf Becker
89b8f68f7e new debug-level user-preference, show getctag in autoindex and do NOT treat webkit browsers like kde clients 2010-10-31 07:56:29 +00:00
Ralf Becker
20a409ca52 * iCal on iPhone detects URL now correct
reverted calendar-home-set to report only users calendar, as reporting multiple break propfind
2010-10-20 18:59:27 +00:00
Ralf Becker
e86f5fb663 fixed bug: GroupDAV/CardDAV PUT request to /addressbook/ changes owner, also checking now required ACL for moving contacts between addressbooks 2010-10-20 15:47:30 +00:00
Ralf Becker
4e65bde081 urlencode and decode account_lid in url to cope with group-names with space in it, which stall iPhone OS 4.2 devices 2010-10-20 14:37:48 +00:00
Ralf Becker
90f975ff85 fixed missing "users" of principal url in calendar-user-address-set 2010-10-20 09:42:06 +00:00
Jörg Lehrke
33bd0fed50 Announce all available addressbooks and calendars of the current user with GroupDAV 2010-10-09 22:49:10 +00:00
Ralf Becker
1237e5d754 adding EGroupware version to X-Dav-Powered-By header eg. "EGroupware 1.8.001 CalDAV/CardDAV/GroupDAV server" 2010-09-28 08:32:11 +00:00
Jörg Lehrke
40d786871e Improve Mac OS Addressbook.App CardDAV support as far as reasonable 2010-09-25 15:19:48 +00:00
Ralf Becker
ed733eef42 * iPhone and Mac Addressbook support aka Apple CalDAV/CardDAV autodetection
Addressbook does NOT allow to specify the URL, unlike iCal which allows it after autodetection fails.
This, some XML specifics set now for Apple addressbook user-agents and etags for addressbook collection itself
allow now to use EGroupware with iPhone or Mac addressbook. The later was working before, if you edited the URL
into a decompiled plist file, but failed now because of a new REPORT it tries on the principal, to find out shared
addessbooks, which we not yet support, but failed to tell in the correct way (501 Not Implemented).
Addressbook sync now the personal addressbook, because that is what we tell it as addressbook-home-set.
We should add some configuration so user can choose what addressbook to set as addressbook-home-set, or to set
the "all" addressbook (/addressbook). For the later we could add some prefs like SyncML to specify filters or
eg. a distribution list.
2010-09-25 09:08:37 +00:00
Jörg Lehrke
2e0e03205d Fix group principals issue 2010-09-18 08:45:46 +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
df36afa1ed Fix DAV issue for neon for GroupDAV, too 2010-05-18 10:45:46 +00:00