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
Zakhar Izmaylov
ef14852457
Add logging support for inline queries in middleware
2025-02-09 10:52:02 +03:00
Vladless
13325fab43
ruff formatting
2025-02-06 13:53:02 +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
GitHub Actions
5f2b40b2d2
Auto-format code with Ruff using pyproject.toml
2025-01-29 04:01:20 +00:00
Zakhar Izmaylov
a757852598
Merge branch 'main' of https://github.com/izzzzzi/Solo_bot
2025-01-29 07:01:01 +03:00
Zakhar Izmaylov
acb73101c0
Refactor and clean up code formatting across multiple files
...
- Consolidated and simplified code formatting by removing unnecessary line breaks and improving readability in various functions.
- Updated the handling of backup file sending in backup.py for better clarity.
- Streamlined error handling and logging messages in several handlers to enhance consistency.
- Adjusted the Makefile to exclude specific files during Ruff checks and formatting.
- Made minor adjustments to function signatures and parameter handling for improved clarity and consistency.
This commit enhances code maintainability and readability without altering functionality.
2025-01-21 08:57:12 +03:00
Zakhar Izmaylov
b01e4db2b2
Update work from blocked_users
2025-01-20 03:47:16 +03:00
Zakhar Izmaylov
82a2e63461
Fix and update Middleware
2025-01-19 09:15:42 +03:00
Zakhar Izmaylov
cbf53f0a50
Small fix
2025-01-19 08:49:46 +03:00
Zakhar Izmaylov
c4eec4572e
Add filter and middleware
2025-01-19 08:29:10 +03:00
hteppl
069f2fa983
Introduce changing key expiry date keyboard
2025-01-19 05:35:20 +03:00
hteppl
1e9f178587
Admin update
2025-01-15 22:05:32 +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
7c6e316521
Update delete middleware: pass all admin callbacks and states
2025-01-15 08:59:54 +03:00
Vladless
0391bd90e9
FlowPayRenew/fixNotify/pay_history/custom/statistic/minorFixes
2025-01-14 04:06:55 +03:00
Zakhar Izmaylov
92889baa93
Delete Throttle
2025-01-12 18:19:49 +03:00
Zakhar Izmaylov
a018a42f2c
Add antiflood and lint
2025-01-10 14:51:13 +03:00
Vladless
97091f4875
fix_refferal/GIFTS/redirect/name_sub and more
2024-12-19 20:37:41 +03:00
Vladless
198cfd48f3
fix middleware
2024-12-14 17:39:39 +03:00
Zakhar Izmaylov
142c1c15e7
Migrate to ruff
2024-12-13 12:09:20 +03:00
Vladless
f0b2c40a8a
Revert "Merge pull request #112 from Vladless/hteppl-optimize-sources"
...
This reverts commit fa681fac92 , reversing
changes made to b31c9d2e10 .
2024-12-10 03:53:07 +03:00
hteppl
f31e1bb5f6
Make utils as package + fix python unresolved imports
2024-12-08 05:32:23 +03:00
Vladless
4899e5315d
fix refferal
2024-12-05 22:45:10 +03:00
Vladless
2b4e3182c7
/start
2024-11-28 15:37:21 +03:00
Vladless
fca313a627
fix admin
2024-11-26 20:03:21 +03:00
Zakhar Izmaylov
80f2314c9e
Fix start
2024-11-26 03:21:43 +03:00
Zakhar Izmaylov
fa17dea8fe
Refactor database and notification handlers for improved readability and consistency. Clean up import statements, enhance logging messages, and streamline function calls across multiple files. Ensure proper session handling in payment processing functions.
2024-11-24 20:29:22 +03:00
Zakhar Izmaylov
f25332f19d
Fix delete msg
2024-11-24 13:51:18 +03:00
Zakhar Izmaylov
2288f28475
Fix admin
2024-11-24 11:51:17 +03:00
Zakhar Izmaylov
2f799f0bad
Update id
2024-11-24 11:07:52 +03:00
Zakhar Izmaylov
95192032de
Fix typing
2024-11-24 01:19:00 +03:00
Zakhar Izmaylov
30efc7a1c7
Refactoring
2024-11-24 01:18:42 +03:00
Zakhar Izmaylov
d1b7a01b4f
Update config
2024-11-22 21:24:55 +03:00
Vladless
28b344b9c4
Fixed unexpected behavior of the device selection button
2024-11-18 14:57:12 +03:00
Zakhar Izmaylov
39db3e2e64
Update Middleware
2024-11-17 23:42:09 +03:00
Zakhar Izmaylov
474f611fcc
Fix Middleware
2024-11-17 16:14:35 +03:00
Zakhar Izmaylov
ca08152b03
Fix admin
2024-11-17 16:05:20 +03:00
Zakhar Izmaylov
b2f29ff4f2
Fix
2024-11-17 15:39:53 +03:00
Zakhar Izmaylov
75b5d2f9cc
Fix admin middleware
2024-11-17 15:39:27 +03:00
Zakhar Izmaylov
d362e232d7
Fix
2024-11-17 14:09:05 +03:00
Zakhar Izmaylov
ed759cdf62
Add new table and middleware
2024-11-17 14:05:31 +03:00
Zakhar Izmaylov
f585b82cd6
Add admin middleware
2024-11-17 13:11:49 +03:00
Zakhar Izmaylov
fb28a0881c
Add dry logging
2024-11-16 18:01:28 +03:00
Vladless
c296243032
fix logging
2024-11-15 23:15:19 +03:00
Vladless
2ec69c7f14
formatting
2024-11-15 19:19:13 +03:00
Vladless
7cccc53f55
rm DEBUG
2024-11-15 19:16:37 +03:00