- Remove the watermark feature end to end (watermarked.py, apply_watermark/
mark_delivery/watermark_filter, WATERMARK env, assets/) and its tests; self-host
delivery is now unconditionally clean.
- Delete the unused cli/ package and .github/workflows/publish-cli.yml.
- Delete docs/ (compliance) and design.md; drop the dangling references in the
legal page and the design-token/ui comments.
- Consolidate requirements: requirements.txt (runtime) + requirements-test.txt
(unit + E2E); remove requirements-e2e.txt and requirements-ml-e2e.txt and
point both CI jobs at the single test file. Add libgl1 to the unit job
(scenedetect -> opencv-python links libGL).
Verified in the CI container: unit 701 passed; API E2E 209; pipeline E2E 127;
Playwright 19 passed / 1 skipped.
Reviewed-on: #6
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
- Postiz publishing now selects exact channels by integration id; identifier
mapping fixes instagram-standalone (was 'not connected') and multiple channels
per network (was first-only); settings.__type uses the real identifier
- Publish modal lists all channels, DD/MM/YYYY + HH:MM scheduling with validation,
surfaces backend errors and a success confirmation
- Remove AWS/S3 clip backup and ElevenLabs voice dubbing (server, UI, tests, docs)
- Boot straight into the app; remove the landing/launch screen
- CI backend-tests runs in a python:3.11-slim container (Forgejo has no 3.11 cache)
Reviewed-on: #1
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
CI has been red since the July layout work: the workflow installed five
light packages while the suite grew tests importing numpy, and the MCP
endpoint tests added fastapi on top. Two fixes:
- panel_layout/screencast_layout imported main (torch, mediapipe) BEFORE
their ENABLED gate, so even the disabled path paid the heavy import.
Move the import below the gate: the default path now imports nothing,
which is what the gate was for.
- The workflow installs exactly what the collected tests import at
module level, still excluding the ML stack the lazy imports protect.
List validated against a clean venv: 382 passed, 3 skipped, 0 import
errors.
Ported from PR #50 (Themegaindex) onto current main, adapted to the
billing-mode app.py and the Lumen dashboard:
- subtitles.py: karaoke ASS generation (word-level highlight, glow/pop/box
effects, dim/uppercase), whisper continuation-word merging, env-configurable
whisper model, ASS/font input sanitization, faststart
- editor.py + edit_builder.py: Auto-Edit v2 — Gemini returns a structured
edit-decision list and the FFmpeg filter is built deterministically with
hard caps (no raw filter strings from the LLM), 2s dry-run + one
self-repair round, caption-safe mode blocks zooms on subtitled clips
- app.py: /api/subtitle karaoke fields + re-subtitle prefix walk-back
(fixes double subtitles), has_captions passed to Auto-Edit
- hooks.py: emoji rendering (color-emoji font with strip fallback),
char-level hard wrap, unique temp PNGs, ffmpeg timeouts; keeps the
duration/enable overlay from b1113d7
- translate.py: exponential-backoff retries for transient ElevenLabs errors
- dashboard: 11 caption presets in SubtitleModal; karaoke burns server-side
- tests/: 50 pytest tests; .github/workflows/ci.yml runs them + fe build
Encode settings kept at CRF 18 (medium for post-process steps) per f791a74.
Co-authored-by: Themegaindex <themegaindex@users.noreply.github.com>