Commit Graph

85 Commits

Author SHA1 Message Date
Ralf Becker
d25f9dce25 * CalDAV: fixed wrong http-status for delete in inbox and announce sync-report on inbox, so clients using it get events only once 2013-10-31 11:29:44 +00:00
Ralf Becker
637bc916af * CardDAV: fixed wrong privileges for accounts addressbook, causing clients to report it read-only even for admins 2013-01-22 08:39:42 +00:00
Ralf Becker
5758ad91c3 consistently send ETag by using and extending put_response_headers 2012-10-29 12:24:31 +00:00
Ralf Becker
d8439f7835 * CalDAV/CardDAV: fix not working logging of errors into traffic log 2012-10-29 12:14:58 +00:00
Ralf Becker
b161c0d500 requests in log were always trunkated (since last changes) and fixed quoting in autoindex for hierarchical props in collection resources 2012-10-16 11:54:16 +00:00
Ralf Becker
5c5b4e1b16 make logging available for iSchedule, only backported so class stays close to trunk, iSchedule itself is not yet ready to be backported 2012-10-16 11:50:59 +00:00
Ralf Becker
138d16cfa3 * CalDAV/Calendar/Resources: calendars of resources can now be accessed or subscribed via CalDAV, to subscribe use CalDAV preferences 2012-10-16 11:30:35 +00:00
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