Andrew McMillan
|
9bb9141f56
|
Introduce a rudimentary 'principal' attribute to the request object.
|
2007-10-26 21:11:19 +13:00 |
|
Andrew McMillan
|
d8c30893fa
|
Fix permissions for RW access.
|
2007-10-17 10:09:52 +13:00 |
|
Andrew McMillan
|
cc83551a32
|
Refactoring for clarity based on a suggested patch by Maxime Delorme.
|
2007-08-09 14:37:28 +12:00 |
|
Andrew McMillan
|
9fc998ba9c
|
Change content-type for consistency.
|
2007-08-07 20:42:07 +12:00 |
|
Andrew McMillan
|
f0445ed93f
|
Correct syntax of error response for unprocessable requests.
|
2007-08-05 22:51:04 +12:00 |
|
Andrew McMillan
|
c36874ea14
|
Per RFC2518 the Depth header should have varying default values.
|
2007-07-31 07:40:06 +12:00 |
|
Andrew McMillan
|
b6b519468d
|
Fix cut and paste error.
|
2007-06-06 07:48:37 +12:00 |
|
Andrew McMillan
|
7e05f4221e
|
Switch error response to use XMLResponse
|
2007-06-04 23:40:11 +12:00 |
|
Andrew McMillan
|
902219d154
|
Refactoring to simplify XMLResponse output.
|
2007-06-04 23:36:25 +12:00 |
|
Maxime Delorme
|
b277b87f8a
|
Use new function to give status message, rather than large case statement.
|
2007-05-30 23:40:09 +12:00 |
|
Andrew McMillan
|
193c509663
|
Handle freebusy permissions.
|
2007-05-30 11:16:28 +12:00 |
|
Maxime Delorme
|
c4c069a2cb
|
Correct object generating response.
|
2007-05-29 23:04:50 +12:00 |
|
Andrew McMillan
|
ef6785f31e
|
No need to use preg_split here, since PHP has already cleaned any paired
slashes down to singletons.
|
2007-04-30 07:45:04 +12:00 |
|
Andrew McMillan
|
1740c66491
|
Test whether a URL without a trailing '/' is actually a collection.
|
2007-03-19 12:10:03 +12:00 |
|
Andrew McMillan
|
9a15ec0e15
|
Only indicate that it is truncated if we actually did truncate it!
|
2006-12-28 13:09:48 +13:00 |
|
Andrew McMillan
|
89bae63b1c
|
Indicate the message has been truncated when we log it.
|
2006-12-28 13:08:41 +13:00 |
|
Andrew McMillan
|
2a5ed9d45a
|
Allow for user URL to be specified by email address.
|
2006-12-22 07:51:47 +13:00 |
|
Andrew McMillan
|
076b480d90
|
Ensure the header is quiet even when we output something early.
|
2006-12-21 00:59:39 +13:00 |
|
Andrew McMillan
|
f1e3d97cfa
|
FreeBusy report now working, but without expanding RRULE at this point.
|
2006-12-11 20:01:07 +13:00 |
|
Andrew McMillan
|
bc1ce6ba6a
|
Remove debugging output, which was in the wrong place.
|
2006-12-11 19:43:02 +13:00 |
|
Andrew McMillan
|
77117734e7
|
Useful element for building regex matching a path + depth.
|
2006-12-11 19:16:01 +13:00 |
|
Andrew McMillan
|
189813854d
|
Working towards a more complete privileges model.
|
2006-12-11 14:48:39 +13:00 |
|
Andrew McMillan
|
7f9653c783
|
Reinstate ability to add calendars/collections if you have 'write' privilege,
although this seems to be not strictly correct.
|
2006-12-11 10:56:06 +13:00 |
|
Andrew McMillan
|
4ceb546253
|
New function to allow us to identify that this is a principal.
|
2006-12-11 10:17:11 +13:00 |
|
Andrew McMillan
|
0d3f62c66c
|
Correct some permissions for MKCALENDAR.
|
2006-12-11 09:31:35 +13:00 |
|
Andrew McMillan
|
9904914d5a
|
Don't attempt to parse the input as XML unless an XML header was explicitly
sent.
|
2006-12-10 21:12:28 +13:00 |
|
Andrew McMillan
|
380d980dc2
|
Ensure user_no on request is always valid.
|
2006-12-10 15:25:36 +13:00 |
|
Andrew McMillan
|
8edb7a6b9d
|
Might as well do the if statement in there as well.
|
2006-12-09 21:53:39 +13:00 |
|
Andrew McMillan
|
d0e9ade678
|
Er. And should be more working-ish now.
|
2006-12-09 15:55:16 +13:00 |
|
Andrew McMillan
|
03f5d6c0cc
|
Add a function to call when we encounter an unsupported something in a request.
|
2006-12-09 15:54:03 +13:00 |
|
Andrew McMillan
|
424f8830ef
|
Add status 422.
|
2006-12-09 15:35:29 +13:00 |
|
Andrew McMillan
|
a786dc0610
|
We need XMLElement to deliver error reports about locks.
|
2006-12-08 16:05:08 +13:00 |
|
Andrew McMillan
|
384d080a6d
|
Fix response document structure. Return status 207 if we are returning a
potentially multstatus response document.
|
2006-12-07 00:17:27 +13:00 |
|
Andrew McMillan
|
90ae126bd8
|
Another cut and paste error. Thank $%*&^ for regression tests :-)
|
2006-12-07 00:10:01 +13:00 |
|
Andrew McMillan
|
bab1820045
|
Fix typo.
|
2006-12-07 00:09:05 +13:00 |
|
Andrew McMillan
|
a8f6660da7
|
Improve comments.
|
2006-12-06 23:21:41 +13:00 |
|
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
|
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
|
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
|
77066997af
|
Add an IsCollection() test to the request.
|
2006-12-04 12:56:02 +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
|
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
|
bfb93a06a9
|
Send an "X-RSCDS-Version" header in our response to assist with debugging.
|
2006-11-30 18:37:50 +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 |
|