Commit Graph

133 Commits

Author SHA1 Message Date
b6517e79ab feat(topup): Update wallet balance upon successful topup verification 2025-07-04 21:54:27 +05:00
e8e6a09b24 feat(billing): Add 'expires_at' field to TopupSerializer for better expiration tracking 2025-07-04 20:14:57 +05:00
70f8efb19a refactor(signals): Simplify topup permissions assignment by including all permissions 🔨 2025-07-04 20:14:48 +05:00
ddb65ca985 feat(billing): Add delete functionality for topups and update creation logic with expiration time 2025-07-04 20:14:37 +05:00
740d16189b Merge pull request #5 from i701/feat/topups
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m15s
feature/topups
2025-07-04 16:34:15 +05:00
212ea2541f refactor(billing): Simplify topup seeding by removing payment status and date logic 🔨 2025-07-04 16:32:45 +05:00
5db71edc2c feat(billing): Implement DeleteTopupView with expiration and authorization checks 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 🔧 2025-07-04 16:32:21 +05:00
d4b26074e6 feat(billing): Add is_expired field to TopupAdmin and TopupSerializer for better topup management 2025-07-04 16:31:47 +05:00
638c32cb80 Merge pull request #4 from i701/feat/topups
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m5s
feat(billing): Implement TopupDetailAPIView for retrieving single top…
2025-07-04 10:12:15 +05:00
61e008d4fb feat(billing): Implement TopupDetailAPIView for retrieving single topup details 2025-07-04 10:11:09 +05:00
25bad98900 Merge pull request #3 from i701/feat/topups
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m4s
feature/topups
2025-07-03 21:07:14 +05:00
cec2045e5f refactor(billing): Enhance TopupSerializer to include detailed user information and update ListCreateTopupView queryset filtering 🔨 2025-07-03 21:04:59 +05:00
e4a01597aa refactor(billing): Refactor TopupFilter to enhance user search functionality and update fields 🔨 2025-07-03 21:04:42 +05:00
4a944c176b feat(billing): Add management command to seed topup models with dummy data 2025-07-03 21:04:14 +05:00
f67a3762ad test(billing): Add comprehensive tests for Topup model and payment verification 🧪 2025-07-03 21:03:55 +05:00
2122e8dfee feat(billing): Enhance Topup admin interface and add default ordering for Topup model 2025-07-03 21:03:15 +05:00
978a4a27d0 feat(billing): Add topup permissions assignment for new users 2025-07-03 21:02:37 +05:00
367ccf0f88 feat(justfile): Add migrate and make-migrations commands for database management 2025-07-03 17:13:41 +05:00
c07d3c93d2 feat(billing): WIP Add Topup model, filters, serializers, and views for topup management 2025-07-03 17:13:25 +05:00
bae0882879 refactor(DeviceListCreateAPIView): Update all_devices parameter handling for improved boolean parsing 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m30s
2025-06-30 23:21:08 +05:00
708d7c2bec refactor(filters): Enhance user filtering in DeviceFilter to search across multiple user fields 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m44s
2025-06-30 22:40:13 +05:00
dc8fe44004 Merge pull request #2 from i701/feat/payments-filter
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m58s
refactor(portal-api): Device serializers to include user information …
2025-06-30 22:30:45 +05:00
3d541831c7 refactor(portal-api): Device serializers to include user information and ensure consistent Meta class formatting 🔨 2025-06-30 22:29:27 +05:00
c4f8989734 Merge pull request #1 from i701/feat/payments-filter
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m25s
feat(api-payments): add relevant payment filters for payments view and add seeding 🌱
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 2025-06-29 19:28:41 +05:00
b149c86899 Add seed_payments management command to populate payment models with dummy data 2025-06-29 19:17:40 +05:00
cb15aed94b WIP (Payments) Add PaymentFilter for filtering payment records 🚧 2025-06-28 23:23:04 +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
828da25046 Update PostgreSQL database settings to include default values for development
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 3m7s
2025-06-28 14:39:21 +05:00
7d641e95d7 Enhance DeviceListCreateAPIView to allow admin users to access all devices based on query parameter
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m37s
2025-06-28 10:25:46 +05:00
2de9e2117d Add Justfile for task automation with development commands 2025-06-28 10:25:40 +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
28315c59cf Update Redis configuration in settings.py to use environment variable for host
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m6s
2025-06-26 20:16:55 +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
1b58ebd4db Add user existence check before sending verification token in update_alias_verification
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m10s
2025-06-08 14:39:52 +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
a9e1973f4a Add mib_reference assignment in VerifyPaymentView upon successful payment verification
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m8s
2025-05-31 13:02:10 +05:00
15f885a4cb Refactor payment permissions assignment to include all permissions except delete_payment
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m7s
2025-05-31 12:41:14 +05:00