Commit Graph

196 Commits

Author SHA1 Message Date
vvzvlad 0d94ff9e1a Enhance PostParser with CSS styles for reactions string 2025-03-27 18:21:40 +03:00
vvzvlad b497ce6e66 Add YouTube link title 2025-03-27 18:15:15 +03:00
vvzvlad 8da20bc581 Refactor Dockerfile to remove unnecessary healthcheck configuration 2025-03-26 15:30:33 +03:00
vvzvlad 310f3c06b5 Remove healthcheck from Dockerfile 2025-03-26 15:12:30 +03:00
vvzvlad ca44525289 Update Dockerfile healthcheck URL 2025-03-26 15:06:05 +03:00
vvzvlad a45678a852 Add JSON repair functionality 2025-03-26 15:04:24 +03:00
vvzvlad 750c01776a Update API endpoints to include request parameter for token validation, enhancing security by checking client host against allowed addresses. 2025-03-26 15:00:28 +03:00
vvzvlad 8fc9da8306 Add line break after message text 2025-03-25 14:50:42 +03:00
vvzvlad 3436472942 enhance PostParser with pinned message 2025-03-24 19:44:59 +03:00
vvzvlad 67a1c1ba6e Streamline debug JSON output formatting in PostParser 2025-03-24 17:17:45 +03:00
vvzvlad d3def58d93 Enhance debug JSON 2025-03-24 17:06:24 +03:00
vvzvlad c4eee8b13a Fix debug JSON output 2025-03-24 17:01:57 +03:00
vvzvlad 713ab51dcc Refactor PostParser 2025-03-24 16:59:44 +03:00
vvzvlad 26ba743821 Fix debug JSON output 2025-03-24 16:57:18 +03:00
vvzvlad d9443b8a54 Refactor debug JSON 2025-03-24 16:54:45 +03:00
vvzvlad 54b3175bdf Refactor PostParser to improve URL handling and conditional hyperlinking for short texts 2025-03-24 16:51:29 +03:00
vvzvlad dc4af5aa86 Improve debug JSON output 2025-03-24 16:45:31 +03:00
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