Andrew McMillan
4380fb12c9
Hide authorization headers in logging.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-11-30 12:36:40 +13:00
Andrew McMillan
89f28302dd
Leave the quotes around the ETag we receive for comparison.
2010-09-25 22:07:21 +12:00
Andrew McMillan
7ab8a3a3bb
Uncomment the addressbook-query report.
2010-09-14 13:51:28 +12:00
Andrew McMillan
a38c0e33cb
Comments only.
2010-08-30 16:59:52 +12:00
Andrew McMillan
64f20edaab
Coerce the content-type on PUT.
...
It seems that failing to correctly set the content-type header
on PUT is a common error.
2010-08-29 13:01:56 +12:00
Andrew McMillan
766e825f99
Forece content-type in some circumstances.
...
If the method is REPORT or PROPFIND it won't be valid if they
didn't send XML, so assume they did, with a warning.
Otherwise, if the content-type is XML, but they sent less than
7 bytes, assume that it has no content-type.
2010-06-28 08:39:39 +12:00
Andrew McMillan
8f22d87a82
Fix if_addressbook for /
2010-05-12 22:12:43 +12:00
Andrew McMillan
8223e2e9f7
Replace deprecated split() calls.
2010-04-26 19:46:23 +12:00
Andrew McMillan
0718aa5352
Log the response regardless, if it is status 400 or greater.
2010-04-19 23:28:13 +12:00
Andrew McMillan
860a3098ea
Add some statistical logging for script/database execution times.
2010-03-30 10:43:22 +13:00
Andrew McMillan
a2c3c4a620
Add support for arbitray text objects in collections.
2010-03-29 22:38:45 +13:00
Andrew McMillan
fdfb20b14b
Remove any expired locks before testing if a lock is active.
2010-03-29 12:37:58 +13:00
Andrew McMillan
88c57486d9
Load the content_type into an internal variable.
2010-03-29 12:37:32 +13:00
Andrew McMillan
83e0324d96
Provide a more useful error output on an XML parser failure.
2010-03-20 01:04:30 +13:00
Andrew McMillan
0a1b3c2d59
All regression tests passing again with BIND for PROPFIND.
2010-03-14 12:16:12 +13:00
Andrew McMillan
f78655e952
Fixing up various minor regressions after restructuring PROPFIND.
2010-03-14 01:48:55 +13:00
Andrew McMillan
92355af6f6
Fix incorrect reference in PreconditionFailed() method.
2010-03-14 00:21:43 +13:00
Andrew McMillan
31e766c368
Migrate CalDAVRequest to AwlQuery.
2010-03-12 09:47:01 +13:00
Andrew McMillan
606e7d6338
Move PreconditionFailed and MalformedRequest into $request methods.
2010-03-07 20:58:31 +13:00
Andrew McMillan
c6745c97b0
Tickets now working for PROPFIND requests, and maybe more...
2010-03-06 23:30:12 +13:00
Andrew McMillan
3320ec9a17
Start adding ticket support into request processing.
2010-03-06 00:22:09 +13:00
Andrew McMillan
1e717bf1fe
Check we have actually got an XML body if we got a content-type XML.
2010-03-05 12:25:09 +13:00
Andrew McMillan
544a3949fc
Minor formatting tweak.
2010-02-24 16:25:50 +13:00
Andrew McMillan
38d1d430a5
Strip redundant code from CalDAVRequest
2009-12-27 14:16:09 +13:00
Andrew McMillan
d7c004c85f
Switch privileges to use the new model.
2009-12-27 09:44:45 +13:00
Andrew McMillan
ee45ccbd1e
Fix implementation of need-privileges.
2009-12-26 11:52:44 +13:00
Andrew McMillan
9eb76822ce
Fix cut and paste error.
2009-12-26 11:23:30 +13:00
Andrew McMillan
ebbec96269
Add NeedPrivilege() method to DAVResource and simplify request method.
2009-12-26 11:19:21 +13:00
Andrew McMillan
fe2db77266
Add a NeedPrivilege($href,$privilege) to build an error response.
2009-12-26 00:18:46 +13:00
Andrew McMillan
b76a9a6059
Make the supported-privilege-set response to match the new privileges.
2009-12-26 00:17:59 +13:00
Andrew McMillan
b15b589b90
Correct response to supported-report-set property.
2009-12-24 21:37:29 +13:00
Andrew McMillan
3cb5a13acd
Advertise support for ACL method.
2009-12-23 23:32:35 +13:00
Andrew McMillan
9ecc95399b
Force function parameter types for older PostgreSQL versions.
2009-12-21 22:18:54 +13:00
Andrew McMillan
19199d5f86
Replaced the old get_permissions() call with the new permissions model.
2009-12-21 13:04:25 +13:00
Andrew McMillan
8008dc3943
Add support for the X-HTTP-Method-Override header.
2009-11-23 15:14:45 +13:00
Andrew McMillan
dcb56e1696
Correct supported-report-set output.
2009-11-15 10:03:47 +13:00
Andrew McMillan
cfa9b42c1d
Add expand-property report to the supported reports.
2009-11-14 17:36:47 +13:00
Andrew McMillan
865a2e499c
Various changes preparing to switch PROPFIND implementation.
2009-11-12 00:39:18 +13:00
Andrew McMillan
a23ab2cf54
Add MOVE to the supported method set.
2009-11-04 08:51:44 +13:00
Andrew McMillan
3df6ccc4ba
Getting 'MOVE' working has proven surprisingly complex.
2009-11-04 00:17:10 +13:00
Andrew McMillan
9d23250593
Add a dav_name() accessor for forward compatibility.
2009-11-02 22:21:02 +13:00
Andrew McMillan
b0b93fff28
Notify support for the DAV::sync-collection report
2009-11-02 22:20:20 +13:00
Andrew McMillan
532f06f981
Tweaking response to supported-methods
2009-11-02 11:47:09 +13:00
Andrew McMillan
1bfaca1d09
Finish support for supported-method/report-set & rename functions.
2009-11-02 10:04:28 +13:00
Andrew McMillan
4f885d055c
Implementations of supported-report-set and supported-method-set.
2009-10-28 18:42:21 +13:00
Andrew McMillan
aea53f9da6
Change calculation of $this->overwrite to be a boolean.
2009-10-27 09:15:15 +13:00
Andrew McMillan
d70fd0fbd2
Create schedulei(in|out)box with correct resourcetypes.
2009-10-16 13:03:06 +13:00
Andrew McMillan
2ab1e94ecb
Fix checking of IsCalendar and add IsAddressBook method as well.
2009-10-15 23:13:07 +13:00
Andrew McMillan
24a8971080
Initial support for draft-daboo-webdav-sync-01
2009-10-13 21:29:40 +13:00
Andrew McMillan
72452512a1
Fix garbage typos accidentally committed!
2009-10-11 15:02:11 -07:00