Commit Graph

13 Commits

Author SHA1 Message Date
Vladless 0da8771a52 NOTIFICATIONS 2.0/bug fixes and improvments 2025-02-14 00:30:06 +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 f042c5fd43 Fix cluster selection 2025-01-31 06:10:37 +03:00
hteppl ba692f5b73 Get back cluster sender option 2025-01-31 05:03:07 +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 0ca55040bd Rename handlers functions with actual names + delete parse_mode 2025-01-16 09:20:33 +03:00
hteppl b81de05d13 Do not import bot directly in admin sender 2025-01-15 09:01:56 +03:00
hteppl dddd1d2af7 Optimize and fix admin handlers logic 2025-01-15 08:01:16 +03:00
hteppl f41c1e6414 Implement admin sender handler 2025-01-12 17:29:48 +03:00