calcom/lib
Jamie Pine 5567721431
Team Billing ()
* 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
..
config Team Billing () 2022-02-07 23:35:26 +00:00
core Fixes Apple Calendar onboarding and type fixes () 2021-10-20 15:42:40 +00:00
emails fixed attendee language per attendee () 2022-02-03 12:29:41 +00:00
events Tandem Video () 2022-02-04 18:30:52 +00:00
hooks Allows setting the event frequency to other than event length () 2021-12-19 12:11:31 +00:00
integrations Tandem Video () 2022-02-04 18:30:52 +00:00
mutations Allow choosing destination calendar per event type () 2022-01-21 14:35:31 -07:00
queries Team Billing () 2022-02-07 23:35:26 +00:00
types removed redirects for web3, needs dialog in booking page () 2022-02-03 20:08:25 +00:00
webhooks Wrong language in emails () 2022-01-27 13:32:53 -07:00
app-providers.tsx Upgrades next-auth to v4 () 2022-01-07 20:23:37 +00:00
asStringOrNull.tsx add e2e testing on webhooks and booking happy-path () 2021-10-18 22:07:06 +01:00
auth.ts Add log in with Google and SAML () 2022-01-13 20:05:23 +00:00
availability.ts Bugfix/year change () 2021-12-16 15:20:38 +00:00
CalEventParser.ts Wrong language in emails () 2022-01-27 13:32:53 -07:00
classNames.ts <Button>-component () 2021-08-23 14:45:25 +02:00
clock.ts Suggestion: let prettier sort imports order () 2021-09-22 13:52:38 -06:00
cropImage.ts fix: prevent image uploader converting every image to jpeg () 2021-12-07 17:05:26 +00:00
crypto.ts cal-101-caldav-integration () 2021-08-14 20:53:59 -05:00
ensureArray.ts Adds eventTypeId as a parameter () 2021-12-03 16:18:31 +00:00
errors.ts Refactors video integrations () 2021-10-26 10:17:24 -06:00
event.ts updated event title message () 2021-11-08 16:34:12 +05:30
getPlaceholderAvatar.tsx Improvement/teams () 2021-12-09 23:51:30 +00:00
getting-started.tsx fix : send user back to onboarding after adding integration () 2021-10-08 14:10:57 +01:00
integrations.ts Tandem Video () 2022-02-04 18:30:52 +00:00
isBrandingHidden.tsx move calendso branding into pro () 2021-09-13 10:48:55 +01:00
jackson.ts Add log in with Google and SAML () 2022-01-13 20:05:23 +00:00
jsonUtils.ts Final thing to check is timezones, currently if I am in Kuala Lumpur the time is correct, but it jumps 8 hours due to being out of bound on Seoul. 2021-06-29 01:45:58 +00:00
location.ts Tandem Video () 2022-02-04 18:30:52 +00:00
logger.ts chore: clean up and fix images () 2021-12-01 10:32:08 +00:00
member.ts Cal 262 refactor edit teams according to the design reference () 2021-09-06 14:22:22 +01:00
notEmpty.ts add select primary calendar () 2021-12-09 15:51:37 +00:00
notification.ts added useNotification @lib, using it in EventType () 2021-08-18 10:18:18 +02:00
parseZone.ts Fixes timeZone() by no longer needing timeZone() () 2021-09-15 03:58:29 +01:00
prisma.ts Team Billing () 2022-02-07 23:35:26 +00:00
profile.ts Remove image from session, add /api/me, update Avatar component () 2021-08-22 14:16:42 +01:00
QueryCell.tsx refactor /integrations with <Suspense /> () 2021-10-30 15:54:21 +00:00
random.ts Add log in with Google and SAML () 2022-01-13 20:05:23 +00:00
saml.ts Add log in with Google and SAML () 2022-01-13 20:05:23 +00:00
serverConfig.ts add linting in CI + fix lint errors () 2021-08-19 14:27:01 +02:00
slots.ts Revert "Fixes ()" () 2022-01-27 15:16:38 +00:00
slugify.ts [CAL-409] Prevents usernames with special characters () 2021-09-18 00:08:02 +01:00
telemetry.ts Feature/sso signup () 2022-02-02 18:33:27 +00:00
trpc.ts Zomars/fixes trpc typo () 2021-10-14 19:22:01 +00:00
videoClient.ts Tandem Video () 2022-02-04 18:30:52 +00:00
webhook.ts Revert "Revert "Feature/cal 274 add webhooks ()" ()" () 2021-10-07 15:14:47 +00:00