Major refactor: Fix SQLite concurrency, remove rate limiting, simplify architecture

- Switch to single Gunicorn worker to eliminate SQLite database locking issues
- Remove Flask-Limiter and all rate limiting complexity
- Remove Cloudflare proxy setup and dependencies
- Simplify configuration and remove unnecessary features
- Update all templates and static files for streamlined operation
- Clean up old files and documentation
- Restore stable database from backup
- System now runs fast and reliably without database locks
This commit is contained in:
2025-09-21 19:45:08 +01:00
parent b08b81fec9
commit cd27cc8ad9
26 changed files with 1326 additions and 677 deletions

View File

@@ -29,8 +29,12 @@ def generate_password_hash():
print("\nGenerated password hash:")
print(hash_value)
print("\nTo set this as admin password, run:")
print(f'python config_manager.py admin.password_hash "{hash_value}"')
print("\nTo set this as admin password:")
print("1. Open config.json in a text editor")
print("2. Find the 'admin' section")
print("3. Replace the 'password_hash' value with:")
print(f' "{hash_value}"')
print("4. Save the file and restart the application")
if __name__ == "__main__":
generate_password_hash()