416 Commits

Author SHA1 Message Date
Andrew McMillan
a69862189b The iCalDate class is well on it's way now. 2006-12-12 00:41:23 +13:00
Andrew McMillan
db108b48de More work on an RRule class. 2006-12-11 23:08:25 +13:00
Andrew McMillan
a83752f81d New library for parsing iCalendar RRule and generally dealing with iCal dates 2006-12-11 21:47:17 +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
bc1ce6ba6a Remove debugging output, which was in the wrong place. 2006-12-11 19:43:02 +13:00
Andrew McMillan
899afa3ee6 Add debugging output of $_SERVER headers. 2006-12-11 19:39:43 +13:00
Andrew McMillan
16b1c9f6c6 Make the report cover a period which we have events in! 2006-12-11 19:33:57 +13:00
Andrew McMillan
77117734e7 Useful element for building regex matching a path + depth. 2006-12-11 19:16:01 +13:00
Andrew McMillan
f72d204f4e New test for free-busy report. 2006-12-11 18:30:06 +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
1f9e4c171f Also create free/busy relationship_type. 2006-12-11 15:01:43 +13:00
Andrew McMillan
189813854d Working towards a more complete privileges model. 2006-12-11 14:48:39 +13:00
Andrew McMillan
2ac9691c96 Adjust / increase the relationship possibilities. 2006-12-11 14:22:47 +13:00
Andrew McMillan
8a6348e736 Add freebusy support. Remove different Pg8.1 code path which is probably
not actually any better than the 7.4 compatible implementation.
2006-12-11 13:19:09 +13:00
Andrew McMillan
3f3804cd43 Enhanced permissions calculation which now supports the idea of bind/unbind
and 'all'.
2006-12-11 12:37:07 +13:00
Andrew McMillan
7f9653c783 Reinstate ability to add calendars/collections if you have 'write' privilege,
although this seems to be not strictly correct.
2006-12-11 10:56:06 +13:00
Andrew McMillan
cad895bdcf Now as principals. 2006-12-11 10:51:12 +13:00
Andrew McMillan
0d127289eb Add return of resourcetype when collection is also a principal. 2006-12-11 10:25:03 +13:00
Andrew McMillan
4ceb546253 New function to allow us to identify that this is a principal. 2006-12-11 10:17:11 +13:00
Andrew McMillan
0d3f62c66c Correct some permissions for MKCALENDAR. 2006-12-11 09:31:35 +13:00
Andrew McMillan
02a6468c3a Results for allprop request. 2006-12-11 09:10:26 +13:00
Andrew McMillan
3a1bd3f4a9 Add support for DAV::allprop 2006-12-11 09:07:59 +13:00
Andrew McMillan
27909914f6 Tests for allprop request. 2006-12-11 08:27:06 +13:00
Andrew McMillan
25ba6f8e0d All those resource types are hopefully right now. 2006-12-10 23:09:51 +13:00
Andrew McMillan
9be75391d3 Finially tracked down what resourcetype RFC2518 specifies for resources... 2006-12-10 23:08:38 +13:00
Andrew McMillan
b7c5bcee59 More OPTIONS by default. 2006-12-10 23:03:31 +13:00
Andrew McMillan
bd17bed542 Add in all of the properties for DAV an CalDAV, even if we don't reply
to them yet.
2006-12-10 22:47:41 +13:00
Andrew McMillan
1be3e5d320 Apparently it is OK to use REPORT on normal collections. 2006-12-10 22:39:27 +13:00
Andrew McMillan
e776477715 Cache control headers for RFC compliance. 2006-12-10 22:32:21 +13:00
Andrew McMillan
5511a89296 RFC compliance. 2006-12-10 22:31:23 +13:00
Andrew McMillan
eeca3c7203 Now with a language. 2006-12-10 22:19:46 +13:00
Andrew McMillan
5ae599c027 Some basic support for the getcontentlanguage property. 2006-12-10 22:18:38 +13:00
Andrew McMillan
be12d48c62 Ensure locale is set when using Basic Auth also. 2006-12-10 22:18:08 +13:00
Andrew McMillan
9904914d5a Don't attempt to parse the input as XML unless an XML header was explicitly
sent.
2006-12-10 21:12:28 +13:00
Andrew McMillan
bac02abded Add text/xml content types to this, which RFC2518 does specify. 2006-12-10 21:11:16 +13:00
Andrew McMillan
2aaffe45a8 Remove the headers from these tests, since ETag will vary from one run to
the next.
2006-12-10 20:27:41 +13:00
Andrew McMillan
7032ff8d7a Properly normalised tests. 2006-12-10 19:06:21 +13:00
Andrew McMillan
8e3265a52c Substitute all HTTP Standard format dates. 2006-12-10 19:06:00 +13:00
Andrew McMillan
91abc954ab Current regression test output. 2006-12-10 18:58:53 +13:00
Andrew McMillan
dfad00f938 Since we may not always get a creation date out of the iCalendar entry we
sometimes need to use the database creation time of the entry.
2006-12-10 18:56:49 +13:00
Andrew McMillan
e0d34558de Enforce ORDER on results. 2006-12-10 18:52:16 +13:00
Andrew McMillan
940e1d0460 Use summary for displayname of resources. 2006-12-10 18:31:22 +13:00
Andrew McMillan
ea1f786f69 Results for new PROPFIND on individual resource. 2006-12-10 16:41:48 +13:00
Andrew McMillan
9e2182cbb6 Changes to regression results as a result of date format fixes. 2006-12-10 16:41:25 +13:00
Andrew McMillan
facbb99318 PROPFIND now working for individual resources. 2006-12-10 16:22:09 +13:00
Andrew McMillan
88e39a02ff Remove redundant code checking value of user_no. 2006-12-10 15:34:55 +13:00
Andrew McMillan
380d980dc2 Ensure user_no on request is always valid. 2006-12-10 15:25:36 +13:00
Andrew McMillan
77f3e798ad Correct date formats for last modified and creation dates. 2006-12-10 14:41:50 +13:00