415 Commits

Author SHA1 Message Date
Andrew McMillan
522852d4f5 Ensure that mkcalendar will fail at / or /username/ locations. 2007-11-24 23:39:56 +13:00
Andrew McMillan
9a32c2c806 Fix a bug in addition of durations. 2007-11-24 23:06:36 +13:00
Andrew McMillan
114b4a1f26 Tweaks to MKCALENDAR to make it work with iCal. 2007-11-24 21:34:29 +13:00
Andrew McMillan
552bb6f0e8 Debugging namespace change, with updated regression results. 2007-11-23 23:32:05 +13:00
Andrew McMillan
ad17ee8a2b Use wrapper functions to construct tag namespaces. 2007-11-23 23:01:47 +13:00
Andrew McMillan
4d3f233756 Switch freebusy style to match GET url response. 2007-11-18 10:16:54 +13:00
Andrew McMillan
8fb6bcd1e7 Don't deault the admin e-mail address to a real one! 2007-11-17 22:07:30 +13:00
Andrew McMillan
655bb12d3d Freebusy URL should be Start/Finish datetimes, not Start/Duration. 2007-11-16 10:46:51 +13:00
Andrew McMillan
73c00d5b78 Migrate caldav namespace handling to new structure. 2007-11-16 09:08:37 +13:00
Andrew McMillan
ec949297c3 Restructure the way that we handle namespaces. This will move to XMLElement
in due course.
2007-11-16 08:50:24 +13:00
Andrew McMillan
60383ef3c2 Improved formatting of namespace details for arbitrary properties. 2007-11-15 16:35:29 +13:00
Andrew McMillan
03d82193cc Also put arbitrary properties along with the calendar. 2007-11-06 18:46:54 +13:00
Andrew McMillan
dfef442ee5 When a calendar is created with XML, then it's parent will be the target URL. 2007-11-06 18:31:35 +13:00
Andrew McMillan
d99f8ccc35 Enforce a trailling '/' on collections when they are created. 2007-11-06 17:29:22 +13:00
Andrew McMillan
786e73f56b Authentication against PAM via Squid helper by Eric Seigne. 2007-11-06 14:52:13 +13:00
Andrew McMillan
2108144edf Don't duplicate the collection response when we get Depth: infinity 2007-11-06 00:28:49 +13:00
Andrew McMillan
501a6e215c Return the session user's home-url when called on / 2007-11-05 23:41:49 +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
f5e1e98306 Rename rscds_configuration_missing.php to davical_... 2007-11-05 15:33:27 +13:00
Andrew McMillan
eefdb7749f Change names to DAViCal. 2007-11-05 15:29:01 +13:00
Andrew McMillan
b7eae51e77 Fix handling of CONFIDENTIAL events. 2007-11-05 15:00:24 +13:00
Andrew McMillan
5976c52650 Release 0.9.2 2007-11-04 23:32:54 +13:00
Andrew McMillan
5f2a55bcf5 Scrub confidential events more thoroughly. 2007-11-04 23:30:51 +13:00
Andrew McMillan
3c3990546a Final changes to really get iCal working. 2007-11-04 23:10:52 +13:00
Andrew McMillan
7189617334 in_array looks for values, but we need to look in the keys now. 2007-11-04 21:41:20 +13:00
Andrew McMillan
e7940eef32 Add a bit more debugging. 2007-11-04 21:35:22 +13:00
Andrew McMillan
99248f42dd Fix debugging. 2007-11-04 21:22:55 +13:00
Andrew McMillan
acca66e4d8 $c needs to be global. 2007-11-04 21:20:05 +13:00
Andrew Ruthven
2744a62c28 Slight code tidy up and add some debug statements. 2007-11-04 20:09:14 +13:00
Andrew McMillan
2e64a4fc8e Tidy up the response. 2007-11-04 13:49:22 +13:00
Andrew McMillan
bdc9c1a875 Restrict the OPTIONS response on the root. 2007-11-04 13:48:56 +13:00
Andrew McMillan
ee43bf9b9b Add not_found / denied to item response. 2007-11-04 13:28:13 +13:00
Andrew McMillan
1436dbc88e Now works with iCal 3.0. Most notably because we replace ' ' with '_'
in the response to requests for the displayname property.
2007-11-04 12:39:22 +13:00
Andrew McMillan
4d0dc4fe78 Add the user-agent string into the request object. 2007-11-04 12:14:26 +13:00
Andrew McMillan
541de9650a Handle '/' as script path. Some commented changes reflect future plans. 2007-11-04 12:13:58 +13:00
Andrew McMillan
f7a3bf6f8d Revert some of that last change. 2007-11-04 11:30:25 +13:00
Andrew McMillan
c3943f3687 Slightly tweak the protocol_server_port to account for / 2007-11-04 11:25:45 +13:00
Andrew McMillan
10e02c5e76 Add getUserByID and caching by ID. 2007-11-03 20:52:54 +13:00
Andrew McMillan
adc44b0e39 Handle the null path case. 2007-11-03 20:45:54 +13:00
Andrew McMillan
7736e01a0a If we can't split the path then default the username from the session. 2007-11-03 20:45:33 +13:00
Andrew McMillan
2d456cadd5 Handle the case where we are called with a null path. 2007-11-03 20:44:59 +13:00
Andrew McMillan
13e9f6f4b5 Fix cut and paste error. currval => nextval 2007-11-03 20:43:56 +13:00
Andrew Ruthven
5ee58e34b3 Rename one more occurance on attributs to attributes, I can login with LDAP now. 2007-11-03 12:17:21 +13:00
Andrew Ruthven
ad712e9c25 Fix PHP syntax. 2007-11-03 12:12:13 +13:00
Andrew McMillan
f02a8e3ebc Fix UsernameFromPath when the path is an e-mail address. 2007-11-03 11:50:12 +13:00
Andrew McMillan
ee1ea4c950 Refactoring of the principal into an object class. 2007-11-03 10:14:05 +13:00
Andrew McMillan
5e47b74ccf Provide example config snippet for docs. 2007-11-01 22:29:08 +13:00
Andrew McMillan
b373f73ca1 Add a 'where' clause to the auth_other_awl method. 2007-11-01 22:21:33 +13:00
Andrew McMillan
00fb075f22 Some of the principal properties are available anywhere. 2007-11-01 14:49:34 +13:00
Andrew McMillan
e34807cc17 More consistently do the ldap timestamp munding. Probably this
should really be done in a separate 'munge_ldap_timestamp()' function.
2007-11-01 14:48:50 +13:00