-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add wip invite panel * ➕ Add admin subscribers list * ➕ Add pagination and code revokal for invite codes * ➕ Add copy button and move table styles * ➕ Reordered vars and added admin allow list to env * ➕ Add admin dependency for admin invite routes * Daisy chain get_admin_subscriber off of get_subscriber, and adjust how we check for admin emails * Add an invite email and new route that creates a subscriber and emails them! * Allow a non-allow listed user to login if they already have an account. * Fix tests * Added data table Added sending invitation Added data table filters * Fix up fieldClick event, and hide the disable button for now. * Remove the now unneeded invite panel (sorry buddy, you were a good first draft!) * Pagination fixes, and send on enter * Hook up the secret to aws * Add some more tests * Add some basic responsiveness * 💚 Fix alignment, indentation and scrollbar * 🌐 Update German lang strings --------- Co-authored-by: Melissa Autumn <[email protected]>
- Loading branch information
1 parent
03993e7
commit 93e63ea
Showing
31 changed files
with
988 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,10 @@ | |
# Logging level: DEBUG|INFO|WARNING|ERROR|CRITICAL | ||
LOG_LEVEL=ERROR | ||
LOG_USE_STREAM=1 | ||
# Possible values: prod, dev | ||
APP_ENV=dev | ||
# List of comma separated admin usernames. USE WITH CAUTION! Those can do serious damage to the data. | ||
APP_ADMIN_ALLOW_LIST= | ||
|
||
# -- FRONTEND -- | ||
FRONTEND_URL=http://localhost:8080 | ||
|
@@ -20,12 +24,10 @@ DB_SECRET= | |
SESSION_SECRET= | ||
|
||
# -- MAIL -- | ||
|
||
# Service email for emails on behalf of Thunderbird Appointment | ||
SERVICE_EMAIL=[email protected] | ||
# Email address for contact or support requests. If the value is empty the support form will error out | ||
SUPPORT_EMAIL= | ||
|
||
# Connection security: SSL|STARTTLS|NONE | ||
SMTP_SECURITY=NONE | ||
# Address and port of the SMTP server | ||
|
@@ -34,6 +36,8 @@ SMTP_PORT=8050 | |
# SMTP user credentials | ||
SMTP_USER= | ||
SMTP_PASS= | ||
# Authorized email address for sending emails, leave empty to default to organizer | ||
SMTP_SENDER= | ||
|
||
# -- TIERS -- | ||
# Max number of calendars to be simultanously connected for members of the basic tier | ||
|
@@ -43,6 +47,22 @@ TIER_PLUS_CALENDAR_LIMIT=5 | |
# Max number of calendars to be simultanously connected for members of the pro tier | ||
TIER_PRO_CALENDAR_LIMIT=10 | ||
|
||
# -- GENERAL AUTHENTICATION -- | ||
# Possible values: password, fxa | ||
AUTH_SCHEME=password | ||
|
||
# For password auth only! | ||
JWT_SECRET= | ||
JWT_ALGO=HS256 | ||
JWT_EXPIRE_IN_MINS=10000 | ||
|
||
# -- FIREFOX AUTH -- | ||
FXA_OPEN_ID_CONFIG= | ||
FXA_CLIENT_ID= | ||
FXA_SECRET= | ||
FXA_CALLBACK= | ||
FXA_ALLOW_LIST= | ||
|
||
# -- GOOGLE AUTH -- | ||
GOOGLE_AUTH_CLIENT_ID= | ||
GOOGLE_AUTH_SECRET= | ||
|
@@ -58,23 +78,9 @@ ZOOM_AUTH_CALLBACK=http://localhost:8090/zoom/callback | |
# -- SIGNED URL SECRET -- | ||
# Shared secret for url signing (e.g. create it by running `openssl rand -hex 32`) | ||
SIGNED_SECRET= | ||
|
||
# If empty, sentry will be disabled | ||
SENTRY_DSN= | ||
# Possible values: prod, dev | ||
APP_ENV=dev | ||
# Possible values: password, fxa | ||
AUTH_SCHEME=password | ||
|
||
FXA_OPEN_ID_CONFIG= | ||
FXA_CLIENT_ID= | ||
FXA_SECRET= | ||
FXA_CALLBACK= | ||
FXA_ALLOW_LIST= | ||
|
||
# For password auth only! | ||
JWT_SECRET= | ||
JWT_ALGO=HS256 | ||
JWT_EXPIRE_IN_MINS=10000 | ||
|
||
# -- TESTING -- | ||
AUTH0_TEST_USER= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ DB_SECRET=db-secret-pls-ignore | |
SESSION_SECRET=session-secret-pls-ignore | ||
|
||
# -- MAIL -- | ||
|
||
# Service email for emails on behalf of Thunderbird Appointment | ||
SERVICE_EMAIL=[email protected] | ||
# Email address for contact or support requests | ||
|
@@ -64,6 +63,7 @@ SIGNED_SECRET=test-secret-pls-ignore | |
SENTRY_DSN= | ||
# Possible values: prod, dev, test | ||
APP_ENV=test | ||
# Possible values: password, fxa | ||
AUTH_SCHEME=password | ||
|
||
FXA_OPEN_ID_CONFIG= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.