Andrew McMillan
|
12035ab7e5
|
Actually retrieve the collection_id correctly, and document it too.
|
2008-01-26 22:30:31 +13:00 |
|
Andrew McMillan
|
fd007a4ca7
|
Get the collection_id into the request variable.
|
2008-01-26 21:59:02 +13:00 |
|
Andrew McMillan
|
2cacc8aa1c
|
Almost entirely switched to root-relative URLs now.
|
2007-11-25 13:31:35 +13:00 |
|
Andrew McMillan
|
6d3a0abd4c
|
Write & use utility function for URL construction.
|
2007-11-25 12:57:54 +13:00 |
|
Andrew McMillan
|
522852d4f5
|
Ensure that mkcalendar will fail at / or /username/ locations.
|
2007-11-24 23:39:56 +13:00 |
|
Andrew McMillan
|
3f5b2ae67a
|
Another attempt at resolving the URI vs. path issue. See RFC4918, 8.3
|
2007-11-05 22:29:34 +13:00 |
|
Andrew McMillan
|
4d0dc4fe78
|
Add the user-agent string into the request object.
|
2007-11-04 12:14:26 +13:00 |
|
Andrew McMillan
|
adc44b0e39
|
Handle the null path case.
|
2007-11-03 20:45:54 +13:00 |
|
Andrew McMillan
|
ee1ea4c950
|
Refactoring of the principal into an object class.
|
2007-11-03 10:14:05 +13:00 |
|
Andrew McMillan
|
5ad40f969a
|
Change the CALENDAR-HOME-SET property to be the parent of any calendars.
|
2007-10-30 10:22:33 +13:00 |
|
Andrew McMillan
|
48dc44eba7
|
Fleshing out the 'principal' object slightly.
|
2007-10-29 18:14:52 +13:00 |
|
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 |
|