Commit Graph

179 Commits

Author SHA1 Message Date
vvzvlad 479c0293ee Enhance debug JSON output formatting 2025-03-24 16:36:01 +03:00
vvzvlad dcba11ce55 Update post_parser to conditionally add hyperlinks to short descriptions and clean up unused code 2025-03-24 16:33:52 +03:00
vvzvlad bbaf2314d5 Remove base64 and URL decoding 2025-03-22 15:26:55 +03:00
vvzvlad 93698e0d4e adding UNICODE flag to regex pattern 2025-03-22 15:11:30 +03:00
vvzvlad 5f5128fed0 Decode base64 parameters if they are encoded 2025-03-22 15:03:53 +03:00
vvzvlad 710ad700e0 URL decoding for exclude_text 2025-03-22 15:01:02 +03:00
vvzvlad d6df00ff8c Refactor RequestLoggingMiddleware to ensure proper logging of request and response details, including error handling during request processing 2025-03-22 14:54:05 +03:00
vvzvlad f5f80487ce Add RequestLoggingMiddleware to log request and response details in API server 2025-03-22 14:50:59 +03:00
vvzvlad d3fe2c1b71 exclude_text filtering now use regex 2025-03-22 14:46:36 +03:00
vvzvlad c8ad7f3e58 Remove commented-out logging for valid token in get_rss_feed function to improve code clarity 2025-03-22 14:41:10 +03:00
vvzvlad b44d167815 add raw JSON output in _format_html (debug parameter ) 2025-03-22 14:33:43 +03:00
vvzvlad 8723540389 Refactor flood wait handling to return 429 status with Retry-After header instead of sleeping, 2025-03-22 14:28:12 +03:00
vvzvlad ac2c06fe22 Update limit validation in generate_channel_rss to allow a maximum of 200 instead of 100 2025-03-22 13:55:04 +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 a17a4aa860 Update media section formatting in _render_messages_groups to include line breaks for better HTML presentation 2025-03-21 15:32:20 +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 64907a8a85 Update README.md to include SHOW_BRIDGE_LINK and SHOW_POST_FLAGS configuration options 2025-03-21 14:41:13 +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 e2701d7979 Skip service messages about new chat photos 2025-03-11 13:47:51 +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 2a1d5bdaeb Update README with exclude_text parameter documentation 2025-03-04 03:24:23 +10:00
vvzvlad de4877e5b7 Update README with new post parsing flags 2025-03-04 03:19:55 +10:00
vvzvlad 716fa7ee42 Add text exclusion filter 2025-03-04 03:15:26 +10: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 2dc1fecc66 Improve error logging and increase HTML generation limit 2025-02-10 05:54:28 +03:00
vvzvlad 44dbeabe1d Add docstrings and improve HTML generation in RSS generator 2025-02-10 05:53:11 +03:00
vvzvlad 0f96db1fbe Refactor webpage media formatting and import order 2025-02-10 05:51:09 +03:00
vvzvlad 72bccca06d Update README with new RSS feed parameters and clarify limit behavior 2025-02-10 05:42:21 +03:00
vvzvlad 76ab94d95b Remove Pyrogram Bridge Docker Compose configuration 2025-02-10 05:37:58 +03:00
vvzvlad 8f8a46d17d Refactor URL signing key management into a class-based approach 2025-02-10 05:37:33 +03:00
vvzvlad c4aed732af Refactor sensitive data masking and configuration logging 2025-02-10 05:33:32 +03:00