124 Commits

Author SHA1 Message Date
Andrew McMillan
1d256de4c4 Add function which will fail if a resource / collection is locked and will
return the appropriate error.
2006-12-06 23:10:34 +13:00
Andrew McMillan
7fae773735 Correct response code per RFC2518 2006-12-06 21:50:49 +13:00
Andrew McMillan
ed65ec1294 Correct response code for normal behaviour per RFC2518. Write handling for
collections, since we now actually have such beasts.
2006-12-06 21:50:12 +13:00
Andrew McMillan
a2a2883a42 Add support for UNLOCK of resources. 2006-12-06 19:32:41 +13:00
Andrew McMillan
bb6185ff5f Allow a response with no message to be the default. 2006-12-06 19:32:19 +13:00
Andrew McMillan
7f13003a14 Now handling LOCK + refresh LOCK on a calendar resource. 2006-12-06 13:52:13 +13:00
Andrew McMillan
dd31ac44c8 Correct copyright notice. 2006-12-06 00:24:13 +13:00
Andrew McMillan
52c231cb73 Correct copyright notice. 2006-12-06 00:23:53 +13:00
Andrew McMillan
70372992cb The GET header should be plain text/calendar and not include a charset or
Evolution will break.
2006-12-05 15:15:46 +13:00
Andrew McMillan
9eff8f92ae As a basic checkpoint we are now creating a lock for a resource. 2006-12-05 00:51:41 +13:00
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