5 Commits
Author SHA1 Message Date
Bentlybro e876ff796a Store API keys hashed instead of in plaintext
Keys are now stored as a SHA-256 digest in the existing key column (64
chars, no schema change). Lookups hash the presented key; rows still
holding plaintext are matched and upgraded to their hash on first use.
The full key is shown once at creation and the dashboard displays a
masked placeholder thereafter.
2026-07-06 13:41:53 +01:00
Bentlybro 0f395b3b79 Update api_key.py 2025-09-26 00:20:55 +01:00
Bentlybro 52f23161db Remove unused SQLAlchemy imports and update flake8 config
Eliminated unnecessary 'flask_sqlalchemy' imports from model files to clean up code. Updated flake8 max line length to 128 in pre-commit config. Improved error response formatting in manual_review route for better readability.
2025-08-25 19:25:48 +01:00
Bentlybro c78017eb3d autopep8 + flake8 + isort
Reorganized imports and formatting across models and routes for better readability and maintainability. Improved consistency in model field definitions, relationship declarations, and route logic. No functional changes, but code is now easier to follow and modify.
2025-08-20 16:19:26 +01:00
Bentlybro 635805353d Initial code! 2025-07-29 12:52:14 +01:00