Commit graph

39 commits

Author SHA1 Message Date
52c8cfc21b add alias for DATATYPE_NONNEGATIVE_INTEGER 2022-04-11 15:02:49 +02:00
acb32ab84d minor fixes 2022-04-11 14:53:38 +02:00
d3eb42cd90 more types 2022-04-08 17:49:15 +02:00
721b8825d8 comment 2022-04-08 17:33:30 +02:00
4d51484de3 fmt 2022-04-08 17:28:32 +02:00
3d85afde98 psalm fixes 2022-04-08 17:26:19 +02:00
Carl Schwan
9c1e52272c Allow preloading of properties in one go
Make it possible to not be affected by a N+1 issue when doing a search

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-08 16:17:25 +02:00
c69806d900 fix scrutinizer type warning 2020-02-06 14:56:26 +01:00
Daniel Kesselberg
1ee911ba45 Add test case for !$reader->read then break 2019-11-06 17:01:22 +01:00
5ba2a3cc31 add some type hinting 2019-11-06 14:33:04 +01:00
7174c02348 fix test 2019-11-06 14:15:26 +01:00
Naofumi
c880b7edcd Don't call readText() in an empty element, otherwise
all the subsequent elements are exhausted.
2019-11-06 14:08:56 +01:00
Naofumi
faf4ef87fd Fix a possible infinite loop. 2019-11-06 14:03:40 +01:00
a469e21c43
Merge pull request #8 from kesselb/fix/undefined-index
Prevent "Undefined index: 0" for where condition
2019-11-04 10:09:57 +00:00
Daniel Kesselberg
f9b08747fc Fix Undefined offset: 0 2019-11-03 15:38:25 +01:00
Daniel Kesselberg
bef5795c98 Fix parsing of {DAV:}contains element 2019-11-03 11:43:54 +01:00
aeb7610589 "where" is optional 2019-02-20 18:03:32 +01:00
e8cf5e7644 strict typing and php 7.1 2019-02-20 18:03:32 +01:00
Scrutinizer Auto-Fixer
6d421fc4ec Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2018-03-22 16:04:24 +00:00
Roeland Jago Douma
a292d9402a
No need to error out if the propery can't be found
Just don't search for it if it is not allowed. But we can still
continue. Webdav will give a 404 if it can't be found later anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-22 16:50:59 +01:00
5ad4d24b89 Seperate query classes from xml classes to allow specifying more information in the query 2018-01-25 15:01:11 +01:00
82bcf2cebb Add some more phpdoc typings 2018-01-25 14:53:53 +01:00
3071937c64 fix descending sort order 2017-03-15 14:21:40 +01:00
Scrutinizer Auto-Fixer
0c0f05416b Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-03-10 15:03:32 +00:00
0924fa90e0 add limit and offset 2017-03-10 15:56:19 +01:00
5c2a3f1b02 add more tests 2017-02-22 18:14:08 +01:00
1e7efdd48b code splitting 2017-02-22 17:42:04 +01:00
695bb7c694 test search with invalid queries 2017-02-22 17:05:38 +01:00
b42b650266 more tests 2017-02-22 16:43:46 +01:00
50b56db31b use the correct interface for search result 2017-02-02 18:13:03 +01:00
dd4eec1ea0 fix operator typos 2017-02-02 18:12:16 +01:00
7621e3d43d add path to all scopes 2017-02-02 18:09:53 +01:00
45abab62f8 add is-collection as valid operator 2017-02-02 18:09:11 +01:00
c167b43739 support parsing empty operators 2017-02-02 18:08:59 +01:00
afad148a4f fix using paths as scopes 2017-02-01 16:06:39 +01:00
5a91adc1a5 fix invalid scope response 2017-02-01 16:03:43 +01:00
5f6b358839 add query parser tests 2017-02-01 15:13:29 +01:00
3f23e989f0 Documentation 2017-02-01 14:56:25 +01:00
88db2ae6c1 initial working version
supports grammar discovery, schema discovery and search
2017-02-01 14:14:37 +01:00