feat: v7.3.0 — gap-fill recovery, token URL auto-login, UX improvements#94
Merged
feat: v7.3.0 — gap-fill recovery, token URL auto-login, UX improvements#94
Conversation
Gap-fill: detect and recover skipped messages from interrupted backups - SQL LAG() window function detects gaps in message ID sequences - iter_messages(min_id, max_id) recovers missing messages from Telegram - FILL_GAPS=true / GAP_THRESHOLD=50 env vars for automated post-backup runs - CLI subcommand: fill-gaps --chat-id --threshold - Scheduler integration: runs automatically after each backup when enabled - 31 functional tests (real SQLite + mocked Telegram client) Frontend UX improvements: - Token URL auto-login (?token=XXX) for shareable one-click access - Shareable link UI in admin panel (copy token or full URL) - @username display in chat list
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
- Gap-fill now continues on per-chat/per-gap errors instead of aborting - Scheduler accurately reports gap-fill errors in completion message - Gap-fill respects backup config (CHAT_IDS, CHAT_TYPES, excludes) - Token URL share dialog warns about server access log exposure - Stats recalculated after gap-fill recovers messages
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the genuinely useful features from #88 and #91 (by @PhenixStar — thanks for the ideas and the initial implementation work), with all code review feedback applied.
Gap-fill: detect and recover skipped messages
LAG()window function detects gaps in message ID sequences per chatiter_messages(min_id, max_id)recovers missing messages from TelegramFILL_GAPS=true/GAP_THRESHOLD=50env vars for automated post-backup runsfill-gaps --chat-id --thresholdReview fixes applied (from #88):
if chat_id is not None:instead ofif chat_id:(falsy check bug)get_chats_with_messages()queries thechatstable, notSELECT DISTINCT chat_id FROM messages(performance)Frontend UX improvements
?token=XXX): one-click shareable access, token stripped from URL after login@channelnamein chat listReview fixes applied (from #91):
Test plan
FILL_GAPS=true, verify post-backup gap scan/?token=XXX, verify auto-login and URL cleanup