clipwright/cloud
juancarlos.cavero 927ee09ffc feat(projects): reopen archived projects from history for further editing
- New projects table (job_id, metadata_r2_key, state JSONB) — created via create_all
- archive_job also uploads the metadata JSON (transcript) and upserts the
  Project row + user_videos (no more duplicate rows on re-archive)
- archive_clip_edit re-archives a clip after each server-side edit, keeping
  only the pristine original + current version per clip in R2
- fix /api/edit: persist new video_url in job result + metadata.json (the
  other edit endpoints already did)
- POST /api/projects/{job_id}/restore re-hydrates R2 files into output/{job_id}
  (per-job lock, temp-dir download, .owner sidecar, idempotent fast path)
- GET /api/projects + PUT /api/projects/{job_id}/state (debounced Remotion
  layer sync from the frontend)
- History tab groups clips by project with a reopen button; App restores
  jobId/results/project state; ResultCard seeds serverVideoFile/activeLayers
  from the restored state and reports changes upward
2026-07-18 03:42:17 +02:00
..
__init__.py feat: durable video library on Cloudflare R2 (history + retention) 2026-07-14 14:56:40 +02:00
alerts.py fix(cloud): precise proxy alerts, scrub proxy creds from logs, hide system logs from paid users 2026-07-17 21:23:54 +02:00
auth.py feat: add hosted paid mode (managed keys, Stripe trial, metering) 2026-07-14 13:04:43 +02:00
billing.py feat(alerts): Telegram admin alerts for purchases + ops issues 2026-07-16 17:59:07 +02:00
config.py feat(alerts): Telegram admin alerts for purchases + ops issues 2026-07-16 17:59:07 +02:00
database.py feat: add hosted paid mode (managed keys, Stripe trial, metering) 2026-07-14 13:04:43 +02:00
emails.py feat: 720p->360p download fallback + SMTP email alerts 2026-07-14 14:00:02 +02:00
LICENSE fix(cloud): harden paid-mode surface + source-available license for cloud/ 2026-07-16 17:30:12 +02:00
managed_keys.py feat: add hosted paid mode (managed keys, Stripe trial, metering) 2026-07-14 13:04:43 +02:00
metering.py chore: scrub infra hints from repo 2026-07-16 18:31:55 +02:00
models.py feat(projects): reopen archived projects from history for further editing 2026-07-18 03:42:17 +02:00
oauth.py fix(auth): OAUTH_REDIRECT_URI override for local login through the Vite proxy 2026-07-17 21:26:04 +02:00
social_profiles.py feat(social): keep scheduling calendar + add Content calendar button in dashboard 2026-07-16 19:26:51 +02:00
storage.py feat(projects): reopen archived projects from history for further editing 2026-07-18 03:42:17 +02:00
videos.py feat(projects): reopen archived projects from history for further editing 2026-07-18 03:42:17 +02:00