-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Submissions #718
base: master
Are you sure you want to change the base?
Add Submissions #718
Conversation
* Update main.ts * Update frontend dependencies (#616) Upgrade from Node 14 to Node 20 and bump frontend dependency versions to current. --------- Co-authored-by: Julian Weng <[email protected]> * Update README.md * Update README backend instructions and intro blurb * Fix admin page access on frontend. (#626) Add frontend check for existing pre-loaded permissions on /admin. * Removed deprecated QuestionResponse model and duplicate line (#625) * Remove deprecated QuestionResponse model * remove duplicate line: 'rank field in Club' * made migrations after deleting QuestionResponse * Streamline django storages config (#618) * Add staticfiles * Fix AWS bucket routing for boto * Try setting credentials through env vars * Try renaming env vars? * Set AWS region * add back staticfiles * Remove region and signature version * Move credentials to new API * Use env variables and remove staticfiles * Add back staticfiles * Make code look pretty --------- Co-authored-by: Rohan Moniz <[email protected]> * Add hour to displayed application deadline (#628) * Add hour for application due dates * Make linter happy * Specify Eastern time zone * Display username if name is empty (#637) * finished changes * Remove Wharton applications from user profile * Fix weird artifacts from merge --------- Co-authored-by: Joy Liu <[email protected]> Co-authored-by: Julian Weng <[email protected]> Co-authored-by: Rohan Moniz <[email protected]> Co-authored-by: Thomas Ngulube <[email protected]> Co-authored-by: Owen Lester <[email protected]>
* Bump debounce timeout to 400ms * Make linter happy
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
10282361 | Triggered | Generic High Entropy Secret | 54e1543 | backend/pennclubs/settings/ci.py | View secret |
10282361 | Triggered | Generic High Entropy Secret | 54e1543 | backend/pennclubs/settings/development.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #718 +/- ##
=======================================
Coverage 71.40% 71.40%
=======================================
Files 31 31
Lines 6850 6850
=======================================
Hits 4891 4891
Misses 1959 1959
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good generally, had a couple of nits and things that could be changed from the existing ported implementation. Thanks for taking the time to revisit this!
frontend/package.json
Outdated
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary to pass lint?
frontend/pages/settings.tsx
Outdated
authenticated: boolean | null | ||
submissions: ApplicationSubmission[] | ||
whartonapplications: any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: camel case variable name and adding types would be nice (I know the reference code didn't have either but it would be good practice)
frontend/pages/settings.tsx
Outdated
{ | ||
name: 'applications', | ||
label: 'Applications', | ||
content: <ApplicationsPage whartonapplications={whartonapplications} />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that the page is more visible in the profile, would be nice to clarify that it's for Wharton Cycle applications specifically (maybe change it to all eventually but not needed now).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to fix the nits, just left two more and it should be ready!
frontend/components/Applications.tsx
Outdated
</CardWrapper> | ||
)) | ||
<div> | ||
<Text>Only Wharton applications displayed here!</Text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rephrase as "Note: only current Wharton applications are displayed on this page"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made changes
frontend/pages/settings.tsx
Outdated
@@ -87,7 +87,7 @@ const Settings = ({ | |||
{ | |||
name: 'applications', | |||
label: 'Applications', | |||
content: <ApplicationsPage whartonapplications={whartonapplications} />, | |||
content: <ApplicationsPage whartonapplications={whartonApplications} />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be appropriate to also rename the prop in ApplicationsPage to be camelcase for simplicity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for making the changes, can you fix the type check errors (tsc) with your change? Also, there is probably a better way of handling the rename than declaring and immediately spreading a separate returner variable that would be clearer to read.
Both issues should fixed. Some of the checks are still failing– something about the Codecov report not uploading? I'm unsure what that means. |
No description provided.