Commit Graph

4 Commits

Author SHA1 Message Date
Pascal Bleser
279f8a2ab9 groupware: upgrade Stalwart to 0.16.12 + fix modifying the VacationResponse
* fix jmap.SetVacationResponse: was using JMAP create instead of update
   with a patch; did so by using the modify template function as with
   most other JMAP APIs

 * better HTTP status code handling for the responses received from
   Stalwart

 * add support for not caching JMAP session retrieval failures in the
   Groupware backend, by setting the error TTL to 0
2026-07-09 14:30:14 +02:00
Pascal Bleser
2006b1f6f8 jmap: remove unneeded function 2026-07-09 14:30:14 +02:00
Pascal Bleser
6c57f37b3b groupware: add Groupware integration testing
* split off the Stalwart integration test boilerplate into a new
   jmaptest package, in order to be able to use it from the groupware
   package as well

 * remove the JMAP Session patching in tests and, instead, pick random
   free local ports for HTTP and IMAPS manually, and set those
   explicitly in the Stalwart testcontainer, so that we can set the
   PUBLIC_URL environment variable that Stalwart then uses to define the
   URLs that are served as part of the JMAP Sessions (API URL, etc...)
2026-07-09 14:30:14 +02:00
Pascal Bleser
a326fcb93c groupware: introduce a new package 'jmaptest' in order to be able to reuse the Stalwart test fixture for Groupware tests 2026-07-09 14:30:14 +02:00