Commit Graph

64 Commits

Author SHA1 Message Date
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 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m45s
2025-07-05 20:14:58 +05:00
i701 27f89b6d3d feat(filters): add is_expired filter to TopupFilter for improved topup management
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m25s
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 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Has been cancelled
2025-07-05 18:05:39 +05:00
i701 3dafc7d4c8 feat(serializers): add paid_at field to TopupSerializer for improved data tracking
Build and Push Docker Images / Build and Push Docker Images (push) Has been cancelled
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 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m40s
2025-07-05 17:16:00 +05:00
i701 8871de8ce1 fix(views): format topup amount to two decimal places in VerifyTopupPaymentAPIView 🔨
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m15s
2025-07-05 17:02:19 +05:00
i701 54056e9b7e fix(views): add logging for MIB verification response in VerifyPaymentView 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m52s
2025-07-05 16:44:33 +05:00
i701 09768ef2d3 fix(tasks): include creation time in SMS notification for expired topups 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m21s
2025-07-05 16:30:11 +05:00
i701 48bde9d52b fix(views-verifypayment): improve error handling in payment verification process 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m23s
2025-07-05 16:24:10 +05:00
i701 e85d605454 fix(views): correct logging of topup payment verification time 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m53s
2025-07-05 15:54:24 +05:00
i701 6ec31023c7 feat(topup): add expiry notification handling and SMS notification task 2025-07-05 14:33:10 +05:00
i701 cf25863afe fix(billing): remove +5 minutes for payment verification payload 🐛
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m11s
2025-07-04 22:52:13 +05:00
i701 cd17ced67d refactor(topup): Add logging for topup payment verification process and print response
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m57s
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 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 c07d3c93d2 feat(billing): WIP Add Topup model, filters, serializers, and views for topup management 2025-07-03 17:13:25 +05:00
i701 428d9ae0e1 Refactor PaymentFilter to use RangeFilter for amount and number_of_months; add vendor filter to DeviceFilter 2025-06-29 19:28:41 +05:00
i701 b149c86899 Add seed_payments management command to populate payment models with dummy data 2025-06-29 19:17:40 +05:00
i701 cb15aed94b WIP (Payments) Add PaymentFilter for filtering payment records 🚧 2025-06-28 23:23:04 +05:00
i701 e3b39478eb Refactor task management: replace Celery with Procrastinate for background tasks and update related configurations 2025-06-28 10:25:33 +05:00
i701 4db9d7fabd Refactor device management: add vendor field, enhance admin display, and improve MAC address handling
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m18s
2025-06-01 19:27:04 +05:00
i701 a9e1973f4a Add mib_reference assignment in VerifyPaymentView upon successful payment verification
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m8s
2025-05-31 13:02:10 +05:00
i701 85ff1fb67f Add mib_reference field to Payment model and set default ordering by created_at
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m58s
2025-05-31 12:01:35 +05:00
i701 f8d6e78f90 Add HTTP status codes to responses in VerifyPaymentView for payment verification
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m49s
2025-05-30 22:56:13 +05:00
i701 09591bf825 Update VerifyPaymentView to mark payment as paid and set payment method upon successful transfer
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m47s
2025-05-30 22:36:59 +05:00
i701 5b4d0e6488 Refactor send_otp function to remove unused otp parameter and improve clarity
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m35s
2025-05-30 22:15:14 +05:00
i701 83db42cc60 Refactor and enhance device management and authentication features
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 4m12s
- Updated the `reverse_dhivehi_string` function to correct the range for combining characters.
- Added new device handling in the health check view and integrated the `add_new_devices_to_omada` task.
- Improved date handling in `CreateTemporaryUserView` to ensure proper string conversion.
- Enhanced OTP sending by converting mobile numbers to strings.
- Implemented MAC address validation in the `Device` model using a custom validator.
- Removed unnecessary fields from the `CreateDeviceSerializer`.
- Normalized MAC address format in the `DeviceListCreateAPIView`.
- Updated the `djangopasswordlessknox` package to improve code consistency and readability.
- Added migration to enforce MAC address validation in the database.
2025-04-25 14:37:27 +05:00
i701 0f19f0c15c Add Celery periodic task for deactivating expired devices and update requirements
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 11m3s
2025-04-24 13:05:20 +05:00
i701 ee8145f07f Add environment variable checks for OMADA_PROXY_URL and enhance payment verification logic
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m52s
2025-04-23 10:43:39 +05:00