-
Notifications
You must be signed in to change notification settings - Fork 8
Refactor: updated frontend auth to use cookies instead of localhost #569
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
Merged
KavikaPalletenne
merged 81 commits into
CHAOS-224-KHAOS-rewrite
from
CHAOS-543-fe-auth-refactor
Aug 1, 2025
Merged
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
7a65553
add 2024 sponsor logos
JoshCLim 87691b1
add tailwind prettier plugin
JoshCLim d89aba4
update eslint-plugin-prettier to compatible version
JoshCLim e268005
format and lint code
JoshCLim 67b9d54
update eslint config
JoshCLim c8be69d
feat: add 2024 sponsor logos (#488)
JoshCLim 93c085f
remove grouped tailwind psuedo-classes
JoshCLim 9f116e4
refactor(frontend): remove MUI theme and CSS baseline
JoshCLim a20223c
resolve merge conflict from sponsor logos
JoshCLim c91aa3d
format tailwind classes
JoshCLim 3da7c3b
Merge branch 'main' into CHAOS-489-update-eslint-prettier-config
JoshCLim 4ae417f
set prettier config options
JoshCLim f38688c
format according to prettier config
JoshCLim 1c88a7b
Merge branch 'CHAOS-489-update-eslint-prettier-config' into CHAOS-491…
JoshCLim 6b818da
format tw macros via Tailwind functions config
JoshCLim 71e7655
Merge branch 'CHAOS-489-update-eslint-prettier-config' into CHAOS-491…
JoshCLim 484adc2
AdminSideBar styles and width state rewritten
JoshCLim afb2b4c
feat(AdminSidebar): migrate admin sidebar from MUI to Radix UI Primit…
JoshCLim 886ac12
feat(CampaignCreationPreview): migrate from MUI and remove bad Campai…
JoshCLim 1d61492
feat(AdminSidebar): add borders between organisations
JoshCLim e0f8690
refactor(BackgroundWrapper): delete unused component
JoshCLim 5f822ce
feat(ApplicationPreviewer): migrate ApplicationPreviewer away from MUI
JoshCLim 6c5c1f4
feat(CreateOrganisationForm): rewrite components using Tailwind
JoshCLim 6792d86
feat(Dropdown): remove unused imports
JoshCLim fbeb636
more migration
JoshCLim c107963
feat(frontend): update login/signup buttons to Coming Soon (#499)
JoshCLim 2ea1a7a
feat(Signup): migrate to twin
JoshCLim 4f8aafe
feat(frontend): Update ESLint and Prettier config (#490)
JoshCLim 5db09ad
email sending
KavikaPalletenne 5a163d3
fix "recipient" spelling
KavikaPalletenne 07680cc
cargo fmt
KavikaPalletenne 7c3d624
fix errors with `template_subject` introduction
KavikaPalletenne 5aeeb2f
cargo clippy fixes
KavikaPalletenne 706f814
application role preferences and updating applied roles
KavikaPalletenne 299ee9b
lock out user from application changes after submission
KavikaPalletenne 43e47cd
lock application after submission and campaign close date
KavikaPalletenne 80c1abe
fix uses of `LEFT JOIN` when `JOIN` was needed
KavikaPalletenne efe6c00
make unsubmitted application viewable after campaign end
KavikaPalletenne 02b705b
only submitted applications are viewable by reviewers
KavikaPalletenne 6fcb06a
added `Answer`-related schemas to api.yaml
KavikaPalletenne c08e4b4
register new `ApplicationHandler` endpoints in app
KavikaPalletenne d2d402a
completed up to /organisation/slug_check
KavikaPalletenne b2b7426
`NewCampaign` model for campaign create request body
KavikaPalletenne 0e17bdb
block applications for ended campaigns
KavikaPalletenne 36fd5c1
`NewEmailTemplate` model for template request body
KavikaPalletenne 43eee89
fix `assert_campaign_is_open()` naming
KavikaPalletenne 266fbff
api.yaml up to `/organisation/{id}/logo`
KavikaPalletenne 049a393
update `api.json` up to `/organisation/{id}/logo`
KavikaPalletenne eab3dba
Merge branch 'backend-main' into new-main
gyoumi a6c7cfd
rerouted application page to new backend and made prop error fixes fo…
gyoumi 31a6bcc
rerouted application page to new backend
gyoumi 2799c1f
merge mui migration pr
gyoumi 1bdc199
fixed all initial errors
gyoumi 38c25fe
fixed all initial errors
gyoumi af16cac
Move some `Rating` handler fn to `ApplicationHandler`
KavikaPalletenne 6b18074
update `api.json` up to `/rating/{id}`
KavikaPalletenne 694d813
saving for now
gyoumi 611edc6
Merge branch 'backend-main' into new-main
gyoumi 880c100
created user context
gyoumi 94007d2
created user context + preparing for work division
gyoumi 66e794b
feat: implemented cookie wrapped auth token
166d2f2
fix: SQL sub query alias
63b48e2
saving prompt updates
gyoumi cad37d1
merged
gyoumi 935b9bc
more prompts
gyoumi 861a1ce
Merge branch 'CHAOS-542-Auth-Token-Set-Cookie' into vibecode-test
gyoumi b5274fb
fixed merge
gyoumi 2c44ea2
login working
gyoumi b5e2cee
only comming fe changes
gyoumi 2a5f81d
Merge branch 'CHAOS-224-KHAOS-rewrite' into vibecode-test
gyoumi da41670
Merge branch 'CHAOS-224-KHAOS-rewrite' into vibecode-test
gyoumi a3f1bb9
saving state for now
gyoumi 16e3bbb
idk why this didnt merge
gyoumi 43285a8
idk why this didnt merge either
gyoumi 9167f80
got dashboard working kind of lol
gyoumi 091e18f
Merge branch 'CHAOS-224-KHAOS-rewrite' into vibecode-test
gyoumi 9ca0be7
fixed frontend admin org route
gyoumi 95cfb24
fixed frontend admin org route
gyoumi 97a2107
Merge branch 'CHAOS-224-KHAOS-rewrite' into CHAOS-543-fe-auth-refactor
KavikaPalletenne 9b2b510
fixed readme conflict
gyoumi 54521cf
Merge branch 'CHAOS-543-fe-auth-refactor' of github.com:devsoc-unsw/c…
gyoumi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,5 @@ target | |
| Cargo.lock | ||
| prisma-cli/prisma/migrations | ||
| /.idea | ||
| **/.DS_Store | ||
| **/.DS_Store | ||
| .env.* | ||
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
KavikaPalletenne marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
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
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
KavikaPalletenne marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| VITE_OAUTH_CALLBACK_URL=https://accounts.google.com/o/oauth2/v2/auth?client_id=985448402284-al4vuqpokkhgv6h952lhu6iasg1lupug.apps.googleusercontent.com&redirect_uri=http://localhost:3000/auth/callback&response_type=code&scope=profile email&access_type=online | ||
| VITE_API_BASE_URL=http://localhost:8000 | ||
| VITE_OAUTH_CALLBACK_URL=https://accounts.google.com/o/oauth2/v2/auth?client_id=731862014126-5b109p4v6b173910ib347gtfn0ecnacj.apps.googleusercontent.com&redirect_uri=http://localhost:8080/api/auth/callback/google&response_type=code&scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile&access_type=offline | ||
| VITE_API_BASE_URL=http://localhost:8080 | ||
| BROWSER=none |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,3 +23,6 @@ | |
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
|
|
||
| .env.development | ||
| .env | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.