![]() This commit introduces several improvements to the application configuration and logging mechanisms, including: - Added a new `REDIS_URL` configuration option in the production environment template for easier Redis setup. - Implemented a soft delete method in the `UserManager` class to anonymize user data while maintaining referential integrity. - Enhanced session secret management to ensure a secure fallback in non-production environments. - Introduced a `PiiRedactionFilter` to loggers for redacting sensitive information from logs. - Added rate limiting middleware to control API request rates and prevent abuse. These changes aim to improve security, maintainability, and user data protection within the application. |
||
---|---|---|
.. | ||
__init__.py | ||
api_config.py | ||
cache.py | ||
chore_utils.py | ||
error_handlers.py | ||
exceptions.py | ||
gemini.py | ||
logging_utils.py | ||
middleware.py | ||
rate_limiter.py | ||
redis.py | ||
scheduler.py | ||
security.py |