Commit Graph

5 Commits

Author SHA1 Message Date
Pascal Bleser
0202bb43af groupware: refactor contactcard changes, and Request framework
* implement ContactCard retrieval endpoint for syncing

 * re-implement that endpoint for Email too

 * fix the Mailbox changes endpoint to actually return changes about
   Mailboxes, and not about Emails

 * when querying the diff of Mailboxes without any prior state, return
   an error since the result is not what one would expect

 * introduce the 'changes' API tag and group

 * refactor the successful response functions to consistently return an
   object type and object state whenever possible

 * move the syncing endpoints under /accounts/*/changes/ for better
   clarity, e.g. /changes/emails instead of /emails/mailbox/*/changes
2026-04-13 16:40:16 +02:00
Pascal Bleser
6f9bdfe8e8 groupware: documentation: more calendar examples 2026-04-13 16:40:15 +02:00
Pascal Bleser
98ee6e66eb groupware: add UI example of a ContactCard to the documented examples 2026-04-13 16:40:15 +02:00
Pascal Bleser
f705cc0b87 groupware: add jscontact examples, and move them to jmap/model_examples.go to avoid dependency recursion 2026-04-13 16:40:15 +02:00
Pascal Bleser
6f5f8b446b groupware: as suggested in the review PR 1994, remove all filename prefixes that match the package (groupware_xyz.go -> xyz.go), for groupware, jmap, jscontact, jscalendar 2026-04-13 16:40:15 +02:00