Giacomo Vercesi
d6e02c1f95
get_middlewares: allow x-project-id
...
When authentication is enabled the `x-project-id` header needs to be
provided. Add it to the list of allowed CORS headers.
2026-06-17 09:43:07 +02:00
Giacomo Vercesi
3a9317d512
pypeline: factor out starlette middleware code
...
Factor out in a function the generation of the middleware list, to
facilitate reuse. Add the `AuthMiddleware` which allows authenticating
requests.
2026-05-22 09:04:35 +02:00
Giacomo Vercesi
25b90139f0
pypeline: rotate notification broker code
...
Move around the code pertaining to the notification broker, making the
various roles a bit clearer. This also de-couple the broker logic from
the local revng daemon.
2026-05-22 09:04:35 +02:00