Skip to content

Quarantine new media through the shared image-worker queue - #268

Merged
sivert-io merged 3 commits into
mainfrom
codex/banner-video
Oct 2, 2026
Merged

sivert-io merged 3 commits into
mainfrom
codex/banner-video

Conversation

@sivert-io

@sivert-io sivert-io commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Banners reuse storeUploadedFile and the existing image-job queue. New unencrypted chat pictures/videos and banners remain unreadable until a worker job succeeds; video reads also require a decoded poster. Queue failures are fatal rather than logged-and-ignored. Upload limits and banner permissions remain enforced. Legacy file reads, SVG sanitization and opaque encrypted attachments keep their current behavior.

Focused API verification: 47 tests pass, including pending/rejected reads, HEAD, ranges, thumbnails, configured upload limits, permissions and encrypted attachment preservation. Types, targeted lint and comment checks pass.

Requires image-worker #38 and client #770. This remains draft while desktop video-decoder support and the exact safety contract are unresolved. Worker approval does not mean virus-free; no antivirus scanner exists in this implementation.

@sivert-io
sivert-io marked this pull request as draft October 2, 2026 18:09
@sivert-io sivert-io changed the title feat(server): accept MP4 card banners Quarantine new media through the shared image-worker queue Oct 2, 2026
@sivert-io
sivert-io marked this pull request as ready for review October 2, 2026 19:15
@sivert-io
sivert-io merged commit 8d7f9bd into main Oct 2, 2026
4 checks passed
@sivert-io
sivert-io deleted the codex/banner-video branch October 2, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant