Commit Graph

3 Commits

Author SHA1 Message Date
Flavio Fois
9458d1e8ad Introduces configurable test database for bug reports
Enables switching between production and testing MySQL databases based on the `ENABLE_TEST_DB` environment variable and an `X-DB-ENV` request header.

Applies this dual database functionality primarily to bug report submission and administration features. New `TESTING_MYSQL_` environment variables are added for defining test database credentials.

Refines HTTP request logging by excluding health checks and admin session validation endpoints to reduce noise. Allows `/health` endpoints to bypass API and Admin key guards.

Temporarily disables HWID-based rate limiting for bug report submissions.
2026-03-02 23:15:15 +01:00
Flavio Fois
3f15edae75 Refactor middleware and routes to use onRequest for API key and admin key guards; update dependencies and improve logging for error handling 2026-03-02 19:30:59 +01:00
Flavio Fois
0cad94dadd Add initial implementation of EMLy Bug Report API with MySQL integration and Docker support 2026-02-16 11:11:50 +01:00