fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
134 stars 62 forks source link

CalDAV fixes #147

Closed gmta closed 9 years ago

gmta commented 9 years ago

This PR contains two fixes:

  1. Prevent 'undefined index' errors when syncing calendars using iOS devices (not sure if it's specific to iOS). These happened a lot and filled the logs with useless information.
  2. Fix calendar event organizer when using the "username mapping" feature of BackendCombined (either through the config file or the new state machine mapping). If the organizer was absent, the username used to connect the CalDAV backend with is used instead of the username as supplied by the user. At least iOS requires this username to be identical to the one used to connect to Z-Push with, otherwise it will render the event as an invite instead of an "owned" event.
gmta commented 9 years ago

Rebased onto master; left out the "initial sync" commit.

fmbiete commented 9 years ago

Thanks!!!!