12 Commits

Author SHA1 Message Date
0b012b20b6
add github action to sync mirror to gitea 2025-02-14 00:53:07 +05:00
50710048d2
add gitea build actions 2025-02-14 00:45:42 +05:00
2c3f550978
Enhance Django settings security and configuration
- Add dynamic secret key generation with fallback
- Improve caching configuration with environment-based settings
- Update logging configuration with more granular log levels
- Strengthen security headers and SSL/HTTPS settings
- Add default values for security-related configurations
2025-02-14 00:09:43 +05:00
166a44bfc7
Update Django settings for allowed hosts configuration
- Add dynamic ALLOWED_HOSTS configuration using environment variables
- Simplify host configuration by splitting allowed hosts string
- Remove redundant ALLOWED_HOSTS setting in production block
2025-02-13 23:34:30 +05:00
c1806f05b7
add example .env file 2025-02-13 22:50:17 +05:00
5d34d4c883
nginx.conf 2025-02-12 23:10:28 +05:00
fea31cd651
Refactor Docker and Django configuration
- Update Dockerfile to use Python 3.11-slim and optimize build steps
- Remove Dockerfile.prod and update docker-compose.yml
- Remove entrypoint.sh and twilio dependency
- Modify Django settings for production security and configuration
- Update user serializer to include group permissions
- Enhance CSRF and SSL configuration settings
2025-02-12 19:27:05 +05:00
871d604ef4
builds 2025-02-08 17:25:44 +05:00
eb600b7a0c
Update storage configuration and .gitignore
- Switch from AWS S3 to local file storage
- Add .env.example to .gitignore
- Remove AWS-related configuration in settings.py
2025-02-08 16:15:49 +05:00
c1fc07e3e2
Refactor Docker configuration and API endpoints
- Merged production and development Docker configurations
- Updated Dockerfile to use multi-stage build
- Removed separate Dockerfile.prod
- Modified docker-compose.yml for production settings
- Added new API endpoints for user filtering by ID card
- Updated serializers and views for Atoll and Island management
- Enhanced user and atoll-related filters and views
2025-01-24 11:43:18 +05:00
f6f77bb0e5
Add wallet balance to User model and implement Atoll/Island management
- Added `wallet_balance` field to the User model.
- Updated UserAdmin to include `wallet_balance` in the admin interface.
- Created serializers and views for Atoll and Island management.
- Implemented endpoints for listing, creating, and updating Atolls and Islands.
- Enhanced payment processing with UUIDs for Payment and Topup models.
- Added migration files for new fields and constraints.
- Improved error handling and validation in various views.
- Updated email templates for better responsiveness and SEO.
2025-01-20 20:59:16 +05:00
4d0eb86478 Initial commit 2025-01-20 14:33:03 +05:00