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
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
99982d13d5
Enhance environment variable handling, add Celery configuration, and implement device expiration notification tasks
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 13m45s
2025-04-24 10:42:22 +05:00
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
929c6168a4
Refactor payment verification to use PAYMENT_BASE_URL from environment variables and improve error handling for missing configuration
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m31s
2025-04-23 10:03:04 +05:00
2431793886
Fix SMS API configuration to provide default values for missing environment variables
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m57s
2025-04-19 16:31:33 +05:00
c006525aaa
Update OTP generation interval, enhance SMS sending functionality, and add age validation for temporary user registration
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m50s
2025-04-19 16:18:45 +05:00
f77779a84f
Remove throttling for CreateTemporaryUserView and VerifyOTPView
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m14s
2025-04-18 14:51:25 +05:00
887ffbb4d0
Add filter_temporary_user view to retrieve TemporaryUser by id_card or mobile
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m32s
2025-04-18 13:39:57 +05:00
ac5675e923
Refactor VerifyOTPView to check for existing TemporaryUser and return appropriate error messages
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m15s
2025-04-18 11:36:48 +05:00
900a87466f
Add mobile number check in VerifyOTPView to prevent duplicate registrations
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m45s
2025-04-17 23:59:42 +05:00
7777545bec
Refactor user verification to use PEOPLE_API_URL and added error handling for missing environment variable
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m3s
2025-04-17 19:23:13 +05:00
88a2b8ead2
Enhance CreateTemporaryUserView to check for existing users in both TemporaryUser and User models
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m19s
2025-04-17 14:11:46 +05:00
1401c3ac37
Fixed person api checking with database user for verification
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m15s
2025-04-16 13:17:35 +05:00
ba0fa5a831
auto deploy - migrate
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m32s
2025-04-16 11:33:48 +05:00
fd8207c34d
add pyotp to requirements
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m31s
2025-04-16 11:09:06 +05:00
bfb34f4097
Update tzdata version to 2025.2 in requirements.txt
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m57s
2025-04-16 11:05:47 +05:00
dd21b848b9
Add TemporaryUser model and related functionality for user registration and OTP verification
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m19s
2025-04-16 11:01:43 +05:00
e0a80d4a00
registration and verify abuse WIP
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m27s
2025-04-15 14:01:47 +05:00
9f3f586181
update healthcheck response message
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m3s
2025-04-12 10:05:13 +05:00
4c722752a4
update README.md
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m44s
2025-04-12 09:59:11 +05:00
0aa71c8e10
add mirror to gitea
2025-04-12 06:45:07 +05:00
ea26a93fb9
cleaner output
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m59s
2025-04-12 04:38:17 +05:00
caba7107f8
cleaner output
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m52s
2025-04-12 04:34:42 +05:00
b02a7eb47d
down kohffa up kuraanee.. also this is api
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m52s
2025-04-12 03:54:50 +05:00
8670023233
f all that just deploy
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m37s
2025-04-12 03:33:30 +05:00
c589798cf3
checking if key prints
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m17s
2025-04-12 03:22:16 +05:00
19f5b905bb
checking if key prints
2025-04-12 03:20:27 +05:00
63ce054bad
add auto deploy
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m20s
2025-04-12 03:08:11 +05:00
b8d9f5cf87
Refactor VerifyPaymentView to include checks for payment status and user authorization. Update logging level in settings.py to suppress certain logs during testing. Add comprehensive tests for device management in DeviceAPITestCase.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m23s
2025-04-11 17:06:28 +05:00
b6303a2c23
Refactor create_superuser method in CustomUserManager to include email parameter in user creation.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m44s
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.
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m51s
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.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m53s
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.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m18s
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
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m38s
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
2025-04-06 22:40:07 +05:00
b415d8f35b
Add BlockDeviceSerializer and DeviceBlockAPIView for blocking devices
2025-04-06 21:38:41 +05:00
a8adddfda4
Add authorization check in UpdateUserWalletView to restrict updates to the user's own wallet
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m32s
2025-04-05 22:50:14 +05:00
2368ff408a
Add number_of_months field to UpdatePaymentSerializer and implement validation in UpdatePaymentAPIView
2025-04-05 22:38:08 +05:00
b87dcfaf26
Add UpdateUserWalletView and CustomUserByWalletBalanceSerializer for wallet balance updates
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m12s
2025-04-05 20:53:06 +05:00
d67794df62
Add wallet_balance and mobile fields to CustomUserSerializer
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m57s
2025-04-05 19:08:07 +05:00
93e50b696c
Add PaymentDetailAPIView for retrieving payment details and update URL routing
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.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m15s
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.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m34s
2025-04-05 16:14:28 +05:00
d386c7e37c
Add device existence check in CreatePaymentView to handle invalid device IDs
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.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m39s
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
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
2025-03-24 15:29:19 +05:00
7c940c9dd2
remove null true for mobile field
2025-03-24 15:27:10 +05:00
d44b2ad6af
add unique mobile number migrations
2025-03-24 15:17:42 +05:00