1815 Commits

Author SHA1 Message Date
Andrew McMillan
66de7f8a9a Update the sync changes for deletion of a calendar. 2010-02-03 11:54:49 -08:00
Andrew McMillan
5384d175e9 Well, it seems webdav-sync needs to change to always report delete.
This will become part of the spec in the next revision.
2010-02-03 10:40:05 -08:00
Andrew McMillan
0b9cdd593b Another fix for the webdav-sync to collapse create/delete properly. 2010-02-03 09:57:20 -08:00
Andrew McMillan
5fac9850db We should be getting the sync_changes data last.
This is so we get dav_name correct for delete actions, which
will otherwise be null since there is no caldav_data or
calendar_item record for them any longer.
2010-02-03 09:04:40 -08:00
Andrew McMillan
580d5312c3 Remove misguided include logic. 2010-02-02 13:30:30 +13:00
Andrew McMillan
59fb253db3 Editor widget class has been moved into AWL. 2010-02-02 13:29:53 +13:00
Andrew McMillan
3215016c14 Fix up the javascript around enabling fields when calendar/addressbook. 2010-01-31 16:35:40 +13:00
Andrew McMillan
1dbc3b185b Move version display to setup.php and do basic dependency checks. 2010-01-31 16:35:08 +13:00
Andrew McMillan
85a06399d8 Allow config files to be under /usr/local 2010-01-28 09:41:33 +13:00
Andrew McMillan
caf90b4241 We don't need to reference a $action . '.js' file. 2010-01-11 22:05:05 +13:00
Andrew McMillan
5e35e50252 Create a default calendar when a User or Resource principal is created. 2010-01-11 21:45:33 +13:00
Andrew McMillan
a55bb84057 Add a utility IsCreate() method opposite to IsUpdate(). 2010-01-11 10:16:07 +13:00
Andrew McMillan
bbbe16aebd More stuff we need to do... 2010-01-11 10:15:47 +13:00
Andrew McMillan
1dccbb9ccc Try and reduce the odds of an extra quote in the password. 2010-01-11 10:14:50 +13:00
Andrew McMillan
d718e818dc Basic support for the ACL method. Working, but needs work. 2009-12-28 23:40:13 +13:00
Andrew McMillan
645d7b71bb Improve logging of parameterised queries. 2009-12-28 23:38:43 +13:00
Andrew McMillan
023e4db443 DAV::owner should be wrapped with DAV::property in DAV::ace response. 2009-12-28 13:17:48 +13:00
Andrew McMillan
678b00a927 Return 406 Not Acceptable for invalid XML request. 2009-12-28 13:17:02 +13:00
Andrew McMillan
28214a7db8 Refactor principal-property-search REPORT. 2009-12-28 00:27:18 +13:00
Andrew McMillan
2a99d12275 Use calendar-user-address-set for search rather than CS extension. 2009-12-28 00:26:23 +13:00
Andrew McMillan
8f87ef4ff9 Move DAVResource inclusion to REPORT wrapper. 2009-12-28 00:25:31 +13:00
Andrew McMillan
cb8cd84d81 Comment out debugging messages for peformance. 2009-12-28 00:23:48 +13:00
Andrew McMillan
baf629e272 Fix problems with logging of failed queries. 2009-12-28 00:23:25 +13:00
Andrew McMillan
4fc13bcb6f Add pass-through for PDO ErrorInfo() method. 2009-12-28 00:23:07 +13:00
Andrew McMillan
583cd5e1f2 New regression tests and updated results. 2009-12-28 00:22:38 +13:00
Andrew McMillan
6269980fd5 Add support for principal-search-property-set REPORT per RFC3744 2009-12-27 23:29:57 +13:00
Andrew McMillan
45e1222a9d Refactor the construction of DAV::acl and report owner acl 2009-12-27 23:28:40 +13:00
Andrew McMillan
8b5b4b861d Current regression test results. 2009-12-27 14:18:51 +13:00
Andrew McMillan
ddb45c8158 Move MKCOL/MKCALENDAR to NeedPrivilege() 2009-12-27 14:17:25 +13:00
Andrew McMillan
1457f6066b Correct log facility. 2009-12-27 14:16:55 +13:00
Andrew McMillan
38d1d430a5 Strip redundant code from CalDAVRequest 2009-12-27 14:16:09 +13:00
Andrew McMillan
5055d28c07 Revert misguided namespacing change on Not Found properties. 2009-12-27 14:15:04 +13:00
Andrew McMillan
e742238e9a Move response for supported-lock and supported-privilege-set into DAVResource.php 2009-12-27 14:14:06 +13:00
Andrew McMillan
5e4bfe1053 Fix logic for calculating by_email 2009-12-27 14:10:48 +13:00
Andrew McMillan
1a0f6984f9 New style privilege checking. 2009-12-27 09:47:26 +13:00
Andrew McMillan
4e535a8dee Switch to NeedPrivilege() method for checking privileges. 2009-12-27 09:46:51 +13:00
Andrew McMillan
d7c004c85f Switch privileges to use the new model. 2009-12-27 09:44:45 +13:00
Andrew McMillan
67c8be1f2a Reply to denied/notfound properties with a namespace-aliased response. 2009-12-26 13:27:55 +13:00
Andrew McMillan
f33de018f3 Deny visibility of DAV::current-user-principal-set and DAV::acl as appropriate. 2009-12-26 12:37:02 +13:00
Andrew McMillan
c7c5c1d784 Ensure privileges are in decimal form. 2009-12-26 12:36:26 +13:00
Andrew McMillan
ee45ccbd1e Fix implementation of need-privileges. 2009-12-26 11:52:44 +13:00
Andrew McMillan
f580d5ba47 Ensure privileges is binary rather than string. 2009-12-26 11:51:57 +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
e0e5887762 Implementation of inherited-acl-set property. 2009-12-26 10:43:35 +13:00
Andrew McMillan
e65cb79f24 Updated regression results with acl support. 2009-12-26 00:27:56 +13:00
Andrew McMillan
bbb8c4b3e5 A couple more TODO items. 2009-12-26 00:21:15 +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
3bf0c6341e Fix the administration overview page to reflect the new permissions. 2009-12-26 00:16:34 +13:00