cal.pub0.org/apps/web/pages
Omar López 0a8509d721
Admin/team billing downgrader (#2040)
* downgrade func

* fix security hole lol

* fix query conditions

* - set to trial not free
- auto create stripe customer if missing
- fix production check

* Extracts downgrade logic to script, fixes ts-node conflicts with prisma

* Adds trialEndsAt field to users

* Updates trial/downgrade logic

* Typo

* Legibility fixes

* Update team-billing.ts

* Legibility improvements

Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-03 19:29:19 +00:00
..
[user] fix: HTTP 404 with uppercase username (#2045) 2022-03-03 16:42:30 +00:00
api Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
auth Fixes undefined bug by replacing BASE_URL with NEXT_PUBLIC_BASE_URL in Shell and signup. (#1991) 2022-02-27 22:34:08 +00:00
availability Fix missing zero-padding on troubleshoot (#1974) 2022-02-24 12:36:02 -07:00
bookings Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
cancel hotfix ambiguous cancel dialog (#2001) 2022-02-28 10:15:37 +00:00
event-types Fixes incorrect Webhook Component title (#2047) 2022-03-03 14:16:07 +00:00
integrations Fixes incorrect Webhook Component title (#2047) 2022-03-03 14:16:07 +00:00
payment Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
reschedule Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
sandbox Runs prettier 2022-02-10 14:22:45 -07:00
settings Let users set 12/24 hour time format (#2002) 2022-02-28 16:24:47 +00:00
team Fix/border avatargroup (#1956) 2022-02-23 15:29:40 +00:00
video Detect users browser locale for time format 12/24 hours (#1900) 2022-02-23 12:37:15 +00:00
404.tsx fixed 404 username link (#1808) 2022-02-11 12:44:25 +00:00
500.tsx Add 500 error page (#1910) 2022-02-18 10:33:18 -07:00
[user].tsx wip (#1825) 2022-02-11 21:47:22 +00:00
_app.tsx Silence trpc logging by default (#1949) 2022-02-23 16:37:41 +00:00
_document.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
_error.tsx Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
getting-started.tsx Fix/sso username (#1897) 2022-02-18 17:32:12 +00:00
index.tsx Lint fixes (#1826) 2022-02-11 22:20:10 +00:00
success.tsx Detect users browser locale for time format 12/24 hours (#1900) 2022-02-23 12:37:15 +00:00