0b2440e586
Add server monitoring functionality and update Makefile and requirements
...
- Introduced a new server monitoring module in `run_helper.py` with graceful shutdown handling.
- Updated `.gitignore` to include PID files.
- Added `test-monitor` target in `Makefile` for testing the server monitoring module.
- Included `psutil` in `requirements.txt` for system monitoring capabilities.
2025-08-27 01:17:15 +03:00
9688cdd85f
Refactor admin handlers to improve access control and state management. Added checks for admin rights in ban functions and streamlined router inclusion order in main bot file. Updated keyboard layouts for better user experience and removed unused state definitions.
2025-08-27 00:28:32 +03:00
62af3b73c6
Enhance database connection handling in BotDB class with error checking for file existence and access permissions. Implement methods for database integrity checks and WAL file cleanup. Update database initialization to use absolute project path for improved reliability.
2025-08-26 19:33:11 +03:00
86773cfe20
fix
2025-08-26 19:20:25 +03:00
8bb098764d
Refactor module imports to ensure project root is included in sys.path for both run_helper and voice_bot. Enhance database user insertion with backward compatibility for emoji column. Update user info handling to check username and full name more robustly. Improve emoji handling with fallback options for environments lacking the emoji package.
2025-08-26 18:56:47 +03:00
70d6ad9a6e
Merge remote-tracking branch 'origin/voice-1' into merge-voice-1
2025-08-26 18:27:20 +03:00
fee22f8ad4
Enhance database handling and improve HTML safety across the bot. Added async methods for blacklist checks, updated connection settings for SQLite, and implemented HTML escaping for user inputs and messages to prevent potential issues. Adjusted middleware latency and refactored various handlers for better performance and reliability.
2025-08-26 16:51:28 +03:00
7b6abe2a0e
WIP: Temporary commit for branch move
2025-08-26 02:14:11 +03:00
Andrey
0c29609e4a
hot fix
2024-11-17 22:43:41 +03:00
b2c27040aa
some fix with emoji function
2024-11-17 22:09:37 +03:00
Andrey
e0e0a6de51
add new func in voice bot
2024-11-17 00:50:55 +03:00
502c07a2c9
some fix
2024-11-16 18:45:05 +03:00
5c3fece394
fix with html tags
2024-10-31 21:58:46 +03:00
Andrey
5050767b60
add new func for ban
2024-07-21 21:22:45 +03:00
Andrey
33fa84943d
add answer for user
2024-07-21 13:24:18 +03:00
KatykhinAA
0704e6b3fe
all type message can process
2024-07-20 22:41:48 +03:00
KatykhinAA
0b7f718f8a
refactor MediaGroup. Add database
2024-07-20 16:54:43 +03:00
KatykhinAA
54234e59ec
some fix
2024-07-20 14:18:58 +03:00
KatykhinAA
095e0398d0
some fix
2024-07-18 23:30:41 +03:00
KatykhinAA
a3b53d26e2
add mediaGroup func
2024-07-17 00:15:15 +03:00
KatykhinAA
88889fe87c
mediaGroup start work
2024-07-16 22:25:32 +03:00
Andrey
3a30edc1ab
HOT_FIX_3 add blacklist
...
fix db init
2024-07-16 21:55:22 +03:00
Andrey
09a071c014
HOT_FIX_2 for handle_start_message
2024-07-15 23:46:05 +03:00
Andrey
01f6cbd37d
HOT FIX for handle_start_message
2024-07-15 23:10:32 +03:00
KatykhinAA
f7f6fa5482
some fix
2024-07-15 22:28:36 +03:00
KatykhinAA
1a0344d0e8
migrate to aiogram 3.10.0
2024-07-14 21:22:33 +03:00
KatykhinAA
24ac638433
some fix
2024-07-13 12:42:21 +03:00
KatykhinAA
f2dd9f4b42
refactor suggest, media_group doesn't work
2024-07-13 01:23:48 +03:00
KatykhinAA
47050fd599
add logging, refactor
2024-07-11 22:59:58 +03:00
KatykhinAA
66f3a870c4
some refactor
2024-07-11 00:32:19 +03:00