17 Commits

Author SHA1 Message Date
Andrew Ruthven
8f5a1d2bcc Another fix for PHP 8.1 2022-02-13 01:34:55 +13:00
Florian Schlichting
b4f8f5a6c1 cardquery: ensure restriction to target collection remains in force even when we find that we need a post_filter step and thus throw away the SQL
this ensures a sane (but still wrong) result for
carddav/2051-REPORT-carddavclient-ParamNotDefinedSome
2021-02-05 02:01:09 +08:00
Florian Schlichting
10bb69d0a0 Card search invalid when negate-condition="no" (fixes #126)
Thanks Bart Vullings for reporting the bug and providing a fix!
2017-09-20 16:15:58 +02:00
Florian Schlichting
a16dfc7c41 cardquery: query limit can be used independently of any query filter 2017-04-24 22:31:32 +02:00
Florian Schlichting
76e540fb0a cardquery: typo, ends-with has wildcard in front 2017-04-24 22:30:53 +02:00
Florian Schlichting
29e2dbfe92 cardquery: a prop-filter without an actual filter rule means we simply need to ensure the property exists
This guards against a crash when calling ->GetNSTag() on a non-object.

This may need to be refined in case we could be dealing with something
that's not a prop-filter.
2017-04-24 22:25:18 +02:00
Florian Schlichting
404d9ab449 fix remaining apigen errors (duplicate function names etc) 2016-12-30 08:54:24 +01:00
Andrew McMillan
aafd81ffd7 Remove array slice reference on method return value.
Eclipse complained about the syntax, and since it was the only complaint
it had I thought it worth dealing with :-)
2016-06-22 23:24:44 +01:00
“Paul
ba5c7e90e1 CardDAV Query Report 2014-06-23 21:35:47 +02:00
Christoph Anton Mitterer
8e60bb3124 set line endings of most text files to LF
* Changed the end-of-line encodings of all non-Windows-related and non-autogenerated text files to use UNIX LF (lots of them had mixed LF/CRLF).

Conflicts:
	inc/caldav-PUT-functions.php
2013-09-02 14:37:23 +12:00
fbiete@gmail.com
b97ec56851 CardDAV support for search contains, starts-with, ends-with, equals 2013-09-02 14:27:20 +12:00
Andrew McMillan
c581e3a0f2 address book queries are only valid on addressbooks. 2012-07-09 01:16:49 +12:00
Andrew McMillan
d88e1ca007 Fix support for missing <prop> or <allprop/> on multiget/query reports. 2012-07-08 11:58:42 +12:00
Andrew McMillan
155c70bba5 Changes to the way XML is created, and (to a lesser extent) parsed. 2012-05-03 19:11:28 +12:00
Andrew McMillan
acc6c719f7 Simple changes for new XML processing. 2012-04-30 14:13:03 +12:00
Andrew McMillan
b3c873d2bb Correct handling of empty CardDAV:address-data element in request. 2011-11-02 10:15:32 +13:00
Andrew McMillan
f0f708ec38 Add initial support for addressbook-query REPORT. 2010-08-28 22:17:06 +12:00