bkellam
51186fe87d
Add prometheus metric for pending repo indexing jobs
2025-03-01 15:50:09 -08:00
msukkari
b527ec45cb
update trial card content and add events for code host selection on onboard
2025-03-01 09:26:43 -08:00
Brendan Kellam
041eab14eb
General settings + cleanup ( #221 )
...
* General settings
* Add alert to org domain change
2025-02-28 15:58:49 -08:00
msukkari
072f77b19a
prevent switching to first page on data update and truncate long repo names in repo list
2025-02-28 14:48:54 -08:00
msukkari
409344248c
remove / keyboard shortcut hint in search bar
2025-02-28 14:29:38 -08:00
Brendan Kellam
8f6052c8e1
fix ( #219 )
2025-02-28 14:21:26 -08:00
Michael Sukkarieh
bdab90ba41
revamp repo page ( #220 )
...
* wip repo table
* new repo page
* add indicator for when feedback is applied in repo page
* add repo button
* fetch connection data in one query
* fix styling
2025-02-28 14:18:44 -08:00
Brendan Kellam
7685d9cf66
Quick action tweaks ( #218 )
2025-02-28 10:12:32 -08:00
msukkari
cdfcb5a88b
display domain properly in org create form
2025-02-28 09:22:48 -08:00
Brendan Kellam
83ab0a0bd3
/settings/secrets page ( #217 )
2025-02-27 22:40:46 -08:00
msukkari
5006a932ea
fix case where we have repos but they're all failed for repo snapshot
2025-02-27 18:48:04 -08:00
bkellam
6d3be81230
Add .env to db gitignore
2025-02-27 17:06:53 -08:00
Brendan Kellam
e1533f22f7
[Cherry Pick] Syntax reference guide ( #169 ) ( #216 )
2025-02-27 17:02:58 -08:00
msukkari
1bdb65c34e
cherry pick fix for file links
2025-02-27 16:25:26 -08:00
bkellam
b9352345a3
Add mobile unsupported splash screne
2025-02-27 16:10:55 -08:00
msukkari
7ce10672e1
remove error msg dump on failed repo index job, and update indexedAt field
2025-02-27 16:04:31 -08:00
msukkari
8b44505cf3
fix ordering of quick actions
2025-02-27 14:52:01 -08:00
bkellam
161f21eb57
Make login and onboarding mobile friendly
2025-02-27 13:25:27 -08:00
msukkari
d0b75ce57d
fix repo rm issue, 502 page, condition on test clock
2025-02-27 13:11:30 -08:00
bkellam
cfff416e18
fix share links
2025-02-27 12:25:35 -08:00
bkellam
85d7b1e098
Fix bug with repository snapshot
2025-02-27 12:03:35 -08:00
bkellam
fcf0b836ee
fix build
2025-02-27 09:43:35 -08:00
Brendan Kellam
46be0440b0
Add back revision support ( #215 )
2025-02-27 09:39:55 -08:00
msukkari
3d6c7dcca5
add back button in onboard connection creation flow
2025-02-27 09:32:01 -08:00
msukkari
c0b62a28da
fix build error
2025-02-27 09:17:47 -08:00
msukkari
631616620c
fix skipping onboard complete check
2025-02-26 17:37:36 -08:00
Michael Sukkarieh
4869137d1e
skip stripe checkout for trial + fix indexing in progress UI + additional schema validation ( #214 )
...
* add additional config validation
* wip bypass stripe checkout for trial
* fix stripe trial checkout bypass
* fix indexing in progress ui on home page
* add subscription checks, more schema validation, and fix issue with complete page
* dont display if no indexed repos
2025-02-26 17:29:09 -08:00
Brendan Kellam
386a3b52d7
remove git & local schemas ( #213 )
2025-02-26 16:55:10 -08:00
Brendan Kellam
50b94b2c46
Connections UX pass + query optimizations ( #212 )
2025-02-26 15:46:37 -08:00
msukkari
b77f55fa20
wipe existing repo if we've picked up a killed job to ensure good state
2025-02-26 12:46:24 -08:00
msukkari
8531b14a82
rename some prom metrics and cleanup unused
2025-02-25 18:54:01 -08:00
bkellam
fab2fea562
onboarding tweaks
2025-02-25 17:27:36 -08:00
msukkari
5c2bf01764
fix typo in trial card
2025-02-25 16:35:02 -08:00
Michael Sukkarieh
3f586dd927
make repo garbage collection async ( #211 )
...
* add gc queue logic
* fix missing switch cases for gc status
* style org create form better with new staging domain
* change repo rm logic to be async
* simplify repo for inactive org query
* add grace period for garbage collecting repos
* make prom scrape interval 500ms
2025-02-25 15:49:09 -08:00
msukkari
88fe84ebdd
remove hard coded sourcebot.app references
2025-02-25 12:09:42 -08:00
msukkari
f853335ef1
add login posthog events
2025-02-25 10:30:52 -08:00
msukkari
07863b2753
remove invalid characters when auto filling domain
2025-02-25 09:48:44 -08:00
Michael Sukkarieh
fc33f26808
add grafana alloy config and setup ( #210 )
...
* add grafana alloy config and setup
* add basic repo prom metrics
* nits in dockerfile
2025-02-24 21:11:28 -08:00
msukkari
04f6772d3b
wrap posthog provider in suspense to fix build error
2025-02-24 17:51:12 -08:00
Brendan Kellam
72da582145
Add invite email ( #209 )
2025-02-24 17:50:31 -08:00
msukkari
e1f7cd90ac
fix other merge error and build warnings
2025-02-24 17:24:47 -08:00
msukkari
69db8f2211
fix merge error
2025-02-24 17:12:19 -08:00
Michael Sukkarieh
de44c81cfa
add posthog events on various user actions ( #208 )
...
* add page view event support
* add posthog events
* nit: remove unused import
* feedback
2025-02-24 17:06:29 -08:00
bkellam
ce52f651be
Add some instrumentation to web
2025-02-22 17:40:42 -08:00
msukkari
d70b729ee8
remove cpu split logic
2025-02-22 17:23:52 -08:00
Brendan Kellam
0ff34d105d
Inline secret creation ( #207 )
2025-02-22 10:37:59 -08:00
msukkari
dc42a76e03
fix new connection complete callback route
2025-02-21 11:21:38 -08:00
msukkari
fa0bb82921
add log for health check
2025-02-21 10:44:11 -08:00
Brendan Kellam
70e309b310
Redeem UX pass ( #204 )
2025-02-21 10:42:53 -08:00
Brendan Kellam
fee0767981
Refined onboarding flow ( #202 )
2025-02-21 10:32:10 -08:00
msukkari
a79c162d9c
add health check endpoint
2025-02-21 09:54:17 -08:00
Brendan Kellam
5076ee7f05
[temp] disable polling everywhere ( #205 )
2025-02-20 16:47:49 -08:00
msukkari
8a94949d2d
remove repo_synced event
2025-02-20 10:10:28 -08:00
msukkari
0ac9509fab
log upsert stats
2025-02-20 09:42:54 -08:00
msukkari
c930fe0d8b
revert repo compile update logic to upsert loop
2025-02-19 18:54:50 -08:00
msukkari
62e64c1c25
add orgid unique constraint to repo
2025-02-19 18:54:04 -08:00
Michael Sukkarieh
fdd71cfcfe
add better visualization for connection/repo errors and warnings ( #201 )
...
* replace upsert with seperate create many and raw update many calls
* add bulk repo status update and queue addition with priority
* add support for managed redis
* add note for changing raw sql on schema change
* add error package and use BackendException in connection manager
* handle connection failure display on web app
* add warning banner for not found orgs/repos/users
* add failure handling for gerrit
* add gitea notfound warning support
* add warning icon in connections list
* style nits
* add failed repo vis in connections list
* added retry failed repo index buttons
* move nav indicators to client with polling
* fix indicator flash issue and truncate large list results
* display error nav better
* truncate failed repo list in connection list item
* fix merge error
* fix merge bug
* add connection util file [wip]
* refactor notfound fetch logic and add missing error package to dockerfile
* move repeated logic to function and add zod schema for syncStatusMetadata
2025-02-19 18:10:22 -08:00
msukkari
b99a648670
fix token examples in schema
2025-02-19 15:56:03 -08:00
msukkari
63af99aa59
remove non secret token options
2025-02-19 14:23:26 -08:00
Michael Sukkarieh
5d7a77bd92
db performance improvements and job resilience ( #200 )
...
* replace upsert with seperate create many and raw update many calls
* add bulk repo status update and queue addition with priority
* add support for managed redis
* add note for changing raw sql on schema change
2025-02-19 10:26:13 -08:00
bkellam
390d92db92
Fix build
2025-02-18 11:37:52 -08:00
Brendan Kellam
bbf8b9be86
Magic links ( #199 )
...
* wip on magic link support
* Switch to nodemailer / resend for transactional mail
* Further cleanup
* Add stylized email using react-email
* fix
2025-02-18 11:34:07 -08:00
Brendan Kellam
f652ca526e
Membership settings rework ( #198 )
...
* Add refined members list
* futher progress on members settings polish
* Remove old components
* feedback
2025-02-18 11:27:19 -08:00
msukkari
e09b21f6b9
add config upsert timeout env var
2025-02-15 17:27:24 -08:00
msukkari
e17331a672
fix build errors and add index concurrency env var
2025-02-15 16:58:05 -08:00
Michael Sukkarieh
54d14ea98e
add retries for 429 issues ( #196 )
...
* add connection compile retry and hard repo limit
* add more retry checks
* cleanup unused change
* address feedback
2025-02-15 16:37:50 -08:00
bkellam
331a41888e
improved fix
2025-02-15 10:20:57 -08:00
bkellam
2111a77a5c
Fix build with suspense boundary
2025-02-15 10:03:13 -08:00
Michael Sukkarieh
e0d363420b
connections qol improvements ( #195 )
...
* add client side polling to connections list
* properly fetch repo image url
* add client polling to connection management page, and add ability to sync failed connections
2025-02-15 10:00:44 -08:00
Michael Sukkarieh
3be3680ee2
cleanup org's repos and shards if it's inactive ( #194 )
...
* add stripe subscription status and webhook
* add inactive org repo cleanup logic
* mark reactivated org connections for sync
2025-02-15 09:58:17 -08:00
Brendan Kellam
86a80a4f73
Credentials provider ( #192 )
...
* email password functionality
* feedback
2025-02-14 21:00:45 -08:00
msukkari
354b004402
change csrf cookie to secure not host
2025-02-14 12:32:36 -08:00
msukkari
4cf3024967
fix apos usage in redeem page
2025-02-14 11:35:51 -08:00
Michael Sukkarieh
da33220289
add back gitlab, gitea, and gerrit support ( #184 )
...
* add non github config definitions
* refactor github config compilation to seperate file
* add gitlab config compilation
* Connection management (#183 )
* wip gitlab repo sync support
* fix gitlab zoekt metadata
* add gitea support
* add gerrit support
* Connection management (#183 )
* add gerrit config compilation
* Connection management (#183 )
---------
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-02-14 10:58:53 -08:00
Michael Sukkarieh
e2e5433d20
enforce owner perms ( #191 )
...
* add make owner logic, and owner perms for removal, invite, and manage subscription
* add change billing email card to billing settings
* enforce owner role in action level
* remove unused hover card component
* cleanup
2025-02-14 09:25:22 -08:00
msukkari
26cc70cc11
fix publishible stripe key handling in docker container
2025-02-13 18:45:27 -08:00
msukkari
888a2e3924
change stripe init to be behind function
2025-02-13 16:42:33 -08:00
msukkari
6234967287
merge v3 changes
2025-02-13 16:22:23 -08:00
msukkari
fbd3e41652
fix more nits
2025-02-13 16:20:01 -08:00
bkellam
8fb438b0ea
remove providers check
2025-02-13 16:17:03 -08:00
msukkari
674511a2bb
fix nits
2025-02-13 16:14:34 -08:00
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
msukkari
87efbf7d69
add back subscription check in invite redeem page
2025-02-13 15:41:18 -08:00
msukkari
ea4c29daec
change back fetch subscription to not require org membership
2025-02-13 15:36:48 -08:00
msukkari
cf97955b23
properly handle invite redeem with no valid subscription case
2025-02-13 15:21:31 -08:00
msukkari
0f43c00aa1
add auth and membership check to fetchSubscription
2025-02-13 15:11:50 -08:00
msukkari
d463748f78
revert dep version updates
2025-02-13 14:27:41 -08:00
msukkari
b0cbcf046c
remove package lock file and fix prisma dep version
2025-02-13 13:55:18 -08:00
Brendan Kellam
e6ee45c76d
Generate AUTH_SECRET if not provided ( #189 )
2025-02-13 13:23:30 -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