c127c5d093
Add registered field to CreateDeviceSerializer and enhance BlockDeviceSerializer with reason_for_blocking and blocked_by fields
2025-04-06 22:40:07 +05:00
b415d8f35b
Add BlockDeviceSerializer and DeviceBlockAPIView for blocking devices
2025-04-06 21:38:41 +05:00
a8adddfda4
Add authorization check in UpdateUserWalletView to restrict updates to the user's own wallet
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m32s
2025-04-05 22:50:14 +05:00
2368ff408a
Add number_of_months field to UpdatePaymentSerializer and implement validation in UpdatePaymentAPIView
2025-04-05 22:38:08 +05:00
b87dcfaf26
Add UpdateUserWalletView and CustomUserByWalletBalanceSerializer for wallet balance updates
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m12s
2025-04-05 20:53:06 +05:00
d67794df62
Add wallet_balance and mobile fields to CustomUserSerializer
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m57s
2025-04-05 19:08:07 +05:00
93e50b696c
Add PaymentDetailAPIView for retrieving payment details and update URL routing
2025-04-05 18:58:12 +05:00
02f680d579
Refactor payment views: rename CreatePaymentView to ListCreatePaymentView, add payment retrieval endpoint, and enhance queryset filtering for user-specific payments.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m15s
2025-04-05 17:23:18 +05:00
80e388a2a0
Refactor CreatePaymentView to improve device retrieval logic by using filter instead of get_object_or_404, enhancing error handling for non-existent devices.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m34s
2025-04-05 16:14:28 +05:00
d386c7e37c
Add device existence check in CreatePaymentView to handle invalid device IDs
2025-04-05 16:10:24 +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.
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
d29e61c7da
revert back to single settings.py file to fix authorization header not reading issue
2025-03-24 14:03:23 +05:00
07d93d4e13
remove CSRF_COOKIE_DOMAIN setttings variable for prod
2025-03-22 22:47:39 +05:00
cc54532932
clean up docker build, fix email requirements
2025-03-22 22:31:18 +05:00
4f7aa3b682
Update email configuration in Django settings to include default values for environment variables
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m50s
2025-03-15 13:45:27 +05:00
b93d51c494
docker deployment docs
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m3s
2025-03-15 00:21:05 +05:00
af83f94b84
change api port to 5000
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m40s
2025-03-15 00:06:52 +05:00
906644b7c7
update dockerfile
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m39s
2025-03-14 23:53:08 +05:00
7083d67c9a
run docs
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m11s
2025-03-14 16:36:27 +05:00
5db5da4c04
update requirements
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m30s
2025-03-13 23:36:38 +05:00
9c975944b8
Refactor Django settings module and environment configuration
...
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m31s
- Move settings to a modular configuration structure
- Update environment variables in .env.example
- Modify DJANGO_SETTINGS_MODULE references across project files
- Simplify and standardize environment variable naming
2025-03-03 22:11:13 +05:00
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