149 Commits

Author SHA1 Message Date
Andrew McMillan
aed8875443 Remove some E_NOTICE warnings. 2006-12-02 11:43:36 +13:00
Andrew McMillan
d3c4cc7f74 What a difference a 'y' makes! The DAV spec calls for 'infinite' rather
than 'infinity'.
2006-12-02 00:20:02 +13:00
Andrew McMillan
d3a71cd234 Return an honest set of OPTIONS in the normal case, and allow us to override
so we can see if clients will try and use the ones we don't support.
2006-12-02 00:08:42 +13:00
Andrew McMillan
1b8d5b7d15 Fix locale handling in subdirectory operation. 2006-11-30 22:07:50 +13:00
Andrew McMillan
bfb93a06a9 Send an "X-RSCDS-Version" header in our response to assist with debugging. 2006-11-30 18:37:50 +13:00
Andrew McMillan
476f084844 Make images work in the subdirectory model. 2006-11-30 18:23:28 +13:00
Andrew McMillan
2800808b90 Allow RSCDS to operate from a subdirectory within another virtual host,
rather than requiring it's own virtual host.
2006-11-30 18:09:38 +13:00
Andrew McMillan
674ca88ea8 Fix the GET to use the request object. 2006-11-27 09:30:19 +13:00
Andrew McMillan
d9b22134f1 Fix REPORT to use the request object. 2006-11-27 09:29:26 +13:00
Andrew McMillan
c26ae36b93 Remove exit(0) which is no longer necessary. 2006-11-27 09:21:13 +13:00
Andrew McMillan
4aca3489d2 Fix another bug in OPTIONS. 2006-11-27 09:12:42 +13:00
Andrew McMillan
3a28e85d19 Fix problem with PUT. 2006-11-27 09:04:40 +13:00
Andrew McMillan
00bae378cf Updated DELETE to work with new request object. 2006-11-27 01:38:00 +13:00
Andrew McMillan
9c7c3e55a5 A tweak to the MKCALENDAR. 2006-11-27 01:34:50 +13:00
Andrew McMillan
7a2fa38a80 Have now changed PUT to use new request object. 2006-11-27 01:34:07 +13:00
Andrew McMillan
bffb535e42 The functionality between MKCOL and MKCALENDAR is so similar there need not
be two separate includes for them.
2006-11-27 01:13:55 +13:00
Andrew McMillan
367462fb67 Have now converted MKCALENDAR to use new request object. 2006-11-27 01:08:37 +13:00
Andrew McMillan
6a6f147f75 Converted PROPFIND to new request object. 2006-11-27 01:01:09 +13:00
Andrew McMillan
02be51d765 OPTIONS now working with new structure. 2006-11-27 00:29:23 +13:00
Andrew McMillan
b591115b72 New class to handle requests, so we can extract permissions in a better
way.  Of course this breaks all of the existing code, so don't use this
until I have all the regression tests passing again :-)
2006-11-27 00:16:01 +13:00
Andrew McMillan
d046a85640 Fix the auto-creation of calendars so they are the same as the ones that
are created with MKCALENDAR.
2006-11-26 11:53:34 +13:00
Andrew McMillan
b80b562ff9 Correct link tooltip. 2006-11-26 11:46:11 +13:00
Andrew McMillan
bc25ce182b Display a list of the user's collections. 2006-11-26 11:44:32 +13:00
Andrew McMillan
378e6fc97b Now we've fixed the DB function we don't need to check we are us as well. 2006-11-23 22:55:08 +13:00
Andrew McMillan
8f1002be22 Put basic pluggable authentication in here as well. 2006-11-23 22:46:52 +13:00
Andrew McMillan
58ac97191a Allow an e-mail address to be used with the freebusy.php functionality. 2006-11-23 20:19:12 +13:00
Andrew McMillan
4f6988679f Use correct user_no in collection record. 2006-11-22 22:52:08 +13:00
Andrew McMillan
d01f875ca6 Code formatting. 2006-11-22 22:41:28 +13:00
Andrew McMillan
9ab435b489 Automatically create a calendar collection record if someone does a PUT
into one.
2006-11-22 22:37:49 +13:00
Andrew McMillan
a6fccffb86 When listing users we should not list users that we have no access to. 2006-11-22 21:07:04 +13:00
Andrew McMillan
e576d884a3 Switch to use new function for date presentation. 2006-11-22 20:58:18 +13:00
Andrew McMillan
4410d8b0e7 Much better approach, using values we have already parsed on PUT, rather
than parsing all again.
2006-11-22 20:53:28 +13:00
Andrew McMillan
d79cbae2d9 Do the updating as a DELETE+INSERT rather than UPDATE, but put it inside
a transaction.  Also set default values for LAST-MODIFIED and DTSTAMP, at
least in our code.
2006-11-22 20:51:35 +13:00
Andrew McMillan
ccc9a974f2 Add commented out default timezone config setting. 2006-11-22 14:42:19 +13:00
Andrew McMillan
bdd200633f We should use 'true' rather than '1' for readability. 2006-11-22 07:32:00 +13:00
Andrew McMillan
b4cfd93fd7 Fix deletion from RW accessible calendar which is not yours. 2006-11-22 07:14:47 +13:00
Andrew McMillan
eed763151f Implement basic freebusy support. 2006-11-21 21:56:22 +13:00
Andrew McMillan
002806b16c Reorder calls to header, and send return code (although this is php 4.3+ it
should be OK).
2006-11-21 19:39:38 +13:00
Andrew McMillan
8056e9bc40 Add configuration setting so javascript linking of rows can be disabled. 2006-11-20 08:36:13 +13:00
Andrew McMillan
dd3774dde5 OK, so I hunted down the docs for this. I don't see any great reason to
do it any time soon though.
2006-11-19 18:49:20 +13:00
Andrew McMillan
0919a0b2fe Add a placeholder for the PROPPATCH command which I will now start working
on.
2006-11-19 12:06:05 +13:00
Andrew McMillan
aea03540b6 A setting more suitable for Mozilla/Evolution. 2006-11-19 12:04:42 +13:00
Andrew McMillan
3b5735faaf Much stricter implementation of the OPTIONS command. It is possible that
this will make Evolution and Mozilla fail, which I will need to fix before
this can be released.
2006-11-18 23:08:45 +13:00
Andrew McMillan
7ea9e42240 Also support the HEAD method as a GET without data. 2006-11-18 22:57:51 +13:00
Andrew McMillan
55406cc7a0 Committing this placeholder for the time being. 2006-11-18 22:57:03 +13:00
Andrew McMillan
3bc7007f63 Fix bug in handling of modified event where client does not send an
"If-None-Match" header.
2006-11-12 16:19:22 +13:00
Andrew McMillan
5e4361de28 Remove commented out code. 2006-11-09 16:16:36 +13:00
Andrew McMillan
94617522a7 Ensure that permissions and path prefixes are being correctly applied. 2006-11-09 14:33:29 +13:00
Andrew McMillan
38b7a816c0 Fix copy / paste niggle in debug logging. 2006-11-09 00:52:05 +13:00
Andrew McMillan
6e2f4032ab Fix cross-calendar PUT bug. 2006-11-09 00:47:33 +13:00