Commit Graph

69 Commits

Author SHA1 Message Date
vvzvlad b44d167815 add raw JSON output in _format_html (debug parameter ) 2025-03-22 14:33:43 +03:00
vvzvlad 5e23bfe34f Remove commented-out lines in _debug_message method of PostParser for cleaner code 2025-03-22 13:40:27 +03:00
vvzvlad 4707b65692 Update PDF link handling in PostParser to include direct Telegram links for better accessibility 2025-03-21 15:35:46 +03:00
vvzvlad 3a99673039 Add handling for document media types in PostParser to differentiate between PDF and other documents 2025-03-21 15:29:01 +03:00
vvzvlad 112011ce17 Remove commented-out code for Telegram URL handling in PostParser to clean up the implementation 2025-03-21 15:18:36 +03:00
vvzvlad a9b8125cc1 Enhance emoji handling in PostParser by replacing None or empty emojis with a question mark character in reaction displays 2025-03-21 15:17:57 +03:00
vvzvlad 98a828cc62 Refactor Telegram link handling in PostParser to display a subtle URL instead of a button 2025-03-21 15:16:16 +03:00
vvzvlad 54cd13304b Add webpage data extraction and formatting in PostParser for enhanced link previews 2025-03-21 15:13:55 +03:00
vvzvlad 1f5258a279 fix bug in f-string 2025-03-21 15:03:49 +03:00
vvzvlad f0a8a934d6 Update debug message in PostParser to provide English comments for clarity 2025-03-21 15:03:08 +03:00
vvzvlad 9606e4c0be Add web link detection in post parsing for messages containing only URLs and enhance handling of web page titles 2025-03-21 15:01:11 +03:00
vvzvlad 9f80ffbbd0 Refactor bridge link generation in post parsing to include token 2025-03-21 14:51:41 +03:00
vvzvlad e5ed6151e0 Enhance post retrieval functions to include optional debug parameter for logging raw messages; update README.md with usage example for debug mode. 2025-03-21 14:46:57 +03:00
vvzvlad e58fca0821 Add show_post_flags configuration option and update post parsing to conditionally format flags based on this setting 2025-03-21 14:40:32 +03:00
vvzvlad a65fb05ae4 Add show_bridge_link configuration option and update post parsing to include bridge link in message links 2025-03-21 14:39:03 +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 6ee4cc7237 Enhance video flag detection to include animation media type in post parsing 2025-03-21 14:18:46 +03:00
vvzvlad 6be312235c Refine media type labels in post parsing for voice and video notes 2025-03-21 14:17:23 +03:00
vvzvlad a83533cfd6 Add 'sticker' flag for sticker messages in post parsing 2025-03-11 13:50:27 +03:00
vvzvlad e580d06170 Add 'no_image' flag for posts without media 2025-03-09 15:03:14 +03:00
vvzvlad 4e15783917 Expand stream and advertisement detection in post parsing 2025-03-06 12:11:12 +03:00
vvzvlad af703c5f58 Improve media display responsiveness in HTML generation 2025-03-06 12:02:51 +03:00
vvzvlad 2c132a0d6a Add channel mention detection flag to post parsing 2025-03-04 03:06:16 +10:00
vvzvlad 86300cd116 Add link detection flag to post parsing 2025-03-04 03:04:25 +10:00
vvzvlad 1f61446dfb Enhance post parsing with webinar detection and expanded advertisement flags 2025-02-27 23:59:49 +09:00
vvzvlad 0f96db1fbe Refactor webpage media formatting and import order 2025-02-10 05:51:09 +03:00
vvzvlad 2b0871d7d3 fix webpage media bug 2025-02-09 21:57:13 +03:00
vvzvlad fee2a268ff add erid ti advert flag 2025-02-09 21:56:34 +03:00
vvzvlad 67d52b507a Add time-based media group merging for RSS and HTML generation 2025-02-09 21:44:55 +03:00
vvzvlad c554bd4c44 flags improve 2025-02-09 21:33:29 +03:00
vvzvlad 709465b0fc fix tg links 2025-02-09 21:29:41 +03:00
vvzvlad 4a3c5cc6ef add fwd flag 2025-02-09 21:29:10 +03:00
vvzvlad 94c8068594 Change PostParser method visibility: Make channel_name_prepare public 2025-02-09 07:16:56 +03:00
vvzvlad 7c9fd859d7 Refactor PostParser: Improve code style and method visibility 2025-02-09 06:04:01 +03:00
vvzvlad 344052e00e EPIC: Add content filtering via message flags 2025-02-09 03:53:52 +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 9207056df8 Improve temporary file cleanup by removing associated media file entries 2025-02-07 22:51:42 +03:00
vvzvlad c680bf2493 Enhance media file caching and HTML sanitization with more granular controls 2025-02-07 01:30:02 +03:00
vvzvlad d335f585ce [BREAKING CHANGES] Refactor media file caching with nested directory structure and improved metadata tracking 2025-02-07 01:22:06 +03:00
vvzvlad 0ea7717422 Add CSS sanitization for image dimensions in HTML sanitization 2025-02-07 01:14:34 +03:00
vvzvlad 3aacd0dcef Refactor channel username and ID extraction logic 2025-02-07 01:03:49 +03:00
vvzvlad f257343f35 EPIC: add support for private channels (iwth numeric id) 2025-02-06 23:38:34 +03:00
vvzvlad a7dc10bbf1 Refactor channel ID handling and username extraction in PostParser 2025-02-05 23:46:55 +03:00
vvzvlad 594b1a8c57 Add HTML sanitization and improve channel ID handling in PostParser 2025-02-05 23:37:39 +03:00
vvzvlad cebcdbd5df Add HTML output option for RSS feed and enhance post processing 2025-02-05 23:06:15 +03:00
vvzvlad 8712fb61c4 Enhance channel username extraction and handling in PostParser 2025-02-05 05:31:06 +03:00
vvzvlad 4815319961 Add support many channel usernams 2025-02-05 05:25:18 +03:00
vvzvlad da67f07e5f Improve author info handling with null checks and safer attribute retrieval 2025-02-05 05:06:28 +03:00
vvzvlad cd06bb1e14 Refine author display formatting in RSS and PostParser 2025-02-05 03:17:17 +03:00
vvzvlad e4d7fa402b Refine reactions display formatting in PostParser 2025-02-05 03:10:57 +03:00