Commit Graph

16 Commits

Author SHA1 Message Date
vvzvlad c9b0d2ffc9 feat(db): replace media file ID JSON store with SQLite
Switch persistence of media file identifiers from a JSON file to a
SQLite database. Introduce DB_PATH, init_db_sync, upsert, update, and
removal functions. Remove json-repair dependency and related locking
logic. Update api_server and post_parser to use the new database
helpers.

BREAKING CHANGE: media_file_ids.json is no longer used; existing
data must be migrated to the new SQLite database.
2026-04-05 20:20:37 +03:00
vvzvlad b7a8f4f60d refactor requirements and rss_generator: replace direct get_chat calls with cached_get_chat for improved performance and update requirements.txt to uncomment Kurigram 2025-06-10 02:40:23 +03:00
vvzvlad 6aba094a6c add types support 2025-04-18 19:42:54 +03:00
vvzvlad 46ce824ed0 update requirements.txt to include Kurigram from GitHub and comment out the previous entry 2025-04-14 17:35:12 +03:00
vvzvlad a45678a852 Add JSON repair functionality 2025-03-26 15:04:24 +03:00
vvzvlad 583a4c4b3c Add uvloop support for asyncio in api_server and telegram_client; update requirements.txt 2025-03-21 14:29:57 +03:00
vvzvlad 10434bbbd3 Remove beautifulsoup4 dependency from requirements 2025-02-09 06:02:18 +03:00
vvzvlad 1512c09f1b BIG REFACTORING post parsing and rendering with modular HTML generation and improved media group handling 2025-02-09 02:29:49 +03:00
vvzvlad 594b1a8c57 Add HTML sanitization and improve channel ID handling in PostParser 2025-02-05 23:37:39 +03:00
vvzvlad 86689b47a7 Add BeautifulSoup4 to project dependencies 2025-02-05 23:13:53 +03:00
vvzvlad b95cf63b3c Improve MIME type detection using python-magic 2025-02-03 04:08:48 +03:00
vvzvlad 17ef3b0b09 Update requirements.txt with specific package versions 2025-02-02 18:53:14 +03:00
vvzvlad f360f1167c BIG refactoring 2025-02-02 18:51:50 +03:00
vvzvlad 9bb0d8a021 Add RSS feed generation endpoint for Telegram channels 2025-02-02 01:59:14 +03:00
vvzvlad 20221c78e1 add html support 2025-02-01 17:52:23 +03:00
vvzvlad 6e367b3ac9 first work version 2025-02-01 16:47:46 +03:00