Commit Graph

9 Commits

Author SHA1 Message Date
Pascal Bleser
7acb223e4e groupware: further implementation and improvements 2026-06-11 15:01:35 +02:00
Pascal Bleser
5074f1b99b refactored the Session object, refactored the services/groupware directory, and started Swagger documentation implementation 2026-06-11 15:01:35 +02:00
Pascal Bleser
17ba168593 groupware: refactoring the API mechanisms 2026-06-11 15:01:35 +02:00
Pascal Bleser
de5fe452af groupware: implement JSON:API's error response format, with a revamped error handling in jmap and services/groupware 2026-06-11 15:01:35 +02:00
Pascal Bleser
e1683ae74b 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-11 15:01:30 +02:00
Pascal Bleser
294e326d72 Groupware and jmap: cleanup and API documentation 2026-06-11 15:00:43 +02:00
Pascal Bleser
a5789912b9 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-11 15:00:43 +02:00
Pascal Bleser
8f340c96bf groupware and jmap improvements and refactoring 2026-06-11 15:00:43 +02:00
Pascal Bleser
e0b845aa62 move services/groupware/pkg/jmap to pkg/jmap 2026-06-11 15:00:07 +02:00