85 Commits

Author SHA1 Message Date
b0936cd489 fix(signals): change post_save receiver to TemporaryUser for user verification
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m26s
2025-08-02 14:17:06 +05:00
fc1aba3239 fix(user): update verification status field to t_verified in verify_user_with_person_api_task
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m27s
2025-08-02 13:56:27 +05:00
85485ae351 feat(user): update user verification process to utilize TemporaryUser model and include verification status in response
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m54s
2025-08-02 13:38:47 +05:00
64bba25fb9 feat(user): enhance user filtering logic to support combined ID card and mobile queries
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m11s
2025-07-31 19:23:12 +05:00
fbc8a17e6a fix(user): remove agreement file validation from UserUpdateAPIView 🐛
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m12s
2025-07-28 09:39:02 +05:00
36160c2665 feat(user): remove agreement field from UserUpdateSerializer
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m31s
2025-07-27 22:57:44 +05:00
f6afb3b658 feat(permissions): add user read-only permission assignment on user creation
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m40s
2025-07-27 22:28:12 +05:00
9c082aedf2 feat(telegram): implement asynchronous Telegram alert system and enhance user verification messaging
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m38s
2025-07-27 21:56:59 +05:00
2bc594da9c feat(permissions): add wallet transaction permissions assignment on user creation
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m23s
2025-07-27 20:13:40 +05:00
3e7a74950e fix(tasks): add device activation/deactivation & blocking/unblocking for background task 🐛
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m17s
2025-07-26 20:33:26 +05:00
4aae0064ca fix(views): optimize database queries to solve N+1 problems 🔨🐛 2025-07-25 23:22:35 +05:00
3200d8e41c feat(user): add wallet_balance field to CustomReadOnlyUserSerializer
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m27s
2025-07-25 15:19:05 +05:00
1554829b9a feat(wallet): implement wallet transaction model, views, and serializers for fund management
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m42s
2025-07-25 14:38:34 +05:00
f8c91e8f14 feat(admin): add agreement field to UserAdmin for improved user management
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m43s
2025-07-25 10:44:58 +05:00
f84f03fd5b feat(agreement): implement user agreement update functionality with validation checks
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m4s
2025-07-25 10:12:04 +05:00
fd603daaaf refactor: remove UpdateAgreementView and its URL path from user management 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m39s
2025-07-25 00:05:35 +05:00
9e4449d0d6 feat(agreement): add agreement field to user model and implement agreement upload functionality
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m2s
2025-07-25 00:01:56 +05:00
087782e351 feat(verification): handle user verification not found scenario and mark user as verified
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m0s
2025-07-24 23:35:53 +05:00
976a119fcc refactor(models): add db_index to mobile and id_card fields in User and TemporaryUser models 🔨 2025-07-16 01:49:17 +05:00
d64a2675e4 refactor(verification): enhance error handling and response structure in user verification process 🔨 2025-07-15 23:04:11 +05:00
eee314af46 feat(user): add user rejection endpoint and improve verification response messages 2025-07-13 19:38:01 +05:00
ff065fa4a9 feat(user): add user update endpoint with authorization checks and serializer support
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m9s
2025-07-11 19:55:25 +05:00
72c2ea1ecc refactor(views): update user queryset logic to filter out superusers for non-admins 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m56s
2025-07-11 15:10:01 +05:00
596ce510c7 feat(filters): add id_card and mobile filters to UserFilter class 2025-07-11 15:09:51 +05:00
436a8b7d7a feat(profile): add user profile update serializer and update profile URL to use UserprofileAPIView
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m21s
2025-07-11 11:44:40 +05:00
82ae1e6cea feat(user): enhance user profile management with dynamic serializer selection and authorization check 2025-07-11 11:44:21 +05:00
56ab79bd8c refactor(signals): exclude delete permissions for payment and topup in user permission assignment 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m1s
2025-07-11 09:57:58 +05:00
c3fc48fddc refactor(tasks): update job scheduling frequency and reduce max hours for old job removal 🔨 2025-07-11 09:53:03 +05:00
ff897ee2ab feat(tasks): add periodic task to remove old jobs with enhanced logging and context handling 2025-07-09 20:13:20 +05:00
35384ef049 refactor(api): change async functions to synchronous for user verification task 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m8s
2025-07-08 22:57:43 +05:00
39da7607f6 refactor(billing): enhance SMS message formatting for expired topups with improved date handling 2025-07-08 20:52:42 +05:00
c31acead70 refactor(signals, tasks): update user verification task to use async and improve logging 🔨 2025-07-05 14:33:25 +05:00
6fb70e82a3 feat(tasks): integrate procrastinate app and configure on_app_ready callback 2025-07-05 14:32:57 +05:00
70f8efb19a refactor(signals): Simplify topup permissions assignment by including all permissions 🔨 2025-07-04 20:14:48 +05:00
978a4a27d0 feat(billing): Add topup permissions assignment for new users 2025-07-03 21:02:37 +05:00
eb43b3108d Refactor Omada client initialization: move instantiation to add_new_devices_to_omada task
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m32s
2025-06-28 14:49:39 +05:00
e3b39478eb Refactor task management: replace Celery with Procrastinate for background tasks and update related configurations 2025-06-28 10:25:33 +05:00
39da124214 Refactor device blocking logic in DeviceBlockAPIView to utilize Omada BlockDeviceResponse for blocking in omada first
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 3m42s
2025-06-23 23:41:59 +05:00
570cf80019 Refactor Omada class methods for clarity; update device blocking logic in DeviceBlockAPIView and improve user verification error handling
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 3m14s
2025-06-23 23:14:40 +05:00
9688635f44 Refactor Omada integration: encapsulate API calls in Omada class, update device management tasks, and enhance device creation tests
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m12s
2025-06-22 22:55:28 +05:00
3957ca0ea4 Add user verification endpoint and logic; implement check against Person API
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m58s
2025-06-10 16:42:13 +05:00
26d7fb6dd1 Add atoll and island fields to user serializer; implement island and atoll serializers with depth handling
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m49s
2025-06-09 21:42:10 +05:00
69ab87f502 Add is_admin field to User model and update related serializers and views
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m37s
2025-06-09 13:28:57 +05:00
7e2f6699b1 Refactor imports in admin.py and update MAC address handling in views.py to improve code clarity and error handling
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m31s
2025-06-08 15:23:18 +05:00
38d80709db Enhance UserAdmin save logic to auto-generate email from mobile or user ID; improve token creation logging and user existence check
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m18s
2025-06-08 14:32:30 +05:00
4db9d7fabd Refactor device management: add vendor field, enhance admin display, and improve MAC address handling
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m18s
2025-06-01 19:27:04 +05:00
e1c862184e Log user verification failure message in verify_user_with_person_api_task
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m27s
2025-05-31 19:30:28 +05:00
a05852f3f6 Fix user verification logging to handle None values for atoll and island attributes
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m15s
2025-05-31 19:25:18 +05:00
907b713082 Remove unused imports and clean up OTP message formatting in CreateTemporaryUserView
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m29s
2025-05-31 14:01:56 +05:00
cdd032ac54 Add SMS and Telegram notification functions to handle user verification messages
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m15s
2025-05-31 13:40:29 +05:00