Commit Graph

6 Commits

Author SHA1 Message Date
Pascal Bleser
313d7f832d groupware: pollute code with NOSONAR comments, and make a little more use of JMAP API templates 2026-06-03 18:39:11 +02:00
Pascal Bleser
5dfe44500e 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-06-03 18:39:11 +02:00
Pascal Bleser
b4c0a5a438 groupware: documentation: more calendar examples 2026-06-03 18:39:11 +02:00
Pascal Bleser
b6566de0ce groupware: add UI example of a ContactCard to the documented examples 2026-06-03 18:39:11 +02:00
Pascal Bleser
f9bd0e443f groupware: add jscontact examples, and move them to jmap/model_examples.go to avoid dependency recursion 2026-06-03 18:39:11 +02:00
Pascal Bleser
0b59da3d23 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-06-03 18:39:11 +02:00