oakton intake form#17
Open
amiemasih wants to merge 66 commits into
Open
Conversation
changed names of tables in SQL queries due to name change in DB
…ll() ages and getAverageAge(), along with createStudent() and upsertUser(), then made route handlers
Oakton Info Queries
Fix signing up with google
…id, upsertUser and getAll methods to postgresProvider pointing to the admins table. Previous methods missed targeting oakton-info
…se; added ihtu intake form (mirroring Oakton), ihtuInfoRoutes, createIhtuIntake and getAllIhtuIntakes provider methods, and register /ihtuInfo route on the backend server
Connected IHTU Form to Backend
ployed url instead of local url
…, and cancel pending invites
…upon form submission + add auto send email
All protected routes now require a valid Firebase ID token verified against the Postgres users table. Public intake submission endpoints remain open for unauthenticated applicants.
- New GET/PUT /customQuestions/:programId routes (GET public, PUT requires admin or supervisor assigned to that program) - Add intake session CRUD to /oaktonInfo/intake-sessions (GET public; POST/PATCH/DELETE require admin or oakton supervisor) - POST /oaktonInfo/intakes and /ihtuInfo/intakes now validate customAnswer when the custom question is active, and snapshot question_text server-side - Remove intakeSessionDate from Oakton required fields (now dynamic) - Guard intake session date in confirmation email (field is now optional) - Update createOaktonIntake and createIhtuIntake in postgresProvider to store custom_question and custom_answer columns Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
No description provided.