49 Commits

Author SHA1 Message Date
Andrew McMillan
21fbed3c79 Set utf-8 on responses; Return a 405 on non-calendar collections. 2009-10-06 14:38:25 +13:00
Andrew McMillan
b06f4e4f35 Allow free/busy permission to be sufficient to read obfuscated events.
Following a suggestion from Alessio Bazzica.  Also add CREATED to
obfuscated events for compatibility with iCal.
2009-06-15 15:44:29 +12:00
Andrew McMillan
a45d0fa3dc Don't set a X-WR-CALNAME unless we have something to set it to. 2009-06-10 09:57:52 +12:00
Andrew McMillan
68d42aeb26 Fix from Markus Warg for handling of confidential events. 2009-03-20 13:08:10 +13:00
Andrew McMillan
09feb2e2ab Really fix the cut and paste error here. 2009-03-19 10:08:20 +13:00
Andrew McMillan
5a81f0370a Correct errors in GET for confidential events. 2009-03-18 14:35:21 +13:00
Andrew McMillan
1e7a71c1bb Trap corner case when collection only has a single entry. 2009-03-16 22:03:33 +13:00
Andrew McMillan
6bb94f5e7f Fully converted to use iCalComponent rather than iCalendar. 2008-11-12 22:15:49 +13:00
Andrew McMillan
066ae3f4e3 Release 0.9.6 2008-11-01 23:08:41 +13:00
Andrew McMillan
ff87efdc1d Use @todo: everywhere for phpdocumentor syntax. 2008-11-01 19:27:33 +13:00
Andrew McMillan
7e3e233839 Reformat comment tag. 2008-11-01 18:49:19 +13:00
Andrew McMillan
3870581855 Request for a collection URL with no events will no longer 404. 2008-11-01 11:01:00 +13:00
Andrew McMillan
0132e8195e Fix uninitialised variable warnings. 2008-10-27 15:10:43 +13:00
Andrew McMillan
5c8cfa4031 Rename @package to davical. 2008-09-18 12:03:00 +12:00
Andrew McMillan
8c2e2b3150 Note TODO item. 2008-02-15 07:09:01 +13:00
Andrew McMillan
c7c6a0a62c When creating a fake event, don't create a blank RRULE. 2008-02-09 21:20:55 +13:00
Andrew McMillan
8a6c502d9b Performance improvement. 2008-01-25 22:10:01 +13:00
Andrew McMillan
615c53d3f8 Efficiency improvements from bypassing get_permissions() call in query. 2008-01-23 18:03:28 +13:00
Andrew McMillan
6346ae5966 Remove some bugs in timezone handling on WebDAV presentation of folders. 2007-12-14 23:45:36 +13:00
Andrew McMillan
b7eae51e77 Fix handling of CONFIDENTIAL events. 2007-11-05 15:00:24 +13:00
Andrew McMillan
5f2a55bcf5 Scrub confidential events more thoroughly. 2007-11-04 23:30:51 +13:00
Andrew McMillan
c2794db775 Maxime Delorme suggested that we should do this differently now that
the iCalendar class is more functional.  I agree.
2007-10-28 18:19:14 +13:00
Andrew McMillan
e64db0fae4 If an event is public, we should show it! 2007-10-26 12:00:47 +13:00
Andrew McMillan
94b6418fd3 When class is NULL we should consider it to be PUBLIC. 2007-10-25 15:20:55 +13:00
Andrew McMillan
05beacd24c GET on a collection should include any VTODO that are in there as well. 2007-10-18 21:49:36 +13:00
Andrew McMillan
63d5a9886d If we have full permissions to see this, we shouldn't care what type
it is that we are returning.  The iCalendar class has a better interface
for this now, so we will use that.
2007-10-18 17:16:37 +13:00
Andrew McMillan
cc193c438e Security patch (confidential events leakage) from Maxime Delorme. 2007-09-29 23:06:24 +12:00
Andrew McMillan
3a227fd75a Enforce ordering of response. 2007-04-04 21:54:28 +12:00
Andrew McMillan
ddfbd624a7 Add handling of PRIVATE events to GET. 2007-03-06 14:59:18 +13:00
Andrew McMillan
f94558832e Ensure the Etag is provided for GET requests. 2007-02-13 11:38:09 +13:00
Andrew McMillan
3bc5cf584b Send correct list of timezones with calendar export of collection. 2007-01-04 09:46:34 +13:00
Andrew McMillan
feec3a0f7a Get a whole calendar when requested against a collection. 2007-01-04 08:35:20 +13:00
Andrew McMillan
7c56e10f76 There are no situations where If-Match or If-None-Match is applied for a GET. 2007-01-04 08:08:04 +13:00
Andrew McMillan
402ed54bfb More translatability. 2006-12-28 13:08:14 +13:00
Andrew McMillan
70372992cb The GET header should be plain text/calendar and not include a charset or
Evolution will break.
2006-12-05 15:15:46 +13:00
Andrew McMillan
28f4c87e36 One last variable name changed... 2006-12-02 11:54:55 +13:00
Andrew McMillan
674ca88ea8 Fix the GET to use the request object. 2006-11-27 09:30:19 +13:00
Andrew McMillan
7ea9e42240 Also support the HEAD method as a GET without data. 2006-11-18 22:57:51 +13:00
Andrew McMillan
38b7a816c0 Fix copy / paste niggle in debug logging. 2006-11-09 00:52:05 +13:00
Andrew McMillan
36b0d7bc67 Still use the user_no in the query, but base it on the path. 2006-11-04 14:31:00 +13:00
Andrew McMillan
7c3482cc89 Use the permissions to allow/disallow a GET for a person's calendar. 2006-11-04 13:28:07 +13:00
Andrew McMillan
1639f0f1ca More code cleanups - adding phpdoc header to all caldav component parts. 2006-10-11 16:38:53 +13:00
Andrew McMillan
424c6ada91 Code review and stylistic changes. Better error reporting. 2006-10-11 14:01:19 +13:00
Andrew McMillan
b84f7987b5 Quote the ETag properly. 2006-10-11 13:36:04 +13:00
Andrew McMillan
60ffd152aa Removal of warnings, adding of permissions. 2006-10-08 00:30:01 +13:00
Andrew McMillan
2b8b67ab0b Kind of working now, with either Lighting or Evolution. 2006-09-24 17:08:39 +12:00
Andrew McMillan
a57d690167 Kinda working with both Lightning & Evolution now. About to restructure to
add TODO items and make certain queries easier.
2006-09-21 18:24:26 +12:00
Andrew McMillan
d64d2b4000 Now storing events, including parsing them into further SQL. 2006-09-12 04:36:37 -05:00
Andrew McMillan
dc4526c3d7 Kinda working. Nearly packaged. 2006-09-11 22:30:00 +12:00