fix for $c->hide_TODO processing and user-agent extension
commitc2b6be3b65ca94a742045577856a14f37b94b870
authorJán Máté <jan.mate@inf-it.com>
Fri, 20 Sep 2013 11:18:55 +0000 (20 23:18 +1200)
committerAndrew McMillan <andrew@morphoss.com>
Thu, 24 Oct 2013 23:16:27 +0000 (25 12:16 +1300)
treedfa4611c1f076d7bd2c66ee0033fd8c3c2c3867d
parent16f617b63793591979d1460c6a8b3bb8983e0cc8
fix for $c->hide_TODO processing and user-agent extension

new option: if set to PHP regex string then hide_TODO is enabled if the client
user-agent string matches the regex for example:
    $c->hide_TODO='#^iOS.*dataaccessd.*#';
will hide all todos from non-owner/non-admin users for iOS devices
inc/caldav-PROPFIND.php
inc/caldav-REPORT-calquery.php
inc/caldav-REPORT-multiget.php
inc/caldav-REPORT-sync-collection.php