85 Commits

Author SHA1 Message Date
Andrew McMillan
abf596f7d8 Add an IsCalendar() method. 2009-10-06 14:33:30 +13:00
Andrew McMillan
45512950a0 Some tidy ups around scheduling inbox and passing collection type on. 2009-09-25 22:15:57 +12:00
Andrew McMillan
acbab43990 Minor cosmetic code changes. 2009-09-14 21:11:14 +12:00
Andrew McMillan
04daf91d32 Expand privileges since th iP-hone can't $%^& handle 'all' 2009-09-11 23:46:25 +12:00
Andrew McMillan
c97c489a52 Handle /principals/*/user requests as Depth: 0 on principal 2009-09-11 11:04:06 +12:00
Andrew McMillan
5265ed496f Fix header logging. 2009-09-11 08:42:07 +12:00
Andrew McMillan
a3676d3d40 Clean up some handling of URLs where the username is an e-mail address. 2009-08-29 17:20:54 +12:00
Andrew McMillan
989cc98b52 Ensure incoming URLs are decoded before we process them. 2009-08-24 12:09:17 +12:00
Andrew McMillan
6d10a23fc3 Add facility to debug log request/response in full. 2009-06-22 10:19:11 +12:00
Andrew McMillan
1f8b3a2af9 Move principal rendering into principal. 2009-06-14 21:20:36 +12:00
Wolfgang Herget
d58856528a Fix phpdoc comment. 2009-06-13 13:41:48 +12:00
Andrew McMillan
f65770b7f1 Add support for publicly readable calendars. 2009-04-17 01:03:54 +12:00
Andrew McMillan
a9a3709106 Logging. 2009-04-10 23:44:37 +12:00
Andrew McMillan
462a270264 Ensure Content-location headers are properly constructed URLs. 2009-02-26 23:40:16 +13:00
Andrew McMillan
1b75cdb024 Fix LOCK timeout handling. 2008-11-02 14:08:29 +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
0132e8195e Fix uninitialised variable warnings. 2008-10-27 15:10:43 +13:00
Andrew McMillan
9a58b26636 Allow e-mail based URL references. 2008-10-26 11:20:33 +13:00
Andrew McMillan
04bd671111 Further cases in rewrite of URL parsing. 2008-10-26 01:48:09 +13:00
Andrew McMillan
ceb1586f03 Refactor our calculation of the collection URL applying to this request. 2008-10-25 20:35:07 +13:00
Andrew McMillan
ca803cb510 Support for in/out/schedule collections. 2008-10-24 18:36:54 +13:00
Andrew McMillan
5ec4c33670 Remove case-folding of incoming XML. 2008-10-21 23:04:31 +13:00
Andrew McMillan
c7a2aa140e Change to DAViCal for server signature. 2008-07-12 23:12:35 +12:00
Andrew McMillan
0500787b9c Removing uninitialised variable warnings. 2008-05-30 19:52:02 +12:00
Andrew McMillan
12035ab7e5 Actually retrieve the collection_id correctly, and document it too. 2008-01-26 22:30:31 +13:00
Andrew McMillan
fd007a4ca7 Get the collection_id into the request variable. 2008-01-26 21:59:02 +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
522852d4f5 Ensure that mkcalendar will fail at / or /username/ locations. 2007-11-24 23:39:56 +13:00
Andrew McMillan
3f5b2ae67a Another attempt at resolving the URI vs. path issue. See RFC4918, 8.3 2007-11-05 22:29:34 +13:00
Andrew McMillan
4d0dc4fe78 Add the user-agent string into the request object. 2007-11-04 12:14:26 +13:00
Andrew McMillan
adc44b0e39 Handle the null path case. 2007-11-03 20:45:54 +13:00
Andrew McMillan
ee1ea4c950 Refactoring of the principal into an object class. 2007-11-03 10:14:05 +13:00
Andrew McMillan
5ad40f969a Change the CALENDAR-HOME-SET property to be the parent of any calendars. 2007-10-30 10:22:33 +13:00
Andrew McMillan
48dc44eba7 Fleshing out the 'principal' object slightly. 2007-10-29 18:14:52 +13:00
Andrew McMillan
9bb9141f56 Introduce a rudimentary 'principal' attribute to the request object. 2007-10-26 21:11:19 +13:00
Andrew McMillan
d8c30893fa Fix permissions for RW access. 2007-10-17 10:09:52 +13:00
Andrew McMillan
cc83551a32 Refactoring for clarity based on a suggested patch by Maxime Delorme. 2007-08-09 14:37:28 +12:00
Andrew McMillan
9fc998ba9c Change content-type for consistency. 2007-08-07 20:42:07 +12:00
Andrew McMillan
f0445ed93f Correct syntax of error response for unprocessable requests. 2007-08-05 22:51:04 +12:00
Andrew McMillan
c36874ea14 Per RFC2518 the Depth header should have varying default values. 2007-07-31 07:40:06 +12:00
Andrew McMillan
b6b519468d Fix cut and paste error. 2007-06-06 07:48:37 +12:00
Andrew McMillan
7e05f4221e Switch error response to use XMLResponse 2007-06-04 23:40:11 +12:00
Andrew McMillan
902219d154 Refactoring to simplify XMLResponse output. 2007-06-04 23:36:25 +12:00
Maxime Delorme
b277b87f8a Use new function to give status message, rather than large case statement. 2007-05-30 23:40:09 +12:00
Andrew McMillan
193c509663 Handle freebusy permissions. 2007-05-30 11:16:28 +12:00
Maxime Delorme
c4c069a2cb Correct object generating response. 2007-05-29 23:04:50 +12:00
Andrew McMillan
ef6785f31e No need to use preg_split here, since PHP has already cleaned any paired
slashes down to singletons.
2007-04-30 07:45:04 +12:00
Andrew McMillan
1740c66491 Test whether a URL without a trailing '/' is actually a collection. 2007-03-19 12:10:03 +12:00