Loading
Update davgroupware resource to observerv3
To upgrade to ObserverV3 following new methods are available :
- itemsFlagsChanged: we dont 'use it
- itemsRemoved:
- I don't think we can delete multiple event at once, but it can be useful when deleting a recurring event with exception :
- currently deleting a recurring event with exception will send one event per item, usually beginning with exceptions. This means that for each exception we send an update to the dav server (remove said exception from event), and finally we delete the event. Batching allows us to detect we want to delete the event and thus ignore all exception updates.
- I don't think we can delete multiple event at once, but it can be useful when deleting a recurring event with exception :
- itemsMoved:
- I don't think we can move multiple event at once, so not sure where batching would help us.
- In the case of moving a recurring event with exception, the current implementation doesnt work due to KOrganizer or affiliated behaviours. It it were to be fixed as tested in the e2e tests, batching would allows us to reduce the number of calls to ItemMoved but won't provide any additional optimisation since the current implementation does one move and ignore any future related moves.
- itemsLinked: we don't use it
- itemsUnlinked: we don't use it
Edited by Dominique MICHEL