This is a security-focused update, focusing mainly on authentication and authorization.
🚀 Features
- Added logging for key events such as user login and ping requests.
- Added
PingRateThrottle
andUserLoginRateThrottle
classes to limit the rate of requests to the ping and login endpoints. - Added
conf/test_settings.py
for test-specific settings, including increased throttle rates for testing. - Added comprehensive tests for various HTTP methods (GET, POST, PUT, PATCH, DELETE) across multiple views.
- Added
.github/copilot-instructions.md
for GitHub Copilot users. - Added
.github/prompts/test-view.prompt.md
with comprehensive instructions to create tests. - Added
.github/prompts/security-api.prompt.md
to check for security issues with Copilot.
🛠️ Refactors
- Updated
conf/settings.py
to adjust throttle rates and logging configurations - Updated
.coveragerc
to exclude additional files (wsgi.py, asgi.py, manage.py) from coverage reports. - Updated dependencies to the latest versions.
🐞Fixes
- Fixed logging handlers in
conf/settings.py
to separate log files for info and error.
What's Changed
- Feat/security enhance by @wilfredinni in #215
- Full Changelog: 0.2.1...0.2.2