100 Commits
Author SHA1 Message Date
i701 c56140011f refactor: add src_bank attribute to Payment and Topup model 🔨 2025-09-20 21:03:43 +05:00
i701 4714b6ec15 move registration sms to view from signals and fix include User verified
attribute 🐛
2025-09-15 21:33:59 +05:00
i701 6ae56774d1 remove unnessary return in user verification function 🔨 2025-09-14 22:35:23 +05:00
i701 bfc3fd1b89 fix temporary user id passing to user verification 🐛 2025-09-14 21:51:31 +05:00
i701 9721585f8a refactor(view): extract validation logic from CreateTemporaryUserView to
reduce cyclomatic complexity 🔨
2025-09-14 21:51:05 +05:00
i701 b0936cd489 fix(signals): change post_save receiver to TemporaryUser for user verification 2025-08-02 14:17:06 +05:00
i701 fc1aba3239 fix(user): update verification status field to t_verified in verify_user_with_person_api_task 2025-08-02 13:56:27 +05:00
i701 85485ae351 feat(user): update user verification process to utilize TemporaryUser model and include verification status in response 2025-08-02 13:38:47 +05:00
i701 64bba25fb9 feat(user): enhance user filtering logic to support combined ID card and mobile queries 2025-07-31 19:23:12 +05:00
i701 fbc8a17e6a fix(user): remove agreement file validation from UserUpdateAPIView 🐛 2025-07-28 09:39:02 +05:00
i701 36160c2665 feat(user): remove agreement field from UserUpdateSerializer 2025-07-27 22:57:44 +05:00
i701 f6afb3b658 feat(permissions): add user read-only permission assignment on user creation 2025-07-27 22:28:12 +05:00
i701 9c082aedf2 feat(telegram): implement asynchronous Telegram alert system and enhance user verification messaging 2025-07-27 21:56:59 +05:00
i701 2bc594da9c feat(permissions): add wallet transaction permissions assignment on user creation 2025-07-27 20:13:40 +05:00
i701 19321da0be feat(admin): enhance AdminTopupCreateView to support custom top-up descriptions 2025-07-27 19:55:22 +05:00
i701 e3c2d4450f feat(billing): add calculate_total_new_price utility for dynamic payment calculation 2025-07-27 15:17:47 +05:00
i701 ee54386fd5 feat(devices): enhance device naming to include user details and enforce name length limit 2025-07-27 14:59:08 +05:00
i701 b52cd9285a fix(devices): update DeviceBlockAPIView to handle omada_client response correctly 🐛 2025-07-27 14:32:16 +05:00
i701 80fc27fd74 feat(topup): add payment_type field and update AdminTopupCreateView to handle payment type 2025-07-27 12:17:12 +05:00
i701 cdef5ed27c feat(admin): add AdminTopupCreateView for admin top-up functionality 2025-07-27 10:50:40 +05:00
i701 3e7a74950e fix(tasks): add device activation/deactivation & blocking/unblocking for background task 🐛 2025-07-26 20:33:26 +05:00
i701 72e0cd1fba fix(payment): update wallet payment processing to activate devices and set expiry date and add further optimizations 🐛 2025-07-25 23:46:59 +05:00
i701 4aae0064ca fix(views): optimize database queries to solve N+1 problems 🔨🐛 2025-07-25 23:22:35 +05:00
i701 118ad52c71 feat(wallet): add transaction_type field to WalletTransactionFilter for enhanced filtering options 2025-07-25 16:02:01 +05:00
i701 8d9a2ed2e0 fix(payment): update payment verification response status to 200 OK and set payment status to PAID 2025-07-25 15:32:28 +05:00
i701 3200d8e41c feat(user): add wallet_balance field to CustomReadOnlyUserSerializer 2025-07-25 15:19:05 +05:00
i701 1554829b9a feat(wallet): implement wallet transaction model, views, and serializers for fund management 2025-07-25 14:38:34 +05:00
i701 f8c91e8f14 feat(admin): add agreement field to UserAdmin for improved user management 2025-07-25 10:44:58 +05:00
i701 f84f03fd5b feat(agreement): implement user agreement update functionality with validation checks 2025-07-25 10:12:04 +05:00
i701 fd603daaaf refactor: remove UpdateAgreementView and its URL path from user management 🔨 2025-07-25 00:05:35 +05:00
i701 9e4449d0d6 feat(agreement): add agreement field to user model and implement agreement upload functionality 2025-07-25 00:01:56 +05:00
i701 087782e351 feat(verification): handle user verification not found scenario and mark user as verified 2025-07-24 23:35:53 +05:00
i701 446ca6653e feat(filters, serializers): add user filtering and enhance user serialization in Payment and Device models 2025-07-24 20:34:50 +05:00
i701 7c5ed1e89d feat(payment): enhance list view to support admin access to all payments 2025-07-23 22:10:49 +05:00
i701 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
i701 d64a2675e4 refactor(verification): enhance error handling and response structure in user verification process 🔨 2025-07-15 23:04:11 +05:00
i701 eee314af46 feat(user): add user rejection endpoint and improve verification response messages 2025-07-13 19:38:01 +05:00
i701 ff065fa4a9 feat(user): add user update endpoint with authorization checks and serializer support 2025-07-11 19:55:25 +05:00
i701 72c2ea1ecc refactor(views): update user queryset logic to filter out superusers for non-admins 🔨 2025-07-11 15:10:01 +05:00
i701 596ce510c7 feat(filters): add id_card and mobile filters to UserFilter class 2025-07-11 15:09:51 +05:00
i701 436a8b7d7a feat(profile): add user profile update serializer and update profile URL to use UserprofileAPIView 2025-07-11 11:44:40 +05:00
i701 82ae1e6cea feat(user): enhance user profile management with dynamic serializer selection and authorization check 2025-07-11 11:44:21 +05:00
i701 56ab79bd8c refactor(signals): exclude delete permissions for payment and topup in user permission assignment 🔨 2025-07-11 09:57:58 +05:00
i701 c3fc48fddc refactor(tasks): update job scheduling frequency and reduce max hours for old job removal 🔨 2025-07-11 09:53:03 +05:00
i701 bb2d0348c2 feat(devices): add pending_payment_id field to DeviceSerializer for tracking unpaid payments 2025-07-09 22:06:28 +05:00
i701 e2ede37f4f refactor(devices): update device payment status in background task and remove unused serializer field 🔨 2025-07-09 21:55:33 +05:00
i701 6418b1469d refactor(tasks): replace Enum with string literals for notification types in SMS tasks 🔨 2025-07-09 20:32:04 +05:00
i701 911d01b8e3 feat(billing): implement notification for expired payments and refactor SMS handling 2025-07-09 20:13:42 +05:00
i701 1644bd47b9 feat(payment): add expiry_notification_sent field to track notification status 2025-07-09 20:13:30 +05:00
i701 ff897ee2ab feat(tasks): add periodic task to remove old jobs with enhanced logging and context handling 2025-07-09 20:13:20 +05:00
i701 35384ef049 refactor(api): change async functions to synchronous for user verification task 🔨 2025-07-08 22:57:43 +05:00
i701 8657435fbf fix(payment): refine unpaid payment query to include status and expiration checks 🐛 2025-07-08 20:53:05 +05:00
i701 39da7607f6 refactor(billing): enhance SMS message formatting for expired topups with improved date handling 2025-07-08 20:52:42 +05:00
i701 d0a8408121 feat(payment): update periodic task to run every minute and improve SMS notification handling for expired topups 2025-07-08 16:00:30 +05:00
i701 c17e34a592 feat(payment): update payment status to "PAID" upon verification 2025-07-06 22:53:02 +05:00
i701 cdfa2d9192 feat(payment): add expiration time for payments to enhance payment validity tracking 2025-07-06 22:04:37 +05:00
i701 342e963861 chore(payment): replace DeletePaymentView with CancelPaymentView in payment URLs 🔧 2025-07-06 21:24:39 +05:00
i701 4f794571e9 feat(payment): add is_expired filter and serializer method for payment expiration tracking 2025-07-06 21:23:56 +05:00
i701 6bc2d71a0e test(payment): add PaymentTests for canceling payments functionality 2025-07-06 21:23:35 +05:00
i701 ceb30025ee feat(admin): add is_expired field to PaymentAdmin for better payment visibility
feat(admin): include expiry_date in DeviceAdmin for enhanced device management 
2025-07-06 21:23:12 +05:00
i701 950f42ae3f feat(payment): add status field and is_expired property to Payment model for enhanced payment tracking 2025-07-06 21:22:56 +05:00
i701 f10fa74fbb refactor(payment): enhance payment verification with detailed response structure and transaction data 🔨 2025-07-06 21:22:36 +05:00
i701 193ce850b4 fix(filters): refine filter logic in TopupFilter to ensure only unpaid topups are considered for expiration check 🐛 2025-07-05 20:14:58 +05:00
i701 27f89b6d3d feat(filters): add is_expired filter to TopupFilter for improved topup management 2025-07-05 19:54:04 +05:00
i701 63b1a6b9ef fix(tasks): include paid filter in expired topups query to prevent notifications for paid topups 🐛 2025-07-05 18:05:39 +05:00
i701 3dafc7d4c8 feat(serializers): add paid_at field to TopupSerializer for improved data tracking 2025-07-05 17:55:26 +05:00
i701 cd7555e35f fix(views): update paid_at field in VerifyTopupPaymentAPIView to use transaction date from MIB response 🐛 2025-07-05 17:42:06 +05:00
i701 3cc29cade6 feat(serializers): include status field in TopupSerializer for better data representation 2025-07-05 17:37:50 +05:00
i701 7003e4bcba feat(views): implement topup cancellation and update status to CANCELLED 2025-07-05 17:37:35 +05:00
i701 2da9dcf141 feat(commands): add random status assignment for seeded topups 2025-07-05 17:37:17 +05:00
i701 081366f87f feat(models): add status field to Topup model with choices for Pending, Paid, and Cancelled 2025-07-05 17:37:04 +05:00
i701 6431d61d39 fix(views): format topup amount to two decimal places in VerifyTopupPaymentAPIView 🐛 2025-07-05 17:16:00 +05:00
i701 8871de8ce1 fix(views): format topup amount to two decimal places in VerifyTopupPaymentAPIView 🔨 2025-07-05 17:02:19 +05:00
i701 54056e9b7e fix(views): add logging for MIB verification response in VerifyPaymentView 🐛 2025-07-05 16:44:33 +05:00
i701 09768ef2d3 fix(tasks): include creation time in SMS notification for expired topups 🐛 2025-07-05 16:30:11 +05:00
i701 48bde9d52b fix(views-verifypayment): improve error handling in payment verification process 🐛 2025-07-05 16:24:10 +05:00
i701 e85d605454 fix(views): correct logging of topup payment verification time 🐛 2025-07-05 15:54:24 +05:00
i701 683cfe76f1 refactor(settings): remove caching for now 🔨 2025-07-05 15:02:50 +05:00
i701 c31acead70 refactor(signals, tasks): update user verification task to use async and improve logging 🔨 2025-07-05 14:33:25 +05:00
i701 6ec31023c7 feat(topup): add expiry notification handling and SMS notification task 2025-07-05 14:33:10 +05:00
i701 6fb70e82a3 feat(tasks): integrate procrastinate app and configure on_app_ready callback 2025-07-05 14:32:57 +05:00
i701 cf25863afe fix(billing): remove +5 minutes for payment verification payload 🐛 2025-07-04 22:52:13 +05:00
i701 cd17ced67d refactor(topup): Add logging for topup payment verification process and print response 2025-07-04 22:23:02 +05:00
i701 b6517e79ab feat(topup): Update wallet balance upon successful topup verification 2025-07-04 21:54:27 +05:00
i701 e8e6a09b24 feat(billing): Add 'expires_at' field to TopupSerializer for better expiration tracking 2025-07-04 20:14:57 +05:00
i701 70f8efb19a refactor(signals): Simplify topup permissions assignment by including all permissions 🔨 2025-07-04 20:14:48 +05:00
i701 ddb65ca985 feat(billing): Add delete functionality for topups and update creation logic with expiration time 2025-07-04 20:14:37 +05:00
i701 212ea2541f refactor(billing): Simplify topup seeding by removing payment status and date logic 🔨 2025-07-04 16:32:45 +05:00
i701 5db71edc2c feat(billing): Implement DeleteTopupView with expiration and authorization checks 2025-07-04 16:32:34 +05:00
i701 6568504f5b migration(billing): Add expires_at field and is_expired property to Topup model for expiration management 🔧 2025-07-04 16:32:21 +05:00
i701 d4b26074e6 feat(billing): Add is_expired field to TopupAdmin and TopupSerializer for better topup management 2025-07-04 16:31:47 +05:00
i701 61e008d4fb feat(billing): Implement TopupDetailAPIView for retrieving single topup details 2025-07-04 10:11:09 +05:00
i701 cec2045e5f refactor(billing): Enhance TopupSerializer to include detailed user information and update ListCreateTopupView queryset filtering 🔨 2025-07-03 21:04:59 +05:00
i701 e4a01597aa refactor(billing): Refactor TopupFilter to enhance user search functionality and update fields 🔨 2025-07-03 21:04:42 +05:00
i701 4a944c176b feat(billing): Add management command to seed topup models with dummy data 2025-07-03 21:04:14 +05:00
i701 f67a3762ad test(billing): Add comprehensive tests for Topup model and payment verification 🧪 2025-07-03 21:03:55 +05:00
i701 2122e8dfee feat(billing): Enhance Topup admin interface and add default ordering for Topup model 2025-07-03 21:03:15 +05:00
i701 978a4a27d0 feat(billing): Add topup permissions assignment for new users 2025-07-03 21:02:37 +05:00
i701 367ccf0f88 feat(justfile): Add migrate and make-migrations commands for database management 2025-07-03 17:13:41 +05:00
i701 c07d3c93d2 feat(billing): WIP Add Topup model, filters, serializers, and views for topup management 2025-07-03 17:13:25 +05:00