Commit Graph

68 Commits

Author SHA1 Message Date
vvzvlad fb73f6b868 fix zero size bug 2025-04-11 18:00:30 +03:00
vvzvlad f42e159ba6 Add flags endpoint 2025-04-11 02:04:58 +03:00
vvzvlad 997b49b4df removal of invalid entries from media_file_ids.json 2025-04-04 22:21:22 +03:00
vvzvlad 129b07abda add logging 2025-04-04 22:09:52 +03:00
vvzvlad de5c3f1fa1 fix bug Invalid digest : None, expected: None 2025-04-04 22:07:47 +03:00
vvzvlad 422e2adc2d Add shebang and encoding declaration to multiple Python files 2025-04-03 01:48:34 +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 bbaf2314d5 Remove base64 and URL decoding 2025-03-22 15:26:55 +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 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 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 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 583a4c4b3c Add uvloop support for asyncio in api_server and telegram_client; update requirements.txt 2025-03-21 14:29:57 +03:00
vvzvlad 716fa7ee42 Add text exclusion filter 2025-03-04 03:15:26 +10:00
vvzvlad c4aed732af Refactor sensitive data masking and configuration logging 2025-02-10 05:33:32 +03:00
vvzvlad 29ff31d136 Enhance health check endpoint with masked configuration details 2025-02-09 22:06:00 +03:00
vvzvlad c9c1bacc49 Add server configuration logging with sensitive data masking 2025-02-09 22:04:18 +03:00
vvzvlad 67d52b507a Add time-based media group merging for RSS and HTML generation 2025-02-09 21:44:55 +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 9207056df8 Improve temporary file cleanup by removing associated media file entries 2025-02-07 22:51:42 +03:00
vvzvlad 77cc68e4e1 Add temp file skip mechanism for large video downloads 2025-02-07 03:17:53 +03:00
vvzvlad 3fa6d745d6 Increase default RSS feed retrieval limit to 50 items 2025-02-07 02:11:03 +03:00
vvzvlad 8a966fa262 Optimize cache statistics calculation by removing temporary file filtering 2025-02-07 01:55:02 +03:00
vvzvlad cd277e0937 Enhance media URL signature verification with configurable signing key 2025-02-07 01:45:39 +03:00
vvzvlad 20e975fce8 Improve media request error logging and channel ID handling 2025-02-07 01:40:12 +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 84dbfd2376 Improve file ID parsing for media download with robust hyphen handling 2025-02-07 01:11:37 +03:00
vvzvlad 461c13f5f8 Fix handling of negative channel IDs in media download 2025-02-07 01:01:10 +03:00
vvzvlad c9c7c35b4d Add optional token-less health check endpoint 2025-02-07 00:24:32 +03:00
vvzvlad b5b7375e76 Fix channel ID conversion for numeric channel IDs in media download 2025-02-07 00:23:29 +03:00
vvzvlad 0ed4d71b96 Add token-based authentication to health check endpoint 2025-02-07 00:11:47 +03:00
vvzvlad ce8fad8586 Simplify lifespan context manager for background task management 2025-02-05 23:10:34 +03:00
vvzvlad 83a91d89ae Add token-based authentication for HTML and JSON post retrieval endpoints 2025-02-05 23:09:52 +03:00
vvzvlad cebcdbd5df Add HTML output option for RSS feed and enhance post processing 2025-02-05 23:06:15 +03:00
vvzvlad 7d0e8b334b Improve logging for media digest and RSS feed token validation 2025-02-05 05:53:30 +03:00
vvzvlad 83c3cee257 Add randomized wait time to FloodWait handling for better API request distribution 2025-02-05 05:07:29 +03:00
vvzvlad 8d2efd35ff Implement retry mechanism for FloodWait errors in RSS feed generation 2025-02-05 04:56:53 +03:00
vvzvlad 01aed89cea Handle Telegram FloodWait errors in RSS feed generation 2025-02-05 04:28:08 +03:00
vvzvlad 9d1440c0d9 Improve RSS feed token authentication logging and error handling 2025-02-05 03:49:31 +03:00
vvzvlad 473d7bef3f Add optional token authentication for RSS feed endpoint 2025-02-05 03:41:36 +03:00
vvzvlad b97e7882c3 Add URL signature verification for media files 2025-02-05 03:06:30 +03:00
vvzvlad 39dc160303 Enhance large video file handling with temporary file support and background deletion 2025-02-03 16:43:50 +03:00
vvzvlad 735873d843 Add cache statistics to health check endpoint 2025-02-03 16:09:26 +03:00
vvzvlad 723f773ab5 Handle poll media type in file download and media search 2025-02-03 04:26:01 +03:00