Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/christenjack/auth #39

Merged
merged 36 commits into from
Jun 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0487161
move globals.css to /src/app from /src/app/(web app) and updates (web…
jackavh Apr 24, 2024
b4994b4
set up login form
jackavh Apr 24, 2024
df382d1
auth works
jackavh May 1, 2024
3158115
minor changes to LoginSection
jackavh May 8, 2024
2b7cfde
page redirects and user account icon with logout button
jackavh May 8, 2024
5f1c061
forgot password flow
jackavh May 8, 2024
db64c45
merge in my reactfire stuff
christen03 May 8, 2024
0346c35
Merge branch 'feature/christenjack/auth' of https://github.com/Triton…
christen03 May 8, 2024
811de16
merge in my reactfire stuff
christen03 May 8, 2024
a46d976
Merge branch 'main' into feature/christenjack/auth
jennymar May 13, 2024
b5952cc
Added UserIcon to NavigationBar
jennymar May 13, 2024
ba51a04
Backend package-lock update
jennymar May 13, 2024
97f0f55
Added email validation to forget password page, font fixes
jennymar May 13, 2024
0b09ea1
Frontend white background adjustment
jennymar May 13, 2024
3358c78
change to firebase 9.23.0 and everything still works
jackavh May 15, 2024
605e369
refactor firebase providers concealing firebaseConfig in .env
jackavh May 15, 2024
70a2694
lint fixes
jackavh May 15, 2024
a2163a4
move all firebase providers to /admin/layout.tsx
jackavh May 15, 2024
6484729
refactor to use reactfire for everything, also adds loading wheel whi…
jackavh May 16, 2024
9f7e36c
removes needless console.log statments
jackavh May 16, 2024
5043662
Merge branch 'main' into feature/christenjack/auth
jennymar May 16, 2024
8884655
Wrapped all admin portal pages with PrivatePage component (except login)
jennymar May 16, 2024
0561d60
Added prop to frontend pipeline run
jennymar May 16, 2024
a58380d
Updated frontend and backend validateEnv
jennymar May 16, 2024
90f13f1
Re-added --legacy-peer-deps
jennymar May 16, 2024
6721f0c
migrates from reactfire to react-firebase-hooks and firebase 9.23.0 t…
jackavh May 23, 2024
dfc760d
merge main into feature/christenjack/auth
jackavh May 23, 2024
c528bad
lint fixes and re-add firebase provider (messed with merge)
jackavh May 23, 2024
7c9c7fa
fix bug where PrivatePage would try to check auth state before auth l…
jackavh May 23, 2024
ec08b86
fix bug where suddenly useRouter stops working, use redirect() instead
jackavh May 23, 2024
a642ca7
Added env vars to workflow
jennymar Jun 1, 2024
f95a309
Changed env var from json to str
jennymar Jun 1, 2024
b394e55
Frontend linting
jennymar Jun 1, 2024
a62c2a9
Firebase settings env
jennymar Jun 1, 2024
131a71d
not secrets maybe env
jennymar Jun 1, 2024
857c478
not env maybe vars
jennymar Jun 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed env var from json to str
  • Loading branch information
jennymar committed Jun 1, 2024
commit f95a3094224113f5a70be6d7475f559d7084c4b7
2 changes: 1 addition & 1 deletion frontend/src/app/admin/util/validateEnv.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
*/

import { cleanEnv } from "envalid";
import { json, str } from "envalid/dist/validators";

Check failure on line 7 in frontend/src/app/admin/util/validateEnv.ts

GitHub Actions / Frontend check

'json' is defined but never used. Allowed unused vars must match /^_/u

/**
* NextJS only allows the frontend to access environment variables if they start with
@@ -19,7 +19,7 @@
},
{
NEXT_PUBLIC_BACKEND_URL: str(), // URL of our backend
NEXT_PUBLIC_FIREBASE_SETTINGS: json(), // Firebase settings for frontend, stored as a JSON string
NEXT_PUBLIC_FIREBASE_SETTINGS: str(), // Firebase settings for frontend
NEXT_PUBLIC_PAYPAL_CLIENT_SECRET: str(),
NEXT_PUBLIC_PAYPAL_CLIENT_ID: str(),
},
Loading