Commit Graph

8 Commits

Author SHA1 Message Date
Pascal Bleser
7b4aafad34 refactored the Session object, refactored the services/groupware directory, and started Swagger documentation implementation 2026-06-16 16:48:31 +02:00
Pascal Bleser
2c41319a27 groupware: refactoring the API mechanisms 2026-06-16 16:48:31 +02:00
Pascal Bleser
843793bdff groupware: implement JSON:API's error response format, with a revamped error handling in jmap and services/groupware 2026-06-16 16:48:31 +02:00
Pascal Bleser
11b7b94468 Refactor groupware service after ADR decision on the Groupware API
* after having decided that the Groupware API should be a standalone
   independent custom REST API that is using JMAP data models as much as
   possible,
 * removed Groupware APIs from the Graph service
 * moved Groupware implementation to the Groupware service, and
   refactored a few things accordingly
2026-06-16 16:48:31 +02:00
Pascal Bleser
7199509130 Groupware and jmap: cleanup and API documentation 2026-06-16 16:48:31 +02:00
Pascal Bleser
01c10af655 Groupware improvements: refactoring, k6 tests
* refactored the models to be strongly typed with structs and mapstruct
   to decompose the dynamic parts of the JMAP payloads

 * externalized large JSON strings for tests into .json files under
   testdata/

 * added a couple of fantasy Graph groupware APIs to explore further
   options

 * added k6 scripts to test those graph/me/messages APIs, with a setup
   program to set up users in LDAP, fill their IMAP inbox, activate them
   in Stalwart, cleaning things up, etc...
2026-06-16 16:48:31 +02:00
Pascal Bleser
b0e3a9ec89 groupware and jmap improvements and refactoring 2026-06-16 16:48:31 +02:00
Pascal Bleser
8e76649270 move services/groupware/pkg/jmap to pkg/jmap 2026-06-16 16:48:30 +02:00