Commit Graph

  • b6303a2c23 Refactor create_superuser method in CustomUserManager to include email parameter in user creation. i701 2025-04-11 12:13:28 +05:00
  • 10b3800171 Refactor VerifyPaymentView to improve wallet payment handling and response messages. Remove redundant insufficient funds check and enhance failure message clarity. i701 2025-04-11 00:41:44 +05:00
  • f8253d572d Enhance VerifyPaymentView with user authorization check, streamline payment verification process, and improve response messages. Update settings.py for consistent formatting and clarity in PASSWORDLESS_AUTH configuration. i701 2025-04-10 21:50:21 +05:00
  • 9595476569 Refactor UpdatePaymentSerializer to include only number_of_months field, add DeletePaymentView for payment deletion, and enhance VerifyPaymentView with payment_id lookup. Introduce pending_payment_id field in DeviceSerializer to track unpaid payments. i701 2025-04-08 21:38:43 +05:00
  • c3abdd8e34 Add has_a_pending_payment field to Device model and update related views for payment handling i701 2025-04-07 22:24:52 +05:00
  • c127c5d093 Add registered field to CreateDeviceSerializer and enhance BlockDeviceSerializer with reason_for_blocking and blocked_by fields i701 2025-04-06 22:40:07 +05:00
  • b415d8f35b Add BlockDeviceSerializer and DeviceBlockAPIView for blocking devices i701 2025-04-06 21:38:41 +05:00
  • a8adddfda4 Add authorization check in UpdateUserWalletView to restrict updates to the user's own wallet i701 2025-04-05 22:50:14 +05:00
  • 2368ff408a Add number_of_months field to UpdatePaymentSerializer and implement validation in UpdatePaymentAPIView i701 2025-04-05 22:38:08 +05:00
  • b87dcfaf26 Add UpdateUserWalletView and CustomUserByWalletBalanceSerializer for wallet balance updates i701 2025-04-05 20:53:06 +05:00
  • d67794df62 Add wallet_balance and mobile fields to CustomUserSerializer i701 2025-04-05 19:08:07 +05:00
  • 93e50b696c Add PaymentDetailAPIView for retrieving payment details and update URL routing i701 2025-04-05 18:58:12 +05:00
  • 02f680d579 Refactor payment views: rename CreatePaymentView to ListCreatePaymentView, add payment retrieval endpoint, and enhance queryset filtering for user-specific payments. i701 2025-04-05 17:23:18 +05:00
  • 80e388a2a0 Refactor CreatePaymentView to improve device retrieval logic by using filter instead of get_object_or_404, enhancing error handling for non-existent devices. i701 2025-04-05 16:14:28 +05:00
  • d386c7e37c Add device existence check in CreatePaymentView to handle invalid device IDs i701 2025-04-05 16:10:24 +05:00
  • 43f9b7ef7c Enhance User model: add email field with unique constraint, update id_card field to allow null values, and include verified field. Update UserAdmin to display verified field. Improve device listing to filter by logged-in user. i701 2025-03-28 22:25:30 +05:00
  • ddfbeba2f4 Refactor User model: update mobile field to allow null values, enforce unique id_card, and implement user filtering API endpoint i701 2025-03-26 22:49:11 +05:00
  • aa69977d63 update mobile field in User model to set default value to 0 and create corresponding migrations i701 2025-03-24 15:29:19 +05:00
  • 7c940c9dd2 remove null true for mobile field i701 2025-03-24 15:27:10 +05:00
  • d44b2ad6af add unique mobile number migrations i701 2025-03-24 15:17:42 +05:00
  • 02b6a64674 make user mobile number unique i701 2025-03-24 15:14:49 +05:00
  • d29e61c7da revert back to single settings.py file to fix authorization header not reading issue i701 2025-03-24 14:03:23 +05:00
  • 07d93d4e13 remove CSRF_COOKIE_DOMAIN setttings variable for prod i701 2025-03-22 22:47:39 +05:00
  • cc54532932 clean up docker build, fix email requirements shihaam 2025-03-22 22:31:18 +05:00
  • 4f7aa3b682 Update email configuration in Django settings to include default values for environment variables i701 2025-03-15 13:45:27 +05:00
  • b93d51c494 docker deployment docs shihaam 2025-03-15 00:21:05 +05:00
  • af83f94b84 change api port to 5000 shihaam 2025-03-15 00:06:52 +05:00
  • 906644b7c7 update dockerfile shihaam 2025-03-14 23:53:08 +05:00
  • 7083d67c9a run docs shihaam 2025-03-14 16:36:27 +05:00
  • 5db5da4c04 update requirements i701 2025-03-13 23:36:38 +05:00
  • 9c975944b8 Refactor Django settings module and environment configuration i701 2025-03-03 22:11:13 +05:00
  • 0b012b20b6 add github action to sync mirror to gitea shihaam 2025-02-14 00:53:07 +05:00
  • 50710048d2 add gitea build actions shihaam 2025-02-14 00:45:09 +05:00
  • 2c3f550978 Enhance Django settings security and configuration i701 2025-02-14 00:09:43 +05:00
  • 166a44bfc7 Update Django settings for allowed hosts configuration i701 2025-02-13 23:34:30 +05:00
  • c1806f05b7 add example .env file i701 2025-02-13 22:50:17 +05:00
  • 5d34d4c883 nginx.conf shihaam 2025-02-12 23:10:28 +05:00
  • fea31cd651 Refactor Docker and Django configuration i701 2025-02-12 19:27:05 +05:00
  • 871d604ef4 builds shihaam 2025-02-08 17:25:44 +05:00
  • eb600b7a0c Update storage configuration and .gitignore i701 2025-02-08 16:15:49 +05:00
  • c1fc07e3e2 Refactor Docker configuration and API endpoints i701 2025-01-24 11:43:18 +05:00
  • f6f77bb0e5 Add wallet balance to User model and implement Atoll/Island management i701 2025-01-20 20:59:16 +05:00
  • 4d0eb86478 Initial commit i701 2025-01-20 14:33:03 +05:00