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
msukkari
39e761f392
clean up demo site repos
2025-02-14 11:27:16 -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
bkellam
4c0805c5e9
fix yarn.lock
2025-02-13 14:47:55 -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
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
dependabot[bot]
d993b0eb54
Bump vite from 5.4.11 to 5.4.14 ( #187 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.11 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-02-12 13:55:35 -08:00
bkellam
ac15b7c741
Update Makefile to include crypto package when doing a make clean
2025-02-12 13:54:53 -08:00
Brendan Kellam
34c9c1d9a8
Domain support ( #188 )
2025-02-12 13:51:44 -08:00
dependabot[bot]
65b61155bf
Bump vitest from 2.1.4 to 2.1.9 ( #186 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 2.1.4 to 2.1.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 13:50:24 -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