Fixes https://github.com/webrecorder/browsertrix/issues/1905 - adds a new top-level `/api/subscriptions` endpoint and SubOps handler on the backend. - enable subscriptions API endpoints available only if `billing_enabled` is set in helm chart - new POST /subscriptions/create, /subscriptions/update, /subscriptions/cancel API endpoints - Subscriptions mongo collection storing timestamped /subscription API events - GET /subscriptions/events API to get subscription events, support for filtering and sorting - Subscription data model - Support for setting and handling readOnlyOnCancel on org - /orgs/<id>/billing-portal to lookup portalUrl using external API - subscription in org getter and list views - mark org as readOnly for subscription status `paused_payment_failed`, clears it on status `active` --------- Co-authored-by: Tessa Walsh <tessa@bitarchivist.net> |
||
---|---|---|
.. | ||
ansible-lint.yaml | ||
deploy-dev.yaml | ||
docs-publish.yaml | ||
frontend-build-check.yaml | ||
k3d-ci.yaml | ||
k3d-log-ci.yaml | ||
k3d-nightly-ci.yaml | ||
lint.yaml | ||
microk8s-ci.yaml | ||
password-check.yaml | ||
project-assign-issue.yml | ||
publish-helm-chart.yaml | ||
release.yaml | ||
ui-tests-playwright.yml |