Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiget addressdata filter #1310

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mstilkerich
Copy link
Contributor

Support filtering returned address object properties in multiget report

Analog to addressbook-query report, multiget also supports returning only partial address objects. This can be useful to carddav clients to have fast syncs by excluding large properties like PHOTO and fetching those only when needed.

According to RFC 4918, there is two types of response elements:

Type 1 contains one or more href and one status child elements.

Type 2 contains one href and one or more propstat child elements.

Both types may contain further optional elements.

For Type 1, sabre/dav inserts a spurious propstat element, which
violated the element definition by RFC 4918.
Analog to addressbook-query report, multiget also supports returning
only partial address objects. This can be useful to carddav clients to
have fast syncs by excluding large properties like PHOTO and fetching
those only when needed.
@codecov
Copy link

codecov bot commented Nov 21, 2020

Codecov Report

Merging #1310 (b52596e) into master (b903eee) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1310      +/-   ##
============================================
- Coverage     97.14%   97.11%   -0.03%     
  Complexity     2793     2793              
============================================
  Files           174      174              
  Lines          8119     8121       +2     
============================================
  Hits           7887     7887              
- Misses          232      234       +2     
Impacted Files Coverage Δ Complexity Δ
lib/CardDAV/Plugin.php 96.94% <100.00%> (+<0.01%) 124.00 <0.00> (ø)
lib/DAV/Xml/Element/Response.php 97.05% <100.00%> (-2.95%) 22.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b903eee...b52596e. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant