785 Commits

Author SHA1 Message Date
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
ec7dcef813 If running in debug then don't call curl with --silent 2007-11-03 20:44:22 +13:00
Andrew McMillan
13e9f6f4b5 Fix cut and paste error. currval => nextval 2007-11-03 20:43:56 +13:00
Andrew McMillan
8b53f09baa Allow non GET/POST requests on index.php to actually call caldav.php
which means that a request for / which becomes index.php, still works
with a PROPFIND or similar.
2007-11-03 20:37:44 +13:00
Andrew McMillan
63930a85e6 Add the translation building process into the Makefile 2007-11-03 18:09:23 +13:00
Andrew McMillan
0920c1ef31 Remove dependence on database. 2007-11-03 18:07:32 +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
6e125d5de7 Ignore a bunch of random crap in the testing directory. 2007-11-03 10:19:37 +13:00
Andrew McMillan
ee1ea4c950 Refactoring of the principal into an object class. 2007-11-03 10:14:05 +13:00
Andrew McMillan
a07b8e31eb An example configuration file for the regression testing. 2007-11-02 22:15:08 +13:00
Andrew McMillan
9fa7ef661a Sprinkle a little more configurability in there. 2007-11-02 22:13:51 +13:00
Andrew McMillan
c370e3dc5f Change the dbname/dbport/dbhost parameters into one dsn parameter. 2007-11-02 22:12:45 +13:00
Andrew McMillan
b876c2ef54 Only warn when we fail to build the docs. 2007-11-01 23:09:43 +13:00
Andrew McMillan
8df33654e3 Change the example of auth against an external awl to use the new way. 2007-11-01 22:30:46 +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
9b72812be7 Updated language strings. 2007-11-01 22:20:56 +13:00
Andrew McMillan
39700005f4 Some random renaming of RSCDS to DAViCal. 2007-11-01 14:54:59 +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
Andrew McMillan
13f915ee1b Substantial refactoring of drivers_ldap for efficiency and code reuse.
Also switched to using the auth-functions for user create/update.
2007-10-30 14:51:06 +13:00
Andrew McMillan
7c05f9c189 Pulling out the User create/update so other drivers can use it as well. 2007-10-30 14:48:46 +13:00
Andrew McMillan
91b4570997 Some changes to PROPFIND handling for iCal 3 support (not yet). 2007-10-30 12:07:50 +13:00
Andrew McMillan
aa2941316f Include the headers in the validated response. 2007-10-30 10:23:16 +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
85707c9eba Results change due to moving the DAV: header and PROPFIND changes 2007-10-30 10:15:06 +13:00
Andrew McMillan
48dc44eba7 Fleshing out the 'principal' object slightly. 2007-10-29 18:14:52 +13:00
Andrew McMillan
ca10fb50c1 Move the DAV: header to caldav.php, rather than only sending it for
the OPTIONS request.
2007-10-29 18:14:10 +13:00
Maxime Delorme
c0a00fd419 Fix some comments. 2007-10-29 18:13:17 +13:00
Andrew McMillan
973a8235b4 Remove extraneous bracket. 2007-10-29 18:12:20 +13:00
Andrew McMillan
0479ca423a New files. 2007-10-28 20:42:00 +13:00
Andrew McMillan
1083970df8 Some vague changes in the hope that it might work better with
iCal.  I really need to spend some time with a Mac to make this
work, I think...
2007-10-28 20:40:39 +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
a79967dfa8 This should now use the auth functions to create default
relationships & calendar.
2007-10-28 18:18:06 +13:00
Andrew McMillan
b27b0d4c7b Added auth functions to implement creation of home calendar and
addition of default relationships, and write replacement for
auth_other_awl which uses these.
2007-10-28 10:27:16 +13:00
Andrew McMillan
e49987b069 Remove erroneous messages when you just hi 'Enter' instead of clicking
submit.
2007-10-28 10:25:23 +13:00
Andrew McMillan
2b9b5634c8 Removing closing tags which are not required. 2007-10-27 20:31:42 +13:00
Andrew McMillan
fc66ea3bd0 Only display the relationships menu for Admin users. 2007-10-27 15:24:55 +13:00
Andrew McMillan
82410d39fc Automatically create some relationships when the user is added. 2007-10-27 15:19:13 +13:00
Andrew McMillan
e5e2002c74 URLs seem to need to be unescaped. 2007-10-27 15:18:37 +13:00
Andrew McMillan
96a4825c88 The result from a first test for iCal support. 2007-10-27 00:30:49 +13:00
Andrew McMillan
e8369c91fc Make the code work with or without upgrading the DB to 1.1.10. 2007-10-27 00:29:59 +13:00
Andrew McMillan
04656674f7 Make puck's patches for PUBLIC events actually work. 2007-10-27 00:11:44 +13:00
Andrew McMillan
ff55979bfd More filesss. 2007-10-26 21:37:23 +13:00
Andrew McMillan
ae3e35d036 Update the URL of the scheduling extensions draft. 2007-10-26 21:14:12 +13:00
Andrew McMillan
9623b216b2 Get rid of a couple more unassigned variable warnings. 2007-10-26 21:13:42 +13:00