Commit Graph
47 Commits
Author SHA1 Message Date
hicocos 50670672c0 fix: pin postgres image with pgvector support 2026-08-24 09:17:58 +08:00
hicocos dd7dfabb23 fix: flush notification digests for group chats 2026-08-24 07:35:20 +08:00
hicocos ef3476f853 fix: preserve undelivered notification digests 2026-08-24 07:29:33 +08:00
hicocos 28d229f8c9 feat: complete bot and web reliability enhancement plan 2026-08-24 07:17:08 +08:00
hicocos 6b2ee50a9e fix: bound cloud storage account probes 2026-08-18 22:15:40 +08:00
hicocos 8630174d40 release: bump version to 2.0.1 2026-07-23 15:49:56 +08:00
hicocos 90c6a5ef34 feat: improve routing, task management, and media previews 2026-07-23 15:35:12 +08:00
hicocos 6c96bc304c chore: remove obsolete project files 2026-07-23 08:13:15 +08:00
hicocos d1d60c388c release: finalize v2.0.0 2026-07-23 08:12:19 +08:00
hicocos 2d6204b2b3 fix: harden storage and task concurrency
Prevent stale workers, stalled WebDAV requests, unsafe destructive operations, and chunk upload races. Refresh vulnerable frontend dependencies and add regression coverage for the repaired protocols.
2026-07-17 16:31:32 +08:00
hicocos be1194657e fix(ux): improve subscription and upload outcomes
Hide manually cancelled subscriptions while preserving recoverable pauses. Add paginated subscription controls and one-time cancellation confirmation bound to the originating user and message.

Render distinct web upload summaries for success, partial completion, failure, and cancellation.
2026-07-15 22:00:49 +08:00
hicocos 15ee841d0c fix(storage): clean terminal download items 2026-07-14 23:11:16 +08:00
hicocos b9d988b379 fix(ytdlp): keep valid downloaded outputs 2026-07-14 22:52:38 +08:00
hicocos 03bb21c951 feat: improve Telegram bot allowlist setup 2026-07-14 21:49:59 +08:00
hicocos 56276d35fc fix: close post-review durability gaps
Resolve follow-up review blockers around storage account leases, account deletion constraints, restart-safe write reconciliation, and backup maintenance recovery.
2026-07-14 09:44:37 +08:00
hicocos f8303d5eae fix: close durable workflow recovery gaps
Harden Telegram lease ownership and subscription finalization, add storage account operation barriers, make chunk completion crash-recoverable with a write-ahead reconciliation journal, and coordinate backup snapshots with capacity checks.
2026-07-14 08:53:07 +08:00
hicocos 841e1ebd55 fix: harden durable task and storage workflows
Persist upload, OAuth, session, and Telegram lease state while enforcing fail-closed authentication and storage behavior.

Add deletion compensation, bounded frontend requests and uploads, readiness checks, operational safeguards, backup tooling, and regression coverage.
2026-07-13 09:39:09 +08:00
hicocos 5b9980d999 feat(telegram): add task center and safe recovery
Add per-task queue controls, persistent pause and cancellation semantics, and coordinated cooldown recovery for Telegram downloads. Improve album naming and recovery metadata, with regression coverage for task safety and media grouping.
2026-07-11 16:31:42 +08:00
hicocos 83f7f18977 docs: plan Telegram task center 2026-07-10 16:17:31 +08:00
hicocos a438413680 docs: design Telegram task center 2026-07-10 16:10:21 +08:00
hicocos 0cc0543e6e feat(storage): pause Drive uploads on quota cooldown 2026-07-06 17:26:04 +08:00
hicocos 7df6f9111a docs: trim update workflow commands
Remove optional verification commands from the required container update command block so the maintenance flow only shows the necessary update steps.
2026-07-05 15:14:17 +08:00
hicocos e1e97b78bb docs: make update workflow path-agnostic
Update the maintenance section to tell users to run Git and Docker Compose commands from their actual project directory instead of a fixed server path.
2026-07-05 15:12:09 +08:00
hicocos 385fb93543 docs: simplify container update workflow
Document the default Docker Compose update path that pulls main, rebuilds both frontend and backend, restarts containers, and verifies backend health.
2026-07-05 15:03:49 +08:00
hicocos e657f6a496 test(telegram): verify private invite date downloads
Extend the private invite support verification to assert that date-based downloads resolve t.me/+ and joinchat links before creating background jobs.
2026-07-05 14:57:17 +08:00
hicocos d87a9880b8 feat(telegram): support private invite subscriptions
Resolve t.me/+ and joinchat invite links for accounts that already joined the private channel or group. Store the stable peer id for future syncs and surface clear errors when the account has not joined or the invite is invalid.

Pause subscriptions that become inaccessible and show the disabled reason in subscription lists.
2026-07-05 14:51:16 +08:00
hicocos 19f3c12034 fix(telegram): show only live task queues
Refine /tasks to hide finished or cancelled channel jobs, avoid resurrecting stale persistent jobs, and add inline controls for pause/resume/cancel actions.
2026-07-04 12:14:50 +08:00
hicocos 3092739959 perf: optimize file listings and update branding
Add cursor-based file pagination, storage-scope indexes, and a web maintenance action for completed Telegram download item cleanup. Refresh the frontend logo references to the TG Vault README logo with a cache-busting URL.
2026-07-04 09:44:45 +08:00
hicocos 4b021a53ec feat(telegram): add resumable channel pipeline 2026-07-03 19:18:20 +08:00
hicocos e20d354e7e fix(telegram): show scan and current file status
Edit the manual channel download status message with scan totals before queuing downloads.

Force-refresh the batch status when each file starts so comment-thread media shows the active file name.
2026-07-03 18:01:05 +08:00
hicocos b9297e4db3 feat(telegram): download channel comment media
Add optional comment-thread scanning for manual channel downloads and route mixed channel/comment message refs through the download queue.

Skip Telegram stickers when extracting downloadable media and add a regression verifier for sticker exclusion.
2026-07-03 17:41:22 +08:00
hicocos 050fedf185 chore: rename project to tg-vault 2026-07-03 16:38:22 +08:00
hicocos 213875c23e fix: restore signed media thumbnails 2026-07-03 16:02:48 +08:00
hicocos a4e7247271 fix(telegram): use numeric callback message ids 2026-07-02 18:33:25 +08:00
hicocos b826ff1044 feat(telegram): add file download concurrency menu 2026-07-02 18:26:38 +08:00
hicocos 06ab912b84 docs: clarify telegram setup and commands 2026-07-02 16:40:06 +08:00
hicocos 7b81654acb fix(config): simplify telegram environment setup 2026-07-02 16:11:36 +08:00
hicocos 71d2de6dbe feat: harden auth storage and telegram workflows
- add first-run admin setup with HttpOnly cookie sessions
- scope file operations to the active storage account
- improve Telegram auth, downloads, and background tasks
- harden upload, signed URL, CORS, and local path handling
- update docs, logo, lint configuration, and frontend chunks
2026-07-02 15:17:30 +08:00
hicocos fd2faa97e7 fix(telegram): clarify task queue controls
Show paused and cancelled states directly in the Telegram batch progress message. Remove fallback slash commands from the control card, clear inline buttons after successful completion or cancellation, and invalidate task ids so old buttons no longer report successful pause/resume after cancellation.
2026-07-01 20:07:15 +08:00
hicocos 07d3b677b0 fix(storage): improve OneDrive OAuth callback UX
Show Microsoft client secret errors directly instead of a generic backend-log message. Allow the OneDrive success page script to notify the opener and close itself, and refresh the settings page when the auth popup is closed manually. Also document copying the Azure client secret Value instead of the Secret ID.
2026-07-01 19:03:29 +08:00
hicocos 6333f22f63 Bind auth signed URLs to operation type 2026-07-01 16:09:42 +08:00
hicocos e877fa8ba3 Route folder mutations through scoped handlers 2026-07-01 16:01:36 +08:00
hicocos bf17f4b02d Scope folder operations to active storage 2026-07-01 15:58:02 +08:00
hicocos 8c6d5b5c39 Keep legacy signature helper compatible 2026-07-01 15:42:03 +08:00
hicocos 8a357e7a8a Avoid Docker Hub login on PR builds 2026-07-01 15:35:40 +08:00
hicocos 9d3261328d Bind signed URLs to file action type 2026-07-01 15:35:00 +08:00
hicocos ca3f2768af Update README.md 2026-06-26 08:40:04 +08:00