Commit Graph
1682 Commits
Author SHA1 Message Date
Andrew McMillan bc5edf09cf Handle the ?after=(duration|date) syntax when receiving a PUT of a calendar. 2013-05-29 12:50:50 +12:00
Andrew McMillan 56ee5a62fa Fix very buggy conversion of duration to seconds.
Obviously this was never tested before.
2013-05-29 12:50:02 +12:00
Andrew McMillan 04ad1ac742 Fix typo. 2013-05-28 12:54:44 +12:00
Andrew McMillan 5200c6d996 Allow adding an 'after=YYYY-MM-DD' or 'after=P72D' parameter
Only applies to PUT of a collection.  This will mean that only events
after that date (or absolute duration prior to today).  All repeating
events will still be included.
2013-05-23 13:37:00 +12:00
Andrew McMillan 115676613d Only certain specific namespaces actually have database columns. 2013-05-23 13:28:54 +12:00
Andrew McMillan 8c1b780ff1 Remove unecessary debug message on normal behaviour. 2013-04-11 07:32:32 +12:00
Andrew McMillan b1eb2bdc5a Content-Type header should be 'charset' not 'encoding'. 2013-02-16 22:23:51 +13:00
Andrew McMillan 584a52cb70 Quick workaround for iOS6 supported-calendar-component-set issue.
Adds a $c->default_calendar_components array of (VEVENT,VTODO,...)
2012-09-20 23:37:22 +12:00
Andrew McMillan 20e3e2d91a Fix unassigned variable. 2012-09-20 23:34:36 +12:00
Andrew McMillan 6695b46160 Avoid unassigned variable warning. 2012-09-20 23:34:18 +12:00
Andrew McMillan 121f02069f Fix UID handling. 2012-09-20 23:34:09 +12:00
Andrew McMillan 0a435d4f22 Fix debugging to error log. 2012-09-20 23:33:52 +12:00
Andrew McMillan eb4464aaec Some debugging messages. 2012-08-09 14:10:09 +12:00
Andrew McMillan 5ace348339 Replace deprecated split() with explode() 2012-07-31 22:12:08 +12:00
Andrew McMillan 7a13273e22 First cut at iMIP implementation. Still working on this. 2012-07-30 18:43:35 +12:00
Andrew McMillan 8255f23256 Fix SQL fieldname. 2012-07-30 00:28:17 +12:00
Andrew McMillan 274f8dfa74 Sometimes we want to retrieve the sync-token as a result of a change we just made.
This allows a (default true) flag to indicate whether it's OK to use
a previously cached value.
2012-07-29 23:17:28 +12:00
Andrew McMillan bd06225c93 On Apple devices these can sometimes appear in the Apple namespace. Odd. 2012-07-29 23:16:13 +12:00
Andrew McMillan 873cc272ba Let the VCalendar class handle how to get the UID from the calendar. 2012-07-29 23:15:21 +12:00
Andrew McMillan c28759364f Remove old redundant constructor. 2012-07-25 09:28:26 +12:00
Andrew McMillan d2513bddd5 Add workaround for Apple's POST add-member trainwreck. 2012-07-13 21:54:29 +12:00
Andrew McMillan ed9280c90c We might not have a $request calling this so use the object's path instead. 2012-07-13 20:32:34 +12:00
Andrew McMillan 8fb0479015 supported-calendar-component-set uses dead properties too... 2012-07-13 12:30:34 +12:00
Andrew McMillan b4fd9e2ed2 Don't just return the first element in a dead property - there might be multiple! 2012-07-13 10:45:08 +12:00
Andrew McMillan 4f81556586 Use DeconstructURL rather than rawurldecode since it strips base_name components as well. 2012-07-09 01:17:46 +12:00
Andrew McMillan 07bce5f8bd Don't match parameterised url parts as part of collection name. 2012-07-09 01:17:42 +12:00
Andrew McMillan fed84f8daf Fix URLencoding & location. 2012-07-09 01:17:37 +12:00
Andrew McMillan 60f372c749 Allow calendar-multiget & query reports to return resource data. 2012-07-09 01:17:28 +12:00
Andrew McMillan 5b43f06eb4 Get the name right. 2012-07-09 01:17:23 +12:00
Andrew McMillan 1be5cd808a Another double-encoded field... 2012-07-09 01:17:21 +12:00
Andrew McMillan dbfd835488 Allow multiple LDAP fields to map to DAViCal fields. 2012-07-09 01:17:17 +12:00
Andrew McMillan 2e19bbb535 Avoid double-encoding URLs. 2012-07-09 01:17:11 +12:00
Andrew McMillan 6c2b0bbd3b Correct path -> dav_name reference. 2012-07-09 01:17:06 +12:00
Andrew McMillan e908739765 Reports should report on the item path, not the collection path. 2012-07-09 01:16:55 +12:00
Andrew McMillan c581e3a0f2 address book queries are only valid on addressbooks. 2012-07-09 01:16:49 +12:00
Andrew McMillan 0d47b81e48 Remove bug trace. 2012-07-09 01:16:46 +12:00
Andrew McMillan ab95a487ea Correct current-user-principal reference. 2012-07-09 01:16:37 +12:00
Andrew McMillan d6ddf8e426 Fix errors in calculated PATH_INFO. 2012-07-09 01:16:28 +12:00
Andrew McMillan f75d51284b Attempt to calculate PATH_INFO if it is not present. 2012-07-08 11:59:11 +12:00
Andrew McMillan 7ca6bf56b9 Add Microsoft's X- property for recommended refresh times. 2012-07-08 11:59:08 +12:00
Andrew McMillan b90e3f291c Add method to return list of changes since a previous token. 2012-07-08 11:59:06 +12:00
Andrew McMillan c09ee6ff91 Some hrefs were not properly calling ConstructURL. 2012-07-08 11:59:02 +12:00
Andrew McMillan 2f82e69cfb Correctly test for repeated caldav.php in URL. 2012-07-08 11:58:58 +12:00
Andrew McMillan 2c12586a42 Ensure collection_id is set after we read the row. 2012-07-08 11:58:49 +12:00
Andrew McMillan d88e1ca007 Fix support for missing <prop> or <allprop/> on multiget/query reports. 2012-07-08 11:58:42 +12:00
Andrew McMillan 33f6dd556a Handle "Allow" happening on multiple lines in Options checking. 2012-07-08 11:58:27 +12:00
Andrew McMillan 622512e156 Fix handling of Basic Auth headers. 2012-07-08 11:58:12 +12:00
Andrew McMillan c846104d94 Those damn numeric usernames will get you every time. 2012-07-03 23:45:20 +12:00
Andrew McMillan a555fdad40 Deny calendar-query report on root, principal or addressbook
Even if recursive report is enabled.
2012-07-02 22:40:43 +12:00
Andrew McMillan c70c4e40a5 Fix timestamp matching regex. 2012-07-02 21:11:59 +12:00