sourcebot/packages/backend/src
Michael Sukkarieh 7c187121c8
Add stripe billing logic (#190)
* add side bar nav in settings page

* improve styling of members page

* wip adding stripe checkout button

* wip onboarding flow

* add stripe subscription id to org

* save stripe session id and add manage subscription button in settings

* properly block access to pages if user isn't in an org

* wip add paywall

* Domain support

* add back paywall and also add support for incrememnting seat count on invite redemption

* prevent self invite

* action button styling in settings and toast on copy

* add ability to remove member from org

* move stripe product id to env var

* add await for blocking loop in backend

* add subscription info to billing page

* handle trial case in billing info page

* add trial duration indicator to nav bar

* check if domain starts or ends with dash

* remove unused no org component

* remove package lock file and fix prisma dep version

* revert dep version updates

* fix yarn.lock

* add auth and membership check to fetchSubscription

* properly handle invite redeem with no valid subscription case

* change back fetch subscription to not require org membership

* add back subscription check in invite redeem page

---------

Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-02-13 15:52:33 -08:00
..
connectionManager.ts Connection management (#183) 2025-02-04 15:04:05 -05:00
constants.ts adds garbage collection for repos (#182) 2025-01-29 09:05:20 -08:00
environment.ts Domain support (#188) 2025-02-12 13:51:44 -08:00
gerrit.ts Add @sourcebot/schemas package (#177) 2025-01-24 10:51:49 -08:00
git.ts Add @sourcebot/schemas package (#177) 2025-01-24 10:51:49 -08:00
gitea.ts add concept of secrets (#180) 2025-01-27 14:07:07 -08:00
github.test.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
github.ts Connection management (#183) 2025-02-04 15:04:05 -05:00
gitlab.test.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
gitlab.ts add concept of secrets (#180) 2025-01-27 14:07:07 -08:00
index.ts Domain support (#188) 2025-02-12 13:51:44 -08:00
local.ts Add @sourcebot/schemas package (#177) 2025-01-24 10:51:49 -08:00
logger.ts Graceful error handling when calling code host apis (#142) 2024-12-18 19:21:21 -08:00
main.ts Add stripe billing logic (#190) 2025-02-13 15:52:33 -08:00
posthog.ts Pass PostHog key at build time (#92) 2024-11-25 21:04:52 -08:00
posthogEvents.ts Graceful error handling when calling code host apis (#142) 2024-12-18 19:21:21 -08:00
repoManager.ts adds garbage collection for repos (#182) 2025-01-29 09:05:20 -08:00
types.ts adds garbage collection for repos (#182) 2025-01-29 09:05:20 -08:00
utils.test.ts Add topics and exclude.topics to GitHub & GitLab config (#121) 2024-12-11 14:17:57 -08:00
utils.ts adds garbage collection for repos (#182) 2025-01-29 09:05:20 -08:00
zoekt.ts adds garbage collection for repos (#182) 2025-01-29 09:05:20 -08:00