Commit Graph

5 Commits

Author SHA1 Message Date
Pascal Bleser
7e34627cbc groupware: fix debug server, was missing a lot of configuration options and was binding to :80 2026-02-10 17:03:58 +01:00
Pascal Bleser
7385c1b5e3 groupware: implement metrics
* implement a framework for metrics, with a few exemplary ones
2026-02-10 17:03:58 +01:00
Pascal Bleser
5fa9e57eb7 groupware: Etag handling
* implement correct Etag and If-None-Match handling, responding with
   304 Not Modified if they match

 * introduce SessionState and State string type aliases to ensure we are
   using the correct fields for those, respectively

 * extract the SessionState from the JMAP response bodies in the
   groupware framework instead of having to do that in every single
   groupware API

 * use uint instead of int in some places to clarify that the values are
   >= 0

 * trace-log how long a Session was held in cache before being evicted

 * add Trace-Id header handling: add to response when specified in
   request, and implement a custom request logger to include it as a
   field

 * implement a more compact trace-logging of all the methods and URIs
   that are served, to put them into a single log entry instead of
   creating one log entry for every URI
2026-02-10 17:03:58 +01:00
Pascal Bleser
df64d48119 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-10 17:03:58 +01:00
Pascal Bleser
5fcbcfcd4d WIP: initial implementation of the groupware service 2026-02-10 17:03:58 +01:00