Commit Graph

  • 976a119fcc refactor(models): add db_index to mobile and id_card fields in User and TemporaryUser models 🔨 feat/user-verification-flow i701 2025-07-16 01:49:17 +05:00
  • ea57598e8d Merge pull request #16 from i701/feat/user-verification-flow main Abdulla Aidhaan 2025-07-16 00:39:17 +05:00
  • d64a2675e4 refactor(verification): enhance error handling and response structure in user verification process 🔨 i701 2025-07-15 23:04:11 +05:00
  • 4cc6e91a66 Merge pull request #15 from i701/feat/user-verification-flow Abdulla Aidhaan 2025-07-13 19:42:59 +05:00
  • eee314af46 feat(user): add user rejection endpoint and improve verification response messages i701 2025-07-13 19:38:01 +05:00
  • ff065fa4a9 feat(user): add user update endpoint with authorization checks and serializer support i701 2025-07-11 19:55:25 +05:00
  • 72c2ea1ecc refactor(views): update user queryset logic to filter out superusers for non-admins 🔨 i701 2025-07-11 15:10:01 +05:00
  • 596ce510c7 feat(filters): add id_card and mobile filters to UserFilter class i701 2025-07-11 15:09:51 +05:00
  • 436a8b7d7a feat(profile): add user profile update serializer and update profile URL to use UserprofileAPIView i701 2025-07-11 11:44:40 +05:00
  • 82ae1e6cea feat(user): enhance user profile management with dynamic serializer selection and authorization check i701 2025-07-11 11:44:21 +05:00
  • 56ab79bd8c refactor(signals): exclude delete permissions for payment and topup in user permission assignment 🔨 i701 2025-07-11 09:57:58 +05:00
  • 64c2189209 Merge pull request #14 from i701/feat/task-queues Abdulla Aidhaan 2025-07-11 09:54:00 +05:00
  • c3fc48fddc refactor(tasks): update job scheduling frequency and reduce max hours for old job removal 🔨 feat/task-queues i701 2025-07-11 09:53:03 +05:00
  • dacf821bad Merge pull request #13 from i701/feat/task-queues Abdulla Aidhaan 2025-07-09 22:07:46 +05:00
  • bb2d0348c2 feat(devices): add pending_payment_id field to DeviceSerializer for tracking unpaid payments i701 2025-07-09 22:06:28 +05:00
  • 3f0a5f0f03 Merge pull request #12 from i701/feat/task-queues Abdulla Aidhaan 2025-07-09 21:56:48 +05:00
  • e2ede37f4f refactor(devices): update device payment status in background task and remove unused serializer field 🔨 i701 2025-07-09 21:55:22 +05:00
  • db53874ff4 Merge pull request #11 from i701/feat/task-queues Abdulla Aidhaan 2025-07-09 20:33:03 +05:00
  • 6418b1469d refactor(tasks): replace Enum with string literals for notification types in SMS tasks 🔨 i701 2025-07-09 20:32:04 +05:00
  • d557bb879f Merge pull request #10 from i701/feat/task-queues Abdulla Aidhaan 2025-07-09 20:16:48 +05:00
  • 911d01b8e3 feat(billing): implement notification for expired payments and refactor SMS handling i701 2025-07-09 20:13:42 +05:00
  • 1644bd47b9 feat(payment): add expiry_notification_sent field to track notification status i701 2025-07-09 20:13:30 +05:00
  • ff897ee2ab feat(tasks): add periodic task to remove old jobs with enhanced logging and context handling i701 2025-07-09 20:13:20 +05:00
  • 35384ef049 refactor(api): change async functions to synchronous for user verification task 🔨 i701 2025-07-08 22:57:43 +05:00
  • 8657435fbf fix(payment): refine unpaid payment query to include status and expiration checks 🐛 i701 2025-07-08 20:53:05 +05:00
  • 39da7607f6 refactor(billing): enhance SMS message formatting for expired topups with improved date handling i701 2025-07-08 20:52:42 +05:00
  • d0a8408121 feat(payment): update periodic task to run every minute and improve SMS notification handling for expired topups i701 2025-07-08 16:00:30 +05:00
  • c17e34a592 feat(payment): update payment status to "PAID" upon verification i701 2025-07-06 22:53:02 +05:00
  • cdfa2d9192 feat(payment): add expiration time for payments to enhance payment validity tracking i701 2025-07-06 22:04:37 +05:00
  • 342e963861 chore(payment): replace DeletePaymentView with CancelPaymentView in payment URLs 🔧 i701 2025-07-06 21:24:39 +05:00
  • 4f794571e9 feat(payment): add is_expired filter and serializer method for payment expiration tracking i701 2025-07-06 21:23:56 +05:00
  • 6bc2d71a0e test(payment): add PaymentTests for canceling payments functionality i701 2025-07-06 21:23:35 +05:00
  • ceb30025ee feat(admin): add is_expired field to PaymentAdmin for better payment visibility feat(admin): include expiry_date in DeviceAdmin for enhanced device management i701 2025-07-06 21:23:12 +05:00
  • 950f42ae3f feat(payment): add status field and is_expired property to Payment model for enhanced payment tracking i701 2025-07-06 21:22:56 +05:00
  • f10fa74fbb refactor(payment): enhance payment verification with detailed response structure and transaction data 🔨 i701 2025-07-06 21:22:36 +05:00
  • 60e394fffa clean up dangling images after restart Shihaam Abdul Rahman 2025-07-05 20:22:49 +05:00
  • 193ce850b4 fix(filters): refine filter logic in TopupFilter to ensure only unpaid topups are considered for expiration check 🐛 i701 2025-07-05 20:14:58 +05:00
  • 27f89b6d3d feat(filters): add is_expired filter to TopupFilter for improved topup management i701 2025-07-05 19:54:04 +05:00
  • 63b1a6b9ef fix(tasks): include paid filter in expired topups query to prevent notifications for paid topups 🐛 i701 2025-07-05 18:05:39 +05:00
  • 3dafc7d4c8 feat(serializers): add paid_at field to TopupSerializer for improved data tracking i701 2025-07-05 17:55:26 +05:00
  • 8e564f766b Merge pull request #9 from i701/feat/topups Abdulla Aidhaan 2025-07-05 17:42:57 +05:00
  • cd7555e35f fix(views): update paid_at field in VerifyTopupPaymentAPIView to use transaction date from MIB response 🐛 feat/topups i701 2025-07-05 17:42:06 +05:00
  • 3cc29cade6 feat(serializers): include status field in TopupSerializer for better data representation i701 2025-07-05 17:37:50 +05:00
  • 7003e4bcba feat(views): implement topup cancellation and update status to CANCELLED i701 2025-07-05 17:37:35 +05:00
  • 2da9dcf141 feat(commands): add random status assignment for seeded topups i701 2025-07-05 17:37:17 +05:00
  • 081366f87f feat(models): add status field to Topup model with choices for Pending, Paid, and Cancelled i701 2025-07-05 17:37:04 +05:00
  • 6431d61d39 fix(views): format topup amount to two decimal places in VerifyTopupPaymentAPIView 🐛 i701 2025-07-05 17:16:00 +05:00
  • 8871de8ce1 fix(views): format topup amount to two decimal places in VerifyTopupPaymentAPIView 🔨 i701 2025-07-05 17:02:19 +05:00
  • 54056e9b7e fix(views): add logging for MIB verification response in VerifyPaymentView 🐛 i701 2025-07-05 16:44:33 +05:00
  • 09768ef2d3 fix(tasks): include creation time in SMS notification for expired topups 🐛 i701 2025-07-05 16:30:11 +05:00
  • 48bde9d52b fix(views-verifypayment): improve error handling in payment verification process 🐛 i701 2025-07-05 16:24:10 +05:00
  • e85d605454 fix(views): correct logging of topup payment verification time 🐛 i701 2025-07-05 15:54:24 +05:00
  • 683cfe76f1 refactor(settings): remove caching for now 🔨 i701 2025-07-05 15:02:50 +05:00
  • 3b3e963568 Merge pull request #8 from i701/feat/task-queues Abdulla Aidhaan 2025-07-05 14:35:41 +05:00
  • c31acead70 refactor(signals, tasks): update user verification task to use async and improve logging 🔨 i701 2025-07-05 14:33:25 +05:00
  • 6ec31023c7 feat(topup): add expiry notification handling and SMS notification task i701 2025-07-05 14:33:10 +05:00
  • 6fb70e82a3 feat(tasks): integrate procrastinate app and configure on_app_ready callback i701 2025-07-05 14:32:57 +05:00
  • cf25863afe fix(billing): remove +5 minutes for payment verification payload 🐛 i701 2025-07-04 22:52:13 +05:00
  • cd17ced67d refactor(topup): Add logging for topup payment verification process and print response i701 2025-07-04 22:23:02 +05:00
  • f3e86d5873 Merge pull request #7 from i701/feat/topups Abdulla Aidhaan 2025-07-04 21:55:53 +05:00
  • b6517e79ab feat(topup): Update wallet balance upon successful topup verification i701 2025-07-04 21:54:27 +05:00
  • e88f4268cf Merge pull request #6 from i701/feat/topups Abdulla Aidhaan 2025-07-04 20:16:22 +05:00
  • e8e6a09b24 feat(billing): Add 'expires_at' field to TopupSerializer for better expiration tracking i701 2025-07-04 20:14:57 +05:00
  • 70f8efb19a refactor(signals): Simplify topup permissions assignment by including all permissions 🔨 i701 2025-07-04 20:14:48 +05:00
  • ddb65ca985 feat(billing): Add delete functionality for topups and update creation logic with expiration time i701 2025-07-04 20:14:37 +05:00
  • 740d16189b Merge pull request #5 from i701/feat/topups Abdulla Aidhaan 2025-07-04 16:34:15 +05:00
  • 212ea2541f refactor(billing): Simplify topup seeding by removing payment status and date logic 🔨 i701 2025-07-04 16:32:45 +05:00
  • 5db71edc2c feat(billing): Implement DeleteTopupView with expiration and authorization checks i701 2025-07-04 16:32:34 +05:00
  • 6568504f5b migration(billing): Add expires_at field and is_expired property to Topup model for expiration management 🔧 i701 2025-07-04 16:32:21 +05:00
  • d4b26074e6 feat(billing): Add is_expired field to TopupAdmin and TopupSerializer for better topup management i701 2025-07-04 16:31:47 +05:00
  • 638c32cb80 Merge pull request #4 from i701/feat/topups Abdulla Aidhaan 2025-07-04 10:12:15 +05:00
  • 61e008d4fb feat(billing): Implement TopupDetailAPIView for retrieving single topup details i701 2025-07-04 10:11:09 +05:00
  • 25bad98900 Merge pull request #3 from i701/feat/topups Abdulla Aidhaan 2025-07-03 21:07:14 +05:00
  • cec2045e5f refactor(billing): Enhance TopupSerializer to include detailed user information and update ListCreateTopupView queryset filtering 🔨 i701 2025-07-03 21:04:59 +05:00
  • e4a01597aa refactor(billing): Refactor TopupFilter to enhance user search functionality and update fields 🔨 i701 2025-07-03 21:04:42 +05:00
  • 4a944c176b feat(billing): Add management command to seed topup models with dummy data i701 2025-07-03 21:04:14 +05:00
  • f67a3762ad test(billing): Add comprehensive tests for Topup model and payment verification 🧪 i701 2025-07-03 21:03:55 +05:00
  • 2122e8dfee feat(billing): Enhance Topup admin interface and add default ordering for Topup model i701 2025-07-03 21:03:15 +05:00
  • 978a4a27d0 feat(billing): Add topup permissions assignment for new users i701 2025-07-03 21:02:37 +05:00
  • 367ccf0f88 feat(justfile): Add migrate and make-migrations commands for database management i701 2025-07-03 17:13:41 +05:00
  • c07d3c93d2 feat(billing): WIP Add Topup model, filters, serializers, and views for topup management i701 2025-07-03 17:13:25 +05:00
  • bae0882879 refactor(DeviceListCreateAPIView): Update all_devices parameter handling for improved boolean parsing 🔨 i701 2025-06-30 23:21:08 +05:00
  • 708d7c2bec refactor(filters): Enhance user filtering in DeviceFilter to search across multiple user fields 🔨 i701 2025-06-30 22:40:13 +05:00
  • dc8fe44004 Merge pull request #2 from i701/feat/payments-filter Abdulla Aidhaan 2025-06-30 22:30:45 +05:00
  • 3d541831c7 refactor(portal-api): Device serializers to include user information and ensure consistent Meta class formatting 🔨 feat/payments-filter i701 2025-06-30 22:29:27 +05:00
  • c4f8989734 Merge pull request #1 from i701/feat/payments-filter Abdulla Aidhaan 2025-06-29 20:01:54 +05:00
  • 428d9ae0e1 Refactor PaymentFilter to use RangeFilter for amount and number_of_months; add vendor filter to DeviceFilter i701 2025-06-29 19:28:41 +05:00
  • b149c86899 Add seed_payments management command to populate payment models with dummy data i701 2025-06-29 19:17:40 +05:00
  • cb15aed94b WIP (Payments) Add PaymentFilter for filtering payment records 🚧 i701 2025-06-28 23:23:04 +05:00
  • eb43b3108d Refactor Omada client initialization: move instantiation to add_new_devices_to_omada task i701 2025-06-28 14:49:39 +05:00
  • 828da25046 Update PostgreSQL database settings to include default values for development i701 2025-06-28 14:39:21 +05:00
  • 7d641e95d7 Enhance DeviceListCreateAPIView to allow admin users to access all devices based on query parameter i701 2025-06-28 10:25:46 +05:00
  • 2de9e2117d Add Justfile for task automation with development commands i701 2025-06-28 10:25:40 +05:00
  • e3b39478eb Refactor task management: replace Celery with Procrastinate for background tasks and update related configurations i701 2025-06-28 10:25:33 +05:00
  • 28315c59cf Update Redis configuration in settings.py to use environment variable for host i701 2025-06-26 20:16:55 +05:00
  • 39da124214 Refactor device blocking logic in DeviceBlockAPIView to utilize Omada BlockDeviceResponse for blocking in omada first i701 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 i701 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 i701 2025-06-22 22:55:28 +05:00
  • 3957ca0ea4 Add user verification endpoint and logic; implement check against Person API i701 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 i701 2025-06-09 21:42:10 +05:00