Sunny/workshop sign up#79
Merged
Merged
Conversation
…rations/seeds; docs+deps updates
…orkshop registration.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
|
Past 2 commits consists of:
|
* Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com>
asiaao
approved these changes
Sep 2, 2025
albertaspsc
approved these changes
Sep 2, 2025
asiaao
added a commit
that referenced
this pull request
Sep 2, 2025
* Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality * Added API endpoints with JWT authentication and role-based access control * Add workshop management system on admin interface * updated for Next.js 15+ compatability * Added delete workshop function + corrected workshop date * renamed file * removed duplicate file + fixed workshop exporting * simplified admin workshop info * fixed folder name * update Drizzle config/schema + middleware and remove old Supabase migrations/seeds (#78) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * Sunny/workshop sign up (#79) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * create migrations for triggers and functions. Add frontend for user workshop registration. * Refactor dashboard * move dashboard files into subfolders. * add participant name/gender/major to workshop_registrations table + renamed workshop interface * handle timezone conversion in workshop date formatting * Create migration to rename users.year_of_study to users.yearOfStudy * Update migration to conditionally run if items dont exists. * Update migration to run conditionally. * update column name * Use a consistent top nav bar throughout the application. * Add the ability to go back and forth between form pages. Update profile column names. * Allow registration retry after failure. * Add Vercel analytics and speed insights. * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * fix nav bar on admin pages. * fix errors caused by merge. * Fix property name mismatches in admin dashboard workshop stats * update import path. --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * update import * fix: remove duplicate ParticipantManagement file with incorrect casing - Removed src/components/admin/ParticipantManagement.tsx (lowercase) - Kept src/components/Admin/ParticipantManagement.tsx (uppercase) - This fixes the case sensitivity issue on Vercel deployment * fix: restore ParticipantManagement component with correct casing - Restored src/components/Admin/ParticipantManagement.tsx (uppercase) - Only the lowercase duplicate was removed in previous commit - This should resolve the Vercel deployment case sensitivity issue --------- Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Sunny Parmar <113143064+aparm539@users.noreply.github.com>
asiaao
added a commit
that referenced
this pull request
Sep 2, 2025
* Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * Feature/db schema (#67) * Adding email auth and basic schema Theres several different ways to associate profile data with authenticated users, so the schema isn't finalized. Email auth works; google auth almost works, but fails to redirect properly. Google OneTap component needs to be tested. See other TODOs for more information. * Finished Google auth and created registration handler * Cleaning up auth endpoints and middleware, Removing google one tap, Schema updates Moving api contract to docs * Fixing middleware functionality * Fixing typescript config to enable zod * Removing redundant comments and functions * Removing unnecessary thread blocking for trigger queries * Adding in reset-password and change-email routes * Adding env setup docs * Adding auth flow docs * School Email * Fixing reset password bugs and adding recommended changes * Writing RLS policy and registration functions * Resolve typescript conflicts from pr71 (#74) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Moving to typescript and relative paths * bug fixing for countdown update render * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Adding turbopack support and update sponsor.tsx --------- Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * Workshop management (#80) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality * Added API endpoints with JWT authentication and role-based access control * Add workshop management system on admin interface * updated for Next.js 15+ compatability * Added delete workshop function + corrected workshop date * renamed file * removed duplicate file + fixed workshop exporting * simplified admin workshop info * fixed folder name * update Drizzle config/schema + middleware and remove old Supabase migrations/seeds (#78) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * Sunny/workshop sign up (#79) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * create migrations for triggers and functions. Add frontend for user workshop registration. * Refactor dashboard * move dashboard files into subfolders. * add participant name/gender/major to workshop_registrations table + renamed workshop interface * handle timezone conversion in workshop date formatting * Create migration to rename users.year_of_study to users.yearOfStudy * Update migration to conditionally run if items dont exists. * Update migration to run conditionally. * update column name * Use a consistent top nav bar throughout the application. * Add the ability to go back and forth between form pages. Update profile column names. * Allow registration retry after failure. * Add Vercel analytics and speed insights. * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * fix nav bar on admin pages. * fix errors caused by merge. * Fix property name mismatches in admin dashboard workshop stats * update import path. --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * update import * fix: remove duplicate ParticipantManagement file with incorrect casing - Removed src/components/admin/ParticipantManagement.tsx (lowercase) - Kept src/components/Admin/ParticipantManagement.tsx (uppercase) - This fixes the case sensitivity issue on Vercel deployment * fix: restore ParticipantManagement component with correct casing - Restored src/components/Admin/ParticipantManagement.tsx (uppercase) - Only the lowercase duplicate was removed in previous commit - This should resolve the Vercel deployment case sensitivity issue --------- Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Sunny Parmar <113143064+aparm539@users.noreply.github.com> --------- Co-authored-by: methlab0050 <101669672+methlab0050@users.noreply.github.com> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: albertaspsc <159397611+albertaspsc@users.noreply.github.com> Co-authored-by: Sunny Parmar <113143064+aparm539@users.noreply.github.com>
aparm539
added a commit
that referenced
this pull request
Sep 2, 2025
* Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * Feature/db schema (#67) * Adding email auth and basic schema Theres several different ways to associate profile data with authenticated users, so the schema isn't finalized. Email auth works; google auth almost works, but fails to redirect properly. Google OneTap component needs to be tested. See other TODOs for more information. * Finished Google auth and created registration handler * Cleaning up auth endpoints and middleware, Removing google one tap, Schema updates Moving api contract to docs * Fixing middleware functionality * Fixing typescript config to enable zod * Removing redundant comments and functions * Removing unnecessary thread blocking for trigger queries * Adding in reset-password and change-email routes * Adding env setup docs * Adding auth flow docs * School Email * Fixing reset password bugs and adding recommended changes * Writing RLS policy and registration functions * Resolve typescript conflicts from pr71 (#74) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Moving to typescript and relative paths * bug fixing for countdown update render * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Adding turbopack support and update sponsor.tsx --------- Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * Workshop management (#80) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality * Added API endpoints with JWT authentication and role-based access control * Add workshop management system on admin interface * updated for Next.js 15+ compatability * Added delete workshop function + corrected workshop date * renamed file * removed duplicate file + fixed workshop exporting * simplified admin workshop info * fixed folder name * update Drizzle config/schema + middleware and remove old Supabase migrations/seeds (#78) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * Sunny/workshop sign up (#79) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * create migrations for triggers and functions. Add frontend for user workshop registration. * Refactor dashboard * move dashboard files into subfolders. * add participant name/gender/major to workshop_registrations table + renamed workshop interface * handle timezone conversion in workshop date formatting * Create migration to rename users.year_of_study to users.yearOfStudy * Update migration to conditionally run if items dont exists. * Update migration to run conditionally. * update column name * Use a consistent top nav bar throughout the application. * Add the ability to go back and forth between form pages. Update profile column names. * Allow registration retry after failure. * Add Vercel analytics and speed insights. * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * fix nav bar on admin pages. * fix errors caused by merge. * Fix property name mismatches in admin dashboard workshop stats * update import path. --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * update import * fix: remove duplicate ParticipantManagement file with incorrect casing - Removed src/components/admin/ParticipantManagement.tsx (lowercase) - Kept src/components/Admin/ParticipantManagement.tsx (uppercase) - This fixes the case sensitivity issue on Vercel deployment * fix: restore ParticipantManagement component with correct casing - Restored src/components/Admin/ParticipantManagement.tsx (uppercase) - Only the lowercase duplicate was removed in previous commit - This should resolve the Vercel deployment case sensitivity issue --------- Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Sunny Parmar <113143064+aparm539@users.noreply.github.com> * Refactor registration and settings files for consistency. * add missing return statement --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab0050 <101669672+methlab0050@users.noreply.github.com> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: albertaspsc <159397611+albertaspsc@users.noreply.github.com>
albertaspsc
added a commit
that referenced
this pull request
Sep 2, 2025
* Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * Feature/db schema (#67) * Adding email auth and basic schema Theres several different ways to associate profile data with authenticated users, so the schema isn't finalized. Email auth works; google auth almost works, but fails to redirect properly. Google OneTap component needs to be tested. See other TODOs for more information. * Finished Google auth and created registration handler * Cleaning up auth endpoints and middleware, Removing google one tap, Schema updates Moving api contract to docs * Fixing middleware functionality * Fixing typescript config to enable zod * Removing redundant comments and functions * Removing unnecessary thread blocking for trigger queries * Adding in reset-password and change-email routes * Adding env setup docs * Adding auth flow docs * School Email * Fixing reset password bugs and adding recommended changes * Writing RLS policy and registration functions * Resolve typescript conflicts from pr71 (#74) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Moving to typescript and relative paths * bug fixing for countdown update render * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Adding turbopack support and update sponsor.tsx --------- Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * Workshop management (#80) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality * Added API endpoints with JWT authentication and role-based access control * Add workshop management system on admin interface * updated for Next.js 15+ compatability * Added delete workshop function + corrected workshop date * renamed file * removed duplicate file + fixed workshop exporting * simplified admin workshop info * fixed folder name * update Drizzle config/schema + middleware and remove old Supabase migrations/seeds (#78) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * Sunny/workshop sign up (#79) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * create migrations for triggers and functions. Add frontend for user workshop registration. * Refactor dashboard * move dashboard files into subfolders. * add participant name/gender/major to workshop_registrations table + renamed workshop interface * handle timezone conversion in workshop date formatting * Create migration to rename users.year_of_study to users.yearOfStudy * Update migration to conditionally run if items dont exists. * Update migration to run conditionally. * update column name * Use a consistent top nav bar throughout the application. * Add the ability to go back and forth between form pages. Update profile column names. * Allow registration retry after failure. * Add Vercel analytics and speed insights. * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * fix nav bar on admin pages. * fix errors caused by merge. * Fix property name mismatches in admin dashboard workshop stats * update import path. --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * update import * fix: remove duplicate ParticipantManagement file with incorrect casing - Removed src/components/admin/ParticipantManagement.tsx (lowercase) - Kept src/components/Admin/ParticipantManagement.tsx (uppercase) - This fixes the case sensitivity issue on Vercel deployment * fix: restore ParticipantManagement component with correct casing - Restored src/components/Admin/ParticipantManagement.tsx (uppercase) - Only the lowercase duplicate was removed in previous commit - This should resolve the Vercel deployment case sensitivity issue --------- Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Sunny Parmar <113143064+aparm539@users.noreply.github.com> * Refactor registration and settings files for consistency. * add missing return statement * Update redirect path. --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab0050 <101669672+methlab0050@users.noreply.github.com> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: albertaspsc <159397611+albertaspsc@users.noreply.github.com>
aparm539
added a commit
that referenced
this pull request
Sep 19, 2025
* Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * Feature/db schema (#67) * Adding email auth and basic schema Theres several different ways to associate profile data with authenticated users, so the schema isn't finalized. Email auth works; google auth almost works, but fails to redirect properly. Google OneTap component needs to be tested. See other TODOs for more information. * Finished Google auth and created registration handler * Cleaning up auth endpoints and middleware, Removing google one tap, Schema updates Moving api contract to docs * Fixing middleware functionality * Fixing typescript config to enable zod * Removing redundant comments and functions * Removing unnecessary thread blocking for trigger queries * Adding in reset-password and change-email routes * Adding env setup docs * Adding auth flow docs * School Email * Fixing reset password bugs and adding recommended changes * Writing RLS policy and registration functions * Resolve typescript conflicts from pr71 (#74) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Moving to typescript and relative paths * bug fixing for countdown update render * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Adding turbopack support and update sponsor.tsx --------- Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * Workshop management (#80) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality * Added API endpoints with JWT authentication and role-based access control * Add workshop management system on admin interface * updated for Next.js 15+ compatability * Added delete workshop function + corrected workshop date * renamed file * removed duplicate file + fixed workshop exporting * simplified admin workshop info * fixed folder name * update Drizzle config/schema + middleware and remove old Supabase migrations/seeds (#78) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * Sunny/workshop sign up (#79) * update Drizzle config/schema & middleware; remove legacy Supabase migrations/seeds; docs+deps updates * Update ParticipantManagement import path. * Update ParticipantManagement import path. * Remove job failing in CI * create migrations for triggers and functions. Add frontend for user workshop registration. * Refactor dashboard * move dashboard files into subfolders. * add participant name/gender/major to workshop_registrations table + renamed workshop interface * handle timezone conversion in workshop date formatting * Create migration to rename users.year_of_study to users.yearOfStudy * Update migration to conditionally run if items dont exists. * Update migration to run conditionally. * update column name * Use a consistent top nav bar throughout the application. * Add the ability to go back and forth between form pages. Update profile column names. * Allow registration retry after failure. * Add Vercel analytics and speed insights. * Complete flow (#76) * Add API contract documentation (#63) * Add API contract documentation * HTTP-only cookies for authentication * removed bearer token * changed skills to interest * update team members (#68) * Replace sponsor popup with direct link to Google Form (#64) * Replace sponsor popup with direct link to Google Form * Update sponsor link and optimize JSX * Implement user‑friendly multi‑step MRUHacks registration flow * Integrate multi‑step registration flow with context and polished UI * Participant dashboard * feat(register): complete 2FA flow, style register screens, integrate dashboard nav * chore: sync up registration & 2FA changes * fix(register): use client‐side query parsing and correct ref callback in 2FA page * dev code for 2fa testing * feat(auth): created landing page for log in and register. created log in page * Fix useEffect dependencies and wrap useSearchParams in Suspense boundary for reset-password page * User dashboard and settings * user profile * Update registration flow and UI styles * user logout * Directing to registration page from login page * path correction * Added login button on navbar * Integrate login flow and fix validation in step-2 page * Fix TypeScript errors and React imports * upgrade drizzle-kit to latest version * Integrating authentication into frontend * resume input added * User acknowledgments added * checklist added to user doashboard * added oarking preferences to user settings * changed interests and diet restrictions to checkboxes * improved default options in input fields * user input university + major info * improve dashboard layout and email notification fix * Add admin dashboard with real-time participant management * fixed file name * added Google OAuth to register page * admin dashboard based on user role * Integrating registration enhancements * Ensuring reg works on empty db * Stablizing build * added volunteer access and separate user sidebar * Removing schoolEmail from schema and creating function for settings * Implementing setting change functions * created admin and volunteer dashboard access * fixed registration flow and user dashboard * fixed update participant status and check in function + admin login * access register page from main site * login navbar css * admin status update * password reset fix * Improved participant manager functionality * added suspense boundary for error message * removed searchParams variable * added suspense boundary * accessing registration portal and login page from main site * change password funct ionality improved * mobile flexibility for dashboard * added shortcut importpath * resume uploaing fixed * remove debug logs and prepare code for production * fix to prevent adding gender rows in gender table * debug session * RLS testing * Added admin dashboard * remove debug * rls testing * rls debug * debug logging * using supabase client instead of drizzzle * fixed column name * Vercel connection improvement * Force redeploy with pooled connection * debugging db * debug db * gender mapping * cleaned up registration flow * Git check redeploy * delete account functionality * status banner content * settings tab layout * sidebar button layout * User profile and settings functionality * account deeltion functionality * parking info functionality --------- Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * fix nav bar on admin pages. * fix errors caused by merge. * Fix property name mismatches in admin dashboard workshop stats * update import path. --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> * update import * fix: remove duplicate ParticipantManagement file with incorrect casing - Removed src/components/admin/ParticipantManagement.tsx (lowercase) - Kept src/components/Admin/ParticipantManagement.tsx (uppercase) - This fixes the case sensitivity issue on Vercel deployment * fix: restore ParticipantManagement component with correct casing - Restored src/components/Admin/ParticipantManagement.tsx (uppercase) - Only the lowercase duplicate was removed in previous commit - This should resolve the Vercel deployment case sensitivity issue --------- Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Sunny Parmar <113143064+aparm539@users.noreply.github.com> * Refactor registration and settings files for consistency. * add missing return statement * Update redirect path. * UI rounding (#98) * Round registration banner component. No longer run migration during build as the schema has drifted. * Round Profile form items * Round settings and forms UI components * Update registration layout to make sure items are below header. * Update /user pages and navbar to have consistent background colour. * Address Schema Drift in Drizzle Migrations (#101) * update .gitignore * Use supabase as source of truth for db migrations. Remove old drizzle migrations and generate new ones based on remote schema. * Update database configuration and remove unused files - Added "auth" to the schemaFilter in drizzle.config.ts. - Remove Drizzle related unused database generation and migration scripts in up package.json. - Deleted obsolete Drizzle based GitHub workflow for database consistency checks. - Removed Drizzle based seed script and migration files. - Updated participant API routes to reflect changes in database schema, including renaming fields for consistency. - Refactored RegisterFormContext to use updated schema definitions. * Sunny/registration flow (#99) * update .gitignore * Remove email verification. * Save WIP * Update migrations. * Fix Rehydration of gender select option from context. * Refactor registration flow to centralize auth checks and options loading in context * Update gender handling to use string instead of number. * Remove drizzle migrations. (#114) * Fix workshop export (#100) Workshop export API was failing with error: "Could not embed because more than one relationship was found for 'workshops' and 'workshop_registrations'" api/workshops/registrations/export/route.ts now uses separate database queries: Query workshop details and registrations independently Combine data in application code rather than relying on Supabase joins * Improve Loading time on register form (#120) * Cherry picked seed from sunny/Update_migrations * Fix sunny's fuckup * Commit default values to .env.local Sunny was right this time, we can safely commit this as they always (n=2) the same when running supabase locally. * Shitty but working signup with email * layout fuckkery * idk man * Asia/parallel routes (#122) * Fix workshop export * merge dev files * Added parallel routing in admin dashboard * Moving user/profile and user/dashboard pages to server components (#118) Co-authored-by: methlab <methlab006@gmail.com> --------- Co-authored-by: Asia Ongjoco <aongj148@mtroyal.ca> Co-authored-by: methlab0050 <101669672+methlab0050@users.noreply.github.com> Co-authored-by: Asia Ongjoco <144367704+asiaao@users.noreply.github.com> Co-authored-by: methlab <methlab006@gmail.com> Co-authored-by: Aldo140 <74526535+Aldo140@users.noreply.github.com> Co-authored-by: Aldo <jorti104@mtroyal.ca> Co-authored-by: albertaspsc <159397611+albertaspsc@users.noreply.github.com> Co-authored-by: Thomas Kapocsi <thomas@kapocsi.ca>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I swear I'll fill this out in a second.