Commit graph

4 commits

Author SHA1 Message Date
11e8fe8912
feat(settings): enhance configuration handling
Updated settings to ensure "ColdBrew" section exists in the config before accessing it. Defaulted `FIELD_ENCRYPTION_KEY` to a generated value if not present and corrected encoding. Made `ALLOWED_HOSTS` configurable via settings file and adjusted `DEBUG` logic to depend on `ALLOWED_HOSTS`.
2024-07-12 08:41:33 +02:00
d2893c3ffa
feat: add debugging configuration for Django in VSCode
Included a new launch.json for VSCode to enable easy debugging
of Django projects using the Python Debugger. This configuration
launches the Django server with debugpy, making it simpler for
developers to set breakpoints and debug their applications directly
within the editor.
2024-07-12 08:41:06 +02:00
c7c05f2677
feat(models): add validators for VPN port range
Added MinValueValidator and MaxValueValidator for the port field in the VPN model to ensure values are between 10000 and 40000. This change enforces port number constraints directly in the model, preventing invalid entries and improving data integrity.
2024-07-12 08:40:41 +02:00
e1bf6b9901
feat: initialize project structure with core setup
Initial setup of the ColdBrew Django-based VPN manager project. Added basic project structure including core Django configurations and essential files:
- Added `.gitignore` to exclude unnecessary files from version control.
- Introduced `LICENSE` with MIT license.
- Created basic `README.md` with setup and contribution guidance.
- Configured Django project settings with auto-generated secrets.
- Implemented essential VPN management models, views, and admin settings.
- Integrated core dependencies like Django Rest Framework, Celery for task management, and Redis for caching.
- Added Poetry for dependency management along with necessary dependencies for development and database support.
2024-07-12 08:31:39 +02:00