c68db87901
Refactor project structure and enhance Docker support
...
- Removed unnecessary `__init__.py` and `Dockerfile` to streamline project organization.
- Updated `.dockerignore` and `.gitignore` to improve exclusion patterns for build artifacts and environment files.
- Enhanced `Makefile` with new commands for managing Docker containers and added help documentation.
- Introduced `pyproject.toml` for better project metadata management and dependency tracking.
- Updated `requirements.txt` to reflect changes in dependencies for metrics and monitoring.
- Refactored various handler files to improve code organization and maintainability.
2025-08-29 16:49:28 +03:00
86b6903920
Add auto unban functionality and update related tests and dependencies
2025-08-27 20:56:22 +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
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
b2c27040aa
some fix with emoji function
2024-11-17 22:09:37 +03:00
Andrey
47c5b2f083
hotfix
2024-11-17 01:20:51 +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
Andrey
767acacc18
refactor voice_bot
2024-11-14 00:05:37 +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
095e0398d0
some fix
2024-07-18 23:30:41 +03:00
KatykhinAA
a3b53d26e2
add mediaGroup func
2024-07-17 00:15:15 +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
KatykhinAA
f7f6fa5482
some fix
2024-07-15 22:28:36 +03:00
KatykhinAA
24ac638433
some fix
2024-07-13 12:42:21 +03:00
KatykhinAA
47050fd599
add logging, refactor
2024-07-11 22:59:58 +03:00
KatykhinAA
f2e44ddb29
add tests, some fixes
2024-07-10 23:18:36 +03:00