Commit graph

4 commits

Author SHA1 Message Date
245a27c7a3 chore: drop watermark feature, CLI, docs, design.md; consolidate requirements
- 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.
2026-10-05 09:53:47 +01:00
719946b3cd refactor/package-layout (#3)
All checks were successful
CI / backend-tests (push) Successful in 29s
CI / frontend-build (push) Successful in 9m48s
Reviewed-on: #3
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-04 20:47:12 +01:00
edcfeaf9d5 refactor: remove cloud/ billing mode and flatten to self-hosted-only
- Delete the entire cloud/ package (Stripe billing, auth/OAuth, metering, API keys,
  account erasure, lifecycle/digest emails, R2 archive, autopilot, MCP OAuth,
  proxy ledger, managed keys) and all BILLING_ENABLED branches in app.py
- Keep self-host behavior via no-op shims; /api/config now returns
  {youtubeUrlEnabled, jobRetentionSeconds, localLlm}
- Remove cloud tests (31 files), alembic/, log_view.py, requirements-billing.txt,
  docker-compose.cloud.yml; update CLI to Postiz + /api/config; clean docs/skills
- Flatten dashboard: remove auth/billing/pricing/history chrome, inert config-only AuthContext
- Fix residual test drift; lint + build + compile all green
2026-10-04 17:02:55 +01:00
juancarlos.cavero
0d9e04f333 fix(reframe): harden PR #70's manual reframing after review
- Meter the re-render: /api/clip/reframe now reserves/commits/releases
  minutes exactly like a source-path /rerender — it is the same GPU work,
  and it was free and uncapped.
- Re-apply captions by default (reapply_captions param to opt out): every
  default clip ships with burned captions, and the reframe silently
  returned caption-less files.
- Read metadata.json INSIDE the per-job lock (same _reframe_locked shape
  as /rerender): the read-outside/write-inside window let a concurrent
  rerender's recipe get clobbered by a stale write.
- Interplay with whole-clip framing: recipe.framing keeps forcing its
  layout on the scenes the user did not hand-position (apply_crop_overrides
  runs after force_strategy, so per-scene wins where named), and the
  recipe is preserved through the reframe instead of being rebuilt bare.
- /rerender clears stale crop_overrides: scene indices only mean anything
  against the cut they were made for, and the trim render does not apply
  them — leaving them made /scenes reopen showing overrides that would
  land on the wrong shots.
- /scenes: entitlement-gated (it cuts, scene-detects and encodes on every
  open), serialized per job (stable output names tore under concurrent
  opens), 400 on horizontal jobs, real aspect for square jobs, temp_
  prefix on preview/thumbnails (kept out of the self-host S3 backup),
  faststart + timeout on the preview encode.
- Tests for all of it plus the apply_crop_overrides math the PR described
  but did not include (12 new, suite at 502).
2026-08-19 12:09:02 +02:00