clipwright/cloud
juancarlos.cavero cb37ae3aec feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips
Every file the pipeline and the clip editor write is now clean. On the free
plan the served file is a wm_<final> copy with the mark burned in
(main.mark_delivery, last step after captions; app._deliver for the editor
endpoints, decided from the caller's plan), and both twins go to R2. An
upgrade re-points the user's library at the clean twins from the Stripe
webhook (cloud.videos.unmark_user_library): no render, no source video,
and the dashboard chases the job result until no served URL carries wm_.

Before, the mark rode the reframe encode, so every derivative inherited it
and the upgrade modal's "upgrade to remove the watermark" was false for the
clips already made. The first cancellation for "clip quality" (29-sep) was a
user who paid 15 minutes after their first job and kept the mark on every
download and restyle.

- /videos guard refuses a marked job's clean deliverables (.marked dotfile),
  so the twin cannot be fetched by stripping the prefix off a URL; editor
  scratch files stay servable. Re-checked after an R2 restore.
- Walk-backs treat wm_ as the outermost layer; _canonical_clip_file globs it.
- Jobs from before this scheme (mark burned into the canonical) never get a
  second copy; a failed mark still serves under the wm_ name.
- Watermark notice once per job when the clips land on a free account, and
  before the first download if skipped; tracked with source=results|download.
  Upsell/banner/win-back copy now promise the instant removal.
2026-10-01 09:35:53 +02:00
..
__init__.py feat(feedback): in-app cancel flow with reason + review, and a sign-up survey 2026-09-28 18:27:00 +02:00
account.py feat(feedback): in-app cancel flow with reason + review, and a sign-up survey 2026-09-28 18:27:00 +02:00
alerts.py feat(alerts): page when the YouTube session cookies stop being recognised 2026-09-30 13:27:09 +02:00
analytics.py feat(billing): mirror paid invoices, top-ups and refunds into OpenPanel as revenue 2026-09-03 14:16:19 +02:00
api_keys.py feat(agents): the pipeline as a platform — API keys, MCP server, webhooks 2026-08-03 22:33:16 +02:00
auth.py feat(feedback): in-app cancel flow with reason + review, and a sign-up survey 2026-09-28 18:27:00 +02:00
autopilot.py fix(autopilot): no ownership checkbox; private videos said as such 2026-09-26 01:51:08 +02:00
billing.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00
cancellation.py feat(cancel): retention offer as the last step, resume from the account page 2026-09-28 19:03:38 +02:00
config.py feat(free-plan): one whole first video per network every 30 days 2026-09-28 13:33:22 +02:00
database.py feat(cancel): retention offer as the last step, resume from the account page 2026-09-28 19:03:38 +02:00
digest.py fix(digest): harden daily digest after code review 2026-08-18 14:53:31 +02:00
disposable_domains.txt feat(auth): verify email domain MX before sending magic links 2026-08-13 01:03:05 +02:00
disposable_mx.txt fix(billing): withdraw free minutes from temp-mail farms and re-registrations 2026-09-23 01:03:05 +02:00
email_policy.py fix(auth): harden MX verification after code review 2026-08-13 10:07:20 +02:00
emails.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00
LICENSE fix(cloud): harden paid-mode surface + source-available license for cloud/ 2026-07-16 17:30:12 +02:00
lifecycle.py feat(funnel): first free video clipped whole, auto-partial instead of the wall, lifecycle emails 2026-09-28 13:05:43 +02:00
managed_keys.py feat: add hosted paid mode (managed keys, Stripe trial, metering) 2026-07-14 13:04:43 +02:00
marketing.py feat(funnel): first free video clipped whole, auto-partial instead of the wall, lifecycle emails 2026-09-28 13:05:43 +02:00
mcp_oauth.py feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel 2026-08-27 01:17:49 +02:00
metering.py feat(download): skip the static IPs when the probe already saw them bot-checked 2026-09-30 16:30:04 +02:00
models.py feat(cancel): retention offer as the last step, resume from the account page 2026-09-28 19:03:38 +02:00
oauth.py fix(billing): withdraw free minutes from temp-mail farms and re-registrations 2026-09-23 01:03:05 +02:00
onboarding.py feat(feedback): in-app cancel flow with reason + review, and a sign-up survey 2026-09-28 18:27:00 +02:00
proxy_ledger.py fix(download): explicit default,mweb clients so account cookies stop yielding "Video unavailable" 2026-09-06 03:43:46 +02:00
social_profiles.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
storage.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00
videos.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00