clipwright/cloud
victormanuel.caverogracia 747a1d5f95 fix(billing): don't let a non-current subscription clobber the live row
subscriptions keeps one row per user, keyed on user_id in _upsert. An event
for a *different* sub of the same user (e.g. canceling a dangling past_due
annual while a monthly trial is live) would overwrite the good row. Add a
cross-subscription guard: another sub only takes over the row when the stored
one is no longer live.
2026-07-18 23:42:21 +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 fix(billing): don't let a non-current subscription clobber the live row 2026-07-18 23:42:21 +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