794 Commits

Author SHA1 Message Date
Andrew McMillan
f7a3bf6f8d Revert some of that last change. 2007-11-04 11:30:25 +13:00
Andrew McMillan
f84045e9cd Tweak DAV header to admit that / is not as functional. 2007-11-04 11:29:28 +13:00
Andrew McMillan
c3943f3687 Slightly tweak the protocol_server_port to account for / 2007-11-04 11:25:45 +13:00
Andrew McMillan
1f57165ef8 Ignore built-po flagfile. 2007-11-03 21:13:05 +13:00
Andrew McMillan
26a9569841 Current result. 2007-11-03 21:06:25 +13:00
Andrew McMillan
87bff21fc8 Fix these so they don't change continuously. 2007-11-03 21:06:04 +13:00
Andrew McMillan
21794ddcea Merge branch 'rscds' of git+ssh://git.catalyst.net.nz/git/public/rscds into rscds 2007-11-03 20:53:04 +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
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 Ruthven
78465c2be1 Allow easily removing a user using SQL by adding some cascades.
I've tested the patch this time!
2007-11-03 20:25:19 +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