Minei3oat
753ed241b6
Clear password fields after submit
2025-10-03 00:58:34 +02:00
Minei3oat
0c5a681f5b
Reconnect to websocket on access_token change
2025-10-02 23:10:26 +02:00
Minei3oat
88f4f54b55
Allow binding to UNIX domain socket
...
UNIX domain sockets are the recommended configuration for proxying with Nginx:
https://uvicorn.dev/deployment/#running-behind-nginx
2025-10-01 01:49:28 +02:00
Minei3oat
2f96739908
Use COPY instead of ADD
...
> Use ADD only when you need the additional capabilities it offers, but be mindful of potential security implications.
https://www.docker.com/blog/docker-best-practices-understanding-the-differences-between-add-and-copy-instructions-in-dockerfiles/
2025-09-28 22:28:46 +02:00
Minei3oat
ebe62acd8d
Cleanup duplicate installs
2025-09-28 22:25:26 +02:00
Minei3oat
8002680642
Reduce docker image size by 35%
...
Since docker caches each instruction as a layer, we have to clean cached packages at the end of each step for minimal image size.
2025-09-28 22:24:46 +02:00
Minei3oat
907c85d85d
Add Content-Type=plain/text for metrics endpoint
...
Without the content type, prometheus will reject the metrics if no `fallback_scrape_protocol` is specified.
https://prometheus.io/docs/prometheus/3.0/migration/#scrape-protocols
https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format
2025-09-28 21:09:25 +02:00
Minei3oat
709de42ef2
Restrict bcrypt version to <5
...
Starting with version 5.0.0, bcrypt will throw a ValueError if the input is more than 72 bytes.
passlib's `hash` processes the input such that more than 72 bytes are passed to bcrypt, independently of the input length.
As a result, the backend of firegex breaks when calculating the hash in `set_psw`.
2025-09-28 20:43:46 +02:00
Minei3oat
c979ad21ea
Add tests for metrics endpoint
2025-03-05 08:51:55 +01:00
Minei3oat
26a2428512
Fix metrics endpoint
2025-02-25 00:59:58 +01:00
Minei3oat
71d30196a4
Fix nullpointer issue
2024-12-09 21:57:28 +01:00
Minei3oat
6ba4fd3f93
Add metrics endpoint for Netfilter Regex
2024-11-29 01:08:06 +01:00