browsertrix/frontend
Ilya Kreymer db39333ef4
Send subscription cancelation email (#2234)
Adds sending a cancellation email when a subscription is cancelled.
- The email may also include an option survey optional survey URL, if
configured in helm chart `survey_url` setting.
- Cancellation e-mail configured in `sub_cancel` e-mail template
- E-mails are sent to all org admins.
- Also adds `trialing_canceled` subscription state to differentiate from
a default `trialing` which will automatically rollover into `active`.
- The email is sent when: a new cancellation date is added for an
`active` subscription, or a `trialing` subscription is changed to to
`trialing_canceled`. (A subscription can be canceled/uncanceled several
times before actual date, and e-mail is sent every time it is canceled.)
- The 'You have X days left of your trial' is also always displayed when
state is in trialing_canceled.

Fixes #2229
---------

Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
2024-12-12 11:52:38 -08:00
..
.husky chore: Auto-commit extracted localization strings (#2089) 2024-09-30 10:48:13 -07:00
config/tailwind/plugins Add detailed permissions & permission summaries to user invite popup (#2003) 2024-08-20 20:34:29 -04:00
docs Plausible analytics (#2226) 2024-12-10 16:30:22 -08:00
lib Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00
patches Fix attribute casing & lit-analyzer issues (#1429) 2023-12-11 12:34:03 -05:00
scripts Changes to support weblate workflow (#2210) 2024-12-09 15:16:47 -08:00
src Send subscription cancelation email (#2234) 2024-12-12 11:52:38 -08:00
tests fix: Hide login link on login page (#2039) 2024-08-21 15:33:24 -07:00
xliff Changes to support weblate workflow (#2210) 2024-12-09 15:16:47 -08:00
.dockerignore Optimizing Frontend Dockerfile (#60) 2021-12-05 18:39:45 -08:00
.editorconfig chore: add editorconfig in frontend 2023-02-24 13:04:11 -08:00
.eslintrc.js Frontend hosted-docs (#2107) 2024-10-08 14:56:34 -07:00
.gitignore CI: Add Playwright UI e2e tests + CI (#614) 2023-03-22 16:23:22 -07:00
.prettierignore Frontend hosted-docs (#2107) 2024-10-08 14:56:34 -07:00
.vscode add vscode config symlink in frontend dir 2023-11-20 16:56:48 -05:00
.yarnrc refactor: Implement brand colors (#2141) 2024-11-12 08:54:11 -08:00
00-browsertrix-nginx-init.sh Plausible analytics (#2226) 2024-12-10 16:30:22 -08:00
Dockerfile Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00
frontend.conf.template Frontend hosted-docs (#2107) 2024-10-08 14:56:34 -07:00
index.d.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
lit-localize.json feat: Localization workflow improvements (#2069) 2024-09-10 14:15:26 -07:00
minio.conf Local Deployment Work: Support running locally + test cluster on CI (#396) 2022-12-02 19:58:34 -08:00
package.json Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00
playwright.config.ts Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00
postcss.config.js Add detailed permissions & permission summaries to user invite popup (#2003) 2024-08-20 20:34:29 -04:00
prettier.config.js Changes to support weblate workflow (#2210) 2024-12-09 15:16:47 -08:00
README.md
sample.env.local feat: Merge workflow job types (#2068) 2024-09-25 10:37:18 -04:00
tailwind.config.js refactor: Implement brand colors (#2141) 2024-11-12 08:54:11 -08:00
tsconfig.eslint.json
tsconfig.json chore: Improve time to load org UI (#2044) 2024-08-26 10:45:10 -07:00
web-test-runner.config.mjs Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00
webpack.config.js Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00
webpack.dev.js [Chore] Webpack: Migrate from onBeforeSetupMiddleware to setupMiddlewares (#2080) 2024-10-02 19:35:32 -07:00
webpack.prod.js
yarn.lock Localize durations on frontend (#2196) 2024-12-03 16:46:57 -05:00