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.
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1,4 +1,9 @@
|
||||
/database/tg-bot-database
|
||||
/database/tg-bot-database.db
|
||||
/database/tg-bot-database.db-shm
|
||||
/database/tg-bot-database.db-wal
|
||||
/database/test.db
|
||||
/database/test.db-shm
|
||||
/database/test.db-wal
|
||||
/settings.ini
|
||||
/myenv/
|
||||
/venv/
|
||||
@@ -36,3 +41,4 @@ test.db
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
PERFORMANCE_IMPROVEMENTS.md
|
||||
|
||||
Reference in New Issue
Block a user