Commit Graph

8 Commits

Author SHA1 Message Date
Pascal Bleser
04336a9c3a refactored the Session object, refactored the services/groupware directory, and started Swagger documentation implementation 2026-02-04 09:40:20 +01:00
Pascal Bleser
115ae939a8 groupware: refactoring the API mechanisms 2026-02-04 09:40:20 +01:00
Pascal Bleser
6cbce01a46 groupware: implement JSON:API's error response format, with a revamped error handling in jmap and services/groupware 2026-02-04 09:40:20 +01:00
Pascal Bleser
09716cbe1b 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-02-04 09:40:20 +01:00
Pascal Bleser
2a4b528139 Groupware and jmap: cleanup and API documentation 2026-02-04 09:40:20 +01:00
Pascal Bleser
7cb9b128a8 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-02-04 09:40:19 +01:00
Pascal Bleser
1ca1485286 groupware and jmap improvements and refactoring 2026-02-04 09:40:19 +01:00
Pascal Bleser
b48a6f3b45 move services/groupware/pkg/jmap to pkg/jmap 2026-02-04 09:40:19 +01:00