clipwright/cloud
juancarlos.cavero 3b2221b0d2 feat(alerts): Telegram admin alerts for purchases + ops issues
- config: TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_ID + telegram_configured
- alerts: send_telegram(); send_admin_alert now pushes to Telegram + email
  (so existing proxy-out-of-credits and high-failure alerts hit Telegram too)
- billing webhook: alert on new subscription, trial→paid conversion, and top-up
- .env.cloud.example documents the Telegram vars

Verified end-to-end: alert delivered to the admin group via the same
send_admin_alert path the webhook uses. Token stays in gitignored .env.
2026-07-16 17:59:07 +02:00
..
__init__.py feat: durable video library on Cloudflare R2 (history + retention) 2026-07-14 14:56:40 +02:00
alerts.py feat(alerts): Telegram admin alerts for purchases + ops issues 2026-07-16 17:59:07 +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 feat(billing): 20-min trial cap + activate-plan-now upgrade flow 2026-07-16 02:13:55 +02:00
models.py feat: durable video library on Cloudflare R2 (history + retention) 2026-07-14 14:56:40 +02:00
oauth.py feat: add hosted paid mode (managed keys, Stripe trial, metering) 2026-07-14 13:04:43 +02:00
social_profiles.py feat: add hosted paid mode (managed keys, Stripe trial, metering) 2026-07-14 13:04:43 +02:00
storage.py feat: durable video library on Cloudflare R2 (history + retention) 2026-07-14 14:56:40 +02:00
videos.py feat: durable video library on Cloudflare R2 (history + retention) 2026-07-14 14:56:40 +02:00