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

All modified and coverable lines are covered by tests ✅

Project coverage is 97.11%. Comparing base (b903eee) to head (b52596e).
Report is 190 commits behind head on master.

Additional details and impacted files
@@             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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant