11 Commits

Author SHA1 Message Date
796acd1b4e update stream url if its changed 2025-07-15 19:21:55 +01:00
900d3c1cfe ints 2025-07-15 18:47:54 +01:00
2034b4211a show max connection next to stream url 2025-07-15 17:54:37 +01:00
28dadf0ca2 reload on refresh 2025-07-15 17:22:27 +01:00
842ac5aae2 update expiry 2025-07-15 16:56:48 +01:00
8ac3f498ed docstrings 2025-07-15 15:45:17 +01:00
1d0073d2fb faster checker 2025-07-15 15:42:47 +01:00
26e26951da allow user to validate an account using checker 2025-07-15 15:12:44 +01:00
e52387b9ca code cleanup 2025-07-15 11:38:59 +01:00
1c3918354c adding and deleting account is working
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m13s
2025-07-14 19:18:47 +01:00
4352004ed3 feat(app): restructure as a modern Flask API
This commit refactors the entire backend application into a more structured and maintainable Flask project. It introduces an application factory pattern, consolidates routes into a blueprint, and implements a robust authentication and database layer.

- Introduces a Flask application factory (`create_app` in `main.py`) for better organization and testability.
- Consolidates all API routes into a single blueprint (`routes/api.py`) for modularity.
- Implements a new basic authentication system using a decorator (`@requires_basic_auth`) to secure all endpoints.
- Refactors the database access layer with standardized query execution and connection handling.
- Adds new modules for core logic, including an account checker (`checker.py`) and user retrieval (`get_users.py`).
- Updates the VSCode launch configuration to support the new Flask application structure.

BREAKING CHANGE: The application has been completely restructured. The old `server.py` entry point is removed. The application should now be run via the app factory in `main.py`. All API endpoints now require basic authentication.
2025-07-13 19:40:04 +01:00