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.
Andrey2025-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.
Andrey2025-08-26 19:33:11 +03:00
706d91e739
Update requirements.txt to streamline dependencies, adding aiogram and pytest-asyncio while removing unused packages. Organized sections for core dependencies, logging, testing, and development tools.
Andrey2025-08-26 19:02:39 +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.
merge-voice-1
Andrey2025-08-26 18:56:47 +03:00
70d6ad9a6e
Merge remote-tracking branch 'origin/voice-1' into merge-voice-1
Andrey2025-08-26 18:27:20 +03:00
61dd85035d
Update log retention period to 30 days in custom logger and add comment on log cleanup mechanism.
dev-4
Andrey2025-08-26 17:23: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.
Andrey2025-08-26 16:51:28 +03:00
7b6abe2a0e
WIP: Temporary commit for branch move
Andrey2025-08-26 02:14:11 +03:00