61 Commits

Author SHA1 Message Date
Andrew McMillan
5ec4c33670 Remove case-folding of incoming XML. 2008-10-21 23:04:31 +13:00
Andrew McMillan
5c8cfa4031 Rename @package to davical. 2008-09-18 12:03:00 +12:00
Andrew McMillan
35950dc63f Removing uninitialised variable warnings. 2008-05-30 19:52:35 +12:00
Andrew McMillan
d1796135a1 Those error messages should be translatable. 2008-02-09 22:57:49 +13:00
Andrew McMillan
9a51be75be Recognise and error when the request says it has XML, but it
has errors.
2008-02-09 21:21:49 +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
589c0db1bd Efficiency improvements from bypassing get_permissions() call in query. 2008-01-23 18:41:11 +13:00
Andrew McMillan
949d28a5c1 Fix debugging code so this doesn't break a server with open_basedir
enabled.  Not that I in any way endorse the use of open_basedir...
2008-01-21 17:30:31 +13:00
Andrew McMillan
2cacc8aa1c Almost entirely switched to root-relative URLs now. 2007-11-25 13:31:35 +13:00
Andrew McMillan
6d3a0abd4c Write & use utility function for URL construction. 2007-11-25 12:57:54 +13:00
Andrew McMillan
89c7a33694 Change REPORT to omit protocol://host:port from URLs also. 2007-11-25 12:47:41 +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
9623b216b2 Get rid of a couple more unassigned variable warnings. 2007-10-26 21:13:42 +13:00
Andrew McMillan
c8b1ce8d81 Start on the principal-property-search REPORT and calendar-home-set. 2007-08-26 11:26:53 +12:00
Andrew McMillan
daab2bc748 Refactor handling of requested properties in REPORT requests for better flexibility. 2007-08-26 11:23:00 +12:00
Andrew McMillan
f2d05b0bcd Fix typo. 2007-08-09 14:15:24 +12:00
Andrew McMillan
5fc143c1bc Consistently use helper function for returning default properties. 2007-08-09 12:49:28 +12:00
Andrew McMillan
2fc154bea6 Minor code tidyups. 2007-06-06 23:42:14 +12:00
Andrew McMillan
4a55b30804 Commence refactoring of calendar-query REPORT. 2007-06-06 23:17:17 +12:00
Andrew McMillan
033ffd5cc0 Refactoring and rewriting the support for calendar-multiget reports with
a view to complete compliance with the CalDAV specification.
2007-06-06 19:18:29 +12:00
Andrew McMillan
bda235141a RFC says we should always return 4040 for privilege failure. 2007-06-04 23:40:43 +12:00
Andrew McMillan
902219d154 Refactoring to simplify XMLResponse output. 2007-06-04 23:36:25 +12:00
Andrew McMillan
e3ee397008 Start refactoring caldav-REPORT. 2007-06-04 23:23:46 +12:00
Andrew McMillan
b17996ba39 We don't want a warning message if this is not set. 2007-05-31 18:28:26 +12:00
Maxime Delorme
ecf87b2552 Allow TODO to be restricted to calendar owner/admin. 2007-05-31 18:21:59 +12:00
Andrew McMillan
73fab0b489 Only apply the filter criteria once. 2007-05-28 15:54:39 +12:00
Andrew McMillan
4872988f2e [security] Only save debugging output when we are debugging. 2007-05-19 11:43:50 +12:00
Maxime Delorme
3edfa4b0fe Handle confidential events and alarms on non-administered calendars. 2007-05-05 11:35:57 +12:00
Andrew McMillan
2a40c39d93 Patch to support reporting of "Busy" for confidential events. 2007-04-15 12:15:19 +12:00
Andrew McMillan
0fb06ec977 Another catch for PRIVATE events. 2007-03-13 13:53:56 +13:00
Andrew McMillan
c8bbcc1df6 Sunbird is now requesting VTODO and VEVENT correctly in REPORTs. This fixes
the handling of those cases.
2007-03-06 14:58:45 +13:00
Andrew McMillan
8e90d1af97 Some tidying of the freebusy report. Allow specification of start/finish
range on the freebusy GET query particularly to enable reliable regression
test results.
2007-02-13 14:51:54 +13:00
Andrew McMillan
f8aecfc746 PRIVATE is more private than CONFIDENTIAL after discussion... 2006-12-28 13:05:56 +13:00
Andrew McMillan
46f26926c4 Fixed handling of TENTATIVE. 2006-12-27 14:01:19 +13:00
Andrew McMillan
1d7fbb4bee Changes to privacy model for freebusy. 2006-12-25 22:14:50 +13:00
Andrew McMillan
f1222eca26 FREEBUSY query now working correctly. It should follow specification
fairly closely.
2006-12-17 21:37:43 +13:00
Andrew McMillan
858ce08d1f Correct the HTTP return value per spec. 2006-12-11 21:40:16 +13:00
Andrew McMillan
f1e3d97cfa FreeBusy report now working, but without expanding RRULE at this point. 2006-12-11 20:01:07 +13:00
Andrew McMillan
40c69cd1ce A much better start on the free-busy-query support. 2006-12-11 17:22:44 +13:00
Andrew McMillan
8761764a83 Partial implementation of CALDAV:free-busy-query 2006-12-11 16:16:59 +13:00
Andrew McMillan
ddeea735f1 Remove debugging. 2006-12-10 12:57:51 +13:00
Andrew McMillan
d061c96198 Move handling of unsupported requests into CalDAVRequest 2006-12-09 21:56:18 +13:00
Andrew McMillan
6c50015eef Change to use 422 when we have an unsupported, but syntactically correct,
request.
2006-12-09 15:38:16 +13:00
Andrew McMillan
83e6f20e86 Consistency of XML response is probably a good idea. 2006-12-04 13:30:21 +13:00
Andrew McMillan
40579515ee Assign, not append, to variable. 2006-12-02 11:53:06 +13:00
Andrew McMillan
d9b22134f1 Fix REPORT to use the request object. 2006-11-27 09:29:26 +13:00
Andrew McMillan
5e4361de28 Remove commented out code. 2006-11-09 16:16:36 +13:00
Andrew McMillan
94617522a7 Ensure that permissions and path prefixes are being correctly applied. 2006-11-09 14:33:29 +13:00