4023 Commits

Author SHA1 Message Date
Andrew McMillan
2035717e14 Return false if there was no lock at all. 2006-12-06 23:11:11 +13:00
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
9600b85001 Sync messages with current code. 2006-12-06 22:29:16 +13:00
Andrew McMillan
15ab1df291 We are now emulating the MKCOL and DELETE(collection) which Chandler is
doing, correctly.  This presumably means we should re test with Chandler
from this point...
2006-12-06 21:54:12 +13:00
Andrew McMillan
75443b08f4 Correct response codes per RFC2518. 2006-12-06 21:52:41 +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
5e580d5e2a More shuffling around of the Chandler tests. 2006-12-06 20:51:37 +13:00
Andrew McMillan
9332534acd Updating some Chandler tests with review against 0.7alpha4 behaviour. 2006-12-06 20:42:40 +13:00
Andrew McMillan
9c069a3f1a More tests for LOCK / UNLOCK on resources. 2006-12-06 19:40:57 +13:00
Andrew McMillan
a722e11b56 Quiet a warning when our test doesn't have an associated query. 2006-12-06 19:34:45 +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
a57c043163 Normalise lock tokens before comparison. 2006-12-06 15:38:25 +13:00
Andrew McMillan
25bffa6b06 Make the charset on our content type consistent. 2006-12-06 15:36:25 +13:00
Andrew McMillan
d6c16bf31e Results for the first couple of regression tests for LOCK handling. 2006-12-06 15:35:35 +13:00
Andrew McMillan
df692d2535 Regression testing framework now with SQL query support. 2006-12-06 14:01:03 +13:00
Andrew McMillan
7f13003a14 Now handling LOCK + refresh LOCK on a calendar resource. 2006-12-06 13:52:13 +13:00
Andrew McMillan
ecc3b2cb06 Add dependency on libclass-dbi-pg-perl. 2006-12-06 07:02: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
f07abe02c1 Released version 0.5.2 2006-12-06 00:23:10 +13:00
Andrew McMillan
c010024ade Build properly from a different directory. 2006-12-06 00:22:47 +13:00
Andrew McMillan
7a4e8b7ec1 Ignore the wiki properly 2006-12-06 00:22:00 +13:00
Andrew McMillan
6c2f1846ec Pre-process the PHPdoc initialisation to make it more workable in another
build location.
2006-12-05 22:29:48 +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
22ffc3c36b OPTIONS now returns LOCK / UNLOCK as available methods since we're developing that. 2006-12-04 11:34:45 +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
0fb5ba19f4 A first test case for LOCK 2006-12-04 10:14:10 +13:00
Andrew McMillan
b33e639f8c Allow BEGINDATA and ENDDATA to wrap data inside the test file. 2006-12-04 10:13:33 +13:00
Andrew McMillan
87bcd73eb9 Ignore another specification downloaded for development use. 2006-12-04 10:13:02 +13:00
Andrew McMillan
4415a25335 More evolution of what the 'locks' table will look like. 2006-12-04 10:12:22 +13:00
Andrew McMillan
e996032425 Don't include the Wiki! 2006-12-03 23:58:26 +13:00
Andrew McMillan
3195983c01 We need to have both a 'timeout' field and a 'start' field, since the
counter gets reset (potentially).
2006-12-03 23:36:52 +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
ba92bbed18 Correct some field types. 2006-12-03 23:14:29 +13:00
Andrew McMillan
23b00adb22 First cut adding DB support for locks. 2006-12-03 23:09:56 +13:00
Andrew McMillan
d1da6c2efb New release. 2006-12-03 18:55:36 +13:00
Andrew McMillan
22eeabcdd2 Work without register_globals. 2006-12-03 17:58:35 +13:00
Andrew McMillan
8d9099b076 More E_NOTICE fixing. 2006-12-03 17:21:46 +13:00
Andrew McMillan
1c16a45e3a Remove another E_NOTICE warning. 2006-12-03 17:05:31 +13:00
Andrew McMillan
9322e84ac6 Updated results following last fix. 2006-12-02 11:57:52 +13:00
Andrew McMillan
bd6bee3744 Correct reference to displayname field. 2006-12-02 11:56:39 +13:00