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

Vite #1653

Merged
merged 261 commits into from
Jun 3, 2024
Merged

Vite #1653

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
261 commits
Select commit Hold shift + click to select a range
9e33307
edit User model and handlers for isActive status
Jul 26, 2023
02da971
Merge pull request #1452 from bkmorgan3/user_isActive
trillium Jul 28, 2023
b788bf4
fix: Add query to return events within 3 weeks
trillium Jul 26, 2023
377c3b4
Implement React Hook Form attrs
Jul 30, 2023
0c2deba
remove unused import
Jul 30, 2023
7585d70
destructure errors from formstate, clean line spaces
Jul 30, 2023
699a043
fix: Add two semi colons
trillium Jul 31, 2023
e609013
errors onBlur and onChange
Jul 31, 2023
28fdb34
feat: Create validation functionality, plus relevant utility functions
evanyang1 Jul 31, 2023
7dad6e5
Merge pull request #1440 from evanyang1/evn-validation-1403
trillium Aug 1, 2023
332922a
update error status and use helper text
Aug 1, 2023
a35a1dd
clean up
Aug 1, 2023
134d319
Merge pull request #1454 from Spiteless/ts.checkInReady_toggle
jbubar Aug 1, 2023
00c5fe1
add conditions for location
Aug 1, 2023
4f5b974
validate github profile to test location validation
Aug 1, 2023
e667943
remove conditional attempt, replace double bang
Aug 1, 2023
e61369a
confuse people with a nested ternerary
Aug 3, 2023
4c5057b
fix: Update ProjectForm.js
trillium Aug 7, 2023
797bc30
Merge pull request #1455 from bkmorgan3/1387/new-project-form-validat…
trillium Aug 7, 2023
cd38528
build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /client
dependabot[bot] Aug 7, 2023
fedca17
Merge pull request #1459 from hackforla/dependabot/npm_and_yarn/clien…
trillium Aug 7, 2023
e12ae58
build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /backend
dependabot[bot] Aug 7, 2023
86233f9
Merge pull request #1460 from hackforla/dependabot/npm_and_yarn/backe…
trillium Aug 7, 2023
516bf42
add check for logged in user on project create route
Aug 10, 2023
03c7766
Merge pull request #1462 from bkmorgan3/1458/unprotected-create-proje…
trillium Aug 11, 2023
6040472
fix: Update openCheckins to use env var
trillium Jul 11, 2023
d6c28cc
fix: Update more locations with hardcoded localhost
trillium Jul 21, 2023
0e359db
add length validation to description field
Aug 14, 2023
c890961
update regex
Aug 14, 2023
6f1778c
reusable form
plang-psm Aug 18, 2023
70711e4
reusable form + additional changes.
plang-psm Aug 22, 2023
9875937
feat: Add press edit agian to revert data
trillium Aug 24, 2023
a49d157
feat: Restore Manually Edit Events Checkin
trillium Aug 25, 2023
529e584
adjust editMode and styling on form
plang-psm Aug 25, 2023
a705d73
Merge pull request #1 from Spiteless/pr/1471
plang-psm Aug 25, 2023
0cee841
Merge branch 'development' of https://github.com/plang-psm/VRMS into …
plang-psm Aug 25, 2023
3c1b78c
update styling + add trilliums pr
plang-psm Aug 25, 2023
46f4d47
remove comment
plang-psm Aug 25, 2023
6571d05
save button bug fix
plang-psm Aug 25, 2023
e80ca8e
set react hook form state, reset method, and styling
plang-psm Aug 25, 2023
8ac7e0b
fix validation + remove unused
plang-psm Aug 25, 2023
ab51fa3
fix: Restore button styling with awkward ternary
trillium Aug 26, 2023
7a2b088
Merge pull request #1471 from plang-psm/reusable-form
plang-psm Aug 26, 2023
32e8384
feat: Create ValidatedTextField component
trillium Aug 27, 2023
32c79ad
feat: Refactor ValidatedTextField
trillium Aug 27, 2023
338c683
fix: Remove unused imports, reorder imports
trillium Aug 28, 2023
aa6d7e8
asset: Add JSDoc description to ValidatedTextField
trillium Aug 28, 2023
1e52bea
merge development
Aug 28, 2023
68b8205
update description validation
Aug 28, 2023
56816ea
fix: add back project fields hfla website url and github identifier
Aug 29, 2023
a2fffb2
Merge pull request #1488 from jbubar/fix-adding-back-project-fields
trillium Aug 29, 2023
5356b13
created data.js and copied simpleInputs from addProject.js
StephenTheDev1001 Aug 29, 2023
471f1f7
first draft commit
StephenTheDev1001 Aug 29, 2023
c006b27
Merge pull request #1485 from Spiteless/ts.1482.validated_text_field
trillium Aug 29, 2023
5a57b8c
Merge pull request #1420 from Spiteless/ts.fix_hardcoded_localhost
trillium Aug 29, 2023
e1494f3
Merge pull request #1490 from StephenTheDev1001/simpleInput-to-own-ob…
StephenTheDev1001 Aug 29, 2023
469908d
MuiTextField paddingLeft 0.5em
StephenTheDev1001 Aug 29, 2023
058d06c
Merge pull request #1492 from StephenTheDev1001/TextField-spacing-fix…
StephenTheDev1001 Aug 29, 2023
7e9f1a0
merge development
Sep 1, 2023
759b546
update description validation
Sep 1, 2023
e721e32
client/api:
evanyang1 Sep 2, 2023
7447e5f
feat: Update 'name' error message to be more clear
trillium Sep 5, 2023
dbba2be
trim values before accessing DB (#1499)
bkmorgan3 Sep 5, 2023
6233447
Merge pull request #1500 from Spiteless/ts.1446
trillium Sep 5, 2023
c8fb7ce
Merge branch 'development' of https://github.com/evanyang1/VRMS into …
evanyang1 Sep 6, 2023
7c5eb55
nit: email -> lowercase
evanyang1 Sep 6, 2023
b4c0058
feat: Add missing fields to add/edit form
trillium Sep 7, 2023
1b65573
feat: Whitelist 'onboarding' in event validation
trillium Sep 7, 2023
526393f
feat: Drop changes to EditableField.js
trillium Sep 7, 2023
d6a9340
Merge pull request #1425 from evanyang1/evan-form-validation
trillium Sep 7, 2023
44c794c
Merge pull request #1465 from bkmorgan3/1363/Description-validation
trillium Sep 7, 2023
5be05c0
Merge pull request #1504 from Spiteless/ts.1503
jbubar Sep 7, 2023
49d8136
Merge pull request #1502 from Spiteless/ts.1501
trillium Sep 7, 2023
7ffd4e0
feat: Creat waiting-to-merge action
trillium Sep 7, 2023
2037d5c
Merge pull request #1506 from Spiteless/ts.1505
trillium Sep 7, 2023
6a1d18f
Merge branch 'development' into evan-1496-email-addr
trillium Sep 8, 2023
258803d
Merge pull request #1498 from evanyang1/evan-1496-email-addr
trillium Sep 8, 2023
dd1b4c4
feat: Create TitledBox component
trillium Sep 10, 2023
df46e9a
feat: Swap in TitleBox for refactored components
trillium Sep 10, 2023
2382dc3
feat: Refactor RecurringEvents to use TitledBox
trillium Sep 10, 2023
08e0b51
feat: Refactor ProjectForm to use TitledBox
trillium Sep 10, 2023
5ce6680
feat: Refactor ProjectList to use TitledBox
trillium Sep 10, 2023
9361a0d
Merge pull request #1516 from Spiteless/ts.1477
trillium Sep 19, 2023
dc0f602
Create bug report template
plang-psm Sep 23, 2023
652eb59
build(deps-dev): bump debug from 4.2.0 to 4.3.1 in /backend
dependabot[bot] Oct 2, 2023
9ed9214
feat: delay the 'sorry not working' msg
evanyang1 Oct 6, 2023
942b871
Merge pull request #1525 from hackforla/evan1510
trillium Oct 7, 2023
3556bae
1086/security issues verified (#1521)
bkmorgan3 Oct 10, 2023
920bf53
add new fields to edit project form
Oct 11, 2023
531db5d
build(deps): bump @babel/traverse from 7.11.5 to 7.23.2 in /backend
dependabot[bot] Oct 16, 2023
09025ff
fix typos, prettiyfy date, disable createdDate editing
Oct 18, 2023
7a55440
build(deps): bump @babel/traverse from 7.21.2 to 7.23.2 in /client
dependabot[bot] Oct 18, 2023
2735807
Merge branch 'development' into bug-report-template
jbubar Oct 24, 2023
822d161
Merge pull request #1520 from plang-psm/bug-report-template
jbubar Oct 24, 2023
3ce33bf
build(deps): bump browserify-sign from 4.2.1 to 4.2.2 in /client
dependabot[bot] Oct 27, 2023
f0454da
Merge branch 'development' into 1489/add-all-fields
trillium Oct 31, 2023
65b0a03
Merge pull request #1527 from bkmorgan3/1489/add-all-fields
trillium Oct 31, 2023
9e124ec
feat: Move logic to helper function & resolve bug
trillium Oct 30, 2023
6d373a3
feat: Add emojis to create/not create console.logs
trillium Nov 5, 2023
d6d81a1
Merge pull request #1539 from Spiteless/ts.1411
trillium Nov 7, 2023
8a56f1c
fix: Handle event.date being undefined in closeCheckins
trillium Nov 10, 2023
23e6122
Merge pull request #1541 from Spiteless/ts.1540
trillium Nov 11, 2023
27df8a4
feat(UI): added UI rendering feature if no meetings available
freaky4wrld Nov 12, 2023
96b4195
feat (UI): rendered in the UI if no meeting is scheduled
freaky4wrld Nov 13, 2023
038c431
Merge pull request #1543 from freaky4wrld/ui-rendering-no-meetings-av…
trillium Nov 16, 2023
9ee2e30
fix: replaced <div> with <Box> and h1,h2,h4 with <Typography> with cu…
freaky4wrld Dec 4, 2023
791a1f7
implement and style modal
Dec 5, 2023
d583b86
Merge branch 'development' into dependabot/npm_and_yarn/client/browse…
trillium Dec 7, 2023
74bda6c
Merge pull request #1535 from hackforla/dependabot/npm_and_yarn/clien…
trillium Dec 7, 2023
65159e9
Merge branch 'development' into dependabot/npm_and_yarn/client/babel/…
trillium Dec 7, 2023
8cc93f1
Merge branch 'development' into dependabot/npm_and_yarn/backend/babel…
trillium Dec 7, 2023
583d778
Merge pull request #1529 from hackforla/dependabot/npm_and_yarn/clien…
trillium Dec 7, 2023
afbeafd
Merge branch 'development' into dependabot/npm_and_yarn/backend/babel…
trillium Dec 7, 2023
dd21257
Merge pull request #1528 from hackforla/dependabot/npm_and_yarn/backe…
trillium Dec 7, 2023
457f87f
Merge branch 'development' into dependabot/npm_and_yarn/backend/debug…
trillium Dec 7, 2023
9b76c23
Merge branch 'development' into dependabot/npm_and_yarn/client/semver…
trillium Dec 7, 2023
7cee6ef
Merge branch 'development' into dependabot/npm_and_yarn/semver-5.7.2
trillium Dec 7, 2023
2c5148e
Merge pull request #1523 from hackforla/dependabot/npm_and_yarn/backe…
trillium Dec 7, 2023
9615a1e
Merge branch 'development' into dependabot/npm_and_yarn/client/semver…
trillium Dec 7, 2023
7615ba0
Merge branch 'development' into dependabot/npm_and_yarn/semver-5.7.2
trillium Dec 7, 2023
464317d
Merge branch 'development' into dependabot/npm_and_yarn/backend/semve…
trillium Dec 7, 2023
ea16d69
Merge pull request #1415 from hackforla/dependabot/npm_and_yarn/backe…
trillium Dec 7, 2023
9f01208
Merge branch 'development' into dependabot/npm_and_yarn/client/semver…
trillium Dec 7, 2023
7c6950f
Merge branch 'development' into dependabot/npm_and_yarn/semver-5.7.2
trillium Dec 7, 2023
8e95341
Merge pull request #1414 from hackforla/dependabot/npm_and_yarn/clien…
trillium Dec 7, 2023
1e9dedd
Merge branch 'development' into dependabot/npm_and_yarn/semver-5.7.2
trillium Dec 7, 2023
d601ddb
Merge pull request #1418 from hackforla/dependabot/npm_and_yarn/semve…
trillium Dec 7, 2023
0ee913f
update modal
Dec 8, 2023
2858b2c
removelog
Dec 8, 2023
059da36
update logic for opening modal
Dec 8, 2023
35a7d95
Merge branch 'development' into 1391/onClose-modal
Dec 8, 2023
ce76e01
Undo the changes made in the heading tags
freaky4wrld Dec 8, 2023
c42c64d
Imported fonts locally, created a theme and provided styles as per in…
freaky4wrld Dec 9, 2023
82f608a
Merge pull request #1552 from bkmorgan3/1391/onClose-modal
trillium Dec 13, 2023
fbee189
asset: Update dependencies for @mui-icons
trillium Dec 13, 2023
a738494
Merge pull request #1556 from Spiteless/ts1555
jbubar Dec 13, 2023
edc8070
fix: added some new properties to the index.js and removed ThemeProvi…
freaky4wrld Dec 14, 2023
ef4f144
fix: added some comments indicator and some margins for fixing the sp…
freaky4wrld Dec 14, 2023
d838eba
Merge branch 'hackforla:development' into update-front-page-to-MUI-co…
freaky4wrld Dec 14, 2023
6cd2af7
fix: reverted the theme.js back to original and made changes with sx …
freaky4wrld Dec 16, 2023
6c95099
fix: mended the lineHeight for h2
freaky4wrld Dec 16, 2023
c85a7d3
fix: changes made for lineHeight of h2
freaky4wrld Dec 16, 2023
e8f0f9c
Merge pull request #1554 from freaky4wrld/update-front-page-to-MUI-co…
trillium Dec 16, 2023
7adc155
fix+feat:refractored the current code in accordance to MUI component …
freaky4wrld Dec 23, 2023
1182fd7
fix: added styles to various box and button to achieve the UI specs
freaky4wrld Dec 26, 2023
3f1cd4d
fix: added some padding to the element, provided horizontal rule afte…
freaky4wrld Dec 27, 2023
aca674f
fix: fixed the UI pushed the button down, gave root element a width o…
freaky4wrld Dec 28, 2023
85ce20f
Added breakpoints to the button text
freaky4wrld Jan 9, 2024
c1b3517
build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /client
dependabot[bot] Jan 10, 2024
8e6899a
fix: refactored divs to Box, removed commented and unused objects, ga…
freaky4wrld Jan 13, 2024
cb81070
fix: tried to manipulate the design with margin and padding as directed
freaky4wrld Jan 13, 2024
c3746c2
fix: replaced hardcode strings with numerical value, set result as bl…
freaky4wrld Jan 13, 2024
3405552
Merge pull request #1557 from freaky4wrld/updating-user-management-se…
trillium Jan 13, 2024
8deeafd
[fix]: removed the extra margin from usermanagement container to corr…
freaky4wrld Jan 22, 2024
323826d
Merge pull request #1563 from freaky4wrld/update-component-height-in-…
trillium Jan 22, 2024
56c8756
[fix]: deleted the instances of MVP-04 in the Contributing.md
freaky4wrld Jan 22, 2024
bdede4b
asset: updated the remaining instances of mvp-04
freaky4wrld Jan 23, 2024
17ebaff
asset: fixed the extra Note 1: in the recent changed block
freaky4wrld Jan 23, 2024
a24000b
feat: the location input field is removed by means of commenting out …
freaky4wrld Jan 30, 2024
5db7e6f
asset+fix: added back the missed backticks to the commands
freaky4wrld Jan 31, 2024
3cbfad4
feat+fix: added apt note to the commented section and disabled locati…
freaky4wrld Jan 31, 2024
51c0e16
Merge pull request #1567 from freaky4wrld/remove-project-location-1565
trillium Jan 31, 2024
78f47dc
Merge branch 'development' into updating-Contributing.md-removing-ref…
trillium Jan 31, 2024
1545bd3
fix: Add missed backtick
trillium Jan 31, 2024
76ee71d
Merge pull request #1564 from freaky4wrld/updating-Contributing.md-re…
trillium Jan 31, 2024
732ee60
feat+fix:replaced the jpg files with webp and added import statement …
freaky4wrld Feb 1, 2024
769f789
feat+fix: updated the import statement for bg-image-skyline
freaky4wrld Feb 1, 2024
3179a9e
Merge pull request #1568 from freaky4wrld/convert-photos-to-WebP
trillium Feb 1, 2024
c4e6ae4
feat: add nvmrc file
trillium Feb 2, 2024
3af5e59
Merge pull request #1571 from Spiteless/ts.nvmrc
trillium Feb 2, 2024
8a2428e
Fixes README typo
shinjonathan Feb 3, 2024
4e27778
Merge pull request #1572 from shinjonathan/patch-1
trillium Feb 3, 2024
63c40dc
Merge branch 'development' into dependabot/npm_and_yarn/client/follow…
trillium Feb 3, 2024
84c3d38
Merge pull request #1560 from hackforla/dependabot/npm_and_yarn/clien…
trillium Feb 3, 2024
8586341
feat: added snackbarContext to context directory
freaky4wrld Feb 5, 2024
0009c2c
feat: added the context component structure to get notification
freaky4wrld Feb 9, 2024
cf0ba91
fix: Update generateEventData to handle daylight savings
trillium Feb 9, 2024
3753446
Merge branch 'development' into ts.fix_timing_bug
trillium Feb 10, 2024
2322f3d
Merge pull request #1579 from Spiteless/ts.fix_timing_bug
jbubar Feb 10, 2024
25a6a20
feat: Change App.js to App.jsx
danieldkim42 Feb 12, 2024
72b4853
Merge pull request #1580 from danieldkim42/dk.appFileJsToJsx
danieldkim42 Feb 12, 2024
24fa860
fix: Comment out fields as per #1577
danieldkim42 Feb 12, 2024
76440a9
feat: refactor ValidationTextField to accept required property
danieldkim42 Feb 12, 2024
6f58556
Merge pull request #1582 from danieldkim42/dk.1577
danieldkim42 Feb 12, 2024
a6325d3
Merge branch 'development' into dk.1581
danieldkim42 Feb 12, 2024
5e2edee
Merge pull request #1583 from danieldkim42/dk.1581
danieldkim42 Feb 12, 2024
a15ba87
fix: Add required to googleDriveId in data.js
danieldkim42 Feb 13, 2024
ec2c81a
Merge pull request #1587 from danieldkim42/dk.1584
danieldkim42 Feb 13, 2024
e043cd9
fix: removed email notification and added notification on recurring-e…
freaky4wrld Feb 13, 2024
7e72f8b
fix: Added notification for updation and deletion
freaky4wrld Feb 13, 2024
ad0c2ab
fix: Comment out googleDriveId as per #1584
trillium Feb 13, 2024
d9224e0
Merge pull request #1586 from Spiteless/ts.1584
trillium Feb 13, 2024
0184382
fix: add required property to googleDriveUrl in data.js
danieldkim42 Feb 14, 2024
d024d36
Merge pull request #1588 from danieldkim42/dk.1585
trillium Feb 14, 2024
ccf8f99
Merge branch 'development' into flash-error-message-on-alert-1569
trillium Feb 24, 2024
c7c4b6e
fix: updated event text info
freaky4wrld Feb 25, 2024
4d4825a
Merge pull request #1575 from freaky4wrld/flash-error-message-on-aler…
trillium Feb 25, 2024
bcb977f
feat: Have editMeetingTimes use same funcs as createMeetingTimes
trillium Feb 26, 2024
b16c8a0
feat: Restore generateEventData.js to pre-edited state
trillium Feb 26, 2024
531858f
feat: Drop generateEventData.test.js, no longer relevant
trillium Feb 26, 2024
8a9bafd
Merge pull request #1592 from Spiteless/ts.frontEndTimingBug
trillium Feb 27, 2024
92a98f1
Update README.md
JackHaeg Mar 1, 2024
5b5a982
Merge pull request #1602 from hackforla/JackHaeg-patch-1
trillium Mar 1, 2024
aa3c26e
fix: Add missing import generateEventData
trillium Mar 4, 2024
d89c330
Merge pull request #1607 from Spiteless/ts.fixMissingImport_generateE…
jbubar Mar 5, 2024
6b66cd1
fix: Remove Add User button with no current function
trillium Mar 5, 2024
ef51b96
Merge branch 'development' into ts.restoreGenerateEventData.js
trillium Mar 5, 2024
2e9fab6
Merge pull request #1608 from Spiteless/ts.remove_addANewUser_button
jbubar Mar 5, 2024
b3ae841
Merge branch 'development' into ts.restoreGenerateEventData.js
trillium Mar 5, 2024
d29446f
Merge pull request #1594 from Spiteless/ts.restoreGenerateEventData.js
trillium Mar 5, 2024
89becb2
fix: Fix import for generateRecurringEvents
trillium Mar 13, 2024
7044744
Merge pull request #1614 from Spiteless/ts.hotFix_backend_import_crea…
trillium Mar 13, 2024
1defca5
remove popup on the close button
josiehandeveloper Mar 19, 2024
f6b4860
popup removed for close button after no edit is made
josiehandeveloper Mar 19, 2024
cd46065
Merge branch 'development' into Edit-on-save
trillium Mar 22, 2024
6df0138
removed prettier back to original styling
josiehandeveloper Apr 2, 2024
3d840a7
undo prettier
josiehandeveloper Apr 2, 2024
d3485ba
Merge branch 'Edit-on-save' of https://github.com/josiehandeveloper/v…
josiehandeveloper Apr 2, 2024
919a0df
readded packages
josiehandeveloper Apr 2, 2024
409a65d
Merge pull request #1616 from josiehandeveloper/Edit-on-save
trillium Apr 16, 2024
4f4dd9d
feat: Add disabled logic, update classnames for buttons
trillium Apr 15, 2024
adfbf76
Merge branch 'development' into ts.login_buttons
trillium Apr 23, 2024
b28a072
formatting additions and suggestions for contributing.md
lcchrty Apr 23, 2024
f3bf493
Merge branch 'development' into 1624-vrms-onboarding
lcchrty Apr 24, 2024
4712316
removed diff formatted question CONTRIBUTING.md
lcchrty Apr 30, 2024
2647937
Merge pull request #1631 from lcchrty/1624-vrms-onboarding
trillium Apr 30, 2024
2fe0991
change btn text
May 13, 2024
c773bda
add space
May 13, 2024
8c3f83d
change text
May 14, 2024
aab98eb
Merge branch 'development' into ts.login_buttons
trillium May 14, 2024
29172a0
Merge pull request #1635 from bkmorgan3/change-btn-text
lcchrty May 14, 2024
5c09f28
Merge branch 'development' into ts.login_buttons
evanyang1 May 14, 2024
4474bb6
Remove ability for PMs to edit Project Information on VRMS (#1634)
lcchrty May 16, 2024
bd114b5
Merge branch 'development' into ts.login_buttons
JackHaeg May 16, 2024
617e52d
Merge pull request #1629 from Spiteless/ts.login_buttons
trillium May 17, 2024
5a63ee7
Merge branch 'dev' into vite, regenerate yarn.lock
trillium May 29, 2024
315f448
chore: snackbarContext.js to .jsx
trillium May 29, 2024
c3772f0
chore: TitledBox.js to .jsx
trillium May 29, 2024
70d156c
chore: ValidatedTextField to .jsx
trillium May 29, 2024
bd563ee
chore: ChangesModal to .jsx
trillium May 29, 2024
a3f6104
chore: addProject to .jsx
trillium May 29, 2024
7912b87
feat: Upgrade .nvmrc to 18
trillium May 29, 2024
b688c34
chore: Add "dev" command in client/scripts
trillium May 29, 2024
0f625d8
refactor project filtering for PMs (#1644)
bkmorgan3 May 30, 2024
3c6a793
Merge remote-tracking branch 'upstream/development' into vite
trillium May 30, 2024
c37c524
feat: Upgrade vitest to ^1.36 in /client
trillium May 30, 2024
a812506
feat: Switch alert to console log, allows test to complete
trillium May 30, 2024
e32a88b
chore: Rename Leaderboard.test.js --> .jsx for vitest
trillium May 30, 2024
9839bda
feat: Change `require` to import to resolve vitest module warning
trillium May 30, 2024
51e9429
feat: Add Leaderboard test snapshot
trillium May 30, 2024
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
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: 'Bug Report'
description: 'Bug report HackforLA issue form.'

body:
- type: textarea
id: description
attributes:
label: Describe the Bug
description: Clearly state the bug
validations:
required: true
- type: dropdown
id: feature
attributes:
label: Feature
description: Select a feature related to the bug
options:
- AWS
- Brand
- Login
- Users
- Agenda
- Check in
- Database
- Dashboard
- Marketing
- Onboarding
- Repo Update
- Documentation
- GitHub Actions
- GitHub Hygiene
- Infrastructure
- Package Update
- ESLint Warnings
- Form validation
- Recurring Events
- Project Management
- Account Setup Automation
- Meeting Time Change Ticket
- Add/Remove PM access
validations:
required: true
- type: textarea
id: replicate
attributes:
label: How to Replicate
description: Clearly state how to replicate the bug
validations:
required: true
- type: dropdown
id: notification
attributes:
label: Request notification after bug squashing
description: Request notification after a bug is squashed
options:
- Yes
- No
validations:
required: true
- type: textarea
id: resource
attributes:
label: Resources/Information
description: Include any important resources/information
2 changes: 1 addition & 1 deletion .github/workflows/New-issue-create-card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
- name: Create or Update Project Card
uses: peter-evans/create-or-update-project-card@v2
with:
project-name: VRMS v0.4
project-name: VRMS - Active Project Board
column-name: New Issue Approval
17 changes: 17 additions & 0 deletions .github/workflows/waiting-to-merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Waiting to Merge

on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]

jobs:
do-not-merge:
if: ${{ contains(github.event.*.labels.*.name, 'waiting to merge') }}
name: Prevent Merging
runs-on: ubuntu-latest
steps:
- name: Check for label
run: |
echo "Pull request is labeled as 'waiting to merge'"
echo "This workflow fails so that the pull request cannot be merged"
exit 1
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
114 changes: 58 additions & 56 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,50 +50,53 @@ These steps are manditory in order to contribute to all HackforLA projects.
## **Part 2: How to set up the development environment**

### **2.1 Fork the repository**
*A fork is a copy of the repository that will be placed on your GitHub account url.*

In https://github.com/hackforla/VRMS, look for the fork icon in the top right. Click it and create a fork of the repository.
* In https://github.com/hackforla/VRMS, look for the fork icon in the top right. Click it and create a fork of the repository.

For git beginners, a fork is a copy of the repository that will be placed on your GitHub account url.
* It should create a copy here: https://github.com/YOUR_GITHUB_USERNAME/vrms, where `YOUR_GITHUB_USERNAME` is replaced with your github username.

It should create a copy here: https://github.com/your_GitHub_user_name/vrms, where `your_GitHub_user_name` is replaced with exactly that.
> NOTE: This copy is on a remote server on the GitHub website and not on your computer yet.

Note that this copy is on a remote server on the GitHub website and not on your computer yet.

If you click the icon again, it will not create a new fork but instead give you the URL associated with your fork.
* Click the icon again, it will give you the URL associated with your forked repository and not create a new fork.

### **2.2 Clone the remote repository to your local computer**

The following process will make a copy of the fork that you just created on your local computer.

First create a new folder on your local computer that will contain `hackforla` projects.

In your shell, navigate there then run the following commands:
1. Create a new folder on your local computer that will contain `hackforla` projects.

```bash
git clone https://github.com/your_GitHub_user_name/vrms.git
```
2. In your shell (terminal), navigate to this folder then run the following commands:
```bash
git clone https://github.com/YOUR_GITHUB_USERNAME/vrms.git
```

You should now have a new folder in your `hackforla` folder called `vrms`.
You should now have a new folder in your `hackforla` folder called `vrms`.

Verify which URL your `origin` remote is pointing to:
3. Verify which URL your `origin` remote is pointing to:
```bash
git remote show origin
```
Your terminal should return:
```bash
remote origin
Fetch URL: https://github.com/YOUR_GITHUB_USERNAME/vrms.git
Push URL: https://github.com/YOUR_GITHUB_USERNAME/vrms.git
...
```

```bash
git remote show origin
```
If you accidentally cloned the `hackforla/vrms.git` then you can change your local copy to upload to your fork with the following:

If you accidentally cloned the `hackforla/vrms.git` then you can change your local copy to upload to your fork with the following:
```bash
git remote set-url origin https://github.com/YOUR_GITHUB_USERNAME/vrms.git
```

```bash
git remote set-url origin https://github.com/your_user_name/vrms.git
```
4. Add another remote called `vrms` that points to the `hackforla` version of the repository. This will allow you to incorporate changes later:
```bash
git remote add vrms https://github.com/hackforla/vrms.git
```

Add another remote called `vrms` that points to the `hackforla` version of the repository. This will allow you to incorporate changes later:

```bash
git remote add vrms https://github.com/hackforla/vrms.git
```

Note: Understanding how git remotes work will make collaborating much easier. You can learn more about remotes [here](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork) and [here](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes)
Note: Understanding how git remotes work will make collaborating much easier. You can learn more about remotes [here](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork) and [here](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes).


### **2.3 Get up and running**
Expand All @@ -114,20 +117,19 @@ Note: Understanding how git remotes work will make collaborating much easier. Yo

- `cd vrms/` and run `yarn install`
- `cd client` and run `yarn install`
- `cd client-mvp-04` and run `yarn install`
- `cd ../backend` and run `yarn install`

1. Add your required environment variables for the frontend and backend directories:

- `touch vrms/backend/.env`
- `touch vrms/client/.env`
- `touch vrms/client-mvp-04/.env`

Note 1: In the above example you are trying to create an empty file called `.env` in each of the listed directories: backend, client and client-mvp-04. You can use either `touch <path-to-directory> .env` or navigate to the directory and use `touch .env`
Note 1: In the above example you are trying to create an empty file called `.env` in each of the listed directories: backend and client. You can use either `touch <path-to-directory> .env` or navigate to the directory and use `touch .env`

Note 2: `touch` is a Unix/Linux or Mac command; It is not available in Windows. In Windows, use a text editor (e.g. Notepad) to create an empty file and save it in each of the locations as `.env` . (If you use Windows Explorer to create the file it will create a file called `.env.txt`, which will not work.)

- Then paste the content from the [document](https://docs.google.com/document/d/1yDF6UmyO-MPNrl3y_Mw0mkm_WaixlSkXzWbudCzHXDY/edit?usp=sharing). It is accessible for the project team members only.
- Then paste the content from the [document](https://docs.google.com/document/d/1yDF6UmyO-MPNrl3y_Mw0mkm_WaixlSkXzWbudCzHXDY/edit?usp=sharing). It is accessible for the project team members only.

- _Please note that the `ports` for the frontend and backend are set in this location_

1. Take a second to review the `app.js` and `server.js` files in the `vrms/backend` folder. These two files are a blueprint for the back end, so please familiarize yourself with it. You'll see folders for the database collection models, routes for the API, and a config file which loads the necessary environment variables.
Expand Down Expand Up @@ -186,21 +188,21 @@ Claiming an issue is a two step process:


### **3.2 Create a new branch for each issue you work on**
Create a new branch for each issue you work on. Doing all your work on feature branches leaves your repository's main branch unmodified and greatly simplifies keeping your fork in sync with the main project.


Before creating a new branch, always make sure you are currently on the `development` branch by using the command
```
git branch
```
Before creating a new branch, always pull down the latest changes from the `development` branch by using the command
```
git pull vrms development
```
Finally, create a new branch where you will work on your issue by using the command
```
git checkout -b your-branch-name
```
You will create a new branch for each issue you work on. Doing all your work on feature branches leaves your repository's main branch unmodified and greatly simplifies keeping your fork in sync with the main project.


1. Before creating a new branch, always make sure you are currently on the `development` branch by using the command
```bash
git branch
```
2. Before creating a new branch, always pull down the latest changes from the `development` branch by using the command
```bash
git pull vrms development
```
3. Finally, create a new branch where you will work on your issue by using the command:
```bash
git checkout -b your-branch-name
```

### **3.3 Work on the Issue**
Every issue will contain action items you must complete before you are ready to submit a pull request. Be sure to use the checkboxes as you complete each action item so we can track your progress!
Expand All @@ -215,19 +217,19 @@ git commit -m "your commit message"

## **Part 4: How to create pull requests**
### **4.1 Push changes to your forked repository**
Before pushing code, always pull down the latest changes from the `development` branch by using the command
```
git pull vrms development
```
Once you are satisfied with your changes, push them to the feature branch you made within your remote repository.
```
git push --set-upstream origin your-branch-name
```
1. Before pushing code, always pull down the latest changes from the `development` branch by using the command
```
git pull vrms development
```
2. Once you are satisfied with your changes, push them to the feature branch you made within your remote repository.
```
git push --set-upstream origin your-branch-name
```
### **4.2 Create a pull request on the VRMS repository**
1. Go to your fork of the VRMS repository on GitHub and click on the `Compare & pull request` button. <details><summary>See screenshot</summary> <img src="https://user-images.githubusercontent.com/73561520/220488394-09bc759e-98d9-4a09-86c6-66378cf50923.png"/></details>
2. Be sure to title your pull request by summarizing the changes you made
3. Be sure to add your issue number where the template says `Fixes #replace_this_text_with_the_issue_number`
4. Fill out the "What changes did you make and why?" section of the pull request template
5. Include before & after images with your pull request if there are visual changes to the user interface
6. Request a review from another developer on the team
7. Review another developers pull request while you are waiting for your pull request to be reviewed
7. Review another developers pull request while you are waiting for your pull request to be reviewed
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Volunteer Relationship Management System
Live Site: [https://vrms.io](https://vrms.io)
Live Site: [https://www.vrms.io](https://www.vrms.io)

VRMS is a tool used for the engagement, support, and retention of a network of volunteers.

Expand All @@ -14,7 +14,7 @@ We require all code contributors to
## Wiki Highlights
1. [Introduction](https://github.com/hackforla/VRMS/wiki/Introduction)
2. [Technology Stack](https://github.com/hackforla/VRMS/wiki/Technology)
3. [Team Meetigns](https://github.com/hackforla/VRMS/wiki/Team-Meetings)
3. [Team Meetings](https://github.com/hackforla/VRMS/wiki/Team-Meetings)

## We Love Our Stars ⭐⭐⭐

Expand Down
10 changes: 10 additions & 0 deletions backend/controllers/project.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ ProjectController.project_list = async function (req, res) {
}
};

ProjectController.pm_filtered_projects = async function(req, res) {
try {
const projectList = await Project.find({})
const projects = projectList.filter(proj => req.body.includes(proj._id.toString()))
return res.status(200).send(projects)
} catch(e) {
return res.sendStatus(400)
}
}

ProjectController.create = async function (req, res) {
const { body } = req;

Expand Down
2 changes: 1 addition & 1 deletion backend/middleware/user.middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function isAdminByEmail(req, res, next) {
return res.sendStatus(400);
} else {
const role = user.accessLevel;
if (req.get('origin').includes('3001') || role === 'admin' || user.managedProjects.length > 0) {
if (role === 'admin' || user.managedProjects.length > 0) {
next();
} else {
next(res.sendStatus(401));
Expand Down
16 changes: 8 additions & 8 deletions backend/models/project.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ Idea for the future: programmingLanguages, numberGithubContributions (pull these
*/

const projectSchema = mongoose.Schema({
name: { type: String },
description: { type: String },
githubIdentifier: { type: String },
name: { type: String, trim: true },
description: { type: String, trim: true },
githubIdentifier: { type: String, trim: true },
projectStatus: { type: String }, // Active, Completed, or Paused
location: { type: String }, // DTLA, Westside, South LA, or Remote (hacknight)
location: { type: String, trim: true }, // DTLA, Westside, South LA, or Remote (hacknight)
//teamMembers: { type: String }, // commented since we should be able to get this from Project Team Members table
createdDate: { type: Date, default: Date.now }, // date/time project was created
completedDate: { type: Date }, // only if Status = Completed, date/time completed
githubUrl: { type: String }, // link to main repo
slackUrl: { type: String }, // link to Slack channel
googleDriveUrl: { type: String },
githubUrl: { type: String, trim: true }, // link to main repo
slackUrl: { type: String, trim: true }, // link to Slack channel
googleDriveUrl: { type: String, trim: true },
googleDriveId: { type: String },
hflaWebsiteUrl: { type: String },
hflaWebsiteUrl: { type: String, trim: true },
videoConferenceLink: { type: String },
lookingDescription: { type: String }, // narrative on what the project is looking for
recruitingCategories: [{ type: String }], // same as global Skills picklist
Expand Down
6 changes: 4 additions & 2 deletions backend/models/user.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ const userSchema = mongoose.Schema({
isHflaGithubMember: { type: Boolean }, // pull from API once github handle in place?
githubPublic2FA: { type: Boolean }, // does the user have 2FA enabled on their github and membership set to public?
availability: { type: String }, // availability to meet outside of hacknight times; string for now, more structured in future
managedProjects: [{ type: String}] // Which projects managed by user.
managedProjects: [{ type: String}], // Which projects managed by user.
//currentProject: { type: String } // no longer need this as we can get it from Project Team Member table
// password: { type: String, required: true }
isActive: { type: Boolean, default: true }
});

userSchema.methods.serialize = function () {
Expand Down Expand Up @@ -65,7 +66,8 @@ userSchema.methods.serialize = function () {
isHflaGithubMember: this.isHflaGithubMember,
githubPublic2FA: this.githubPublic2FA,
availability: this.availability,
managedProjects: this.managedProjects
managedProjects: this.managedProjects,
isActive: this.isActive
};
};

Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@babel/eslint-plugin": "^7.14.5",
"@shelf/jest-mongodb": "^1.2.3",
"concurrently": "^5.1.0",
"debug": "^4.1.1",
"debug": "^4.3.1",
"eslint": "^7.9.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-base": "^14.2.0",
Expand Down
10 changes: 8 additions & 2 deletions backend/routers/projects.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ const express = require("express");
const router = express.Router();

const { ProjectController } = require('../controllers');
const { AuthUtil } = require("../middleware");

// The base is /api/projects
router.get('/', ProjectController.project_list);

router.post('/', ProjectController.create);
// Its a put because we have to send the PM projects to be filtered here
router.put('/', ProjectController.pm_filtered_projects);

router.post('/', AuthUtil.verifyCookie, ProjectController.create);

router.get('/:ProjectId', ProjectController.project_by_id);

router.patch('/:ProjectId', ProjectController.update);
router.put('/:ProjectId', AuthUtil.verifyCookie, ProjectController.update);

router.patch('/:ProjectId', AuthUtil.verifyCookie, ProjectController.update);


module.exports = router;
Loading
Loading