calcom/public
Jamie Pine 5567721431
Team Billing (#1552)
* added base logic for team billing

- moved Stripe customer related logic to customer.ts
- implemented unstable logic for team owner upgrading, downgrading and adding/removing seats

* logic improvements

* - improved Alert style
- hide free team members on public team page
- upgraded textarea to ui component TextArea in SAML setup
- added Alert on team settings for hidden members
- hide CreateEventTypeButton if not admin
- fixed missing locale strings in team settings

* remove random import

* - show hidden status on team list
- refactor team pill

* - improved logic (mostly functional)
- added Alerts for members & owners
- added local strings
- created upgrade modal
- added info notice on invite member modal
- fixed router redirect after leaving team

* - improved logic in team-billing
- error display on upgrade modal
- added better launch.json for VSCode debugger
- fixed bug with missing inviteeUserId

* code cleanup

* nit pick fixes i should sleep now

* fixed leave team bug
- quantity would not decrease upon leave or removal

* added stripe billing callback handler

* - better launch.json
- teams empty component

* - fixed error not removing after successful pro upgrade
- fixed silent fail on team create name conflict
- fixed input border radius on member invite modal

* updated local strings

* improved logic for edge cases, such as:
- team owned by member sponsored by another team can smoothly upgrade to pro if kicked from sponsored team
- logic to calculate if owner is specifically missing pro subscription (ownerIsMissingSeat)
- corrected calculation of members missing seats, shouldn't care for proPaidForByTeamId as that only matters for removing member and preserving pro if they pay for it themselves
- added react query devtools
- added missing locale string

* - allow type override for LinkIconButton
- consolidate filter logic for getMembersMissingSeats

* - only activate team billing for hosted cal
- fix prod price keys

* fix requiresUpgrade when not hosted by cal

* added HOSTED_CAL_FEATURES

* fixed failing build

- fixed broken import path
- added support for premium price plan. (will consider premium as a valid seat)
- remove rouge console log

* fix customer id type error

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-07 23:35:26 +00:00
..
emails chore: clean up and fix images (#1224) 2021-12-01 10:32:08 +00:00
fonts added missing roboto weights (#1130) 2021-11-04 13:56:02 +00:00
integrations Tandem Video (#1671) 2022-02-04 18:30:52 +00:00
static/locales Team Billing (#1552) 2022-02-07 23:35:26 +00:00
android-chrome-192x192.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
android-chrome-256x256.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
android-chrome-384x384.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
android-chrome-512x512.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
apple-touch-icon.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
browserconfig.xml added new favicon 2021-08-03 11:39:06 +02:00
cal-com-icon-white.svg tablet navigation: removed code redundancy & fixed alignment (#1241) 2021-12-02 20:52:38 +00:00
cal-com-icon.svg Bugfix/event types buggy view on tablet (#1238) 2021-12-01 14:56:25 +00:00
cal-logo-word.svg Replace all instances of calendso.com with cal.com and add a new logo for Cal.com emails (#662) 2021-09-15 21:35:55 +01:00
cal.ttf removed lexend, upgraded cal sans, added roboto from local instead of google fonts (#1121) 2021-11-04 00:25:47 +00:00
calendso-logo-white-word.svg Update logo 2021-09-15 16:04:18 +01:00
calendso-logo-word-dark.svg Merged main into current branch; lots of linting 2021-08-02 22:51:57 +02:00
calendso-logo-word.svg Merge branch 'main' into bugfix/unify-email-sending 2021-08-08 21:21:33 +02:00
calendso-white.svg eslint fixes 2021-08-02 19:06:24 +02:00
favicon-16x16.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
favicon-32x32.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
favicon.ico replaced favicons (#817) 2021-09-29 10:57:19 +00:00
mstile-70x70.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
mstile-144x144.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
mstile-150x150.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
mstile-310x150.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
mstile-310x310.png replaced favicons (#817) 2021-09-29 10:57:19 +00:00
roboto.ttf removed lexend, upgraded cal sans, added roboto from local instead of google fonts (#1121) 2021-11-04 00:25:47 +00:00
robots.txt Unblock / on robots.txt 2021-09-28 13:21:30 +01:00
safari-pinned-tab.svg replaced favicons (#817) 2021-09-29 10:57:19 +00:00
site.webmanifest chore: change calendso strings to cal.com (#707) 2021-09-21 10:59:34 +01:00
video-og-image.png added meta tags to daily call (#961) 2021-10-15 00:08:14 +01:00