Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Updated elgohr/Publish-Docker-Github-Action to a supported version (v5) #44

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
3dc50ad
Merge pull request #129 from krubenok/master
dggsax Sep 7, 2019
0209546
Added financial contributors to the README
monkeywithacupcake Nov 28, 2019
cb5c158
Merge pull request #146 from opencollective/opencollective
pshirlyn Dec 6, 2019
31578bc
Create Procfile
diakov2100 Dec 27, 2019
81bef58
Update Procfile
diakov2100 Dec 27, 2019
abcbb3e
Merge pull request #151 from diakov2100/master
pshirlyn Jan 23, 2020
5549bbe
Merge changes from krubenok-master
pshirlyn Jan 28, 2020
97cd4a6
(Automatically) merge branch 'krubenok-master'
pshirlyn Jan 28, 2020
fa1b720
Auto-update dependencies
pshirlyn Jan 28, 2020
d5a12a2
Add CSV export button for user data
pshirlyn Apr 1, 2020
56524fc
Partially update dependencies
pshirlyn Apr 1, 2020
66968ee
Merge pull request #152 from techx/update
pshirlyn Apr 1, 2020
ab3ca69
Update jQuery and other dependencies
pshirlyn May 5, 2020
a6bb49c
Clean up code to satisfy ESLint
pshirlyn May 5, 2020
2091be4
Update dependencies
pshirlyn Jun 20, 2020
3227d1f
Fix incorrect verification token crash
pshirlyn Jul 12, 2020
024d845
Updated styles and application
Clink1234 May 8, 2021
8614279
Remove old package lock
Clink1234 May 8, 2021
1935797
Added gulp to dependencies
Clink1234 May 8, 2021
eb0718e
Updated title
Clink1234 May 8, 2021
88f1e32
Updated title and emails
Clink1234 May 8, 2021
8ba336b
Updated confirmation
Clink1234 May 8, 2021
48bdce7
Add MLH questions
jlepone Aug 19, 2021
36d166b
Add virtual inperson counters
jlepone Aug 19, 2021
05fe486
Added more stuff
jlepone Aug 19, 2021
38460e1
Fix dashboard
jlepone Aug 19, 2021
7b5e535
Made essay non-optional
jlepone Aug 19, 2021
3eae661
Fixed bug on dashboard
jlepone Aug 19, 2021
d8af146
Add spacing and make attendance larger
jlepone Aug 19, 2021
1efc12c
Fixed bug on dashboard
jlepone Aug 19, 2021
7871b8e
Fix validation on confirmation
jlepone Aug 19, 2021
2523ab2
Fix validation on confirmation
jlepone Aug 19, 2021
39c993f
Fix admin stats issue
jlepone Aug 19, 2021
352e5b0
Moved items to application
jlepone Aug 20, 2021
1bcb6df
Mark essay as required
jlepone Aug 20, 2021
32946a6
Fix application
jlepone Aug 20, 2021
a19ea23
Fix thing
jlepone Aug 20, 2021
674cb61
Fix time issues
jlepone Aug 20, 2021
dd8eb7e
Fix time issues
jlepone Aug 20, 2021
23dbb91
Add address and discord ID to confirmation
Clink1234 Sep 6, 2021
2f48bfe
change dates to 2022
Aug 26, 2022
621d29e
update date of event
Aug 26, 2022
f56e6e9
update in-person information
Aug 26, 2022
7928936
update participation options for event
Aug 26, 2022
639e369
Updated application questions
Aug 28, 2022
27c2fad
Update application questions
Aug 28, 2022
6979b37
Updated application questions
Aug 28, 2022
2e55252
Update application questions
Aug 28, 2022
2d2535f
Update application questions
Aug 28, 2022
dd9d3f9
Update application questions
Aug 28, 2022
66ee850
Update application questions
Aug 28, 2022
4a5f512
Update application questions
Aug 28, 2022
8ce7e8f
Update application verification
Aug 28, 2022
c43c66b
Update application validation
Aug 28, 2022
6151a77
Update application validation
Aug 28, 2022
b00a7bc
Update application validation
Aug 28, 2022
906da41
Add dropbox
Aug 28, 2022
b0b6af0
Updated elgohr/Publish-Docker-Github-Action to a supported version (v5)
elgohr Apr 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix admin stats issue
  • Loading branch information
jlepone committed Aug 19, 2021
commit 39c993f1b307274d2f7088ee04fdb72069fbeb80
2 changes: 1 addition & 1 deletion app/server/services/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function calculateStats(){
// Count confirmed that are mit
newStats.confirmedMit += user.status.confirmed && email === "cornell.edu" ? 1 : 0;

newStats.confirmedInPerson += user.confirmation.inPerson && (email === "cornell.edu") && (user.profile.school === 'Cornell University') ? 1 : 0;
newStats.confirmedInPerson += (user.status.confirmed && user.confirmation.inPerson && (email === "cornell.edu") && (user.profile.school == 'Cornell University')) ? 1 : 0;

newStats.confirmedFemale += user.status.confirmed && user.profile.gender == "F" ? 1 : 0;
newStats.confirmedMale += user.status.confirmed && user.profile.gender == "M" ? 1 : 0;
Expand Down