Commit Graph

32 Commits

Author SHA1 Message Date
Vladless 0236b08c31 add_change_domain/bug_fixes_16 2025-02-18 02:05:14 +03:00
Vladless 469d2c9afe edit_text/lots of improvements 2025-02-16 07:17:35 +03:00
Zakhar Izmaylov fa8c644520 Add client toggle functionality for 3x-ui servers 2025-02-14 23:06:45 +03:00
Vladless 0da8771a52 NOTIFICATIONS 2.0/bug fixes and improvments 2025-02-14 00:30:06 +03:00
Vladless f5afec997c add traffic statistic/share refferal link and more 2025-02-07 21:38:46 +03:00
Vladless cd23569e24 Improve stability and minor fixes 2025-02-06 19:01:20 +03:00
Vladless 13325fab43 ruff formatting 2025-02-06 13:53:02 +03:00
Vladless d64c927101 minor_fixes 2025-02-03 00:08:55 +03:00
Vladless 1b17f0fd71 change_location/CASHBACK/logging/bug_fixes 2025-02-02 02:11:57 +03:00
Vladless e850b598eb Merge remote-tracking branch 'origin/fix/admin-actions' 2025-02-01 18:32:38 +03:00
hteppl 419e8a6597 Temporary fix for key expiry change 2025-01-31 06:46:53 +03:00
Zakhar Izmaylov eb03b6014d Fix key renewal and expiry update function signatures
- Update `change_expiry_time` to pass session to `update_key_expiry`
- Adjust `complete_key_renewal` connection closing order
- Minor code structure improvements in key handling functions
2025-01-31 06:44:36 +03:00
Zakhar Izmaylov c8e907edd1 Standardize import order in handler modules
- Reorder imports in multiple handler files to follow a consistent pattern
- Move type-specific imports like Message and CallbackQuery to be more organized
- Ensure clean and uniform import statements across admin and handler modules
2025-01-31 03:01:46 +03:00
Zakhar Izmaylov 6a98f4fb43 Update type hints in admin and handler modules
- Replace types.Message and types.CallbackQuery with explicit Message and CallbackQuery imports
- Improve type annotations in multiple handler files
- Ensure consistent type hinting across admin and handler modules
2025-01-31 02:59:57 +03:00
Zakhar Izmaylov 83870a2022 Refactor and improve security with cryptographically secure random generation
- Replace `random` module with `secrets` for cryptographically secure random choices
- Update type hints for async API methods in client.py
- Optimize file reading with aiofiles in multiple handlers
- Improve error handling and logging in various modules
- Update Python target version to 3.12 in pyproject.toml
- Remove unused imports and improve code quality
2025-01-30 22:35:09 +03:00
Zakhar Izmaylov 8ce7ee0ce0 Optimize import statements and remove unused imports across multiple files
This commit focuses on cleaning up import statements by:
- Removing unused imports
- Organizing import order
- Removing redundant imports
- Ensuring consistent import style across different modules
2025-01-29 07:15:20 +03:00
GitHub Actions 5f2b40b2d2 Auto-format code with Ruff using pyproject.toml 2025-01-29 04:01:20 +00:00
hteppl 1067e437d4 Implement expiry time printing in key names 2025-01-19 06:05:22 +03:00
hteppl a47bb0aeae Fix some imports 2025-01-19 05:37:01 +03:00
hteppl 069f2fa983 Introduce changing key expiry date keyboard 2025-01-19 05:35:20 +03:00
hteppl f6a369c907 Remove get_key_details unused fields for now 2025-01-18 04:54:37 +03:00
hteppl 42c3dd7906 Feat https://github.com/Vladless/Solo_bot/commit/b6184d4c90deed7162f618bdebefa44f3e0ee348 2025-01-18 04:36:59 +03:00
hteppl 6d9180063a Fix bouncing messages while handle user input for changing balance 2025-01-18 04:21:40 +03:00
hteppl 347c459c7c Fix some telegram exceptions while editing the same content + add forward option to users search 2025-01-18 04:09:21 +03:00
hteppl 466c2dcf31 Reimage update_subscription callback to work as function 2025-01-17 21:44:54 +03:00
hteppl 327c37bfc9 Update balance changing system + fix some formatting 2025-01-17 20:42:45 +03:00
hteppl 0ca55040bd Rename handlers functions with actual names + delete parse_mode 2025-01-16 09:20:33 +03:00
hteppl b2f793fa70 Update stats, fix some text input flows to working with delete middleware 2025-01-15 14:29:33 +03:00
hteppl 5884e0c213 Some missing logic and fixups 2025-01-15 14:07:49 +03:00
hteppl d0608a46aa Remove direct key search, use common user searcher anytime 2025-01-15 09:01:10 +03:00
hteppl dddd1d2af7 Optimize and fix admin handlers logic 2025-01-15 08:01:16 +03:00
hteppl c81fea54e9 Rename admin users editor handler to users handler 2025-01-12 17:01:39 +03:00