Commit graph

109 commits

Author SHA1 Message Date
msukkari
b0cbcf046c remove package lock file and fix prisma dep version 2025-02-13 13:55:18 -08:00
msukkari
e369925dc3 remove unused no org component 2025-02-13 11:46:36 -08:00
msukkari
5a3eab2f83 check if domain starts or ends with dash 2025-02-13 11:41:32 -08:00
msukkari
a70c57715c merge v3 changes into billing branch 2025-02-13 11:32:17 -08:00
msukkari
8929d05b88 add trial duration indicator to nav bar 2025-02-13 11:19:06 -08:00
msukkari
e2c90b8fcc handle trial case in billing info page 2025-02-13 11:07:04 -08:00
msukkari
193c7e0732 add subscription info to billing page 2025-02-13 10:52:34 -08:00
msukkari
875f9b8586 add await for blocking loop in backend 2025-02-13 10:30:14 -08:00
msukkari
0b4140f81c move stripe product id to env var 2025-02-13 10:24:12 -08:00
msukkari
84e8ec2102 add ability to remove member from org 2025-02-13 10:15:06 -08:00
msukkari
258585e981 action button styling in settings and toast on copy 2025-02-12 21:19:15 -08:00
msukkari
8ad6ba7ab0 prevent self invite 2025-02-12 19:50:44 -08:00
msukkari
6caed350d3 add back paywall and also add support for incrememnting seat count on invite redemption 2025-02-12 16:48:13 -08:00
bkellam
19780aaecf Attempt #4 2025-02-12 15:10:29 -08:00
bkellam
ba333ddb21 Fix generate script race condition 2025-02-12 15:04:15 -08:00
msukkari
53dac384af merge domain changes 2025-02-12 14:55:35 -08:00
bkellam
98becf531a fix attempt #3: Do not require a encrpytion key at build time 2025-02-12 14:35:28 -08:00
bkellam
d17c90a8f3 attempt 2 2025-02-12 14:17:49 -08:00
bkellam
e0976e443f Add default for AUTH_URL in attempt to fix build 2025-02-12 14:10:09 -08:00
Brendan Kellam
34c9c1d9a8
Domain support (#188) 2025-02-12 13:51:44 -08:00
bkellam
8d2c731b88 Domain support 2025-02-12 13:45:12 -08:00
msukkari
0a79f7ca80 wip add paywall 2025-02-12 13:03:31 -08:00
msukkari
3ad6c2de48 properly block access to pages if user isn't in an org 2025-02-12 09:29:00 -08:00
msukkari
e7f8f51c05 save stripe session id and add manage subscription button in settings 2025-02-11 19:06:40 -08:00
msukkari
33ae585327 add stripe subscription id to org 2025-02-11 18:40:42 -08:00
msukkari
9665f149cd wip onboarding flow 2025-02-11 17:27:02 -08:00
msukkari
fde21794f5 wip adding stripe checkout button 2025-02-10 19:26:42 -08:00
msukkari
04991fd1e8 improve styling of members page 2025-02-10 18:14:13 -08:00
msukkari
23f3c605ec add side bar nav in settings page 2025-02-10 17:56:36 -08:00
msukkari
7da8a7f959 fix web build errors 2025-02-10 14:55:40 -08:00
msukkari
5858e31810 add google logo to google oauth 2025-02-10 14:45:20 -08:00
msukkari
70f7729463 fix reference to header component in connections 2025-02-10 14:40:24 -08:00
Michael Sukkarieh
90550181af
add invite system and google oauth provider (#185)
* add settings page with members list

* add invite to schema and basic create form

* add invite table

* add basic invite link copy button

* add auth invite accept case

* add non auth logic

* add google oauth provider
2025-02-10 14:31:38 -08:00
Brendan Kellam
846d73b0e6
Connection management (#183) 2025-02-04 15:04:05 -05:00
msukkari
94908c030f dummy commit to trigger v3 workflows to test 2025-01-31 11:15:54 -08:00
msukkari
2b6125be0c add deployment action for staging image 2025-01-30 13:31:59 -08:00
msukkari
f92acc0404 try to move encryption key env decleration in docker file to fix build issues 2025-01-30 12:49:04 -08:00
msukkari
9946901044 add initial logic for staging environment 2025-01-30 10:23:47 -08:00
Michael Sukkarieh
dffbbae41d
adds garbage collection for repos (#182)
* refactor repo indexing logic into RepoManager

* wip cleanup stale repos

* add rest of gc logic

* set status to indexing properly
2025-01-29 09:05:20 -08:00
Michael Sukkarieh
75d4189f25
enforce tenancy on search and repo listing endpoints (#181)
* enforce tenancy on search and repo listing

* remove orgId from request schemas
2025-01-28 10:39:59 -08:00
Michael Sukkarieh
31114a9d95
add concept of secrets (#180)
* add @sourcebot/schemas package

* migrate things to use the schemas package

* Dockerfile support

* add secret table to schema

* Add concept of connection manager

* Rename Config->Connection

* Handle job failures

* Add join table between repo and connection

* nits

* create first version of crypto package

* add crypto package as deps to others

* forgot to add package changes

* add server action for adding and listing secrets, create test page for it

* add secrets page to nav menu

* add secret to config and support fetching it in backend

* reset secret form on successful submission

* add toast feedback for secrets form

* add instructions for adding encryption key to dev instructions

* add encryption key support in docker file

* add delete secret button

* fix nits from pr review

---------

Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-01-27 14:07:07 -08:00
Brendan Kellam
dd8ff6edb0
Connection management (#178) 2025-01-24 13:16:08 -08:00
Brendan Kellam
bae7ca3438
Add @sourcebot/schemas package (#177) 2025-01-24 10:51:49 -08:00
Brendan Kellam
78c9111fa0
init (#176) 2025-01-23 14:06:40 -08:00
Brendan Kellam
0322cd8f32
Connection creation form (#175) 2025-01-23 10:26:41 -08:00
Michael Sukkarieh
a5006c52fe
Migrate to postgres (#174)
* spin up postgres in docker container

* get initial pol of postgres db working in docker image

* spin up postgres server in dev case

* updated syncedAt date after config sync:

* remove unnecessary port expose in docker file
2025-01-23 10:23:46 -08:00
msukkari
8a3521b080 updated syncedAt date after config sync: 2025-01-23 09:08:30 -08:00
Brendan Kellam
9c120c6b0a
Organization switching & active org management (#173) 2025-01-21 14:50:16 -08:00
Michael Sukkarieh
7c6adf17aa
Multi tenancy support in config syncer (#171)
* [wip] initial mt support in config syncer

* Move logout button & profile picture into settings dropdown (#172)

* update sync status properly and fix bug with multiple config in db case

* make config path required in single tenant mode

NOTE: deleting config/repos is currently not supported in multi tenancy case. Support for this will be added in a future PR

---------

Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-01-21 11:50:35 -08:00
Brendan Kellam
a5091fb900
Move logout button & profile picture into settings dropdown (#172) 2025-01-19 12:52:13 -08:00