264 Commits

Author SHA1 Message Date
Andrew McMillan
0d66c9d9b7 More functions to support locking and lock discovery. 2006-12-04 15:57:06 +13:00
Andrew McMillan
83e6f20e86 Consistency of XML response is probably a good idea. 2006-12-04 13:30:21 +13:00
Andrew McMillan
77066997af Add an IsCollection() test to the request. 2006-12-04 12:56:02 +13:00
Andrew McMillan
e4f10270b7 Use defined canonicalisation base URL. 2006-12-04 11:34:03 +13:00
Andrew McMillan
becfa15926 Starting work on LOCK. 2006-12-04 10:14:43 +13:00
Andrew McMillan
ef52ef8a22 We're going to start writing stuff in this pretty soon... 2006-12-03 23:32:25 +13:00
Andrew McMillan
0091ee568b Take more notice of the headers we receive, especially ones that apply to
LOCK, UNLOCK.
2006-12-03 23:32:00 +13:00
Andrew McMillan
209bb99584 Since we're going to support the LOCK/UNLOCK methods we begin by pretending. 2006-12-03 23:15:30 +13:00
Andrew McMillan
8d9099b076 More E_NOTICE fixing. 2006-12-03 17:21:46 +13:00
Andrew McMillan
bd6bee3744 Correct reference to displayname field. 2006-12-02 11:56:39 +13:00
Andrew McMillan
28f4c87e36 One last variable name changed... 2006-12-02 11:54:55 +13:00
Andrew McMillan
c333daad88 One last variable referenced with the old name. 2006-12-02 11:53:26 +13:00
Andrew McMillan
40579515ee Assign, not append, to variable. 2006-12-02 11:53:06 +13:00
Andrew McMillan
f5fe854d9f Fix variable missing $. 2006-12-02 11:48:34 +13:00
Andrew McMillan
e9231ad8a9 Remove some E_NOTICE warnings. 2006-12-02 11:44:04 +13:00
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