11 Commits

Author SHA1 Message Date
d67794df62
Add wallet_balance and mobile fields to CustomUserSerializer
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m57s
2025-04-05 19:08:07 +05:00
43f9b7ef7c
Enhance User model: add email field with unique constraint, update id_card field to allow null values, and include verified field. Update UserAdmin to display verified field. Improve device listing to filter by logged-in user.
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m39s
2025-03-28 22:25:30 +05:00
ddfbeba2f4
Refactor User model: update mobile field to allow null values, enforce unique id_card, and implement user filtering API endpoint 2025-03-26 22:49:11 +05:00
aa69977d63
update mobile field in User model to set default value to 0 and create corresponding migrations 2025-03-24 15:29:19 +05:00
7c940c9dd2
remove null true for mobile field 2025-03-24 15:27:10 +05:00
d44b2ad6af
add unique mobile number migrations 2025-03-24 15:17:42 +05:00
02b6a64674
make user mobile number unique 2025-03-24 15:14:49 +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
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