Lukas 7308ff88d6 fix(rate-limit): stop double-counting requests in middleware
Multiple RateLimitMiddleware instances were each calling
check_allowed() on every request, halving the effective global
limit (200 req/min became ~100). Added path_prefixes and skip_paths
so each instance only checks the paths it owns.

- Auth middleware scoped to /api/v1/auth/login and /api/v1/setup
- History middleware scoped to /api/v1/history
- Global middleware skips auth and history paths
- Updated tests to match single-count behavior
2026-05-15 23:04:02 +02:00
2026-05-10 08:48:42 +02:00
2026-05-15 20:41:05 +02:00
2026-05-10 08:48:42 +02:00
2026-05-10 08:48:42 +02:00
2026-05-04 07:20:20 +02:00
2026-05-10 08:48:42 +02:00
2026-05-05 18:47:56 +02:00
Description
No description provided
11 MiB
Languages
Python 61.2%
TypeScript 24.9%
HTML 8.4%
Markdown 2.5%
Roff 0.9%
Other 2%