3013 Commits

Author SHA1 Message Date
Andrew McMillan
c8cde4c3da Final fix to status code response. Add a debug flag to limit output. 2012-04-05 14:34:43 +12:00
Andrew McMillan
c6b95bc3f6 Do a bit_or() among multiple privilege settings. 2012-04-05 13:22:47 +12:00
Andrew McMillan
9ff16853b2 Properly calculate response code. 2012-04-04 23:15:22 +12:00
Andrew McMillan
b3c2c9db3c Extract HTTP response code for DELETE. Delete unused attribute, mark
httpResponseHeaders / httpResponseBody as protected.
2012-04-04 23:12:46 +12:00
Andrew McMillan
cfbb0bd6f3 Fix default URL for FindPrincipal() ensure If-Match etag is quoted. 2012-04-04 22:59:28 +12:00
Andrew McMillan
200b3a08dd Refactor checking of If-*-Match headers into a single place.
This also exposes and fixes a bug in PUT vcard where If-None-Match: "*"
was not being correctly processed.
2012-04-04 16:20:41 +12:00
Andrew McMillan
ea874375b6 Add phpdoc for the last change. 2012-04-04 12:11:28 +12:00
Andrew McMillan
2542d351cb A better way of achieving that last commit is to add a third parameter. 2012-04-04 12:06:17 +12:00
Andrew McMillan
631dbc67c3 Add a GetTodoByUid( $uid, $relative_url = '') method. 2012-04-04 12:04:37 +12:00
Andrew McMillan
f68823a5b2 Get rid of potential warning on early use of date() 2012-03-22 15:00:29 +13:00
Andrew McMillan
739d024305 Further regression test results changes from the caldav-proxy header. 2012-03-22 14:56:02 +13:00
Andrew McMillan
de0a010db7 As a result of some changes to when sync tokens first get created. 2012-03-22 14:15:49 +13:00
Andrew McMillan
6e02c08c44 Basic support for RFC5995 - Using POST to add collection members. 2012-03-22 14:10:43 +13:00
Andrew McMillan
f401bfcd9e A couple of common iCal4/iCal5 PROPFIND requests. 2012-03-22 14:09:28 +13:00
Andrew McMillan
81072fc8ed Better privilege checking on POST scheduling actions. 2012-03-22 14:08:59 +13:00
Andrew McMillan
09d8447951 Minor change to freebusy report test. 2012-03-22 14:05:34 +13:00
Andrew McMillan
ac6d040bd8 Fix a bug in GET on collections. 2012-03-22 14:05:06 +13:00
Andrew McMillan
dade978eb6 Slight header changes as a result of caldav proxy changes. 2012-03-22 13:55:03 +13:00
Andrew McMillan
f55f8fbee3 Allow complete disabling of handling for Apple's old calendar-proxy.
We'll make this a default behaviour after 2012 is over and remove it
sometime after that.
2012-03-22 13:52:20 +13:00
Andrew McMillan
946e0719ef Changes to Depth handling. 2012-03-22 13:47:11 +13:00
Andrew McMillan
85017681d0 More comprehensive fix for collections where sync_token does not compute. 2012-03-19 12:33:45 +13:00
Andrew McMillan
f32ec4b704 Don't try and produce a sync_token for the root collection. 2012-03-19 12:31:54 +13:00
Andrew McMillan
2c40db7d7e Fix reference to collection->dav_name. 2012-03-19 12:23:12 +13:00
Andrew McMillan
dfb82f9c81 Principals don't (yet) have a sync-token. 2012-03-17 21:49:28 +13:00
Andrew McMillan
a96c609cb4 We should respond with sync-token if PROPFIND asks too. 2012-03-17 21:33:41 +13:00
Andrew McMillan
34cff0d299 Fix resource fetch from database. 2012-03-17 21:33:16 +13:00
Andrew McMillan
655f34aa27 Correct HTTP date formatting function. 2012-03-16 16:44:59 +13:00
Andrew McMillan
863b4ac87f Remove chance of unset variable warning. 2012-03-16 12:57:56 +13:00
Andrew McMillan
6c5f5157d6 Don't log 401 response since it's so frequent.
Also add a basic status/method/uri in front of each logged error.
2012-03-13 08:33:08 +13:00
Rob Ostensen
574aaf4465 Add the ability to override dns for iSchedule using a global variable $icfg 2012-03-12 16:35:53 +13:00
Andrew McMillan
092cef63ca A more robust way of checking empty. 2012-03-12 14:55:52 +13:00
Rob Ostensen
14c695c45a Fix typo in last commit 2012-03-12 14:54:38 +13:00
Rob Ostensen
6ee0df101e Skip empty domains in iSchedule setup page 2012-03-12 14:54:31 +13:00
Andrew McMillan
f47ad7b669 Allow dav_test to be used against random SSL certs. 2012-03-12 13:20:33 +13:00
Andrew McMillan
0153070bea Updated test results. 2012-03-12 13:19:41 +13:00
Andrew McMillan
af6cbc335a Fix reference to $domain should be $this->domain. 2012-03-12 13:18:28 +13:00
Andrew McMillan
8ccf9df1e6 Updated translations. 2012-03-12 13:18:03 +13:00
Andrew McMillan
e4d77756e6 Add $c->auto_refresh_duration option to set a auto refresh on any GET calendar. 2012-03-12 13:02:49 +13:00
Andrew McMillan
8d4dfb5d91 Handle HTTP date formatting for non-english locales (force English names). 2012-03-12 13:02:11 +13:00
Andrew McMillan
a6d6dfc8b8 Silence the warning if this is not initialised. 2012-03-12 13:00:41 +13:00
Rob Ostensen
ff006ce319 verify required headers are signed 2012-03-12 12:38:49 +13:00
Rob Ostensen
db57e81b8d add disallowed header check and some comments 2012-03-12 12:38:42 +13:00
Rob Ostensen
e7afaef931 fix a few external BIND import bugs 2012-03-12 12:38:22 +13:00
Andrew McMillan
70bca47b3d iSchedule administration helper.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2012-03-11 12:14:55 +13:00
Andrew McMillan
a01f7c8025 Correct error response. 2012-03-02 08:58:58 +13:00
Andrew McMillan
36a66597cd Ordering changes. 2012-03-02 08:58:29 +13:00
Andrew McMillan
1d1b104dfa Changed default Depth for PROPFIND. 2012-03-02 08:57:54 +13:00
Andrew McMillan
70222291c7 Formatting changes. 2012-03-02 08:57:38 +13:00
Andrew McMillan
69999da862 Changes due to responding that VPOLL/VAVAILABILITY are OK. 2012-03-02 08:56:24 +13:00
Andrew McMillan
df9a8a8911 Avoid variable not assigned warning. 2012-03-02 08:55:09 +13:00