4644
|
|
|
Bileto Bot |
1.5.1+16.10.20160820-0ubuntu1 |
7 years ago
|
|
|
4643
|
|
|
Bileto Bot |
|
7 years ago
|
|
|
4642
|
|
|
Bileto Bot |
1.5.1+16.10.20160706-0ubuntu1 |
7 years ago
|
|
|
4641
|
|
|
Bileto Bot |
|
7 years ago
|
|
|
4640
|
|
|
Ken VanDine |
|
7 years ago
|
|
|
4639
|
|
|
Ken VanDine |
|
7 years ago
|
|
|
4638
|
|
|
Patrick Ohly |
|
8 years ago
|
|
|
4637
|
|
|
Patrick Ohly |
|
8 years ago
|
|
|
4636
|
|
|
Patrick Ohly |
|
8 years ago
|
|
|
4635
|
|
|
Patrick Ohly |
|
8 years ago
|
|
|
4634
|
|
|
Niels Ole Salscheide... |
|
9 years ago
|
|
|
4633
|
|
|
Patrick Ohly |
|
9 years ago
|
|
|
4632
|
|
|
Patrick Ohly |
|
9 years ago
|
|
|
4631
|
|
|
Alberto Mardegan |
|
9 years ago
|
|
|
4630
|
|
|
Alberto Mardegan |
|
9 years ago
|
|
|
4629
|
|
|
Alberto Mardegan |
|
9 years ago
|
|
|
4628
|
|
|
Alberto Mardegan |
|
9 years ago
|
|
|
4627
|
|
|
Alberto Mardegan |
|
9 years ago
|
|
|
4626
|
|
CalDAV: more efficient "is empty" check (FDO #86335)
Since 1.4.99.4, syncing WebDAV collections always checks first whether there are items in the collections. This was partly done for slow sync prevention (which is not necessary for empty collections), partly for the "is the datastore usable" check.
However, this did not take into account that for CalDAV collections, the entire content gets downloaded for this check. That is because filtering by item type (VEVENT vs. VJOURNAL) is not implemented correctly by all servers. So now all CalDAV syncs, whether incremental or slow, always transfered all items, which is not the intention (incremental syncs should be fast and efficient).
This commit adds a more efficient isEmpty() check: for simple CardDAV collections, only luid and etag get transferred, as in listAllItems(). This is the behavior from 1.5.
For CalDAV, a report with a filter for the content type is used and the transfer gets aborted after the first item, without actually double-checking the content of the item. This is different from listAllItems(), which really transfers the content. This extra content check would only be needed for some old servers (Radical 0.7) and is not essential, because reporting "not empty" even when empty is safe.
|
Patrick Ohly |
|
9 years ago
|
|
|
4625
|
|
|
Patrick Ohly |
|
9 years ago
|
|
|