SurfSense/surfsense_backend
Vonic 20c4f128bb feat(story-5.3): add Stripe webhook subscription lifecycle handlers
- Add migration 125: subscription_current_period_end column
- Add PLAN_LIMITS config (free/pro_monthly/pro_yearly token + pages limits)
- Add subscription webhook handlers: created/updated/deleted, invoice payment
- Handle checkout.session.completed for subscription mode separately from PAYG
- Idempotency: subscription_id + status + plan_id + period_end guard
- pages_limit upgraded on activation, gracefully downgraded on cancel
- Token reset on subscription_create and subscription_cycle billing events
- Period_end forward-only guard against out-of-order webhook delivery

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 00:43:07 +07:00
..
alembic feat(story-5.3): add Stripe webhook subscription lifecycle handlers 2026-04-15 00:43:07 +07:00
app feat(story-5.3): add Stripe webhook subscription lifecycle handlers 2026-04-15 00:43:07 +07:00
scripts fix: increase timeout for alembic migrations in entrypoint script to prevent premature failures 2026-03-02 23:45:24 +05:30
tests chore: merge upstream with local feature additions 2026-04-13 23:31:52 +07:00
.dockerignore feat: Added Docker Support and missing dependencies. 2025-03-20 18:52:06 -07:00
.env.example refactor: make Azure Document Intelligence an internal LLAMACLOUD accelerator instead of a standalone ETL service 2026-04-08 03:26:24 +05:30
.gitignore feat: init video presentation agent 2026-03-21 22:13:41 -07:00
.python-version feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
alembic.ini add github connector, add alembic for db migrations, fix bug updating connectors 2025-04-13 13:56:22 -07:00
backend.log feat: Add DexScreener RAG retrieval test and token validation, configure Serena project settings, and update admin guide with default admin account details. 2026-02-01 14:24:01 +07:00
celery_worker.py fix: celery_app path and gmail indexing 2025-10-21 21:11:41 -07:00
Dockerfile feat: enhance memory management and session handling in database operations 2026-02-28 23:59:28 -08:00
main.py feat: added configable summary calculation and various improvements 2026-02-26 18:24:57 -08:00
nohup.out update 2026-03-11 19:32:08 +07:00
pyproject.toml feat: bumped version to 0.0.15 2026-04-08 16:17:37 -07:00
test_chat_rag.py docs: update PRD with comprehensive extension features and UX integration strategy 2026-02-01 21:32:06 +07:00
test_dexscreener_integration.py feat(backend): Add DexScreener connector database migration 2026-01-31 17:25:31 +07:00
uv.lock feat: bumped version to 0.0.15 2026-04-08 16:17:37 -07:00