From 404b1939adbfeabaf22ff9b10f344cef47fa131a Mon Sep 17 00:00:00 2001 From: Carmen Chau <80921817+carmen-chau@users.noreply.github.com> Date: Sun, 9 Jun 2024 18:18:23 -0400 Subject: [PATCH 01/85] Initial commit --- .github/pull_request_template.md | 15 + .github/workflows/main.yml | 82 + .gitignore | 164 + CONTRIBUTING.md | 90 + LICENSE.md | 674 + README.md | 380 + _config.yml | 1 + deployment/Dockerfile | 23 + deployment/entrypoint.sh | 11 + development/docker-compose.yml | 21 + hackathon_site/api/README.md | 11 + hackathon_site/api/__init__.py | 0 hackathon_site/api/urls.py | 9 + hackathon_site/dashboard/__init__.py | 0 hackathon_site/dashboard/admin.py | 3 + hackathon_site/dashboard/apps.py | 5 + hackathon_site/dashboard/frontend/.gitignore | 23 + hackathon_site/dashboard/frontend/README.md | 68 + .../dashboard/frontend/package.json | 88 + .../dashboard/frontend/public/favicon.ico | Bin 0 -> 3150 bytes .../dashboard/frontend/public/index.html | 44 + .../dashboard/frontend/public/logo192.png | Bin 0 -> 5347 bytes .../dashboard/frontend/public/logo512.png | Bin 0 -> 9664 bytes .../dashboard/frontend/public/manifest.json | 25 + .../dashboard/frontend/public/robots.txt | 3 + .../dashboard/frontend/src/App.scss | 23 + .../dashboard/frontend/src/App.test.js | 7 + hackathon_site/dashboard/frontend/src/App.tsx | 128 + .../dashboard/frontend/src/api/api.ts | 98 + .../dashboard/frontend/src/api/helpers.ts | 208 + .../dashboard/frontend/src/api/orders.ts | 29 + .../dashboard/frontend/src/api/types.ts | 188 + .../src/assets/abstracts/_exports.scss | 7 + .../src/assets/abstracts/_mixins.scss | 74 + .../src/assets/abstracts/_variables.scss | 46 + .../src/assets/images/icons/Hardware.svg | 4 + .../assets/images/icons/arrow-left-solid.svg | 1 + .../icons/statusIcons/cancelled-status.svg | 3 + .../icons/statusIcons/checkout-status.svg | 3 + .../icons/statusIcons/inprogress-status.svg | 3 + .../icons/statusIcons/pending-status.svg | 4 + .../statusIcons/readyforpickup-status.svg | 3 + .../icons/statusIcons/unfulfilled-status.svg | 3 + .../images/placeholders/no-hardware-image.svg | 1 + .../src/assets/images/sponsors/AMD.svg | 14 + .../assets/images/sponsors/CityofBrampton.svg | 31 + .../images/sponsors/CognitiveSystems.svg | 14 + .../src/assets/images/sponsors/ECE.png | Bin 0 -> 28507 bytes .../FacultyofAppliedScienceandEngineering.png | Bin 0 -> 38550 bytes .../src/assets/images/sponsors/Huawei.svg | 1551 ++ .../src/assets/images/sponsors/ecobee.svg | 11 + .../src/assets/images/testImages/IO6e5a6.jpg | Bin 0 -> 26700 bytes .../src/assets/images/testImages/iUpI1hC.jpg | Bin 0 -> 11554 bytes .../src/assets/images/testImages/kOlrXto.jpg | Bin 0 -> 22303 bytes .../HOCs/withUserCheck/withUserCheck.js | 89 + .../HOCs/withUserCheck/withUserCheck.test.js | 243 + .../AcknowledgementForm.module.scss | 72 + .../AcknowledgementForm.test.tsx | 49 + .../AcknowledgementForm.tsx | 211 + .../AcknowledgementForm/Waver.tsx | 73 + .../UserAcceptanceStatus.test.tsx | 89 + .../UserAcceptanceStatus.tsx | 120 + .../cart/CartCard/CartCard.module.scss | 44 + .../cart/CartCard/CartCard.test.tsx | 61 + .../src/components/cart/CartCard/CartCard.tsx | 174 + .../cart/CartErrorBox/CartErrorBox.test.tsx | 90 + .../cart/CartErrorBox/CartErrorBox.tsx | 58 + .../cart/CartSummary/CartSummary.module.scss | 14 + .../cart/CartSummary/CartSummary.test.tsx | 161 + .../cart/CartSummary/CartSummary.tsx | 94 + .../components/dashboard/DashCard/DashCard.js | 34 + .../dashboard/DashCard/DashCard.module.scss | 18 + .../dashboard/DashCard/DashCard.test.js | 24 + .../__snapshots__/DashCard.test.js.snap | 48 + .../dashboard/EditTeam/EditTeam.module.scss | 65 + .../dashboard/EditTeam/EditTeam.test.tsx | 169 + .../dashboard/EditTeam/EditTeam.tsx | 174 + .../dashboard/ItemTable/ItemTable.test.tsx | 433 + .../dashboard/ItemTable/ItemTable.tsx | 405 + .../dashboard/SponsorCard/SponsorCard.js | 40 + .../SponsorCard/SponsorCard.module.scss | 15 + .../dashboard/SponsorCard/SponsorCard.test.js | 11 + .../dashboard/TeamCard/TeamCard.module.scss | 11 + .../dashboard/TeamCard/TeamCard.test.tsx | 47 + .../dashboard/TeamCard/TeamCard.tsx | 44 + .../general/AlertBox/AlertBox.test.tsx | 39 + .../components/general/AlertBox/AlertBox.tsx | 37 + .../DateRestrictionAlert.test.tsx | 67 + .../DateRestrictionAlert.tsx | 37 + .../src/components/general/Footer/Footer.js | 29 + .../general/Footer/Footer.module.scss | 10 + .../components/general/Footer/Footer.test.js | 26 + .../Footer/__snapshots__/Footer.test.js.snap | 24 + .../src/components/general/Header/Header.js | 101 + .../general/Header/Header.module.scss | 49 + .../components/general/Header/Header.test.js | 36 + .../general/Navbar/Navbar.module.scss | 53 + .../components/general/Navbar/Navbar.test.tsx | 59 + .../src/components/general/Navbar/Navbar.tsx | 139 + .../OrderTables/OrderTables.module.scss | 141 + .../general/OrderTables/OrderTables.test.tsx | 20 + .../general/OrderTables/OrderTables.tsx | 333 + .../general/PopupModal/PopupModal.module.scss | 23 + .../general/PopupModal/PopupModal.test.tsx | 74 + .../general/PopupModal/PopupModal.tsx | 67 + .../components/general/SearchBar/SearchBar.js | 0 .../general/SearchBar/SearchBar.module.scss | 0 .../general/SideSheetRight/SideSheetRight.js | 28 + .../SideSheetRight/SideSheetRight.module.scss | 35 + .../SideSheetRight/SideSheetRight.test.js | 45 + .../SnackbarNotifier/SnackbarNotifier.js | 89 + .../SnackbarNotifier.module.scss | 5 + .../SnackbarNotifier/SnackbarNotifier.test.js | 73 + .../general/TitledPaper/TitledPaper.js | 24 + .../TitledPaper/TitledPaper.module.scss | 13 + .../general/TitledPaper/TitledPaper.test.js | 21 + .../InventoryFilter/InventoryFilter.test.tsx | 178 + .../InventoryFilter/InventoryFilter.tsx | 208 + .../InventoryGrid/InventoryGrid.module.scss | 11 + .../InventoryGrid/InventoryGrid.test.tsx | 58 + .../inventory/InventoryGrid/InventoryGrid.tsx | 61 + .../InventorySearch/InventorySearch.test.tsx | 110 + .../InventorySearch/InventorySearch.tsx | 109 + .../inventory/Item/Item.module.scss | 33 + .../components/inventory/Item/Item.test.tsx | 90 + .../src/components/inventory/Item/Item.tsx | 47 + .../ProductOverview.module.scss | 64 + .../ProductOverview/ProductOverview.test.tsx | 494 + .../ProductOverview/ProductOverview.tsx | 429 + .../orders/OrderCard/OrderCard.module.scss | 23 + .../orders/OrderCard/OrderCard.test.tsx | 43 + .../components/orders/OrderCard/OrderCard.tsx | 48 + .../orders/OrdersCount/OrdersCount.test.tsx | 25 + .../orders/OrdersCount/OrdersCount.tsx | 32 + .../orders/OrdersFilter/OrderFilter.test.tsx | 82 + .../orders/OrdersFilter/OrderFilter.tsx | 199 + .../OrdersFilterButton.test.tsx | 10 + .../OrdersFilterButton/OrdersFilterButton.tsx | 19 + .../orders/OrdersSearch/OrdersSearch.test.tsx | 106 + .../orders/OrdersSearch/OrdersSearch.tsx | 108 + .../OrdersTable/OrdersTable.module.scss | 59 + .../orders/OrdersTable/OrdersTable.test.tsx | 98 + .../orders/OrdersTable/OrdersTable.tsx | 132 + .../sharedStyles/Filter.module.scss | 70 + .../TeamCardAdmin/TeamCardAdmin.module.scss | 14 + .../team/TeamCardAdmin/TeamCardAdmin.test.tsx | 19 + .../team/TeamCardAdmin/TeamCardAdmin.tsx | 32 + .../TeamSearchBar/TeamSearchBar.module.scss | 7 + .../team/TeamSearchBar/TeamSearchBar.test.tsx | 67 + .../team/TeamSearchBar/TeamSearchBar.tsx | 90 + .../ProjectDescription.module.scss | 20 + .../ProjectDescription/ProjectDescription.tsx | 126 + .../ProjectDescriptionAlert.tsx | 24 + .../ProjectDescriptionDetail.tsx | 32 + .../SimpleOrderTables.test.tsx | 246 + .../SimpleOrderTables/SimpleOrderTables.tsx | 273 + .../TeamActionTable/TeamActionTable.test.tsx | 109 + .../TeamActionTable/TeamActionTable.tsx | 128 + .../TeamCheckedOutOrderTable.test.tsx | 115 + .../TeamCheckedOutOrderTable.tsx | 434 + .../TeamInfoTable/TeamInfoTable.test.tsx | 91 + .../TeamInfoTable/TeamInfoTable.tsx | 100 + .../TeamPendingOrderTable.test.tsx | 131 + .../TeamPendingOrderTable.tsx | 331 + .../components/user/LoginForm/LoginForm.js | 142 + .../user/LoginForm/LoginForm.module.scss | 34 + .../user/LoginForm/LoginForm.test.js | 130 + .../dashboard/frontend/src/constants.js | 8 + .../dashboard/frontend/src/global.d.ts | 4 + .../dashboard/frontend/src/index.js | 17 + .../dashboard/frontend/src/index.scss | 68 + .../dashboard/frontend/src/logo.svg | 7 + .../Acknowledgement/Acknowledgement.test.tsx | 234 + .../pages/Acknowledgement/Acknowledgement.tsx | 145 + .../AdminDashboard/AdminDashboard.module.scss | 24 + .../AdminDashboard/AdminDashboard.test.tsx | 53 + .../pages/AdminDashboard/AdminDashboard.tsx | 89 + .../frontend/src/pages/Cart/Cart.module.scss | 9 + .../frontend/src/pages/Cart/Cart.test.tsx | 261 + .../frontend/src/pages/Cart/Cart.tsx | 107 + .../src/pages/Dashboard/Dashboard.module.scss | 19 + .../src/pages/Dashboard/Dashboard.test.tsx | 307 + .../src/pages/Dashboard/Dashboard.tsx | 137 + .../IncidentForm/IncidentForm.module.scss | 74 + .../pages/IncidentForm/IncidentForm.test.tsx | 60 + .../src/pages/IncidentForm/IncidentForm.tsx | 457 + .../src/pages/Inventory/Inventory.module.scss | 110 + .../src/pages/Inventory/Inventory.test.tsx | 333 + .../src/pages/Inventory/Inventory.tsx | 180 + .../frontend/src/pages/Login/Login.js | 32 + .../src/pages/Login/Login.module.scss | 22 + .../frontend/src/pages/Login/login.test.js | 14 + .../frontend/src/pages/NotFound/NotFound.js | 15 + .../src/pages/NotFound/NotFound.module.scss | 0 .../src/pages/NotFound/NotFound.test.js | 10 + .../src/pages/Orders/Orders.module.scss | 112 + .../frontend/src/pages/Orders/Orders.test.tsx | 23 + .../frontend/src/pages/Orders/Orders.tsx | 97 + .../frontend/src/pages/Reports/Reports.js | 16 + .../src/pages/Reports/Reports.module.scss | 0 .../src/pages/Reports/Reports.test.js | 10 + .../pages/TeamDetail/TeamDetail.module.scss | 3 + .../src/pages/TeamDetail/TeamDetail.test.tsx | 200 + .../src/pages/TeamDetail/TeamDetail.tsx | 110 + .../src/pages/Teams/Teams.module.scss | 7 + .../frontend/src/pages/Teams/Teams.test.tsx | 237 + .../frontend/src/pages/Teams/Teams.tsx | 107 + .../dashboard/frontend/src/react-app-env.d.ts | 1 + .../dashboard/frontend/src/serviceWorker.js | 141 + .../dashboard/frontend/src/setupTests.ts | 16 + .../src/slices/event/teamAdminSlice.test.ts | 231 + .../src/slices/event/teamAdminSlice.ts | 212 + .../src/slices/event/teamDetailSlice.test.ts | 274 + .../src/slices/event/teamDetailSlice.ts | 239 + .../src/slices/event/teamSlice.test.ts | 130 + .../frontend/src/slices/event/teamSlice.ts | 244 + .../src/slices/hardware/cartSlice.test.ts | 282 + .../frontend/src/slices/hardware/cartSlice.ts | 197 + .../src/slices/hardware/categorySlice.test.ts | 131 + .../src/slices/hardware/categorySlice.ts | 114 + .../src/slices/hardware/hardwareSlice.test.ts | 259 + .../src/slices/hardware/hardwareSlice.ts | 301 + .../src/slices/order/adminOrderSlice.test.ts | 95 + .../src/slices/order/adminOrderSlice.ts | 208 + .../src/slices/order/orderSlice.test.ts | 226 + .../frontend/src/slices/order/orderSlice.ts | 186 + .../src/slices/order/teamOrderSlice.test.ts | 336 + .../src/slices/order/teamOrderSlice.ts | 293 + .../dashboard/frontend/src/slices/store.ts | 73 + .../frontend/src/slices/ui/uiSlice.test.ts | 175 + .../frontend/src/slices/ui/uiSlice.ts | 138 + .../src/slices/users/userSlice.test.ts | 599 + .../frontend/src/slices/users/userSlice.ts | 380 + .../frontend/src/testing/mockData.tsx | 1043 ++ .../dashboard/frontend/src/testing/utils.tsx | 309 + .../dashboard/frontend/tsconfig.json | 27 + hackathon_site/dashboard/frontend/yarn.lock | 12670 ++++++++++++++++ hackathon_site/dashboard/models.py | 3 + hackathon_site/dashboard/tests.py | 3 + hackathon_site/dashboard/views.py | 3 + hackathon_site/event/__init__.py | 1 + hackathon_site/event/admin.py | 100 + hackathon_site/event/api_filters.py | 29 + hackathon_site/event/api_urls.py | 57 + hackathon_site/event/api_views.py | 404 + hackathon_site/event/apps.py | 8 + hackathon_site/event/forms.py | 32 + hackathon_site/event/jinja2/event/base.html | 69 + .../event/jinja2/event/change_password.html | 35 + .../jinja2/event/change_password_done.html | 23 + .../event/jinja2/event/dashboard_base.html | 229 + .../event/jinja2/event/form_base.html | 83 + .../event/jinja2/event/landing.html | 341 + hackathon_site/event/jinja2/event/login.html | 79 + .../event/reset_password/reset_password.html | 35 + .../reset_password_complete.html | 23 + .../reset_password_confirm.html | 36 + .../reset_password/reset_password_done.html | 25 + .../reset_password/reset_password_email.html | 17 + .../reset_password/reset_password_subject.txt | 1 + .../event/migrations/0001_initial.py | 83 + .../migrations/0002_auto_20200910_1121.py | 23 + .../migrations/0003_remove_profile_status.py | 14 + .../migrations/0004_hardware_site_admins.py | 65 + .../0005_hardware_site_admins_v2.py | 50 + .../migrations/0006_profile_phone_number.py | 19 + .../event/migrations/0007_hss_test_users.py | 27 + .../0008_team_project_description.py | 18 + hackathon_site/event/migrations/__init__.py | 0 hackathon_site/event/models.py | 48 + hackathon_site/event/permissions.py | 42 + hackathon_site/event/serializers.py | 205 + hackathon_site/event/signals.py | 21 + .../event/static/event/images/landing.svg | 4 + .../event/static/event/images/login.svg | 4 + .../event/static/event/images/logo.svg | 4 + .../event/static/event/images/password.svg | 4 + .../event/static/event/images/signup.svg | 4 + .../static/event/images/social/email.svg | 5 + .../static/event/images/social/facebook.svg | 4 + .../static/event/images/social/instagram.svg | 4 + .../static/event/images/social/website.svg | 12 + .../static/event/images/sponsors/sponsor.svg | 4 + .../event/static/event/js/application.js | 3 + .../event/static/event/js/landing.js | 58 + hackathon_site/event/static/event/js/main.js | 4 + .../static/event/styles/scss/_mixins.scss | 68 + .../static/event/styles/scss/_variables.scss | 40 + .../static/event/styles/scss/select2.scss | 658 + .../static/event/styles/scss/styles.scss | 526 + hackathon_site/event/test_api.py | 1169 ++ hackathon_site/event/tests.py | 1035 ++ hackathon_site/event/urls.py | 75 + hackathon_site/event/views.py | 206 + hackathon_site/hackathon_site/__init__.py | 0 hackathon_site/hackathon_site/asgi.py | 16 + hackathon_site/hackathon_site/jinja2.py | 42 + .../hackathon_site/settings/__init__.py | 335 + hackathon_site/hackathon_site/settings/ci.py | 46 + hackathon_site/hackathon_site/test_views.py | 52 + hackathon_site/hackathon_site/tests.py | 223 + hackathon_site/hackathon_site/urls.py | 78 + hackathon_site/hackathon_site/utils.py | 17 + hackathon_site/hackathon_site/wsgi.py | 32 + hackathon_site/hardware/__init__.py | 0 hackathon_site/hardware/admin.py | 317 + hackathon_site/hardware/api_filters.py | 83 + hackathon_site/hardware/api_urls.py | 25 + hackathon_site/hardware/apps.py | 5 + .../hardware/fixtures/hardware.yaml | 146 + .../create_order_email_admin_body.html | 29 + .../create_order/create_order_email_body.html | 29 + .../create_order_email_subject.txt | 1 + .../order_status_change_email_admin_body.html | 9 + .../order_status_change_email_body.html | 12 + .../order_status_change_email_subject.txt | 1 + .../return_order_email_admin_body.html | 26 + .../return_order/return_order_email_body.html | 26 + .../return_order_email_subject.txt | 1 + .../hardware/migrations/0001_initial.py | 154 + .../migrations/0002_auto_20200624_2137.py | 92 + .../migrations/0003_auto_20200807_1857.py | 28 + .../migrations/0004_auto_20200907_1825.py | 18 + .../migrations/0005_auto_20210614_0419.py | 27 + .../migrations/0006_auto_20210918_1440.py | 16 + .../hardware/migrations/0007_order_request.py | 19 + .../migrations/0008_hardware_image_url.py | 18 + .../migrations/0009_auto_20230214_0839.py | 45 + .../migrations/0010_alter_order_status.py | 28 + .../migrations/0011_alter_order_team.py | 22 + .../hardware/migrations/__init__.py | 0 hackathon_site/hardware/models.py | 146 + hackathon_site/hardware/serializers.py | 491 + hackathon_site/hardware/test_api.py | 2047 +++ hackathon_site/hardware/tests.py | 383 + hackathon_site/hardware/views.py | 422 + hackathon_site/manage.py | 21 + hackathon_site/package.json | 20 + hackathon_site/registration/__init__.py | 1 + hackathon_site/registration/admin.py | 106 + .../analytics/data_manipulation.py | 102 + .../registration/analytics/documentation.md | 77 + hackathon_site/registration/apps.py | 8 + hackathon_site/registration/forms.py | 213 + .../registration/activation_failed.html | 27 + .../jinja2/registration/application.html | 144 + .../emails/activation_email_body.html | 13 + .../emails/activation_email_body.txt | 10 + .../emails/activation_email_subject.txt | 1 + .../jinja2/registration/file_input.html | 9 + .../registration/pending_activation.html | 23 + .../jinja2/registration/signup.html | 39 + .../jinja2/registration/signup_closed.html | 26 + .../test_activation_email_body.html | 3 + .../test_activation_email_body.txt | 3 + .../test_activation_email_subject.txt | 3 + .../registration/migrations/0001_initial.py | 80 + .../migrations/0002_auto_20200910_1606.py | 166 + .../migrations/0003_auto_20200912_2204.py | 28 + .../migrations/0004_application_rsvp.py | 16 + .../registration/migrations/__init__.py | 0 hackathon_site/registration/models.py | 122 + hackathon_site/registration/signals.py | 10 + .../assets/makeuoft/2022/categorized.json | 330 + .../assets/makeuoft/2022/timeline.json | 182 + .../assets/makeuoft/2023/categorized.json | 360 + .../assets/makeuoft/2023/timeline.json | 132 + .../assets/newhacks/2021/categorized.json | 410 + .../assets/newhacks/2021/timeline.json | 162 + .../assets/newhacks/2023/categorized.json | 758 + .../assets/newhacks/2023/timeline.json | 217 + .../static/registration/js/loadCharts.js | 226 + .../templates/application/change_list.html | 35 + hackathon_site/registration/test_forms.py | 313 + hackathon_site/registration/test_views.py | 385 + hackathon_site/registration/tests.py | 116 + hackathon_site/registration/urls.py | 28 + hackathon_site/registration/validators.py | 56 + hackathon_site/registration/views.py | 280 + hackathon_site/registration/widgets.py | 5 + hackathon_site/requirements.txt | 45 + hackathon_site/review/__init__.py | 0 hackathon_site/review/admin.py | 401 + hackathon_site/review/apps.py | 5 + hackathon_site/review/forms.py | 168 + .../review/emails/accepted_email_body.html | 13 + .../review/emails/accepted_email_subject.txt | 1 + .../review/emails/rejected_email_body.html | 7 + .../review/emails/rejected_email_subject.txt | 1 + .../review/emails/waitlisted_email_body.html | 13 + .../emails/waitlisted_email_subject.txt | 1 + .../review/jinja2/review/send-decisions.html | 33 + .../review/migrations/0001_initial.py | 91 + .../review/migrations/0002_teamreview.py | 25 + .../review/migrations/0003_reviewergoup.py | 52 + hackathon_site/review/migrations/__init__.py | 0 hackathon_site/review/models.py | 52 + .../review/templates/review/change_list.html | 17 + hackathon_site/review/test_admin.py | 559 + hackathon_site/review/test_forms.py | 218 + hackathon_site/review/tests.py | 288 + hackathon_site/review/views.py | 110 + hackathon_site/yarn.lock | 117 + 403 files changed, 57092 insertions(+) create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/main.yml create mode 100644 .gitignore create mode 100644 CONTRIBUTING.md create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 _config.yml create mode 100644 deployment/Dockerfile create mode 100644 deployment/entrypoint.sh create mode 100644 development/docker-compose.yml create mode 100644 hackathon_site/api/README.md create mode 100644 hackathon_site/api/__init__.py create mode 100644 hackathon_site/api/urls.py create mode 100644 hackathon_site/dashboard/__init__.py create mode 100644 hackathon_site/dashboard/admin.py create mode 100644 hackathon_site/dashboard/apps.py create mode 100644 hackathon_site/dashboard/frontend/.gitignore create mode 100644 hackathon_site/dashboard/frontend/README.md create mode 100644 hackathon_site/dashboard/frontend/package.json create mode 100644 hackathon_site/dashboard/frontend/public/favicon.ico create mode 100644 hackathon_site/dashboard/frontend/public/index.html create mode 100644 hackathon_site/dashboard/frontend/public/logo192.png create mode 100644 hackathon_site/dashboard/frontend/public/logo512.png create mode 100644 hackathon_site/dashboard/frontend/public/manifest.json create mode 100644 hackathon_site/dashboard/frontend/public/robots.txt create mode 100644 hackathon_site/dashboard/frontend/src/App.scss create mode 100644 hackathon_site/dashboard/frontend/src/App.test.js create mode 100644 hackathon_site/dashboard/frontend/src/App.tsx create mode 100644 hackathon_site/dashboard/frontend/src/api/api.ts create mode 100644 hackathon_site/dashboard/frontend/src/api/helpers.ts create mode 100644 hackathon_site/dashboard/frontend/src/api/orders.ts create mode 100644 hackathon_site/dashboard/frontend/src/api/types.ts create mode 100644 hackathon_site/dashboard/frontend/src/assets/abstracts/_exports.scss create mode 100644 hackathon_site/dashboard/frontend/src/assets/abstracts/_mixins.scss create mode 100644 hackathon_site/dashboard/frontend/src/assets/abstracts/_variables.scss create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/Hardware.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/arrow-left-solid.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/cancelled-status.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/checkout-status.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/inprogress-status.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/pending-status.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/readyforpickup-status.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/unfulfilled-status.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/placeholders/no-hardware-image.svg create mode 100755 hackathon_site/dashboard/frontend/src/assets/images/sponsors/AMD.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/sponsors/CityofBrampton.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/sponsors/CognitiveSystems.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/sponsors/ECE.png create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/sponsors/FacultyofAppliedScienceandEngineering.png create mode 100755 hackathon_site/dashboard/frontend/src/assets/images/sponsors/Huawei.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/sponsors/ecobee.svg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/testImages/IO6e5a6.jpg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/testImages/iUpI1hC.jpg create mode 100644 hackathon_site/dashboard/frontend/src/assets/images/testImages/kOlrXto.jpg create mode 100644 hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.js create mode 100644 hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/Waver.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.js create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/__snapshots__/DashCard.test.js.snap create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.js create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Footer/__snapshots__/Footer.test.js.snap create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Header/Header.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Header/Header.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Header/Header.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Navbar/Navbar.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Navbar/Navbar.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/Navbar/Navbar.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/OrderTables/OrderTables.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/OrderTables/OrderTables.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/OrderTables/OrderTables.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/PopupModal/PopupModal.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/PopupModal/PopupModal.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/PopupModal/PopupModal.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SearchBar/SearchBar.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SearchBar/SearchBar.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SideSheetRight/SideSheetRight.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SideSheetRight/SideSheetRight.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SideSheetRight/SideSheetRight.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SnackbarNotifier/SnackbarNotifier.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SnackbarNotifier/SnackbarNotifier.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/SnackbarNotifier/SnackbarNotifier.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/TitledPaper/TitledPaper.js create mode 100644 hackathon_site/dashboard/frontend/src/components/general/TitledPaper/TitledPaper.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/general/TitledPaper/TitledPaper.test.js create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/InventoryFilter/InventoryFilter.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/InventoryFilter/InventoryFilter.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/InventoryGrid/InventoryGrid.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/InventoryGrid/InventoryGrid.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/InventoryGrid/InventoryGrid.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/InventorySearch/InventorySearch.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/InventorySearch/InventorySearch.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/Item/Item.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/Item/Item.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/Item/Item.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/ProductOverview/ProductOverview.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/ProductOverview/ProductOverview.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/inventory/ProductOverview/ProductOverview.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrderCard/OrderCard.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrderCard/OrderCard.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrderCard/OrderCard.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersCount/OrdersCount.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersCount/OrdersCount.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersFilter/OrderFilter.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersFilter/OrderFilter.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersFilterButton/OrdersFilterButton.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersFilterButton/OrdersFilterButton.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersSearch/OrdersSearch.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersSearch/OrdersSearch.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersTable/OrdersTable.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersTable/OrdersTable.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/orders/OrdersTable/OrdersTable.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/sharedStyles/Filter.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/team/TeamCardAdmin/TeamCardAdmin.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/team/TeamCardAdmin/TeamCardAdmin.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/team/TeamCardAdmin/TeamCardAdmin.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/team/TeamSearchBar/TeamSearchBar.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/team/TeamSearchBar/TeamSearchBar.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/team/TeamSearchBar/TeamSearchBar.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/ProjectDescription/ProjectDescription.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/ProjectDescription/ProjectDescription.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/ProjectDescription/ProjectDescriptionAlert.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/ProjectDescription/ProjectDescriptionDetail.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/SimpleOrderTables/SimpleOrderTables.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/SimpleOrderTables/SimpleOrderTables.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamActionTable/TeamActionTable.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamActionTable/TeamActionTable.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamCheckedOutOrderTable/TeamCheckedOutOrderTable.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamCheckedOutOrderTable/TeamCheckedOutOrderTable.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamInfoTable/TeamInfoTable.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamInfoTable/TeamInfoTable.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamPendingOrderTable/TeamPendingOrderTable.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/teamDetail/TeamPendingOrderTable/TeamPendingOrderTable.tsx create mode 100644 hackathon_site/dashboard/frontend/src/components/user/LoginForm/LoginForm.js create mode 100644 hackathon_site/dashboard/frontend/src/components/user/LoginForm/LoginForm.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/components/user/LoginForm/LoginForm.test.js create mode 100644 hackathon_site/dashboard/frontend/src/constants.js create mode 100644 hackathon_site/dashboard/frontend/src/global.d.ts create mode 100644 hackathon_site/dashboard/frontend/src/index.js create mode 100644 hackathon_site/dashboard/frontend/src/index.scss create mode 100644 hackathon_site/dashboard/frontend/src/logo.svg create mode 100644 hackathon_site/dashboard/frontend/src/pages/Acknowledgement/Acknowledgement.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Acknowledgement/Acknowledgement.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/AdminDashboard/AdminDashboard.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/AdminDashboard/AdminDashboard.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/AdminDashboard/AdminDashboard.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Cart/Cart.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/Cart/Cart.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Cart/Cart.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Dashboard/Dashboard.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/Dashboard/Dashboard.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Dashboard/Dashboard.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/IncidentForm/IncidentForm.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Inventory/Inventory.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/Inventory/Inventory.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Inventory/Inventory.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Login/Login.js create mode 100644 hackathon_site/dashboard/frontend/src/pages/Login/Login.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/Login/login.test.js create mode 100644 hackathon_site/dashboard/frontend/src/pages/NotFound/NotFound.js create mode 100644 hackathon_site/dashboard/frontend/src/pages/NotFound/NotFound.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/NotFound/NotFound.test.js create mode 100644 hackathon_site/dashboard/frontend/src/pages/Orders/Orders.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/Orders/Orders.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Orders/Orders.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Reports/Reports.js create mode 100644 hackathon_site/dashboard/frontend/src/pages/Reports/Reports.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/Reports/Reports.test.js create mode 100644 hackathon_site/dashboard/frontend/src/pages/TeamDetail/TeamDetail.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/TeamDetail/TeamDetail.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/TeamDetail/TeamDetail.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Teams/Teams.module.scss create mode 100644 hackathon_site/dashboard/frontend/src/pages/Teams/Teams.test.tsx create mode 100644 hackathon_site/dashboard/frontend/src/pages/Teams/Teams.tsx create mode 100644 hackathon_site/dashboard/frontend/src/react-app-env.d.ts create mode 100644 hackathon_site/dashboard/frontend/src/serviceWorker.js create mode 100644 hackathon_site/dashboard/frontend/src/setupTests.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/event/teamAdminSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/event/teamAdminSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/event/teamDetailSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/event/teamDetailSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/event/teamSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/event/teamSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/hardware/cartSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/hardware/cartSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/hardware/categorySlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/hardware/categorySlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/hardware/hardwareSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/hardware/hardwareSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/order/adminOrderSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/order/adminOrderSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/order/orderSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/order/orderSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/order/teamOrderSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/order/teamOrderSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/store.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/ui/uiSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/ui/uiSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/users/userSlice.test.ts create mode 100644 hackathon_site/dashboard/frontend/src/slices/users/userSlice.ts create mode 100644 hackathon_site/dashboard/frontend/src/testing/mockData.tsx create mode 100644 hackathon_site/dashboard/frontend/src/testing/utils.tsx create mode 100644 hackathon_site/dashboard/frontend/tsconfig.json create mode 100644 hackathon_site/dashboard/frontend/yarn.lock create mode 100644 hackathon_site/dashboard/models.py create mode 100644 hackathon_site/dashboard/tests.py create mode 100644 hackathon_site/dashboard/views.py create mode 100644 hackathon_site/event/__init__.py create mode 100644 hackathon_site/event/admin.py create mode 100644 hackathon_site/event/api_filters.py create mode 100644 hackathon_site/event/api_urls.py create mode 100644 hackathon_site/event/api_views.py create mode 100644 hackathon_site/event/apps.py create mode 100644 hackathon_site/event/forms.py create mode 100644 hackathon_site/event/jinja2/event/base.html create mode 100644 hackathon_site/event/jinja2/event/change_password.html create mode 100644 hackathon_site/event/jinja2/event/change_password_done.html create mode 100644 hackathon_site/event/jinja2/event/dashboard_base.html create mode 100644 hackathon_site/event/jinja2/event/form_base.html create mode 100644 hackathon_site/event/jinja2/event/landing.html create mode 100644 hackathon_site/event/jinja2/event/login.html create mode 100644 hackathon_site/event/jinja2/event/reset_password/reset_password.html create mode 100644 hackathon_site/event/jinja2/event/reset_password/reset_password_complete.html create mode 100644 hackathon_site/event/jinja2/event/reset_password/reset_password_confirm.html create mode 100644 hackathon_site/event/jinja2/event/reset_password/reset_password_done.html create mode 100644 hackathon_site/event/jinja2/event/reset_password/reset_password_email.html create mode 100644 hackathon_site/event/jinja2/event/reset_password/reset_password_subject.txt create mode 100644 hackathon_site/event/migrations/0001_initial.py create mode 100644 hackathon_site/event/migrations/0002_auto_20200910_1121.py create mode 100644 hackathon_site/event/migrations/0003_remove_profile_status.py create mode 100644 hackathon_site/event/migrations/0004_hardware_site_admins.py create mode 100644 hackathon_site/event/migrations/0005_hardware_site_admins_v2.py create mode 100644 hackathon_site/event/migrations/0006_profile_phone_number.py create mode 100644 hackathon_site/event/migrations/0007_hss_test_users.py create mode 100644 hackathon_site/event/migrations/0008_team_project_description.py create mode 100644 hackathon_site/event/migrations/__init__.py create mode 100644 hackathon_site/event/models.py create mode 100644 hackathon_site/event/permissions.py create mode 100644 hackathon_site/event/serializers.py create mode 100644 hackathon_site/event/signals.py create mode 100644 hackathon_site/event/static/event/images/landing.svg create mode 100644 hackathon_site/event/static/event/images/login.svg create mode 100644 hackathon_site/event/static/event/images/logo.svg create mode 100644 hackathon_site/event/static/event/images/password.svg create mode 100644 hackathon_site/event/static/event/images/signup.svg create mode 100644 hackathon_site/event/static/event/images/social/email.svg create mode 100644 hackathon_site/event/static/event/images/social/facebook.svg create mode 100644 hackathon_site/event/static/event/images/social/instagram.svg create mode 100644 hackathon_site/event/static/event/images/social/website.svg create mode 100644 hackathon_site/event/static/event/images/sponsors/sponsor.svg create mode 100644 hackathon_site/event/static/event/js/application.js create mode 100644 hackathon_site/event/static/event/js/landing.js create mode 100644 hackathon_site/event/static/event/js/main.js create mode 100644 hackathon_site/event/static/event/styles/scss/_mixins.scss create mode 100644 hackathon_site/event/static/event/styles/scss/_variables.scss create mode 100644 hackathon_site/event/static/event/styles/scss/select2.scss create mode 100644 hackathon_site/event/static/event/styles/scss/styles.scss create mode 100644 hackathon_site/event/test_api.py create mode 100644 hackathon_site/event/tests.py create mode 100644 hackathon_site/event/urls.py create mode 100644 hackathon_site/event/views.py create mode 100644 hackathon_site/hackathon_site/__init__.py create mode 100644 hackathon_site/hackathon_site/asgi.py create mode 100644 hackathon_site/hackathon_site/jinja2.py create mode 100644 hackathon_site/hackathon_site/settings/__init__.py create mode 100644 hackathon_site/hackathon_site/settings/ci.py create mode 100644 hackathon_site/hackathon_site/test_views.py create mode 100644 hackathon_site/hackathon_site/tests.py create mode 100644 hackathon_site/hackathon_site/urls.py create mode 100644 hackathon_site/hackathon_site/utils.py create mode 100644 hackathon_site/hackathon_site/wsgi.py create mode 100644 hackathon_site/hardware/__init__.py create mode 100644 hackathon_site/hardware/admin.py create mode 100644 hackathon_site/hardware/api_filters.py create mode 100644 hackathon_site/hardware/api_urls.py create mode 100644 hackathon_site/hardware/apps.py create mode 100644 hackathon_site/hardware/fixtures/hardware.yaml create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/create_order/create_order_email_admin_body.html create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/create_order/create_order_email_body.html create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/create_order/create_order_email_subject.txt create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/order_status_change/order_status_change_email_admin_body.html create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/order_status_change/order_status_change_email_body.html create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/order_status_change/order_status_change_email_subject.txt create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/return_order/return_order_email_admin_body.html create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/return_order/return_order_email_body.html create mode 100644 hackathon_site/hardware/jinja2/hardware/emails/return_order/return_order_email_subject.txt create mode 100644 hackathon_site/hardware/migrations/0001_initial.py create mode 100644 hackathon_site/hardware/migrations/0002_auto_20200624_2137.py create mode 100644 hackathon_site/hardware/migrations/0003_auto_20200807_1857.py create mode 100644 hackathon_site/hardware/migrations/0004_auto_20200907_1825.py create mode 100644 hackathon_site/hardware/migrations/0005_auto_20210614_0419.py create mode 100644 hackathon_site/hardware/migrations/0006_auto_20210918_1440.py create mode 100644 hackathon_site/hardware/migrations/0007_order_request.py create mode 100644 hackathon_site/hardware/migrations/0008_hardware_image_url.py create mode 100644 hackathon_site/hardware/migrations/0009_auto_20230214_0839.py create mode 100644 hackathon_site/hardware/migrations/0010_alter_order_status.py create mode 100644 hackathon_site/hardware/migrations/0011_alter_order_team.py create mode 100644 hackathon_site/hardware/migrations/__init__.py create mode 100644 hackathon_site/hardware/models.py create mode 100644 hackathon_site/hardware/serializers.py create mode 100644 hackathon_site/hardware/test_api.py create mode 100644 hackathon_site/hardware/tests.py create mode 100644 hackathon_site/hardware/views.py create mode 100755 hackathon_site/manage.py create mode 100644 hackathon_site/package.json create mode 100644 hackathon_site/registration/__init__.py create mode 100644 hackathon_site/registration/admin.py create mode 100644 hackathon_site/registration/analytics/data_manipulation.py create mode 100644 hackathon_site/registration/analytics/documentation.md create mode 100644 hackathon_site/registration/apps.py create mode 100644 hackathon_site/registration/forms.py create mode 100644 hackathon_site/registration/jinja2/registration/activation_failed.html create mode 100644 hackathon_site/registration/jinja2/registration/application.html create mode 100644 hackathon_site/registration/jinja2/registration/emails/activation_email_body.html create mode 100644 hackathon_site/registration/jinja2/registration/emails/activation_email_body.txt create mode 100644 hackathon_site/registration/jinja2/registration/emails/activation_email_subject.txt create mode 100644 hackathon_site/registration/jinja2/registration/file_input.html create mode 100644 hackathon_site/registration/jinja2/registration/pending_activation.html create mode 100644 hackathon_site/registration/jinja2/registration/signup.html create mode 100644 hackathon_site/registration/jinja2/registration/signup_closed.html create mode 100644 hackathon_site/registration/jinja2/registration/test_emails/test_activation_email_body.html create mode 100644 hackathon_site/registration/jinja2/registration/test_emails/test_activation_email_body.txt create mode 100644 hackathon_site/registration/jinja2/registration/test_emails/test_activation_email_subject.txt create mode 100644 hackathon_site/registration/migrations/0001_initial.py create mode 100644 hackathon_site/registration/migrations/0002_auto_20200910_1606.py create mode 100644 hackathon_site/registration/migrations/0003_auto_20200912_2204.py create mode 100644 hackathon_site/registration/migrations/0004_application_rsvp.py create mode 100644 hackathon_site/registration/migrations/__init__.py create mode 100644 hackathon_site/registration/models.py create mode 100644 hackathon_site/registration/signals.py create mode 100644 hackathon_site/registration/static/registration/assets/makeuoft/2022/categorized.json create mode 100644 hackathon_site/registration/static/registration/assets/makeuoft/2022/timeline.json create mode 100644 hackathon_site/registration/static/registration/assets/makeuoft/2023/categorized.json create mode 100644 hackathon_site/registration/static/registration/assets/makeuoft/2023/timeline.json create mode 100644 hackathon_site/registration/static/registration/assets/newhacks/2021/categorized.json create mode 100644 hackathon_site/registration/static/registration/assets/newhacks/2021/timeline.json create mode 100644 hackathon_site/registration/static/registration/assets/newhacks/2023/categorized.json create mode 100644 hackathon_site/registration/static/registration/assets/newhacks/2023/timeline.json create mode 100644 hackathon_site/registration/static/registration/js/loadCharts.js create mode 100644 hackathon_site/registration/templates/application/change_list.html create mode 100644 hackathon_site/registration/test_forms.py create mode 100644 hackathon_site/registration/test_views.py create mode 100644 hackathon_site/registration/tests.py create mode 100644 hackathon_site/registration/urls.py create mode 100644 hackathon_site/registration/validators.py create mode 100644 hackathon_site/registration/views.py create mode 100644 hackathon_site/registration/widgets.py create mode 100644 hackathon_site/requirements.txt create mode 100644 hackathon_site/review/__init__.py create mode 100644 hackathon_site/review/admin.py create mode 100644 hackathon_site/review/apps.py create mode 100644 hackathon_site/review/forms.py create mode 100644 hackathon_site/review/jinja2/review/emails/accepted_email_body.html create mode 100644 hackathon_site/review/jinja2/review/emails/accepted_email_subject.txt create mode 100644 hackathon_site/review/jinja2/review/emails/rejected_email_body.html create mode 100644 hackathon_site/review/jinja2/review/emails/rejected_email_subject.txt create mode 100644 hackathon_site/review/jinja2/review/emails/waitlisted_email_body.html create mode 100644 hackathon_site/review/jinja2/review/emails/waitlisted_email_subject.txt create mode 100644 hackathon_site/review/jinja2/review/send-decisions.html create mode 100644 hackathon_site/review/migrations/0001_initial.py create mode 100644 hackathon_site/review/migrations/0002_teamreview.py create mode 100644 hackathon_site/review/migrations/0003_reviewergoup.py create mode 100644 hackathon_site/review/migrations/__init__.py create mode 100644 hackathon_site/review/models.py create mode 100644 hackathon_site/review/templates/review/change_list.html create mode 100644 hackathon_site/review/test_admin.py create mode 100644 hackathon_site/review/test_forms.py create mode 100644 hackathon_site/review/tests.py create mode 100644 hackathon_site/review/views.py create mode 100644 hackathon_site/yarn.lock diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..81a78415a --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,15 @@ +## Overview + +- Resolves # +- + + +## Unit Tests Created + +- + + +## Steps to QA + +- + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..e853a213f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,82 @@ +name: CI/CD + +on: + pull_request_target: + branches: + - '**' + +jobs: + backend-checks: + runs-on: ubuntu-latest + defaults: + run: + working-directory: hackathon_site + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Check formatting with Black + run: | + # Stop the build if there are any formatting issues picked up by Black + black --check . + - name: Tests + env: + SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }} + DEBUG: 0 + run: python manage.py test --settings=hackathon_site.settings.ci + + template-checks: + runs-on: ubuntu-latest + defaults: + run: + working-directory: hackathon_site + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - name: Use Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: '16.x' + - name: Install dependencies + run: yarn install + - name: Formatting check + run: yarn run prettier-check + + dashboard-checks: + runs-on: ubuntu-latest + defaults: + run: + working-directory: hackathon_site/dashboard/frontend + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - name: Use Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: '16.x' + - name: Install dependencies + run: yarn install + - name: Formatting check + run: yarn prettier --check 'src/**/*.(js|ts|tsx|scss)' + - name: Typescript check + run: yarn run tsc + - name: Tests + run: yarn test --watchAll=false + - name: Build frontend + run: yarn run build diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..f83c883d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,164 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +ieee-virtual/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# IDEs +.idea +.vscode + +# Collected static files and media files +hackathon_site/static/ +hackathon_site/media/ +hackathon_site/emails/ + +# Database persistent data +development/.postgres-data/ + +# CSS Files +hackathon_site/**/*.css +hackathon_site/**/*.css.map + +# node_modules, found outside the react app +node_modules/ + +# OS Stuff +.DS_Store + +# analytics +hackathon_site/registration/analytics/data/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..afec88065 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,90 @@ +# Contributing to IEEE UofT's Hackathon Website Template +Contributions are welcome, both from members of IEEE UofT and those externally. While this template is made to suit our event needs, we welcome others to use and contribute to it as well. + +## Development Process +We aim to follow a workflow similar to [Gitflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) where practical. + +Our primary branch for merging changes is `develop`. The `master` branch represents a stable release of the template we are confident with people using in production, but you are welcome to get the latest features from `develop`. + +### Issues +All substantial work should relate to something tracked in the [issues](https://github.com/ieeeuoft/hackathon-template/issues). Issues can be created by anyone. They should be given a description description detailing the bug, proposed feature, suggestion, or other issue subject. Tickets should be tagged with the appropriate label - if you are unsure which label is appropriate, you can omit labels and let a maintainer add them. Minor changes like fixing typos can be made into a pull request directly without needing an issue. + +Bug tickets should have a detailed description about the unintended behaviour, how to reproduce it, what the expected behaviour is, and optionally what the solution is if it is obvious in advance. Feature suggestions should have a clear need or justification, acceptance criteria if applicable, references to which part of the repository is being modified (docs, review app, registration app, etc), and optionally mockups. If a feature request is being made from someone external to IEEE UofT, please wait for a discussion with a maintainer in the issues comments before spending time implementing it. + +### Claiming an Issue +If an issues is unassigned, you are welcome to leave a comment that you would like to work on it. If you don't hear from the issue creator in a reasonable amount of time, please @ a maintainer and we will assign it to you if you have a good plan. If an issue has been claimed but has been inactive for a few weeks, and there is no response from the ticket author or assignee in a reasonable amount of time, mention a maintainer as well and it can be assigned to you. + +### Making Changes +Members of the core IEEE UofT webmasters team have access to push new branches directly to the template repository. External contributors must first [make a fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) of this repository into their personal github account, push branches off `develop` there, and make pull requests into the base repository. Make sure that your `develop` branch is up to date with the base repository before making a branch. + +Any changes (anything from new pages to just code style tweaks) should be done in branches off of `develop`. As above, all changes should relate to an issue, but minor things like typo fixes can be done without making an issue first. When you create a branch, start the branch name with the issue number followed by a hyphen, and then a (very short) description of the changes. For example, `123-make-everything-blue`. +```bash +$ git checkout develop +$ git pull origin develop +$ git checkout -b 123-make-everything-blue +``` + +Changes should be made on your new branch and tested locally, with changes committed as you work. Before committing files, we recommend you run `git status` to check what has been modified, and potentially `git diff` to dig into things, to make sure you aren't committing files you don't want. After that, add your files to a commit with one of: +```bash +$ git add my_new_file.py # Add an individual file +$ git add my_new_directory/ # Add an entire directory +$ git add . # Add the entire current working directory - use with caution +``` + +Commits should be given a descriptive message of the changes made. If your description is short (50 characters or less), you can include the message from the command line: +```bash +$ git commit -m "Added some cool files" +``` + +If your message is longer or you would like to provide additional details, then simply run `git commit`. This will open up your system default text editor, where you can type a short (50 characters or less) title on the first line, then type a descriptive message on subsequent lines. + +Once you are ready for others to see your changes, you should push them to GitHub. If you are a member of IEEE UofT, you can be granted limited push access to this repository, and can open a pull request directly from your branch into `develop`. External contributors must make the pull request from their forked repository. +```bash +$ git push -u origin my_new_feature +``` + +### Pull Requests +Once your changes have been pushed, [create a pull request](https://github.com/ieeeuoft/hackathon-template/compare) with your changes into the `develop` branch. Give a descriptive title, and a description of the changes __including__ how to test them. Fill out everything in the pull request template, being as descriptive as possible and using appropriate markdown code formatting where necessary. + +Pull requests must be approved by members of the IEEE UofT web team. Reviewers must carefully read through all the changes made, and run them locally. They will add comments to your pull request with any changes they'd like to see or suggestions they have. + +Pull requests must also pass the checks in our [CI workflow](https://github.com/ieeeuoft/hackathon-template/blob/develop/.github/workflows/main.yml). These include unit tests and code formatting checks. If a CI run fails for your pull request, please see why and make the necessary changes. A reviewer may not look at your pull request until checks are passing, unless you ask for help or feedback on something that's a work in progress. + +Once your pull request has been approved, our policy is that the **members of IEEE UofT should merge their own pull requests** as a final sign off on the changes. Pull requests from outside will be merged by a member of our team. Merges into `develop` should only be done with the "Squash and Merge" button. + +#### Checking Out Pull Requests +For pull requests with branches committed directly to the repository, a regular `git checkout ` will work. Since branches should follow the above naming guidelines, this is usually as easy as doing `git pull` followed by `git checkout -`. + + For pull requests from external repositories, you can still check them out from the main repository using the pull request number. For pull request `123`, do: + ```bash +$ git fetch origin pull/123/head:pull/123 +$ git checkout pull/123 +``` + +If you need to pull the latest changes from a pull request branch, run the `git fetch ...` line again, or set the upstream for the branch. + +## Code Formatting +### Python +All python code submitted must be formatted with [Black](https://github.com/psf/black) using default settings for consistency and sanity. Black is an opinionated superset of PEP-8 that may do things you don't like, but these are necessary tradeoffs to have clean, readable, and consistent code. + +### JavaScript and SCSS +JavaScript and SCSS files must be formatted with [Prettier](https://prettier.io/), using the settings defined in our package.json files. There are two of these: One for the [react portion of the site](https://github.com/ieeeuoft/hackathon-template/blob/develop/hackathon_site/dashboard/frontend/package.json), and one for [files used in Jinja templates](https://github.com/ieeeuoft/hackathon-template/blob/develop/hackathon_site/package.json). In both cases, first run `yarn install` to install the necessary packages. For the React side, you can then run `yarn prettier --write **/*.(js|scss)` to format everything in the current directory (that syntax may not work on Windows, if so run the command separately for `js` and `scss` extensions). For files used in Jinja templates, run `yarn prettier` from the root `hackathon_site` project folder. + +### Jinja2 Templates +Unfortunately, there is no formatter for Jinja2 templates that we know of. If you write or know of one, please let us know! In the meantime, exercise sensible formatting when modifying Jinja templates. We may ask you to change the formatting if it is inconsistent with the rest of the file. + +## Suggestions for First Time Contributors +The first thing to do is make sure you can run the project locally. Follow the [Getting Started](https://github.com/ieeeuoft/hackathon-template#getting-started) section of the main readme for more details. Before you start, make sure you have [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/) installed, as well as a compatible Python version. + +The first time you launch the Django development server, the site will probably have a pink nav bar at the top. We use SCSS for our stylesheets, which must first be compiled to CSS. To do that, run the following: +```bash +$ cd hackathon_site +$ yarn install +$ yarn run scss +``` + +If you don't have yarn installed, you can use `npm` in its place for these commands. SCSS files will be compiled into CSS and placed in the appropriate directory. When you refresh the page (you may need to clear your cache first), the navbar should now be purple indicating the styles were loaded successfully. + +If you are on Windows, certain pages (including the landing page) may crash because of unix-specific date format strings we use. At the moment, our only suggestion is to build a Docker container to run the site, or install Linux. We do not plan on fully supporting running the site on Windows, since we expect all deployments to run in a Unix environment. + +If you are making any changes that involve the registration system, you will probably need to change the default registration close date to something in the future. This can be done by changing the `REGISTRATION_CLOSE_DATE` setting in the [Django settings file](https://github.com/ieeeuoft/hackathon-template/blob/develop/hackathon_site/hackathon_site/settings/__init__.py#L257). Please do not commit this particular change. \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..f288702d2 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/README.md b/README.md new file mode 100644 index 000000000..2d5112029 --- /dev/null +++ b/README.md @@ -0,0 +1,380 @@ +# IEEE Hackathon Website Template + +A website template for hackathons run by [IEEE University of Toronto Student Branch](https://ieee.utoronto.ca/). + +## IEEE Web Team 2023-2024 +#### Directors +- Luke Cheseldine +- Mustafa Abdulrahman (PM) + +#### Associates +- Karandeep Lubana +- Terry Luan +- Dalia Mahidashti +- Carmen Chau +- Samuel Liu +- Daniel Qiu +- Ishika Mittal +- Kenny Cui +- Himanish Jindal +- Abubukker Chaudhary +- Natalie Chan + +## Contents +- [Requirements](#requirements) +- [Getting Started](#getting-started) + * [Python Environment](#python-environment) + * [Environment Variables](#environment-variables) + * [Running the development server](#running-the-development-server) + * [Creating users locally](#creating-users-locally) + * [Tests](#tests) +- [File Structure](#file-structure) +- [Using this Template](#using-this-template) + * [Forking](#forking) + * [From the Template (Recommended)](#from-the-template) + * [Copy the Repository](#copy-the-repository) +- [Customization](#customization) + * [Branding and Styling](#branding-and-styling) + +## Requirements +- Python 3.8 or higher +- [Docker](https://docs.docker.com/get-docker/) +- [Docker Compose](https://docs.docker.com/compose/install/) + +## Getting Started +### Python Environment +For local development, create a Python virtual environment. + +#### Conda +We recommend you use [Anaconda](https://www.anaconda.com/products/individual) (or [Miniconda](https://docs.conda.io/en/latest/miniconda.html)), as it makes managing virtual environments with different Python versions easier: +```bash +$ conda create -n hackathon_site python=3.8 +``` + +This will create a new conda environment named `hackathon_site` (you may choose a different name). Then, activate the environment: +```bash +$ conda activate hackathon_site +``` + +#### venv +Alternatively, you can use [venv](https://docs.python.org/3/library/venv.html) provided under the standard library, but note that you must already have Python 3.8 installed first: +```bash +$ python3.8 -m venv venv +``` + +How you activate the environment depends on your operating system, consult [the docs](https://docs.python.org/3/library/venv.html) for further information. + +#### Installing Requirements +Install the requirements in `hackathon_site/requirements.txt`. This should be done regularly as new requirements are added, not just the first time you set up. +```bash +$ cd hackathon_site +$ pip install -r requirements.txt +``` + +### Environment Variables +In order to run the django and react development servers locally (or run tests), the following environment variables are used. Those in **bold** are required. + +| **Variable** | **Required value** | **Default** | **Description** | +|----------------|-----------------------------------|-------------------|-----------------------------------------------------------------------------------| +| **DEBUG** | 1 | 0 | Run Django in debug mode. Required to run locally. | +| **SECRET_KEY** | Something secret, create your own | None | Secret key for cryptographic signing. Must not be shared. Required. | +| DB_HOST | | 127.0.0.1 | Postgres database host. | +| DB_USER | | postgres | User on the postgres database. Must have permissions to create and modify tables. | +| DB_PASSWORD | | | Password for the postgres user. | +| DB_PORT | | 5432 | Port the postgres server is open on. | +| DB_NAME | | hackathon_site | Postgres database name. | +| REDIS_URI | | 172.17.0.1:6379/1 | Redis [URI](https://github.com/lettuce-io/lettuce-core/wiki/Redis-URI-and-connection-details#uri-syntax). `:/`. | +| **REACT_APP_DEV_SERVER_URL** | http://localhost:8000 | | Path to the django development server, used by React. Update the port if you aren't using the default 8000. | +| RECAPTCHA_PUBLIC_KEY | Something | A recaptcha public key that will skip the challenge | Key info: https://www.google.com/recaptcha/ | +| RECAPTCHA_PRIVATE_KEY | Something | A recaptcha private key that will skip the challenge | Key info: https://www.google.com/recaptcha/ | + +#### Testing +Specifying `SECRET_KEY` is still required to run tests, because the settings file expects it to be set. `DEBUG` is forced to `False` by Django. + +In the [GitHub action for Python tests](.github/workflows/pythonchecks.yml), `DEBUG` is set to be `1`. `SECRET_KEY` is taken from the `DJANGO_SECRET_KEY` repository secret. In order to run tests on a fork of this repo, you will need to [create this secret yourself](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets). + +### Running the development server +#### Database +Before the development server can be ran, the database must be running. This project is configured to use [PostgreSQL](https://www.postgresql.org/). + +You may install Postgres on your machine if you wish, but we recommend running it locally using docker. A docker-compose service is available in [development/docker-compose.yml](/home/graham/ieee/hackathon-template/README.md). To run all the services, including the database: +```bash +$ docker-compose -f development/docker-compose.yml up -d +``` + +To shut down the database and all other services: +```bash +$ docker-compose -f development/docker-compose.yml down +``` + +To run only the database service: +```bash +$ docker-compose -f development/docker-compose.yml up -d postgres +``` + +The postgres container uses a volume mounted to `development/.postgres-data/` for persistent data storage, so you can safely stop the service without losing any data in your local database. + +A note about security: by default, the Postgres service is run with [trust authentication](https://www.postgresql.org/docs/current/auth-trust.html) for convenience, so no passwords are required even if they are set. You should not store any sensitive information in your local database, or broadcast your database host publicly with these settings. + +#### Database migrations +[Migrations](https://docs.djangoproject.com/en/3.0/topics/migrations/) are Django's way of managing changes to the database structure. Before you run the development server, you should run any unapplied migrations; this should be done every time you pull an update to the codebase, not just the first time you set up: +```bash +$ cd hackathon_site +$ python manage.py migrate +``` + +#### Cache +This application also relies on a cache, for which we use [Redis](https://redis.io/). + +You may install Redis on your machine if you wish, but we recommend running it locally using docker. A Redis service is available in [development/docker-compose.yml](/home/graham/ieee/hackathon-template/README.md). To run all the services, including the database: +```bash +$ docker-compose -f development/docker-compose.yml up -d +``` + +To run only the redis service: +```bash +$ docker-compose -f development/docker-compose.yml up -d redis +``` + +If you run multiple instances of this application in production using Redis through Docker (perhaps in Swarm mode), you should make sure that the Redis databases used between applications do not conflict. The easiest way to do this is to change the database id in the [Redis URI environment variable](#environment-variables), eg to `172.17.0.1:6379/2`. + +#### Run the development server +Finally, you can run the development server, by default on port 8000. From above, you should already be in the top-level `hackathon_site` directory: +```bash +$ python manage.py runserver +``` + +If you would like to run on a port other than 8000, specify a port number after `runserver`. + +### Creating users locally +In order to access most of the functionality of the site (the React dashboard or otherwise), you will need to have user accounts to test with. + +To start, create an admin user. This will give you access to the admin site, and will bypass all Django permissions checks: + +```bash +$ python manage.py createsuperuser +``` + +Once a superuser is created (and the Django dev server is running), you can log in to the admin site at `http://localhost:8000/admin`. Note that creating a superuser does not give it a first or last name, so you should set those from the admin site otherwise some parts of the site may behave weird. Our regular sign up flow also assumes that username and email are the same, so we recommend creating your superuser accordingly. + +#### Adding additional users +The easiest way to add new users is via the admin site, through the "Users" link of the "Authentication and Authorization" panel. When adding a user, you will be prompted for only a username and a password. The react site uses email to log in, so *make sure* to click "Save and continue editing" and add a first name, last name, and email address. + +#### Giving a user a profile +Profiles are used by participants who have either been accepted or waitlisted. Some features of the React dashboard require the user to have a profile. This can be done through the "Profiles" link of the "Event" panel on the admin site. Click "Add profile", select a user from the dropdown, either add them to an existing team (if you have any) or click the green "+" to create a team, pick a status, fill out any other required fields, and click save. + + +### Tests +#### Django +Django tests are run using [Django's test system](https://docs.djangoproject.com/en/3.0/topics/testing/overview/), based on the standard python `unittest` module. + +A custom settings settings module is available for testing, which tells Django to use an in-memory sqlite3 database instead of the postgresql database and to use an in-memory cache instead of Redis. To run the full test suite locally: + +```bash +$ cd hackathon_site +$ python manage.py test --settings=hackathon_site.settings.ci +``` +##### Fixtures +Django has fixtures which are hardcoded files (YAML/JSON) that provide initial data for models. They are placed in a fixtures folder under each app. + +More information at [this link](https://docs.djangoproject.com/en/3.0/howto/initial-data/). + +To load fixtures into the database, use the command `python manage.py loaddata ` where `` is the name of the fixture file you’ve created. Each time you run loaddata, the data will be read from the fixture and re-loaded into the database. Note this means that if you change one of the rows created by a fixture and then run loaddata again, you’ll wipe out any changes you’ve made. + + +#### React +React tests are handled by [Jest](https://jestjs.io/). To run the full suite of React tests: +```bash +$ cd hackathon_site/dashboard/frontend +$ yarn test +``` +## File Structure +The top level [hackathon_site](hackathon_site) folder contains the Django project that encapsulates this template. + +The main project configs are in [hackathon_site/hackathon_site](hackathon_site/hackathon_site), including the main settings file [settings/\_\_init__.py](hackathon_site/hackathon_site/settings/__init__.py) and top-level URL config. + +The [dashboard](hackathon_site/dashboard) app contains the React project for the inventory management and hardware sign-out platform. + +The [event](hackathon_site/event) app contains the public-facing templates for the landing page. + +The [registration](hackathon_site/registration) app contains models, forms, and templates for user registration, including signup and application templates. Since these templates are similar to the landing page, they may extend templates and use static files from the `event` app. + +### Templates and Static Files +Templates served from Django can be placed in any app. We use [Jinja 2](https://jinja.palletsprojects.com/en/2.11.x/) as our templating engine, instead of the default Django Template Language. Within each app, Jinja 2 templates must be placed in a folder called `jinja2//` (i.e., the full path will be `hackathon_site//jinja2//`). Templates can then be referenced in views as `/your_template.html`. + +Static files are placed within each app, in a folder named `static//` (same convention as templates). For example, SCSS files for the Event app may be in `hackathon_site/event/static/event/styles/scss/`. They can then be referenced in templates as `/`, for example `event/styles/css/styles.css` (assuming the SCSS has been compiled to CSS). + +To compile the SCSS automatically when you save, run following task running while you work: + +```bash +$ cd hackathon_site +$ yarn run scss-watch +``` +To compile all SCSS files at once, run: + +```bash +$ yarn run scss +``` + +Django can serve static files automatically in development. In a production environment, static files must be collected: + +```bash +$ python manage.py collectstatic +``` + +This will place static files in `hackathon_site/static/`. These must be served separately, for example using Nginx, as Django cannot serve static files in production. [Read more about how Django handles static files](https://docs.djangoproject.com/en/3.0/howto/static-files/). + +## Using this Template +This repository is setup as a template. To read more about how to use a template and what a template repository is, see [GitHub's doc page](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template). + +Before you begin, note that the [main workflow file](https://github.com/ieeeuoft/hackathon-template/blob/develop/.github/workflows/main.yml) uses the `pull_request_target` trigger. This means that pull requests from forks will run workflows in the base branch, **and will have access to repository secrets**. For the base template repo, this is not a security concern since the only secret used in tests is `DJANGO_SECRET_KEY`, and is meaningless in this repository. However, an instance of this repository will likely have other secrets set. **Unless you are absolutely sure that code run by workflows for pull requests, such as tests, does not have access to important secrets, you should change this trigger type back to `pull_request`**. This means that pull requests from forks (of your fork) will not run actions. Alternatively, if tests only need access to secret keys so they don't complain, use a different secret in the workflow files for running tests. + +### Forking +If you are interested in receiving updates to this template in your project, we recommend that you fork this repository into your own account or organization. This will give you the entire commit history of the project, and will allow you to make pull requests from this repository into your own to perform updates. + +Unfortunately, GitHub does not allow you to fork your own repository. As a result, the forking option is not available to the owner account or organization. This means that IEEE UofT cannot use this template by forking it, and if you choose to fork your own generic copy of this template for instantiating, you will not be able to fork that fork. + +Note: `develop` is our default branch, but it should not be considered the most stable branch. If you want only the most stable releases, we recommend that you apply your customizations on top of the `master` branch. + +### From the Template +This is our recommended approach to instantiate this template, if forking is unavailable to you. In the end, this gives a similar result to [copying the repository](#copy-the-repository) (below), but maintains the "generated from ieeeuoft/hackathon-template" message on GitHub. If you don't care about that, then copying is simpler. + +1. Create an instance of the template by clicking "Use this template". +![image](https://user-images.githubusercontent.com/26036279/90323566-e153a100-df30-11ea-82b5-11a5effb1fd7.png) + + Note: By default, using a template creates a new repository based off only the default branch, which for this repository is `develop`. We recommend that you apply your customizations on top of the more stable `master` branch. To do so, make sure you check "Include all branches". + + Creating a repository from a template flattens all commits into a single initial commit. If you never plan on merging updates from the upstream template, you may proceed in customizing your instance from here and ignore all of the following steps. + +2. Clone your new instance locally via the method of your choosing. + +3. In order to pull history and updates, you will need to add the original template as a remote on the git repository. Note that this only happens on your cloned instance, changing remotes has no effect on the repository you created on GitHub. + + ```bash + $ git remote add upstream git@github.com:ieeeuoft/hackathon-template.git + ``` + + If you do not have git configured to clone over SSH, you may use the HTTPS url instead: `https://github.com/ieeeuoft/hackathon-template.git` + +4. Merge in whichever branch you would like to base your customizations off from upstream right away to get the history. For the rest of this example, we assume you are using `master`. + + ```bash + $ git fetch upstream + $ git merge upstream/master master --allow-unrelated-histories + $ git push origin master + ``` +5. Use the repository as you see fit, by creating feature branches off of `master`. We recommend a [Gitflow workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow). + +6. When you want to pull an update from the upstream template, we recommend merging it into a new branch so that you can review the changes, resolve any conflicts, and merge it into your base branch by a pull request for added visibility. + + ```bash + $ git checkout master + $ git checkout -b update-from-upstream-template + $ git fetch upstream + $ git merge upstream/master update-from-upstream-template + $ git push -u origin update-from-upstream-template + ``` + +7. Make a PR on your repo to merge `update-from-upstream-template` into your base branch. + +### Copy the Repository +This approach is very similar to using the template, but you lose the "generated from ..." text. You gain the added benefit of keeping the entire commit history of the repository, and not having to deal with fetching it upfront. + +1. Import a new repository at [https://github.com/new/import](https://github.com/new/import). Set the old repository's clone URL to `https://github.com/ieeeuoft/hackathon-template.git`. + +2. Clone your new instance locally via the method of your choosing. + +3. Add the original template as a remote on the git repository. + + ```bash + $ git remote add upstream git@github.com:ieeeuoft/hackathon-template.git + ``` + + If you do not have git configured to clone over SSH, you may use the HTTPS url instead: `https://github.com/ieeeuoft/hackathon-template.git` + +4. Use the repository as you see fit, by creating feature branches off of `master`. We recommend a [Gitflow workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow). + +5. When you want to pull an update from the upstream template, we recommend merging it into a new branch so that you can review the changes, resolve any conflicts, and merge it into your base branch by a pull request for added visibility. + + ```bash + $ git checkout master + $ git checkout -b update-from-upstream-template + $ git fetch upstream + $ git merge upstream/master update-from-upstream-template + $ git push -u origin update-from-upstream-template + ``` + +6. Make a PR on your repo to merge `update-from-upstream-template` into your base branch. + +## Customization +This project was designed to be generic and customizable. At minimum, you will want to update templates to include your event's name and logo, but you may customize them to whatever degree you wish. See [file structure](#file-structure) for more details about templates. + +Core event settings and constants, such as cutoff dates, are kept at the bottom of the [settings](hackathon_site/hackathon_site/settings/__init__.py) file. These settings can be imported and used in any view, form, or in general any other python file. See the [Django docs on settings](https://docs.djangoproject.com/en/3.1/topics/settings/#using-settings-in-python-code) to read more about how to use them. + +Some settings you will definitely want to change are: +- `HACKATHON_NAME` - The name of your hackathon, for use in templates +- `DEFAULT_FROM_EMAIL` - This can be used in templates, and it will also be used by [Django's email system](https://docs.djangoproject.com/en/3.1/topics/email/)) +- `CONTACT_EMAIL` - By default, the same as `DEFAULT_FROM_EMAIL`. The email users should contact you at, for use in templates +- `REGISTRATION_OPEN_DATE` - When registration opens +- `REGISTRATION_CLOSE_DATE` - When registration closes +- `EVENT_START_DATE` - When the event starts +- `EVENT_END_DATE` - When the event ends +- `MEDIA_ROOT` - The path on the server where user-uploaded files will end up, including resumes + +You will also need to set the necessary settings for your email server, so that Django can send emails to users. [Read about those settings here](https://docs.djangoproject.com/en/3.1/topics/email/). + +Near the top of the settings file, you must also set `ALLOWED_HOSTS` and `CORS_ORIGIN_REGEX_WHITELIST` for your domain. + +For convenience, some constants have been passed into the context of all Jinja templates by default, so they can be used right away. See the [Jinja2 config file](hackathon_site/hackathon_site/jinja2.py) for full details. + + +### Branding and Styling +Both the Event App and Dashboard App are styled by seperate SCSS files found in their respective directories. +#### Event App +**Warning: Deleting items in `styles.css`, `_mixins.scss`, and `_variables.scss` will mess up styling throughout all template pages.** Please read the following carefully and make sure you know what you're doing when you're modifying the aforementioned files. + +[Materialize](https://materializecss.com/) is the CSS framework that the Event App uses. Review their documentation to get a further understanding of how the template is styled. + +In order to determine the original source of a class, class names in kebab notation are from Materialize and class names in camel case are found in `styles.scss`. We recommend you follow this convention when adding your own classes. + +[SCSS mixins](https://sass-lang.com/documentation/at-rules/mixin) are stored in `_mixin.scss`. Currently, there are 2 mixin functions: `@mixin flexPosition` to be used if you want to style a class with CSS Flexbox and `@mixin responsive` to be used in place of Media Queries. If you are not familiar with mixins, example usages of both mixins are in `styles.scss`. + +Color, font family, and font size variables are stored in `_variables.scss`. Edit the values in the map to customize for your hackathons branding. For further organization, the variables are stored into maps and called using [SCSS functions](https://sass-lang.com/documentation/at-rules/function). + +For example: +``` +$fonts: ( + body: "Nunito", + header: "Roboto", +); + +@function font($fonts-name) { + @return map-get($fonts, $fonts-name); //(name of map, key) +} +``` +Instead of calling... +``` +h1 { font-family: $header; } +``` +...you should get the `$header` variable through the `font` function: +``` +h1 { font-family: font(header); } +``` + +## Deploying +This template may be deployed however you wish, we recommend you read [Django's documentation on deploying](https://docs.djangoproject.com/en/3.1/howto/deployment/). + +[Gunicorn](https://gunicorn.org/) is included in `requirements.txt` already, and deploying through gunicorn with a reverse proxy such as [Nginx](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/) is our recommended approach. The template is fully configured to be deployed under a subdirectory of your website through a reverse proxy, provided that the `SCRIPT_NAME` header is set. You may also set the path prefix explicitly in the settings file with [`FORCE_SCRIPT_NAME`](https://docs.djangoproject.com/en/2.2/ref/settings/#force-script-name). + +### Serving static files +Static files are configured to be served under the `static/` path, and are expected to be in a folder called `static` in the django project root (adjacent to `manage.py`). In production, you should run `python manage.py collectstatic` to move all static files into the `static` folder, and configure your web server to serve them directly. Read more about [managing static files in Django in the docs](https://docs.djangoproject.com/en/3.1/howto/static-files/). + +### Serving user uploaded files +User-uploaded files are handled differently in Django than static files. We recommend you read the pages on Django [file uploads](https://docs.djangoproject.com/en/3.1/topics/http/file-uploads/) and [the security of user-uploaded content](https://docs.djangoproject.com/en/3.1/topics/security/#user-uploaded-content-security) before proceeding. + +This template is configured to expect user-uploaded content to be served at `media/`, per the `MEDIA_URL` setting (you are free to change this, for example to an off-domain URL). User-uploaded content will be put in the folder defined by `MEDIA_ROOT`, which defaults to `/var/www/media/` and should almost certainly be configured for your server. Whatever you set it to, make sure the folder exists and is accessible by Django. + +Some user-uploaded content, such as resumes, should not be served to the general public. Others, such as pictures of hardware, should be. Hence, we recommend the following: + +- Upload all public-facing files with the prefix `uploads/`, so that they end up at `media/uploads/`. Configure your web server to serve this folder, e.g. `/var/www/media/uploads/`, to `media/uploads/` under your domain. +- Upload all private files to another prefix, e.g. `resumes/`, so that they end up at e.g. `media/resumes/`. For any users that should be able to see these files (such as staff members in this case), have a view that validates the user's permission, then reads in the data from disk and returns it directly in the HTTP response. Keep in mind that there are performance downsides to this approach. diff --git a/_config.yml b/_config.yml new file mode 100644 index 000000000..fc24e7a62 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-hacker \ No newline at end of file diff --git a/deployment/Dockerfile b/deployment/Dockerfile new file mode 100644 index 000000000..ce5eedc50 --- /dev/null +++ b/deployment/Dockerfile @@ -0,0 +1,23 @@ +FROM python:3.8-buster + +# Set working directory +WORKDIR /usr/src/hackathon_site + +# Set environment variables +ENV PYTHONDONTWRITEBYTECODE 1 +ENV PYTHONUNBUFFERED 1 + +# Install dependencies +RUN apt-get update && apt-get install -y postgresql-client + +RUN pip install --upgrade pip +COPY hackathon_site/requirements.txt /usr/src/hackathon_site/requirements.txt +RUN pip install -r /usr/src/hackathon_site/requirements.txt + +# Copy app +COPY hackathon_site/ /usr/src/hackathon_site/ + +# Copy entrypoint +COPY deployment/entrypoint.sh /usr/src/entrypoint.sh +RUN chmod +x /usr/src/entrypoint.sh +ENTRYPOINT ["/usr/src/entrypoint.sh"] diff --git a/deployment/entrypoint.sh b/deployment/entrypoint.sh new file mode 100644 index 000000000..581d8d5b4 --- /dev/null +++ b/deployment/entrypoint.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +echo "Waiting for the database..." + +while ! pg_isready -d $DB_NAME -h $DB_HOST -p $DB_PORT -U $DB_USER; do + sleep 1 +done + +echo "Database connection made" + +exec "$@" diff --git a/development/docker-compose.yml b/development/docker-compose.yml new file mode 100644 index 000000000..44c68347f --- /dev/null +++ b/development/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3' + +services: + postgres: + image: postgres:12.2 + container_name: hackathon-template_postgres + ports: + - 5432:5432 + environment: + - POSTGRES_DB=hackathon_site + - POSTGRES_HOST_AUTH_METHOD=trust + volumes: + - hackathon-template_postgres-data:/var/lib/postgresql/data + redis: + image: redis:6-alpine + container_name: hackathon-template_redis + ports: + - 6379:6379 + +volumes: + hackathon-template_postgres-data: diff --git a/hackathon_site/api/README.md b/hackathon_site/api/README.md new file mode 100644 index 000000000..cb83dc061 --- /dev/null +++ b/hackathon_site/api/README.md @@ -0,0 +1,11 @@ +# API +This app is largely a wrapper to coordinate the API endpoints for the various other apps. + +Generally speaking, each app will implement it's own serializers, views, and URL routes for the API. Views may be in `views.py`, or a dedicated `api_views.py` to differentiate them from regular user-facing views. API url routes should be put in a standard url config file named `api_urls.py`. These are included by `api.urls` with the appropriate namespaces, which itself is included in the base urlconf `hackathon_site.urls` with the `api` namespace. + +## Authentication +Two authentication schemes are enabled by default: [Token Authentication](https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication) and [Session Authentication](https://www.django-rest-framework.org/api-guide/authentication/#sessionauthentication), in that order. + +The API tests and frontend are implemented assuming that non-authenticated requests will return a status `HTTP 401 Unauthorized`. This [requires](https://tools.ietf.org/html/rfc7235#section-3.1) that a `WWW-Authenticate` header be set in the response. Django Rest Framework's Session Authentication does not implement this header, and so it's status code for unauthenticated requests will be `HTTP 403 Permission Denied`. The type of response DRF uses is [determined by the first authentication class on the view](https://www.django-rest-framework.org/api-guide/authentication/#unauthorized-and-forbidden-responses). For this reason, the first provided default authentication class in [the settings file](/hackathon_site/settings/__init__.py) is Token Authentication, so DRF will return a `HTTP 401 Unauthorized` with the `WWW-Authenticate: Token` header, regardless of whether the view was authenticated with the Token on Session authentication classes. + +You may change these authentication classes however you like, as long as the first one in the list includes the `WWW-Authenticate` header for unauthenticated responses (for example, [JWT](https://github.com/SimpleJWT/django-rest-framework-simplejwt) or [OAuth](https://github.com/jazzband/django-oauth-toolkit)). \ No newline at end of file diff --git a/hackathon_site/api/__init__.py b/hackathon_site/api/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/hackathon_site/api/urls.py b/hackathon_site/api/urls.py new file mode 100644 index 000000000..e21196064 --- /dev/null +++ b/hackathon_site/api/urls.py @@ -0,0 +1,9 @@ +from django.urls import path, include + +app_name = "api" + +urlpatterns = [ + path("auth/", include("dj_rest_auth.urls")), + path("hardware/", include("hardware.api_urls", namespace="hardware")), + path("event/", include("event.api_urls", namespace="event")), +] diff --git a/hackathon_site/dashboard/__init__.py b/hackathon_site/dashboard/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/hackathon_site/dashboard/admin.py b/hackathon_site/dashboard/admin.py new file mode 100644 index 000000000..8c38f3f3d --- /dev/null +++ b/hackathon_site/dashboard/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/hackathon_site/dashboard/apps.py b/hackathon_site/dashboard/apps.py new file mode 100644 index 000000000..45b7fa261 --- /dev/null +++ b/hackathon_site/dashboard/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class DashboardConfig(AppConfig): + name = "dashboard" diff --git a/hackathon_site/dashboard/frontend/.gitignore b/hackathon_site/dashboard/frontend/.gitignore new file mode 100644 index 000000000..4d29575de --- /dev/null +++ b/hackathon_site/dashboard/frontend/.gitignore @@ -0,0 +1,23 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/hackathon_site/dashboard/frontend/README.md b/hackathon_site/dashboard/frontend/README.md new file mode 100644 index 000000000..9c40dcdc3 --- /dev/null +++ b/hackathon_site/dashboard/frontend/README.md @@ -0,0 +1,68 @@ +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). + +## Available Scripts + +In the project directory, you can run: + +### `yarn start` + +Runs the app in the development mode.
+Open [http://localhost:3000](http://localhost:3000) to view it in the browser. + +The page will reload if you make edits.
+You will also see any lint errors in the console. + +### `yarn test` + +Launches the test runner in the interactive watch mode.
+See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. + +### `yarn build` + +Builds the app for production to the `build` folder.
+It correctly bundles React in production mode and optimizes the build for the best performance. + +The build is minified and the filenames include the hashes.
+Your app is ready to be deployed! + +See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. + +### `yarn eject` + +**Note: this is a one-way operation. Once you `eject`, you can’t go back!** + +If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. + +Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. + +You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. + +## Learn More + +You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). + +To learn React, check out the [React documentation](https://reactjs.org/). + +### Code Splitting + +This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting + +### Analyzing the Bundle Size + +This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size + +### Making a Progressive Web App + +This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app + +### Advanced Configuration + +This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration + +### Deployment + +This section has moved here: https://facebook.github.io/create-react-app/docs/deployment + +### `yarn build` fails to minify + +This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify diff --git a/hackathon_site/dashboard/frontend/package.json b/hackathon_site/dashboard/frontend/package.json new file mode 100644 index 000000000..a32af8622 --- /dev/null +++ b/hackathon_site/dashboard/frontend/package.json @@ -0,0 +1,88 @@ +{ + "name": "frontend", + "version": "0.1.0", + "private": true, + "dependencies": { + "@emotion/react": "^11.11.1", + "@emotion/styled": "^11.11.0", + "@material-ui/core": "^4.9.13", + "@material-ui/icons": "^4.9.1", + "@material-ui/lab": "^4.0.0-alpha.52", + "@mui/material": "^5.13.5", + "@mui/x-data-grid": "^6.8.0", + "@reduxjs/toolkit": "^1.3.6", + "@types/jest": "^26.0.23", + "@types/node": "^15.0.2", + "@types/react": "^17.0.5", + "@types/react-dom": "^17.0.3", + "@types/yup": "^0.29.13", + "axios": "^0.21.1", + "connected-react-router": "^6.8.0", + "date-fns": "^2.30.0", + "formik": "^2.1.4", + "history": "^4.10.1", + "lint-staged": "^10.2.2", + "notistack": "^0.9.17", + "prettier": "^2.0.5", + "react": "^16.13.1", + "react-dom": "^16.13.1", + "react-redux": "^7.2.0", + "react-router-dom": "^5.1.2", + "react-scripts": "4.0.3", + "react-slick": "^0.26.1", + "redux": "^4.0.5", + "redux-mock-store": "^1.5.4", + "redux-persist": "^6.0.0", + "redux-thunk": "^2.3.0", + "sass": "^1.32.12", + "typescript": "^4.2.4", + "yup": "^0.29.1" + }, + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test", + "eject": "react-scripts eject", + "i": "yarn install --frozen-lockfile", + "pretty": "yarn prettier --write 'src/**/*.(scss|js|ts|tsx)'", + "precheck": "yarn pretty && yarn run tsc && yarn test -o -u --watchAll=false" + }, + "eslintConfig": { + "extends": "react-app" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "prettier": { + "printWidth": 88, + "tabWidth": 4 + }, + "devDependencies": { + "@testing-library/jest-dom": "^5.12.0", + "@testing-library/react": "^11.2.6", + "@testing-library/user-event": "^13.1.8", + "@types/jest-when": "^2.7.3", + "@types/react-redux": "^7.1.16", + "@types/react-router-dom": "^5.1.7", + "@types/redux-mock-store": "^1.0.3", + "husky": "^4.2.5", + "jest-when": "^3.4.0" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "src/**/*.{tsx,ts,js,scss,css}": "prettier --write" + } +} diff --git a/hackathon_site/dashboard/frontend/public/favicon.ico b/hackathon_site/dashboard/frontend/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..bcd5dfd67cd0361b78123e95c2dd96031f27f743 GIT binary patch literal 3150 zcmaKtc{Ei0AIGn;MZ^<@lHD*OV;K7~W1q3jSjJcqNywTkMOhP*k~Oj?GO|6{m(*C2 zC7JA+hN%%Bp7T4;J@?%2_x=5zbI<2~->=X60stMr0B~{wzpi9D0MG|# zyuANt7z6;uz%?PEfAnimLl^)6h5ARwGXemG2>?hqQv-I^Gpyh$JH}Ag92}3{$a#z& zd`il2Sb#$U&e&4#^4R|GTgk!Qs+x*PCL{2+`uB5mqtnqLaaw`*H2oqJ?XF(zUACc2 zSibBrdQzcidqv*TK}rpEv1ie&;Famq2IK5%4c}1Jt2b1x_{y1C!?EU)@`_F)yN*NK z)(u03@%g%uDawwXGAMm%EnP9FgoucUedioDwL~{6RVO@A-Q$+pwVRR%WYR>{K3E&Q zzqzT!EEZ$_NHGYM6&PK#CGUV$pTWsiI5#~m>htoJ!vbc0=gm3H8sz8KzIiVN5xdCT z%;}`UH2Pc8))1VS-unh?v4*H*NIy5On{MRKw7BTmOO9oE2UApwkCl9Z?^dod9M^#w z51tEZhf+#dpTo#GDDy#kuz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S4*1LU(2&@pgLvSt{(((C?K_V(rQk``i&5}ZPG;G^FiPlZ$7|-vEmMWlU z5lQ%iK2nu=h2wd_7>gK@vX=*AG+u~rQP$NwPC`ZA?4nh{3tui1x@bT6-;Rk3yDQ>d z?3qRD#+PeV7#FAa>s`Xwxsx_oRFcN$StW2=CW`=qObsT?SD^#^jM1Yk}PSPxJ zG@-_mnNU_)vM|iLRSI>UMp|hatyS}17R{10IuL0TLlupt>9dRs_SPQbv7BLYyC#qv16E-y@XZ= z-!p7I%#r-BVi$nQq3&ssRc_IC%R6$tA&^s_l46880~Wst3@>(|EO<}T4~ci~#!=e; zD)B>o%1+$ksURD1p7I-<3ehlFyVkqrySf&gg>Bp0Z9?JaG|gyTZ{Cb8SdvAWVmFX7v2ohs!OCc!Udk zUITUpmZ33rKLI#(&lDj}cKA#dpL4Fil=$5pu_wi1XJR!llw` zSItPBDEdMHk2>c7#%lBxZHHvtVUOZ$}v?=?AT~9!Jcqa@IJGuMg(s^7r>pcTrd)pS`{5Cu8WPey` z9)!!OUUY@L%9Q+bZa*S5`3f_|lFCPN6kdp_M2>{le8;cn^XUsPa+TUk47qd6)IBR% zk*&Ip?!Ge_gmmdj)BX}P_5o@VI2*wbZ^>UhFju}0gQZh!pP%4XT9{@w;G#b3XK8sN zF(7i$Jv(IM$8Akys9dhP^^~H2(7BfJp}yDW1#@!CL-!mGcSCnJ599WK9MV@yo_u$v MDeX2GIKR{Qf5okjU;qFB literal 0 HcmV?d00001 diff --git a/hackathon_site/dashboard/frontend/public/index.html b/hackathon_site/dashboard/frontend/public/index.html new file mode 100644 index 000000000..31d7566a0 --- /dev/null +++ b/hackathon_site/dashboard/frontend/public/index.html @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + Hardware Dashboard + + + +
+ + + diff --git a/hackathon_site/dashboard/frontend/public/logo192.png b/hackathon_site/dashboard/frontend/public/logo192.png new file mode 100644 index 0000000000000000000000000000000000000000..fc44b0a3796c0e0a64c3d858ca038bd4570465d9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P65?#>(vPfA-c=MCY|%*1_<3D4NX zeVTi-JGl2uP_2@0F{G({pxQOXt_d{g_CV6b?jNpfUG9;8yle-^4KHRvZs-_2siata zt+d_T@U$&t*xaD22(fH(W1r$Mo?3dc%Tncm=C6{V9y{v&VT#^1L04vDrLM9qBoZ4@ z6DBN#m57hX7$C(=#$Y5$bJmwA$T8jKD8+6A!-IJwA{WOfs%s}yxUw^?MRZjF$n_KN z6`_bGXcmE#5e4Ym)aQJ)xg3Pg0@k`iGuHe?f(5LtuzSq=nS^5z>vqU0EuZ&75V%Z{ zYyhRLN^)$c6Ds{f7*FBpE;n5iglx5PkHfWrj3`x^j^t z7ntuV`g!9Xg#^3!x)l*}IW=(Tz3>Y5l4uGaB&lz{GDjm2D5S$CExLT`I1#n^lBH7Y zDgpMag@`iETKAI=p<5E#LTkwzVR@=yY|uBVI1HG|8h+d;G-qfuj}-ZR6fN>EfCCW z9~wRQoAPEa#aO?3h?x{YvV*d+NtPkf&4V0k4|L=uj!U{L+oLa(z#&iuhJr3-PjO3R z5s?=nn_5^*^Rawr>>Nr@K(jwkB#JK-=+HqwfdO<+P5byeim)wvqGlP-P|~Nse8=XF zz`?RYB|D6SwS}C+YQv+;}k6$-%D(@+t14BL@vM z2q%q?f6D-A5s$_WY3{^G0F131bbh|g!}#BKw=HQ7mx;Dzg4Z*bTLQSfo{ed{4}NZW zfrRm^Ca$rlE{Ue~uYv>R9{3smwATcdM_6+yWIO z*ZRH~uXE@#p$XTbCt5j7j2=86e{9>HIB6xDzV+vAo&B?KUiMP|ttOElepnl%|DPqL b{|{}U^kRn2wo}j7|0ATu<;8xA7zX}7|B6mN literal 0 HcmV?d00001 diff --git a/hackathon_site/dashboard/frontend/public/manifest.json b/hackathon_site/dashboard/frontend/public/manifest.json new file mode 100644 index 000000000..cd626a135 --- /dev/null +++ b/hackathon_site/dashboard/frontend/public/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "Hardware Dashboard", + "name": "IEEE Hardware Dashboard Template", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/hackathon_site/dashboard/frontend/public/robots.txt b/hackathon_site/dashboard/frontend/public/robots.txt new file mode 100644 index 000000000..e9e57dc4d --- /dev/null +++ b/hackathon_site/dashboard/frontend/public/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/hackathon_site/dashboard/frontend/src/App.scss b/hackathon_site/dashboard/frontend/src/App.scss new file mode 100644 index 000000000..a988c3a65 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/App.scss @@ -0,0 +1,23 @@ +@import "assets/abstracts/mixins"; +@import "assets/abstracts/variables"; + +.App { + background-color: color(backgroundC); + @include flexPosition($jusCon: space-between, $dir: column); + min-height: 100vh; + width: 100%; + &Padding { + @include flexPosition($alIte: center, $dir: column); + padding: 50px; + @include responsive(md-down) { + padding: 25px; + } + @include responsive(sm-down) { + font-size: size(xs); + } + } + + .MuiButton-label { + white-space: nowrap; + } +} diff --git a/hackathon_site/dashboard/frontend/src/App.test.js b/hackathon_site/dashboard/frontend/src/App.test.js new file mode 100644 index 000000000..812efb821 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/App.test.js @@ -0,0 +1,7 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import App from "./App"; + +test("renders without crashing", () => { + render(); +}); diff --git a/hackathon_site/dashboard/frontend/src/App.tsx b/hackathon_site/dashboard/frontend/src/App.tsx new file mode 100644 index 000000000..bee989b6c --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/App.tsx @@ -0,0 +1,128 @@ +import React from "react"; +import { ConnectedRouter } from "connected-react-router"; +import { Route, Redirect, Switch } from "react-router-dom"; +import { createTheme, StylesProvider, ThemeProvider } from "@material-ui/core/styles"; +import { Provider as ReduxProvider } from "react-redux"; +import { persistStore } from "redux-persist"; +import { PersistGate } from "redux-persist/integration/react"; +import { SnackbarProvider } from "notistack"; + +import styles from "assets/abstracts/_exports.scss"; +import store, { history } from "slices/store"; + +import "App.scss"; +import AdminDashboard from "pages/AdminDashboard/AdminDashboard"; +import Dashboard from "pages/Dashboard/Dashboard"; +import Footer from "components/general/Footer/Footer"; +import Login from "pages/Login/Login"; +import Orders from "pages/Orders/Orders"; +import Teams from "pages/Teams/Teams"; +import Reports from "pages/Reports/Reports"; +import Inventory from "pages/Inventory/Inventory"; +import Cart from "pages/Cart/Cart"; +import IncidentForm from "pages/IncidentForm/IncidentForm"; +import NotFound from "pages/NotFound/NotFound"; + +import SnackbarNotifier from "components/general/SnackbarNotifier/SnackbarNotifier"; +import withUserCheck from "components/HOCs/withUserCheck/withUserCheck"; +import TeamDetail from "pages/TeamDetail/TeamDetail"; +import Acknowledgement from "pages/Acknowledgement/Acknowledgement"; + +type Palette = { + primary?: { main: string }; + secondary?: { main: string }; +}; + +export const makePalette = (): Palette => { + // In testing, the scss exports don't work so styles is an + // empty object. This gets around that. + let palette: Palette = {}; + if (styles.primary) palette.primary = { main: styles.primary }; + if (styles.secondary) palette.secondary = { main: styles.secondary }; + return palette; +}; + +const theme = createTheme({ + palette: makePalette(), +}); + +const persistor = persistStore(store); + +const UnconnectedApp = () => { + return ( +
+
+ + + + + + + + + + + + + + +
+
+
+ ); +}; + +const ConnectedApp = () => ( + + + + + + + + + + + + + + +); + +export default ConnectedApp; diff --git a/hackathon_site/dashboard/frontend/src/api/api.ts b/hackathon_site/dashboard/frontend/src/api/api.ts new file mode 100644 index 000000000..a87baf5cc --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/api/api.ts @@ -0,0 +1,98 @@ +import axios, { AxiosResponse } from "axios"; + +// Re-export the response type, so it's available without needing to import axios +export type { AxiosResponse } from "axios"; + +let SERVER_URL: string; + +if (process.env.NODE_ENV === "development") { + if (!process.env.REACT_APP_DEV_SERVER_URL) { + throw new Error( + "REACT_APP_DEV_SERVER_URL must be set (probably to http://localhost:8000)" + ); + } + + SERVER_URL = process.env.REACT_APP_DEV_SERVER_URL?.replace(/\/$/, ""); +} else { + SERVER_URL = ""; +} + +export const getCsrfToken = () => { + // When Django serves the react template (and also from some API responses), + // the CSRF token will be set as a cookie. + if (document.cookie && document.cookie !== "") { + const cookies = document.cookie.split(";"); + for (let i = 0; i < cookies.length; i++) { + const cookie = cookies[i].trim(); + if (cookie.trim().startsWith("csrftoken=")) { + return decodeURIComponent(cookie.substr(10)); + } + } + } + return null; +}; + +export const cleanURI = (uri: string) => { + uri = uri.replace(/^\//, ""); // Remove leading slashes + uri = uri.endsWith("/") ? uri : uri + "/"; + return uri; +}; + +const makeConfig = () => ({ + headers: { + "X-CSRFToken": getCsrfToken(), + }, + withCredentials: true, +}); + +export const stripHostname = (url: string): string => { + const parsed = new URL(url); + return parsed.pathname + parsed.search + parsed.hash; +}; + +export const stripHostnameReturnFilters = ( + url: string | null +): { path: string; filters?: { [key: string]: any } } => { + if (url) { + const parsed = new URL(url); + const filters: { [key: string]: any } = {}; + if (parsed.search && filters) { + parsed.searchParams.forEach((val, key) => (filters[key] = val)); + } + return Object.keys(filters).length > 0 + ? { + path: parsed.pathname, + filters, + } + : { path: parsed.pathname }; + } + return { path: "" }; +}; + +export const get = ( + uri: string, + params?: { [key: string]: any } +): Promise> => { + uri = cleanURI(uri); + + if (params) { + uri += "?" + new URLSearchParams(params).toString(); + } + + return axios.get(`${SERVER_URL}/${uri}`, makeConfig()); +}; + +export const post = (uri: string, data?: any): Promise> => { + uri = cleanURI(uri); + return axios.post(`${SERVER_URL}/${uri}`, data, makeConfig()); +}; + +export const patch = (uri: string, data?: any): Promise> => { + uri = cleanURI(uri); + return axios.patch(`${SERVER_URL}/${uri}`, data, makeConfig()); +}; + +export const _delete = (uri: string): Promise> => { + uri = cleanURI(uri); + return axios.delete(`${SERVER_URL}/${uri}`, makeConfig()); +}; diff --git a/hackathon_site/dashboard/frontend/src/api/helpers.ts b/hackathon_site/dashboard/frontend/src/api/helpers.ts new file mode 100644 index 000000000..70f006753 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/api/helpers.ts @@ -0,0 +1,208 @@ +import { + Order, + OrderInTable, + OrderItemTableRow, + ReturnedItem, + ReturnOrderInTable, +} from "api/types"; + +export const formatDateTime = (dateTimeString: string): string => { + const dateTime = new Date(dateTimeString); + const options: Intl.DateTimeFormatOptions = { + month: "long", + day: "numeric", + year: "numeric", + hour: "numeric", + minute: "numeric", + hour12: true, + }; + return dateTime.toLocaleString("en-US", options); +}; +export const teamOrderListSerialization = ( + orders: Order[] +): { + pendingOrders: OrderInTable[]; + checkedOutOrders: OrderInTable[]; + returnedOrders: ReturnOrderInTable[]; + hardwareIdsToFetch: number[]; +} => { + const pendingOrders: OrderInTable[] = []; + const checkedOutOrders: OrderInTable[] = []; + const returnedOrders: ReturnOrderInTable[] = []; + const hardwareIdsToFetch: Record = {}; + orders.forEach((order) => { + if (order.status !== "Cancelled") { + const hardwareItems: Record = {}; + const hardwareRequested: Record = {}; + const returnedItems: Record = {}; + order.request.forEach( + (hardware) => + (hardwareRequested[hardware.id] = hardware.requested_quantity) + ); + order.items.forEach(({ id, hardware_id, part_returned_health }) => { + if (part_returned_health) { + const returnItemKey = `${hardware_id}-${part_returned_health}`; + if (returnedItems[returnItemKey]) + returnedItems[returnItemKey].quantity += 1; + else { + const date = new Date(order.updated_at); + returnedItems[returnItemKey] = { + id, + quantity: 1, + part_returned_health, + hardware_id, + time: `${date.toLocaleTimeString()} (${date.toDateString()})`, + }; + } + } else { + if (hardwareItems[hardware_id]) + hardwareItems[hardware_id].quantityGranted += 1; + else + hardwareItems[hardware_id] = { + id: hardware_id, + quantityGranted: 1, + quantityRequested: hardwareRequested[hardware_id], + }; + } + hardwareIdsToFetch[hardware_id] = hardware_id; + }); + const returnedHardware = Object.values(returnedItems); + if (returnedHardware.length) + returnedOrders.push({ + id: order.id, + hardwareInOrder: returnedHardware, + }); + + const hardwareInTableRow = Object.values(hardwareItems); + if (hardwareInTableRow.length > 0) + (order.status === "Submitted" || order.status === "Ready for Pickup" + ? pendingOrders + : checkedOutOrders + ).push({ + id: order.id, + status: order.status, + hardwareInTableRow, + createdTime: order.created_at, + updatedTime: order.updated_at, + }); + } + }); + return { + pendingOrders: [...pendingOrders].sort((a, b) => b.id - a.id), + checkedOutOrders: [...checkedOutOrders].sort((a, b) => b.id - a.id), + returnedOrders, + hardwareIdsToFetch: Object.values(hardwareIdsToFetch), + }; +}; + +export const sortReturnedOrders = ( + order1: ReturnOrderInTable, + order2: ReturnOrderInTable +): number => { + const orderDate1 = order1.hardwareInOrder[0].time; + const orderDate2 = order2.hardwareInOrder[0].time; + + const matchResult = orderDate1.match( + /(\d{1,2}):(\d{2}):(\d{2}) (AM|PM) \((\w{3}) (\w{3}) (\d{2}) (\d{4})\)/ + ); + const matchResult2 = orderDate2.match( + /(\d{1,2}):(\d{2}):(\d{2}) (AM|PM) \((\w{3}) (\w{3}) (\d{2}) (\d{4})\)/ + ); + + if (matchResult && matchResult2) { + // converting invalid date to a valid Date for first order to be compared + const [, hours, minutes, seconds, meridiem, , month, day, year] = matchResult; + const monthIndex = [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec", + ].indexOf(month); + + const date = new Date( + Number(year), + monthIndex, + Number(day), + Number(hours) + (meridiem === "PM" ? 12 : 0), + Number(minutes), + Number(seconds) + ); + const formattedDate = date.toISOString(); + + // converting invalid date to a valid Date for first order to be compared + const [, hours2, minutes2, seconds2, meridiem2, , month2, day2, year2] = + matchResult2; + const monthIndex2 = [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec", + ].indexOf(month2); + + const date2 = new Date( + Number(year2), + monthIndex2, + Number(day2), + Number(hours2) + (meridiem2 === "PM" ? 12 : 0), + Number(minutes2), + Number(seconds2) + ); + const formattedDate2 = date2.toISOString(); + + return new Date(formattedDate2).valueOf() - new Date(formattedDate).valueOf(); + } + return 0; +}; + +export const sortCheckedOutOrders = ( + order1: OrderInTable, + order2: OrderInTable +): number => { + return ( + new Date(order2.updatedTime).valueOf() - new Date(order1.updatedTime).valueOf() + ); +}; + +export const sortPendingOrders = (orders: OrderInTable[]): OrderInTable[] => { + let ready_orders = []; + let submitted_orders = []; + for (let order of orders) { + if (order.status === "Ready for Pickup") { + ready_orders.push(order); + } else { + submitted_orders.push(order); + } + } + ready_orders.sort((order1, order2) => { + return ( + new Date(order1.updatedTime).valueOf() - + new Date(order2.updatedTime).valueOf() + ); + }); + + submitted_orders.sort((order1, order2) => { + return ( + new Date(order1.updatedTime).valueOf() - + new Date(order2.updatedTime).valueOf() + ); + }); + + orders.splice(0, orders.length, ...submitted_orders, ...ready_orders); + return orders; +}; diff --git a/hackathon_site/dashboard/frontend/src/api/orders.ts b/hackathon_site/dashboard/frontend/src/api/orders.ts new file mode 100644 index 000000000..6a168cfdd --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/api/orders.ts @@ -0,0 +1,29 @@ +import SubmittedIcon from "assets/images/icons/statusIcons/unfulfilled-status.svg"; +import ReadyForPickupIcon from "assets/images/icons/statusIcons/readyforpickup-status.svg"; +import PickedUpIcon from "assets/images/icons/statusIcons/checkout-status.svg"; +import CancelledIcon from "assets/images/icons/statusIcons/cancelled-status.svg"; +import ReturnedIcon from "assets/images/icons/statusIcons/checkout-status.svg"; +import PendingIcon from "assets/images/icons/statusIcons/pending-status.svg"; +import InProgressIcon from "assets/images/icons/statusIcons/inprogress-status.svg"; + +import styles from "components/orders/OrdersTable/OrdersTable.module.scss"; + +export const statusIconMap: { [key: string]: string } = { + Submitted: SubmittedIcon, + ReadyforPickup: ReadyForPickupIcon, + PickedUp: PickedUpIcon, + Cancelled: CancelledIcon, + Returned: ReturnedIcon, + Pending: PendingIcon, + InProgress: InProgressIcon, +}; + +export const statusStylesMap: { [key: string]: string } = { + Submitted: styles.SubmittedIcon, + ReadyforPickup: styles.ReadyforPickupIcon, + PickedUp: styles.PickedUpIcon, + Cancelled: styles.CancelledIcon, + Returned: styles.ReturnedIcon, + Pending: styles.PendingIcon, + InProgress: styles.InProgressIcon, +}; diff --git a/hackathon_site/dashboard/frontend/src/api/types.ts b/hackathon_site/dashboard/frontend/src/api/types.ts new file mode 100644 index 000000000..43b1d2bf0 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/api/types.ts @@ -0,0 +1,188 @@ +/** Generics */ +export interface APIListResponse { + count: number; + next: string | null; + previous: string | null; + results: T[]; +} + +/** Hardware API */ +export interface Hardware { + id: number; + name: string; + model_number: string; + manufacturer: string; + datasheet: string; + quantity_available: number; + max_per_team?: number; + picture?: string; + image_url?: string; + categories: number[]; + quantity_remaining: number; + notes?: string; +} + +export type HardwareOrdering = + | "" + | "name" + | "-name" + | "quantity_remaining" + | "-quantity_remaining"; + +export interface HardwareFilters { + in_stock?: boolean; + hardware_ids?: number[]; + category_ids?: number[]; + search?: string; + ordering?: HardwareOrdering; +} + +/** Category API */ +export interface Category { + id: number; + name: string; + max_per_team?: number; + unique_hardware_count?: number; +} + +/** Event API */ +export interface ProfileRequestBody { + acknowledge_rules: boolean; + e_signature: string | null; +} + +export interface Profile extends ProfileRequestBody { + id: number; + id_provided: boolean; + attended: boolean; + team: string; + acknowledge_rules: boolean; + e_signature: string | null; + phone_number: string; +} + +type ProfileWithoutTeamNumber = Omit; + +export type Group = { + id: number; + name: string; +}; + +export interface UserWithoutProfile { + id: number; + first_name: string; + last_name: string; + email: string; +} + +export interface UserWithReviewStatus extends UserWithoutProfile { + review_status: "Accepted" | "Waitlisted" | "Rejected" | "Incomplete" | "None"; +} + +export interface User extends UserWithoutProfile { + profile: ProfileWithUser | null; + groups: Group[]; +} + +export interface Team { + id: number; + team_code: string; + created_at: string; + updated_at: string; + profiles: ProfileWithUser[]; + project_description: string; +} + +export interface ProfileWithUser extends ProfileWithoutTeamNumber { + user: UserWithoutProfile; +} + +/** Orders API */ +export type OrderStatus = + | "Submitted" + | "Ready for Pickup" + | "Picked Up" + | "Cancelled" + | "Returned" + | "Pending" + | "In Progress"; +export type PartReturnedHealth = "Healthy" | "Heavily Used" | "Broken" | "Lost"; + +export type ItemsInOrder = Omit; + +export interface Order { + id: number; + items: ItemsInOrder[]; + team_id: number; + team_code: string; + status: OrderStatus; + request: { + id: number; + requested_quantity: number; + }[]; + created_at: string; + updated_at: string; +} + +export type OrderOrdering = "" | "created_at" | "-created_at"; + +export interface OrderFilters { + ordering?: OrderOrdering; + status?: OrderStatus[]; + search?: string; +} + +/** Sanitized Orders */ +export interface OrderItemTableRow { + id: number; + quantityRequested: number; + quantityGranted: number; +} + +export interface OrderInTable { + id: number; + hardwareInTableRow: OrderItemTableRow[]; + status: OrderStatus; + createdTime: string; + updatedTime: string; +} + +export type ReturnedItem = ItemsInOrder & { quantity: number; time: string }; +export interface ReturnOrderInTable { + id: number; + hardwareInOrder: ReturnedItem[]; +} + +/** Cart API */ +export interface CartItem { + hardware_id: number; + quantity: number; +} + +/** Incidents API */ +export type IncidentState = + | "Heavily Used" + | "Broken" + | "Missing" + | "Minor Repair Required" + | "Major Repair Required" + | "Not Sure If Works"; + +export interface OrderItem { + id: number; + hardware_id: number; + order: number; + part_returned_health: PartReturnedHealth | null; + time_occurred: string; +} + +export interface Incident { + id: number; + state: IncidentState; + time_occurred: string; + description: string; + order_item: Omit; + team_id: string; + created_at: string; + updated_at: string; +} diff --git a/hackathon_site/dashboard/frontend/src/assets/abstracts/_exports.scss b/hackathon_site/dashboard/frontend/src/assets/abstracts/_exports.scss new file mode 100644 index 000000000..819646e39 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/abstracts/_exports.scss @@ -0,0 +1,7 @@ +@import "_variables.scss"; + +:export { + // Exports to plug into MUI's theming system + primary: color(primary); + secondary: color(secondary); +} diff --git a/hackathon_site/dashboard/frontend/src/assets/abstracts/_mixins.scss b/hackathon_site/dashboard/frontend/src/assets/abstracts/_mixins.scss new file mode 100644 index 000000000..f8c5f8c51 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/abstracts/_mixins.scss @@ -0,0 +1,74 @@ +@mixin flexPosition($jusCon: flex-start, $alIte: stretch, $dir: row) { + display: flex; + @if $jusCon != flex-start { + justify-content: $jusCon; + } + @if $alIte != stretch { + align-items: $alIte; + } + @if $dir != row { + flex-direction: $dir; + } +} + +@mixin responsive($breakpoint) { + @if ($breakpoint == xl-down) { + @media (max-width: 1920px) { + @content; + } + } + + @if ($breakpoint == xl-up) { + @media (min-width: 1920px) { + @content; + } + } + + @if ($breakpoint == lg-down) { + @media (max-width: 1280px) { + @content; + } + } + + @if ($breakpoint == lg-up) { + @media (min-width: 1280px) { + @content; + } + } + + @if ($breakpoint == md-down) { + @media (max-width: 960px) { + @content; + } + } + + @if ($breakpoint == md-up) { + @media (min-width: 960px) { + @content; + } + } + + @if ($breakpoint == sm-down) { + @media (max-width: 600px) { + @content; + } + } + + @if ($breakpoint == sm-up) { + @media (min-width: 600px) { + @content; + } + } + + @if ($breakpoint == xs-down) { + @media (max-width: 360px) { + @content; + } + } + + @if ($breakpoint == xs-up) { + @media (min-width: 360px) { + @content; + } + } +} diff --git a/hackathon_site/dashboard/frontend/src/assets/abstracts/_variables.scss b/hackathon_site/dashboard/frontend/src/assets/abstracts/_variables.scss new file mode 100644 index 000000000..70cada0e3 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/abstracts/_variables.scss @@ -0,0 +1,46 @@ +$colors: ( + font: rgba(0, 0, 0, 0.84), + white: #fff, + primary: #2b7bbc, + secondary: #b00020, + light1: #ebf0ef, + light2: rgba(0, 0, 0, 0.04), + grey: #757575, + dark1: #11568e, + header: #0c3760, + footer: #222944, + backgroundC: #fafafa, + green: #43a047, + greenLight: #c1edc1, + orange: #ffa000, + orangeLight: #ffe3b4, + redLight: #f9e0e0, + blue: #4169e1, + blueLight: #c3e1ef, + purple: #800080, + purpleLight: #cec4f2, +); + +$fonts: ( + body: "Roboto", +); + +$font-sizes: ( + xl: 45px, + lg: 18px, + md: 16px, + sm: 14px, + xs: 12px, +); + +@function color($color-name) { + @return map-get($colors, $color-name); //(name of map, key) +} + +@function font($fonts-name) { + @return map-get($fonts, $fonts-name); //(name of map, key) +} + +@function size($size) { + @return map-get($font-sizes, $size); //(name of map, key) +} diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/Hardware.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/Hardware.svg new file mode 100644 index 000000000..d7c7b0abb --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/Hardware.svg @@ -0,0 +1,4 @@ + + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/arrow-left-solid.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/arrow-left-solid.svg new file mode 100644 index 000000000..0f1f2cbed --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/arrow-left-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/cancelled-status.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/cancelled-status.svg new file mode 100644 index 000000000..7b5707800 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/cancelled-status.svg @@ -0,0 +1,3 @@ + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/checkout-status.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/checkout-status.svg new file mode 100644 index 000000000..9f2e0de5f --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/checkout-status.svg @@ -0,0 +1,3 @@ + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/inprogress-status.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/inprogress-status.svg new file mode 100644 index 000000000..573aea5ef --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/inprogress-status.svg @@ -0,0 +1,3 @@ + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/pending-status.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/pending-status.svg new file mode 100644 index 000000000..fb273110a --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/pending-status.svg @@ -0,0 +1,4 @@ + + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/readyforpickup-status.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/readyforpickup-status.svg new file mode 100644 index 000000000..6a8fdc498 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/readyforpickup-status.svg @@ -0,0 +1,3 @@ + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/unfulfilled-status.svg b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/unfulfilled-status.svg new file mode 100644 index 000000000..6f6f8d0c9 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/icons/statusIcons/unfulfilled-status.svg @@ -0,0 +1,3 @@ + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/placeholders/no-hardware-image.svg b/hackathon_site/dashboard/frontend/src/assets/images/placeholders/no-hardware-image.svg new file mode 100644 index 000000000..9d1548a54 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/placeholders/no-hardware-image.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/hackathon_site/dashboard/frontend/src/assets/images/sponsors/AMD.svg b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/AMD.svg new file mode 100755 index 000000000..dc93f7e75 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/AMD.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/sponsors/CityofBrampton.svg b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/CityofBrampton.svg new file mode 100644 index 000000000..7ae851be5 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/CityofBrampton.svg @@ -0,0 +1,31 @@ + + + + COB LOGO_Simple + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/hackathon_site/dashboard/frontend/src/assets/images/sponsors/CognitiveSystems.svg b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/CognitiveSystems.svg new file mode 100644 index 000000000..91ed8270a --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/CognitiveSystems.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/sponsors/ECE.png b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/ECE.png new file mode 100644 index 0000000000000000000000000000000000000000..5f2ca3c28886d6368823f840bfc822277fdc083d GIT binary patch literal 28507 zcmbrlWnA0cvIdG%+)8nGcXtTx?oMzB?pC0<7I!c1P~6=eTHM{;xqaU)XP@8M_kOwg zkgTlC^UTaMD=RC>{KJ(LB$428;laSbkffymDqvvX)_=yPpJ4vn*X7FO{CNO(R*@71 ztD3|=0t16qu~O4=(UOPkfQ%k?4u7n`!1z6Q{|xPbF2=+jcDDA;ydDCi ze_QbW8UHoSL`wX(iHnT@sg}GFu^7k+NX)^=&d5wE2v1B*%#l6HBSd1lM2uotB-gcHc_@8UZcJ2?aY5>$ZnUyA-` zhJOY9cS(4y?44bV?M;Ew06|w*D>GhB6J|~mHWqFMPIFUE25uI1a|Rw(RxSoEW>X-S z8LK&)DJwTW)BnN#uSNDxYBP|j>tE~X5A~lQ8O{E%OGt1@u&{8kGjp*rb8@q=aEovP z#3VSy#aP(Hnb|m4{>A(s(EnlPXZk<6{)cG)65{_lWtHG!Wf2i&VPWQEWnmF#78MZ_ z1+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m;g!%OG)+}E#G6r8V1l# zX=czg`=RNw%JA+x`L7H;@)(kvR|xVG{|}RNE{IS$ z>@Dt!{d;!zfXsNT>Q{ZM(>MUHhgGK&4%tsx)ilP8PaHZYFk;yAf|4Xr{3)lsC=*sG z%#CgYw^GALsN$Nvh%;omB_Jy3po>7{*ljRpAIn|KI))X K%H@jh!~P%L?-}9% literal 0 HcmV?d00001 diff --git a/hackathon_site/dashboard/frontend/src/assets/images/sponsors/Huawei.svg b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/Huawei.svg new file mode 100755 index 000000000..c70fd954d --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/Huawei.svg @@ -0,0 +1,1551 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/sponsors/ecobee.svg b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/ecobee.svg new file mode 100644 index 000000000..7b6069a9a --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/assets/images/sponsors/ecobee.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/hackathon_site/dashboard/frontend/src/assets/images/testImages/IO6e5a6.jpg b/hackathon_site/dashboard/frontend/src/assets/images/testImages/IO6e5a6.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3ce67cf47ca7be7481df850bd78855b3b1b4e39f GIT binary patch literal 26700 zcmce-Wl&sC^esBL2Pe3@dyoNwySoN=3GN!)8Qg!k%>aYD!{7w>5Ih749-No|eO0&K zhgbK@t9t#ZtM)$o?CMjed+oJXzpuS-0;Bt93ngd9N>QsG-MQ1ba+HK1SE`q4nUm$vBSe5AiyIaA))>A`{#{> z42J?h#l^!XKqI8#ktCvZ|4654k%mss8-7X5z^|?iT>s|qcu@h|@WJ2{RFzxe!Cl_UUT z8w2{k-t5En=N|lDj;T^^_KV*EW#c!mz|-OVGxgi&P`(GMIg`#`*TUBlX@6I{+$#$l zsz@Ei^8OE#tK*E^o(FM>KMmf$jdT9J;i_2TZogP8|JrL+*ZPn$RQM|8YBqH0?&Td& zd_EWW>EHxxb*}E_Ri$?4RkXVO7f_cPv1>IfZ*#QFXP>JDOh7}W)J^PqzF;X&b*CIL zF;+A0l$IeQ@#MEj{i>5ZcUG3Hjso+hJPg_HZT&?N8)v5_cuJa6!I$<(T>vcR>ML%q*i<#fm^cf*2x@J2H2j0JGrEd<`;QL)Pl`(B}alaNx-@kFW3g0|RxP?kg z8G{jfz&=eCHp)}>lg-5vwdskER|UuKfSz}NnW>aIIi5Py43@r{()se{zpN(lSLFP< z?fg%hvHIG!vCiZEE1@* zX%087`;5^5bid^-3!k%;kJ&#z3=@|xG{X9{BXw%G8rdPsCq}Rp$*hzb>7K@DFiSRO z=B_a(1kNz~q8&emq%CBGQ>A<2Jtxn}?&1UGsz^Fp-0+QNHZ@(F9@YOIMn}XbNe!69 z=9H3OyA*KFPh$RTHyM`sGgh4=Vn{F#Ni^COEP%vQ%}kaEYqu=<}*CqA28O zq|LVaV3ZyVdNEV?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f(@|W&Vd{L+$-#w~jHFx{)&uDF?7+o!@3YZBzT zb$&;qwlIK9eXx9FsnNT}Alt6Ja|t1@oSLh{2`F1%>fDxcp#@<8taBhmP&^v%OCY)c z&ektY_5_`?T%IE*efnTlyjQ@)n#S6ig)W@xA?U+$hO~!mJlPGH!f-exge@J0tv(K# zMC0r52Aa{Q zX>Q8U>%GB$aKcpAjyizCRu0mY1G2dr*h*>3?egl*@$78d4=+lU1>)0H}eN`z)3VpG0nc?5f zxVd)?dyO{nGjYKT-~Iu9EJzoFf2_5&KIZeD?lny!^r>6;PN7Uec!DuAiK1D5p=|w! z``Ew2LhP)k!PMr=8{7`bSKxKRmHd_+H~9GjP7F()vb^`l2pWNEiWJZ2T=U+`iS&n*L|>bob0xVr~6o* zkV7LwLIp`YoO2l8uCkw%37~3pLa{XHNkm1;KcO2@*T%x*VXXvv=u8Uv%OoHYU@2s3 z(zJa=9CkDfQDB^!u$OKG`rTRw(7PO@_Xr+pr=!de00`>3Ha*Y=GAgI?i@yFeQ{8RM zS>aQm{hG_kRG%O{#%^0NJ|_+}Z-h_&IN*0JNx)GpDw%!q7chZ#(nB&*ZersxnZWbk zS55bS9&OQ}tF|{-87EgZFlfCwD;xE*sCsQFDh6sk(=L7d%E&n7I`?cGG zQ#p#;2w(TGO{#*IUUxp{MfCY9*vTk!0FQoNewj{{`gkY(m7J@5)vAel7pRP4dK7NO zht;so;^cv!CcfZ zh$JPiVO7~AKj5P^r6Q-j20laNWA+zQaOW;cUO4u1?ltQu5uGT2j0%8ys~P)!64=?X!zl71lW|*b7bX#NZ{@*sZh<0g;p)RxJ+wQ*=amj?t0YjFS zt{khsLc8Serg1@L{{X}4#A_ipHMz34r`_d2(@Y%+uO4ud7s*$$*Zb(};Oq;F|NHKh P|I1pI|KFcb{}%omWlRx4 literal 0 HcmV?d00001 diff --git a/hackathon_site/dashboard/frontend/src/assets/images/testImages/iUpI1hC.jpg b/hackathon_site/dashboard/frontend/src/assets/images/testImages/iUpI1hC.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=5eM5dRhjgkTcn{+Oo0v`HbjjgdW+dTkmxiTCD-2+=-KS!ef+G&=R*&7esL` zU8@X@D@T1$R{Y}F(nRzc)zG;G_k!O5&{5Mz;TtNUt^6~T^@%OK~jXIS7SEA@gIi5u8@LS9mj&q6Lqv7=WbmDjkICO%Mya9AO zso*#yZUBkq>Q79aD<@roq*nFr7MAojZ6OyC%AL9<2R?j~91dp_D=F-O(>|y|`+<%X zV8-^4jfeB>Nl2S8{?le!*(?7NCJ~ehsEG(T-Z4Bb=zO9h-Gk(&%q1dq1haBK?&VB| zfUcpE@S=<3qwBMw@u-ci-47YIn2nFaHWI AAOHXW literal 0 HcmV?d00001 diff --git a/hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.js b/hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.js new file mode 100644 index 000000000..097f26809 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.js @@ -0,0 +1,89 @@ +import React, { useEffect } from "react"; +import { connect } from "react-redux"; +import { push } from "connected-react-router"; +import LinearProgress from "@material-ui/core/LinearProgress"; + +import { userSelector, fetchUserData, userTypeSelector } from "slices/users/userSlice"; +import { displaySnackbar } from "slices/ui/uiSlice"; + +export const UnconnectedUserCheck = ({ + user, + userType, + fetchUserData, + push, + displaySnackbar, + PrimaryComponent, + SecondaryComponent, + accessType, + ...passThroughProps +}) => { + const isParticipantOnboarding = + (userType === "none" || userType === "participant") && accessType === "onboard"; + + useEffect(() => { + if (!user) { + fetchUserData(); + return; + } + + if (isParticipantOnboarding) { + return; + } + + if (userType === "none") { + push("/acknowledgement"); + return; + } + + if ( + !(accessType === "both" && userType !== "none") && + userType !== accessType + ) { + displaySnackbar({ + message: "You do not have permission to access this page", + options: { variant: "error" }, + }); + push("/404"); + } + }, [ + user, + userType, + accessType, + fetchUserData, + displaySnackbar, + push, + isParticipantOnboarding, + ]); + + return user ? ( + userType === "participant" || isParticipantOnboarding ? ( + + ) : userType === "admin" ? ( + SecondaryComponent === undefined ? ( + + ) : ( + + ) + ) : null + ) : ( + + ); +}; + +export const withUserCheck = (accessType, PrimaryComponent, SecondaryComponent) => { + const mapStateToProps = (state) => ({ + user: userSelector(state), + userType: userTypeSelector(state), + PrimaryComponent, + SecondaryComponent, + accessType, + }); + + return connect(mapStateToProps, { + fetchUserData, + displaySnackbar, + push, + })(UnconnectedUserCheck); +}; + +export default withUserCheck; diff --git a/hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.test.js b/hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.test.js new file mode 100644 index 000000000..77a6c71af --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/HOCs/withUserCheck/withUserCheck.test.js @@ -0,0 +1,243 @@ +import React from "react"; +import configureStore from "redux-mock-store"; +import thunk from "redux-thunk"; +import { push } from "connected-react-router"; + +import { render } from "testing/utils"; +import { mockAdminUser, mockUser } from "testing/mockData"; + +import { userReducerName, fetchUserData } from "slices/users/userSlice"; +import { displaySnackbar } from "slices/ui/uiSlice"; +import withUserCheck from "components/HOCs/withUserCheck/withUserCheck"; + +jest.mock("api/api"); // To make sure that fetchUserData() doesn't actually do anything + +const mockStore = configureStore([thunk]); + +describe("withAuthenticationCheck", () => { + const content = "Hello there"; + const ComponentToWrap = ({ children }) =>

; + + it("calls fetchUserData() if the user is missing and displays a loading bar", () => { + const WrappedComponent = withUserCheck("both", ComponentToWrap); + const mockState = { + [userReducerName]: { + userData: { + user: null, + }, + }, + }; + + const store = mockStore(mockState); + + const { queryByText, getByTestId } = render( + {content}, + { store } + ); + + expect(getByTestId("linear-progress")).toBeInTheDocument(); + expect(queryByText(content)).not.toBeInTheDocument(); + expect(store.getActions()).toEqual([ + expect.objectContaining({ + type: fetchUserData.pending.type, + }), + ]); + }); + + it("Displays a snackbar and pushes to the 404 page if participant user has no admin access", () => { + const WrappedComponent = withUserCheck("admin", ComponentToWrap); + // Used by displaySnackbar + jest.spyOn(global.Math, "random").mockReturnValue(0.45526621894095487); + + const mockState = { + [userReducerName]: { + userData: { + user: mockUser, + }, + }, + }; + + const store = mockStore(mockState); + + render({content}, { + store, + }); + + expect(store.getActions()).toEqual([ + displaySnackbar({ + message: "You do not have permission to access this page", + options: { variant: "error" }, + }), + push("/404"), + ]); + + global.Math.random.mockRestore(); + }); + + it("Redirects user to acknowledgement page if user type is none", () => { + const WrappedComponent = withUserCheck("both", ComponentToWrap); + // Used by displaySnackbar + jest.spyOn(global.Math, "random").mockReturnValue(0.45526621894095487); + + const mockState = { + [userReducerName]: { + userData: { + user: { + ...mockUser, + profile: null, + }, + }, + }, + }; + + const store = mockStore(mockState); + + const { queryByText } = render({content}, { + store, + }); + + expect(queryByText(content)).not.toBeInTheDocument(); + expect(store.getActions()).toEqual([push("/acknowledgement")]); + + global.Math.random.mockRestore(); + }); + + it("Allows none-type or participant users to access onboarding pages", () => { + const WrappedComponent = withUserCheck("onboard", ComponentToWrap); + const mockState = { + [userReducerName]: { + userData: { + user: mockUser, + }, + }, + }; + + const store = mockStore(mockState); + + const { getByText } = render({content}, { + store, + }); + + expect(getByText(content)).toBeInTheDocument(); + }); + + it("Prevents admins from accessing onboarding pages", () => { + const WrappedComponent = withUserCheck("onboard", ComponentToWrap); + const mockState = { + [userReducerName]: { + userData: { + user: mockAdminUser, + }, + }, + }; + + jest.spyOn(global.Math, "random").mockReturnValue(0.45526621894095487); + + const store = mockStore(mockState); + + render({content}, { + store, + }); + + expect(store.getActions()).toEqual([ + displaySnackbar({ + message: "You do not have permission to access this page", + options: { variant: "error" }, + }), + push("/404"), + ]); + + global.Math.random.mockRestore(); + }); + + it("Allow user to access page with admin permissions", () => { + const WrappedComponent = withUserCheck("admin", ComponentToWrap); + const mockState = { + [userReducerName]: { + userData: { + user: mockAdminUser, + }, + }, + }; + + const store = mockStore(mockState); + + const { getByText } = render({content}, { + store, + }); + + expect(getByText(content)).toBeInTheDocument(); + }); + + it("Display SecondaryComponent when user has admin access", () => { + const mockState = { + [userReducerName]: { + userData: { + user: mockAdminUser, + }, + }, + }; + + const store = mockStore(mockState); + + const SecondaryComponent = () =>
Secondary
; + const DoubleComponents = withUserCheck( + "admin", + ComponentToWrap, + SecondaryComponent + ); + const { getByText } = render({content}, { + store, + }); + + expect(getByText("Secondary")).toBeInTheDocument(); + }); + + it("Do not display SecondaryComponent when user only has profile", () => { + const mockState = { + [userReducerName]: { + userData: { + user: mockUser, + }, + }, + }; + + const store = mockStore(mockState); + + const SecondaryComponent = () =>
Secondary
; + const DoubleComponents = withUserCheck( + "participant", + ComponentToWrap, + SecondaryComponent + ); + const { queryByText, getByText } = render( + {content}, + { + store, + } + ); + + expect(queryByText("Secondary")).not.toBeInTheDocument(); + expect(getByText(content)).toBeInTheDocument(); + }); + + it("Renders the component with passed through props when the profile is set", () => { + const WrappedComponent = withUserCheck("both", ComponentToWrap); + const mockState = { + [userReducerName]: { + userData: { + user: mockUser, + }, + }, + }; + + const store = mockStore(mockState); + + const { getByText } = render({content}, { + store, + }); + + expect(getByText(content)).toBeInTheDocument(); + expect(store.getActions().length).toBe(0); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.module.scss b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.module.scss new file mode 100644 index 000000000..f95609e73 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.module.scss @@ -0,0 +1,72 @@ +@import "./../../../assets/abstracts/mixins"; +@import "./../../../assets/abstracts/variables"; + +.acknowledge { + display: flex; + flex-direction: column; + align-items: center; + + &Checkbox { + padding-bottom: 20px; + + // Override some MUI styles + > label { + display: flex !important; + align-items: flex-start !important; + + > span { + padding-top: 0 !important; + } + } + } + + &Modal { + display: flex; + align-items: center; + flex-direction: column; + position: absolute; + max-width: 1000px; + width: 100%; + background: color(white); + margin: 30px auto 0; + padding: 30px; + left: 0; + right: 0; + outline: none; + + li { + margin-bottom: 20px; + } + } + + &Link { + text-decoration: underline; + cursor: pointer; + } + + &Signature { + max-width: 400px; + margin: 10px 0 30px; + } + + @include responsive(md-down) { + &Checkbox { + padding-bottom: 10px; + } + } +} + +.paper { + margin-top: 30px; + padding: 50px; + display: flex; + flex-direction: column; + + @include responsive(sm-down) { + padding: 30px; + } +} + +.title { + margin-bottom: 30px; +} diff --git a/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.test.tsx b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.test.tsx new file mode 100644 index 000000000..f2f21e8e6 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.test.tsx @@ -0,0 +1,49 @@ +import React from "react"; +import { render } from "testing/utils"; +import { + EnhancedAcknowledgmentForm, + acknowledgementCheckboxes, +} from "./AcknowledgementForm"; +import { makeStore } from "slices/store"; + +describe("", () => { + it("Check if all the text is present", () => { + const { getByText, queryByText } = render( + , + { store: makeStore() } + ); + + expect(getByText("Continue")).toBeInTheDocument(); + expect(getByText("e-signature")).toBeInTheDocument(); + for (let c of acknowledgementCheckboxes) { + expect(queryByText(c.label)).toBeTruthy(); + } + expect( + getByText("Waiver of Liability and Hold Harmless Agreement") + ).toBeInTheDocument(); + expect(getByText(/IN SIGNING THIS RELEASE/i)).toBeInTheDocument(); + expect(getByText(/understand it and sign it voluntarily/i)).toBeInTheDocument(); + }); + + it("Doesn't call handleSubmit when the button is disabled because the form isn't filled", async () => { + const { findByText } = render( + , + { store: makeStore() } + ); + + const submitButton = await findByText("Continue"); + expect(submitButton.closest("button")).toBeDisabled(); + }); + + it("Displays a loading wheel on Continue button when loading", () => { + const { getByTestId, getByText } = render( + , + { store: makeStore() } + ); + + const button = getByText("Continue"); + + expect(getByTestId("circularProgress")).toBeInTheDocument(); + expect(button.closest("button")).toBeDisabled(); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.tsx b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.tsx new file mode 100644 index 000000000..f6d30acc2 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/AcknowledgementForm.tsx @@ -0,0 +1,211 @@ +import React from "react"; +import styles from "./AcknowledgementForm.module.scss"; +import Checkbox from "@material-ui/core/Checkbox/Checkbox"; +import Typography from "@material-ui/core/Typography/Typography"; +import TextField from "@material-ui/core/TextField/TextField"; +import FormControlLabel from "@material-ui/core/FormControlLabel/FormControlLabel"; +import Button from "@material-ui/core/Button/Button"; +import Modal from "@material-ui/core/Modal"; +import FormGroup from "@material-ui/core/FormGroup"; +import CircularProgress from "@material-ui/core/CircularProgress"; +import Waver from "components/acknowledgement/AcknowledgementForm/Waver"; +import { Formik, Field, FormikValues, FieldProps } from "formik"; +import * as Yup from "yup"; +import { Paper } from "@material-ui/core"; +import { useDispatch } from "react-redux"; +import { createProfile } from "slices/users/userSlice"; + +interface AcknowledgementFormValues { + eSignature: string; + acknowledgeRules: boolean[]; +} + +export const ERROR_MESSAGES = { + esignatureMissing: "e-signature is required", + acknowledgeRulesMissing: "All checkboxes are required", +}; + +const acknowledgeFormSchema = Yup.object().shape({ + eSignature: Yup.string().required(ERROR_MESSAGES.esignatureMissing), + acknowledgeRules: Yup.array() + .min(4) + .max(4) + .required(ERROR_MESSAGES.acknowledgeRulesMissing), +}); + +interface CheckboxData { + id: number; + label: string; +} + +export const acknowledgementCheckboxes: CheckboxData[] = [ + { + id: 1, + label: "I understand that making a request does not guarantee hardware. Hardware is given on a first-come-first-serve basis.", + }, + { + id: 2, + label: "Each member of the team must provide government-issued photo ID to check out components. ID will be returned when all components are returned.", + }, + { + id: 3, + label: "I cannot keep hardware/components lent out to me.", + }, + { + id: 4, + label: "I will be held accountable for damaged or lost hardware. The handling of each instance is case by case.", + }, +]; + +const CustomCheckboxGroup = ({ + field, + content, +}: FieldProps & { content: CheckboxData[] }) => ( + + {content.map((item, i) => ( +
+ } + label={item.label} + checked={field.value.includes(item.id.toString())} + key={i} + /> +
+ ))} +
+); + +interface AcknowledgementFormProps { + isLoading: boolean; + values: AcknowledgementFormValues; +} + +export const AcknowledgementForm = ({ + handleSubmit, + handleChange, + isLoading, + values: { eSignature, acknowledgeRules }, +}: FormikValues & AcknowledgementFormProps) => { + const [openWaverModal, setOpenWaverModal] = React.useState(false); + + return ( + <> + setOpenWaverModal(false)} + aria-labelledby="waver-modal-title" + aria-describedby="waver-modal-description" + > +
{Waver}
+
+
+ +
+ + IN SIGNING THIS RELEASE, I ACKNOWLEDGE AND REPRESENT THAT I have + read the foregoing   + setOpenWaverModal(true)} + > + Waiver of Liability and Hold Harmless Agreement + + , understand it and sign it voluntarily as my own free act and deed; + no oral representations, statements, or inducements, apart from the + foregoing written agreement, have been made; I am at least eighteen + (18) years of age and fully competent; and I execute this Release + for full, adequate and complete consideration fully intending to be + bound by same. + + + + + + ); +}; + +interface EnhancedAcknowledgementFormProps { + requestFailure?: boolean; + isLoading: boolean; +} + +export const EnhancedAcknowledgmentForm = ({ + requestFailure, + isLoading, +}: EnhancedAcknowledgementFormProps) => { + const dispatch = useDispatch(); + + const onSubmit = ({ eSignature, acknowledgeRules }: AcknowledgementFormValues) => { + const allChecked = acknowledgeRules.length === acknowledgementCheckboxes.length; + dispatch( + createProfile({ + e_signature: eSignature, + acknowledge_rules: allChecked, + }) + ); + }; + + const initialValues: AcknowledgementFormValues = { + eSignature: "", + acknowledgeRules: [], + }; + + return ( + + + ACKNOWLEDGEMENTS + + + {(formikProps) => ( + + )} + + + ); +}; + +export default EnhancedAcknowledgmentForm; diff --git a/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/Waver.tsx b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/Waver.tsx new file mode 100644 index 000000000..ca7e259de --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/acknowledgement/AcknowledgementForm/Waver.tsx @@ -0,0 +1,73 @@ +import React from "react"; +import Typography from "@material-ui/core/Typography/Typography"; +import { hackathonName } from "constants.js"; + +const Waver = ( + <> + + Waiver of Liability and Hold Harmless Agreement + +
+
    +
  1. + I hereby RELEASE, WAIVE, DISCHARGE, AND COVENANT NOT TO SUE   + {hackathonName} their officers, agents, or employees (hereinafter + referred to as RELEASEES) from any and all liability, claims, demands, + actions, and causes of action whatsoever arising out of or related to + any loss, damage, or injury, including death, that may be sustained by + me, or to any property belonging to me, while participating in such + activity, while in, on or upon the premises where the activities are + being conducted, REGARDLESS OF WHETHER SUCH LOSS IS CAUSED BY THE + NEGLIGENCE OF THE RELEASEES, or otherwise and regardless of whether such + liability arises in tort, contract, strict liability, or otherwise, to + the fullest extent allowed by law. +
  2. +
  3. + I am fully aware of the risks and hazards connected with the activities + of handling and operating the Hardware (defined below), and I am aware + that such activities include the risk of injury and even death, and I + hereby elect to voluntarily participate in said activities, knowing that + the activities may be hazardous to my property and me. I understand that + {hackathonName} does not require me to participate in this activity. I + voluntarily assume full responsibility for any risks of loss, property + damage, or personal injury, including death that may be sustained by me + or any loss or damage to property owned by me, as a result of being + engaged in such an activities, WHETHER CAUSED BY THE NEGLIGENCE OF + RELEASEES or otherwise, to the fullest extent allowed by law. +
  4. +
  5. + I further hereby AGREE TO INDEMNIFY AND HOLD HARMLESS the RELEASEES from + any loss, liability, damage, or costs, including court costs and + attorneys' fees that Releases may incur due to my participation in said + activities, WHETHER CAUSED BY NEGLIGENCE OF RELEASEES or otherwise, to + the fullest extent allowed by law. +
  6. +
  7. + It is my express intent that this Waiver and Hold Harmless Agreement + shall bind the members of my family and spouse, if I am alive, and my + heirs, assigns and personal representative, if I am deceased, and shall + be deemed as a RELEASE, WAIVER, DISCHARGE, AND COVENANT NOT TO SUE the + above-named RELEASEES. I hereby further agree that this Waiver of + Liability and Hold Harmless Agreement shall be construed in accordance + with the laws of the State of New York and that any mediation, suit, or + other proceeding must be filed or entered into only in New York and the + federal or state courts of New York. Any portion of this document deemed + unlawful or unenforceable is severable and shall be stricken without any + effect on the enforceability of the remaining provisions. +
  8. +
  9. + I acknowledge that all right, title, and interest in and to the + Hardware, at all times and for the duration of my use of the same, will + be held solely by {hackathonName}. Should the Hardware be damaged, lost, + or stolen while it is in my possession, I authorize {hackathonName} + to charge up to the full replacement value of the Hardware on the credit + card I provided to {hackathonName} when I checked out the Hardware. +
  10. +
  11. + The Hardware is the item(s) being checked out here. +
  12. +
+ +); + +export default Waver; diff --git a/hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.test.tsx b/hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.test.tsx new file mode 100644 index 000000000..ac5b0fa29 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.test.tsx @@ -0,0 +1,89 @@ +import React from "react"; +import { render, fireEvent } from "testing/utils"; +import { UserAcceptanceMessage } from "./UserAcceptanceStatus"; +import { hackathonName } from "constants.js"; + +const handleGetStarted = jest.fn(); + +describe("", () => { + it("Shows correct message for Acceptance status and calls handleGetStarted function", () => { + const { getByText } = render( + + ); + + expect( + getByText(`Congratulations! You've been accepted to ${hackathonName}`) + ).toBeInTheDocument(); + expect( + getByText("Ready to prepare for the hackathon and order some hardware?") + ); + + const getStartedButton = getByText(/get started/i).closest("button"); + expect(getStartedButton).toBeInTheDocument(); + if (getStartedButton) fireEvent.click(getStartedButton); + expect(handleGetStarted).toHaveBeenCalled(); + }); + + it("Shows correct message for Waitlisted status", () => { + const { getByText, queryByText } = render( + + ); + + expect( + getByText( + `Thank you for applying to ${hackathonName} but you have been waitlisted and cannot use the Hardware Signout Site for now.` + ) + ).toBeInTheDocument(); + + const getStartedButton = queryByText(/get started/i); + expect(getStartedButton).not.toBeInTheDocument(); + + const dashboardLink = getByText(/dashboard/i); + fireEvent.click(dashboardLink); + }); + + it("Shows correct message for Rejected status", () => { + const { getByText, queryByText } = render( + + ); + + expect( + getByText( + `Thank you for applying to ${hackathonName} but you have not been invited to participate this year.` + ) + ).toBeInTheDocument(); + + const getStartedButton = queryByText(/get started/i); + expect(getStartedButton).not.toBeInTheDocument(); + + const dashboardLink = getByText(/dashboard/i); + fireEvent.click(dashboardLink); + }); + + it("Shows correct message for Incomplete status", () => { + const { getByText, queryByText } = render( + + ); + + expect( + getByText( + `Thank you for signing up for ${hackathonName} but you don't seem to have finished your application or your application hasn't been reviewed yet.` + ) + ).toBeInTheDocument(); + expect(getByText(/please finish your application/i)).toBeInTheDocument(); + const getStartedButton = queryByText(/get started/i); + expect(getStartedButton).not.toBeInTheDocument(); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.tsx b/hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.tsx new file mode 100644 index 000000000..7fff34c51 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/acknowledgement/UserAcceptanceStatus/UserAcceptanceStatus.tsx @@ -0,0 +1,120 @@ +import React, { ReactElement } from "react"; +import { Box, Button, Divider, Grid, Link, Typography } from "@material-ui/core"; +import AlertBox from "components/general/AlertBox/AlertBox"; +import { hackathonName } from "constants.js"; + +export const UserAcceptanceMessage = ({ + status, + handleGetStarted, +}: { + status: "Accepted" | "Waitlisted" | "Rejected" | "Incomplete"; + handleGetStarted(): any; +}) => { + const ACCEPTANCE_MESSAGES: { + [key: string]: { + title: string; + alertColor: "error" | "info" | "success" | "warning"; + actionMessage: ReactElement; + }; + } = Object.freeze({ + Accepted: { + title: `Congratulations! You've been accepted to ${hackathonName}`, + alertColor: "success", + actionMessage: ( + <> + + Ready to prepare for the hackathon and order some hardware? + + + + + + ), + }, + Waitlisted: { + title: `Thank you for applying to ${hackathonName} but you have been waitlisted and cannot use the Hardware Signout Site for now.`, + alertColor: "warning", + actionMessage: ( + + Keep an eye out for your application status changes on your{" "} + + Dashboard + + + ), + }, + Rejected: { + title: `Thank you for applying to ${hackathonName} but you have not been invited to participate this year.`, + alertColor: "error", + actionMessage: ( + + We still encourage you to apply for {hackathonName} next year! Keep + an eye out for your application status changes on your{" "} + + Dashboard + + + ), + }, + Incomplete: { + title: `Thank you for signing up for ${hackathonName} but you don't seem to have finished your application or your application hasn't been reviewed yet.`, + alertColor: "info", + actionMessage: ( + + Please finish your application{" "} + + here + {" "} + and view your application status{" "} + + here + + . + + ), + }, + }); + return ( +
+ {ACCEPTANCE_MESSAGES[status].title} + + + + + + + {ACCEPTANCE_MESSAGES[status].actionMessage} +
+ ); +}; + +export const UserHasBeenGrantedAccessMessage = () => ( + <> + + You have already been granted permissions to access the Hardware Signout + Site. + + + + You can access your dashboard here + + +); diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.module.scss b/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.module.scss new file mode 100644 index 000000000..89db81da5 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.module.scss @@ -0,0 +1,44 @@ +@import "./../../../assets/abstracts/mixins"; +@import "./../../../assets/abstracts/variables"; + +.Cart { + display: flex; + background-color: color(backgroundC); + + &Pic { + height: 90px; + width: 90px; + filter: drop-shadow(0px 2px 2px #ddd); + margin-bottom: 5px; + } + + &Name { + color: color(font); + } + + &Error { + color: color(secondary); + padding-top: 0px; + } + + &Parts { + @include flexPosition($dir: column); + width: 100%; + padding-left: 30px; + padding-top: 10px; + } + + &FormControl { + width: 98px; + background-color: color(white); + margin-top: 10px; + } + + &Action { + display: inline; + } + + &Close { + color: color(grey); + } +} diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.test.tsx b/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.test.tsx new file mode 100644 index 000000000..48d7c9fb2 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.test.tsx @@ -0,0 +1,61 @@ +import React from "react"; +import CartCard from "components/cart/CartCard/CartCard"; + +import { render, makeStoreWithEntities, waitFor } from "testing/utils"; +import { mockHardware } from "testing/mockData"; + +describe("", () => { + it("Selects hardware from the store and renders", async () => { + const store = makeStoreWithEntities({ hardware: mockHardware }); + + const item = mockHardware[0]; + const quantity = item.quantity_remaining - 3; + + const { getByText, getByAltText } = render( + , + { store } + ); + + await waitFor(() => { + expect(getByText(item.name)).toBeInTheDocument(); + expect(getByAltText(item.name)).toBeInTheDocument(); + expect(getByText(quantity.toString())).toBeInTheDocument(); + }); + }); + + test("Out of Stock", async () => { + const hardware = [{ ...mockHardware[0] }, { ...mockHardware[1] }]; + hardware[0].quantity_remaining = 0; + const store = makeStoreWithEntities({ hardware }); + + const item = hardware[0]; + const quantity = mockHardware[0].quantity_remaining - 1; + + const { queryByText } = render( + , + { store } + ); + + await waitFor(() => { + expect(queryByText(quantity)).not.toBeInTheDocument(); + expect(queryByText(/currently unavailable/i)).toBeInTheDocument(); + }); + }); + + test("Error message", async () => { + const error = "Maximum allowed limit exceeded"; + const store = makeStoreWithEntities({ hardware: mockHardware }); + + const item = mockHardware[0]; + const quantity = item.quantity_remaining - 1; + + const { getByText } = render( + , + { store } + ); + + await waitFor(() => { + expect(getByText(error)).toBeInTheDocument(); + }); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.tsx b/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.tsx new file mode 100644 index 000000000..68a26c34c --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartCard/CartCard.tsx @@ -0,0 +1,174 @@ +import React, { ChangeEvent } from "react"; +import styles from "./CartCard.module.scss"; +import Typography from "@material-ui/core/Typography"; +import Card from "@material-ui/core/Card"; +import CardMedia from "@material-ui/core/CardMedia"; +import CardContent from "@material-ui/core/CardContent"; +import CardActions from "@material-ui/core/CardActions"; +import Select, { SelectProps } from "@material-ui/core/Select"; +import FormControl from "@material-ui/core/FormControl"; +import InputLabel from "@material-ui/core/InputLabel"; +import MenuItem from "@material-ui/core/MenuItem"; +import IconButton from "@material-ui/core/IconButton"; +import CloseIcon from "@material-ui/icons/Close"; + +import { useDispatch, useSelector } from "react-redux"; +import { RootState } from "slices/store"; +import { hardwareSelectors } from "slices/hardware/hardwareSlice"; +import { removeFromCart, updateCart } from "slices/hardware/cartSlice"; +import { selectCategoriesByIds } from "slices/hardware/categorySlice"; +import hardwareImagePlaceholder from "assets/images/placeholders/no-hardware-image.svg"; + +const makeSelections = (quantity_remaining: number) => { + const items = []; + + for (let i = 1; i < quantity_remaining + 1; i++) { + items.push( + + {i} + + ); + } + + return items; +}; + +type SelectChangeEvent = ChangeEvent<{ value: string }>; + +interface QuantitySelectorProps { + quantity_remaining: number; + handleChange: (e: SelectChangeEvent) => void; + numInCart: number; + maxPerTeam: number | null; +} + +const QuantitySelector = ({ + quantity_remaining, + numInCart, + handleChange, + maxPerTeam, +}: QuantitySelectorProps) => { + const dropdownNum = + maxPerTeam !== null + ? Math.min(quantity_remaining, maxPerTeam) + : quantity_remaining; + + if (!dropdownNum) { + return ( + + Currently unavailable + + ); + } + + return ( + + + Quantity + + + + ); +}; + +interface CartCardProps { + hardware_id: number; + quantity: number; + error?: string; +} + +export const CartCard = ({ hardware_id, quantity, error }: CartCardProps) => { + const hardware = useSelector((state: RootState) => + hardwareSelectors.selectById(state, hardware_id) + ); + + let maxPerTeam: number | null = null; + + const categories = useSelector((state: RootState) => + selectCategoriesByIds(state, hardware?.categories || []) + ); + + if (categories.length > 0) { + maxPerTeam = hardware?.max_per_team ?? null; + for (const category of categories) { + if (category?.max_per_team !== undefined) { + maxPerTeam = + maxPerTeam === null + ? category.max_per_team + : Math.min(category.max_per_team, maxPerTeam); + } + } + } + + const dispatch = useDispatch(); + + const handleChange = (event: ChangeEvent<{ name?: string; value: string }>) => { + dispatch( + updateCart({ + id: hardware_id, + changes: { quantity: parseInt(event.target.value) }, + }) + ); + }; + + const handleRemove = (id: number) => { + dispatch(removeFromCart(id)); + }; + + return hardware ? ( + + + + + {hardware.name} + + {error && ( + + {error} + + )} + + + + { + handleRemove(hardware_id); + }} + data-testid="remove-cart-item" + > + + + + + ) : null; +}; + +export default CartCard; diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.test.tsx b/hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.test.tsx new file mode 100644 index 000000000..6ba18b9cb --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.test.tsx @@ -0,0 +1,90 @@ +import React from "react"; +import { makeStoreWithEntities, render } from "testing/utils"; +import CartErrorBox from "./CartErrorBox"; +import { + mockCartItems, + mockHardware, + mockLargeTeam, + mockTeam, + mockValidTeam, +} from "testing/mockData"; +import { CartItem } from "api/types"; + +describe("Cart Error Box displays correctly with the right information", () => { + const makeCartStoreWithEntities = ( + error?: string | string[], + cartItems?: CartItem[] + ) => { + return makeStoreWithEntities({ + cartState: { + isLoading: false, + error: error ?? null, + fulfillmentError: null, + }, + cartItems: cartItems ?? mockCartItems, + }); + }; + + it("Shows internal server error on API failure", async () => { + const store = makeCartStoreWithEntities("An Internal server error occurred."); + + const { getByText } = render(, { + store, + }); + + getByText(/an internal server error occurred/i); + }); + + it("Shows item limit reached error on order submission failure", async () => { + const store = makeCartStoreWithEntities([ + "Limit for Category Sensor is reached", + ]); + + const { getByText } = render(, { + store, + }); + + getByText(/unable to submit your order because:/i); + getByText(/limit for category sensor is reached/i); + }); + + it("Shows item limit reached error on order submission failure", async () => { + const store = makeCartStoreWithEntities("Internal error has occurred", []); + + const { queryByText } = render(, { + store, + }); + + expect(queryByText(/internal error has occurred/i)).not.toBeInTheDocument(); + }); + + it("Shows the correct message and title if team size is too small", async () => { + const store = makeStoreWithEntities({ + hardware: mockHardware, + cartItems: mockCartItems, + team: { team: mockTeam }, + }); + + const { queryByText } = render(, { + store, + }); + + expect(queryByText(/There are too few people/i)).toBeInTheDocument(); + expect(queryByText(/Team Size Too Small/i)).toBeInTheDocument(); + }); + + it("Shows the correct message and title if team size is too large", async () => { + const store = makeStoreWithEntities({ + hardware: mockHardware, + cartItems: mockCartItems, + team: { team: mockLargeTeam }, + }); + + const { queryByText } = render(, { + store, + }); + + expect(queryByText(/There are too many people/i)).toBeInTheDocument(); + expect(queryByText(/Team Size Too Large/i)).toBeInTheDocument(); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.tsx b/hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.tsx new file mode 100644 index 000000000..410618f2e --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartErrorBox/CartErrorBox.tsx @@ -0,0 +1,58 @@ +import React from "react"; +import { useSelector } from "react-redux"; +import { cartTotalSelector, errorSelector } from "slices/hardware/cartSlice"; +import Grid from "@material-ui/core/Grid"; +import { teamSizeSelector } from "slices/event/teamSlice"; +import { maxTeamSize, minTeamSize } from "constants.js"; +import AlertBox from "components/general/AlertBox/AlertBox"; +import { Link } from "@material-ui/core"; +import DateRestrictionAlert from "components/general/DateRestrictionAlert/DateRestrictionAlert"; +import ProjectDescriptionAlert from "components/teamDetail/ProjectDescription/ProjectDescriptionAlert"; + +const CartErrorBox = () => { + const cartQuantity = useSelector(cartTotalSelector); + const orderSubmissionError = useSelector(errorSelector); + const teamSize = useSelector(teamSizeSelector); + const teamSizeTooLarge = teamSize > maxTeamSize; + const teamSizeTooSmall = teamSize < minTeamSize; + const errorMessage = teamSizeTooLarge ? "many" : teamSizeTooSmall ? "few" : ""; + const errorTitle = teamSizeTooLarge ? "Large" : teamSizeTooSmall ? "Small" : ""; + + return ( + + + + + + {orderSubmissionError && cartQuantity > 0 && ( + + )} + {(teamSizeTooLarge || teamSizeTooSmall) && ( + + {`There are too ${errorMessage} people on your team to place an + order. We only allow teams between ${minTeamSize} to ${maxTeamSize} + people to checkout items. To join or leave a team please + go to your `} + + {"Dashboard"} + + {` and click the EDIT + button under your team.`} + + } + type="warning" + title={`Team Size Too ${errorTitle}!`} + /> + )} + + + ); +}; + +export default CartErrorBox; diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.module.scss b/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.module.scss new file mode 100644 index 000000000..10750cad7 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.module.scss @@ -0,0 +1,14 @@ +@import "./../../../assets/abstracts/mixins"; +@import "./../../../assets/abstracts/variables"; + +.qty { + @include flexPosition($jusCon: space-between); + padding: 10px 20px; +} +.msg { + padding: 20px; +} +.btn { + width: calc(100% - 40px); + margin: 0 20px; +} diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.test.tsx b/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.test.tsx new file mode 100644 index 000000000..64b8b92ba --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.test.tsx @@ -0,0 +1,161 @@ +import React from "react"; +import CartSummary from "components/cart/CartSummary/CartSummary"; +import { + cartQuantity, + mockCartItems, + mockHardware, + mockValidTeam, + mockTeam, +} from "testing/mockData"; +import store from "slices/store"; +import { Provider } from "react-redux"; +import { + render, + waitFor, + fireEvent, + makeStoreWithEntities, + promiseResolveWithDelay, + when, +} from "testing/utils"; +import { get, post } from "api/api"; +import Cart from "pages/Cart/Cart"; + +jest.mock("api/api", () => ({ + ...jest.requireActual("api/api"), + post: jest.fn(), +})); + +const mockedPost = post as jest.MockedFunction; + +const mockHardwareSignOutStartDate = jest.fn(); +const mockHardwareSignOutEndDate = jest.fn(); +jest.mock("constants.js", () => ({ + get hardwareSignOutStartDate() { + return mockHardwareSignOutStartDate(); + }, + get hardwareSignOutEndDate() { + return mockHardwareSignOutEndDate(); + }, + get minTeamSize() { + return 2; + }, + get maxTeamSize() { + return 4; + }, +})); + +export const mockHardwareSignOutDates = ( + numDaysRelativeToStart?: number, + numDaysRelativeToEnd?: number +): { + start: Date; + end: Date; +} => { + const currentDate = new Date(); + const start = new Date(); + const end = new Date(); + start.setDate(currentDate.getDate() + (numDaysRelativeToStart ?? -1)); + end.setDate(currentDate.getDate() + (numDaysRelativeToEnd ?? 1)); + mockHardwareSignOutStartDate.mockReturnValue(start); + mockHardwareSignOutEndDate.mockReturnValue(end); + return { start, end }; +}; + +describe("Render cartQuantity", () => { + it(`Renders correctly when it reads the number ${cartQuantity}`, async () => { + const { getByText } = render( + + + + ); + await waitFor(() => { + expect(getByText(cartQuantity.toString())).toBeInTheDocument(); + }); + }); + it("Renders loading icon and disables submit button on submission", async () => { + mockHardwareSignOutDates(-5, 5); + when(mockedPost) + .calledWith("/api/hardware/orders/") + .mockReturnValue( + promiseResolveWithDelay( + { + config: {}, + headers: {}, + status: 200, + statusText: "OK", + data: { + order_id: 1, + hardware: [ + { + hardware_id: 1, + quantity_fulfilled: 3, + }, + { + hardware_id: 2, + quantity_fulfilled: 1, + }, + { + hardware_id: 3, + quantity_fulfilled: 2, + }, + ], + errors: [], + }, + }, + 500 + ) + ); + + const store = makeStoreWithEntities({ + hardware: mockHardware, + cartItems: mockCartItems, + team: { team: mockValidTeam }, + }); + + const { getByText, getByTestId, queryByTestId } = render(, { + store, + }); + + fireEvent.click(getByText(/submit order/i)); + + await waitFor(() => { + expect(getByTestId("order-loading-icon")).toBeInTheDocument(); + expect(getByTestId("submit-order-button")).toBeDisabled(); + }); + + await waitFor(() => { + expect(queryByTestId("order-loading-icon")).not.toBeInTheDocument(); + mockCartItems.forEach((cartItem) => { + expect( + queryByTestId("cart-item-" + cartItem.hardware_id.toString()) + ).not.toBeInTheDocument(); + }); + }); + }); + it("Disables the submit button if team size is invalid", async () => { + mockHardwareSignOutDates(-5, 5); + const store = makeStoreWithEntities({ + hardware: mockHardware, + cartItems: mockCartItems, + team: { team: mockTeam }, + }); + + const { getByTestId } = render(, { store }); + + const submitOrderBtn = getByTestId("submit-order-button"); + expect(submitOrderBtn).toBeDisabled(); + }); + it("Disables the submit button if current date is not within HSS period", async () => { + mockHardwareSignOutDates(1, 5); + const store = makeStoreWithEntities({ + hardware: mockHardware, + cartItems: mockCartItems, + team: { team: mockValidTeam }, + }); + + const { getByTestId } = render(, { store }); + + const submitOrderBtn = getByTestId("submit-order-button"); + expect(submitOrderBtn).toBeDisabled(); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.tsx b/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.tsx new file mode 100644 index 000000000..29db599af --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/cart/CartSummary/CartSummary.tsx @@ -0,0 +1,94 @@ +import React from "react"; +import styles from "./CartSummary.module.scss"; +import Container from "@material-ui/core/Container"; +import Typography from "@material-ui/core/Typography"; +import Button from "@material-ui/core/Button"; +import TitledPaper from "components/general/TitledPaper/TitledPaper"; +import { useDispatch, useSelector } from "react-redux"; +import { + cartTotalSelector, + isLoadingSelector, + submitOrder, +} from "slices/hardware/cartSlice"; +import CircularProgress from "@material-ui/core/CircularProgress"; +import { teamSizeSelector } from "slices/event/teamSlice"; +import { isTestUserSelector } from "slices/users/userSlice"; +import { projectDescriptionSelector } from "slices/event/teamDetailSlice"; +import { displaySnackbar } from "slices/ui/uiSlice"; +import { + hardwareSignOutEndDate, + hardwareSignOutStartDate, + maxTeamSize, + minTeamSize, + minProjectDescriptionLength, +} from "constants.js"; + +const CartSummary = () => { + const isTestUser = useSelector(isTestUserSelector); + const cartQuantity = useSelector(cartTotalSelector); + const cartOrderLoading = useSelector(isLoadingSelector); + const teamSize = useSelector(teamSizeSelector); + const projectDescription = useSelector(projectDescriptionSelector); + const teamSizeValid = teamSize >= minTeamSize && teamSize <= maxTeamSize; + const dispatch = useDispatch(); + const onSubmit = () => { + if (cartQuantity > 0) { + if ( + projectDescription && + projectDescription.length < minProjectDescriptionLength + ) { + dispatch( + displaySnackbar({ + message: "Please provide a more detailed project description.", + options: { + variant: "error", + }, + }) + ); + } else { + dispatch(submitOrder()); + } + } + }; + const currentDateTime = new Date(); + const isOutsideSignOutPeriod = + currentDateTime < hardwareSignOutStartDate || + currentDateTime > hardwareSignOutEndDate; + + return ( + + + Quantity + + {cartQuantity} + + + + Your entire team's order is here. Ensure that you have the correct + number of hardware items before submitting. + + + + ); +}; + +export default CartSummary; diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.js b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.js new file mode 100644 index 000000000..49a4eb0bc --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.js @@ -0,0 +1,34 @@ +import React from "react"; +import styles from "./DashCard.module.scss"; +import Container from "@material-ui/core/Container"; +import Typography from "@material-ui/core/Typography"; +import Link from "@material-ui/core/Link"; +import TitledPaper from "components/general/TitledPaper/TitledPaper"; + +const CardItem = ({ name, icon }) => ( + + + {name} + + {icon} + +); + +const DashCard = ({ title, content }) => ( + + {content.map((listItem, i) => ( + + + + ))} + +); + +export default DashCard; diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.module.scss b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.module.scss new file mode 100644 index 000000000..4a9a0ee27 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.module.scss @@ -0,0 +1,18 @@ +@import "./../../../assets/abstracts/mixins"; +@import "./../../../assets/abstracts/variables"; + +.items { + @include flexPosition($jusCon: space-between, $alIte: center); + padding-top: 10px; + padding-bottom: 10px; + &:hover { + background-color: color(light2); + } + svg { + margin-left: 15px; + } +} + +.paper::-webkit-scrollbar { + display: none; +} diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.test.js b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.test.js new file mode 100644 index 000000000..6ff57086f --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/DashCard.test.js @@ -0,0 +1,24 @@ +import React from "react"; +import DashCard from "./DashCard"; +import { render } from "@testing-library/react"; +import "@testing-library/jest-dom/extend-expect"; + +describe("DashCard", () => { + const testTitle = "any string"; + const testContent = [ + { + name: "testing", + url: "https://jestjs.io/docs/en/getting-started", + icon: null, + }, + { name: "testing", url: "youtube", icon: null }, + ]; + + test("render", () => { + const { asFragment } = render( + + ); + + expect(asFragment()).toMatchSnapshot(); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/__snapshots__/DashCard.test.js.snap b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/__snapshots__/DashCard.test.js.snap new file mode 100644 index 000000000..da7988360 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/DashCard/__snapshots__/DashCard.test.js.snap @@ -0,0 +1,48 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`DashCard render 1`] = ` + +

+ any string +

+
+ +`; diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.module.scss b/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.module.scss new file mode 100644 index 000000000..ac770ef1a --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.module.scss @@ -0,0 +1,65 @@ +@import "./../../../assets/abstracts/mixins"; + +.heading { + margin-top: 20px; +} + +.teamForm { + margin-top: 10px; + padding-bottom: 10px; +} + +.teamButton { + margin-top: 10px; +} + +.copyButton { + height: 50%; +} + +.alertBox { + margin-top: 10px; + width: 70%; + @include responsive(sm-down) { + width: 100%; + } +} + +.editTeamModal { + height: 100%; + width: 500px; + @include flexPosition($jusCon: space-between, $alIte: flex-start, $dir: column); + + &Div { + width: 100%; + } + + @include responsive(sm-down) { + width: 100%; + } +} + +.form { + width: 100%; + + &Control { + margin: 10px 0; + width: 120px; + } + + &Button { + background-color: color(light2); + width: calc(100% + 100px); + margin-left: -50px; + margin-bottom: -45px; + padding: 30px 50px; + @include flexPosition($jusCon: space-between, $alIte: flex-end, $dir: column); + + @include responsive(sm-down) { + width: calc(100% + 60px); + margin-left: -30px; + margin-bottom: -15px; + padding: 20px 30px; + } + } +} diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.test.tsx b/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.test.tsx new file mode 100644 index 000000000..b2cb2f20f --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.test.tsx @@ -0,0 +1,169 @@ +import React from "react"; +import EditTeam from "components/dashboard/EditTeam/EditTeam"; +import { render, fireEvent, makeStoreWithEntities } from "testing/utils"; +import { act, getByLabelText, getByTestId } from "@testing-library/react"; +import { waitFor } from "../../../testing/utils"; + +Object.assign(navigator, { + clipboard: { + writeText: () => {}, + }, +}); + +describe("", () => { + test("The team code is correctly displayed", async () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isEditTeamVisible: true, + }, + }, + }); + + const { getByText } = render( + , + { + store, + } + ); + + // Check if the main section, detailInfoSection, and add to cart section works + expect(getByText("ABCDE")).toBeInTheDocument(); + }); + + test("Buttons should be disabled if the user doesn't type anything", async () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isEditTeamVisible: true, + }, + }, + }); + const { getByText, getByTestId } = render( + , + { + store, + } + ); + + const button_submit = getByText("SUBMIT").closest("button"); + expect(button_submit).toBeDisabled(); + }); + + test("Buttons should be disabled if the user type their current team code", async () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isEditTeamVisible: true, + }, + }, + }); + const { getByText } = render( + , + { + store, + } + ); + + const input_field = document.querySelectorAll("[name=teamCode]")[0]; + fireEvent.change(input_field, { target: { value: "ABCDE" } }); + + const button_submit = getByText("SUBMIT").closest("button"); + expect(button_submit).toBeDisabled(); + }); + + test("If the team code is not found", async () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isEditTeamVisible: true, + }, + }, + }); + const { getByText } = render( + , + { + store, + } + ); + + const input_field = document.querySelectorAll("[name=teamCode]")[0]; + fireEvent.change(input_field, { target: { value: "noutfound" } }); + + const button_submit = getByText("SUBMIT"); + fireEvent.click(button_submit); + + waitFor(() => { + getByText(/Failed to join the team noutfound: Error Not Found/i); + }); + }); + + test("When user want to leave the team, and the team has order, then the request should be rejected", async () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isEditTeamVisible: true, + }, + }, + }); + const { getByText } = render( + , + { + store, + } + ); + + const button_submit = getByText("LEAVE TEAM"); + fireEvent.click(button_submit); + + waitFor(() => { + getByText( + /Failed to leave the team: Error Cannot leave a team with already processed orders/i + ); + }); + }); + + test("Leave team successful", async () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isEditTeamVisible: true, + }, + }, + }); + const { getByText } = render( + , + { + store, + } + ); + + const button_submit = getByText("LEAVE TEAM"); + fireEvent.click(button_submit); + + waitFor(() => { + getByText(/You have left the team./i); + }); + }); + + test("Copy team code to clipboard", async () => { + // inside unit test + jest.spyOn(navigator.clipboard, "writeText"); + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isEditTeamVisible: true, + }, + }, + }); + const { getByText } = render( + , + { + store, + } + ); + const copy_button = getByText("Copy"); + fireEvent.click(copy_button); + expect(navigator.clipboard.writeText).toHaveBeenCalledWith("ABCDE"); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.tsx b/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.tsx new file mode 100644 index 000000000..c3e9b6fb1 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/EditTeam/EditTeam.tsx @@ -0,0 +1,174 @@ +import React from "react"; +import Typography from "@material-ui/core/Typography"; +import Button from "@material-ui/core/Button"; +import TextField from "@material-ui/core/TextField"; +import Alert from "@material-ui/lab/Alert"; +import LinearProgress from "@material-ui/core/LinearProgress"; + +import FileCopyIcon from "@material-ui/icons/FileCopy"; +import SideSheetRight from "components/general/SideSheetRight/SideSheetRight"; +import { Formik, FormikValues } from "formik"; + +import styles from "./EditTeam.module.scss"; +import { isTeamModalVisibleSelector, closeTeamModalItem } from "slices/ui/uiSlice"; +import { useDispatch, useSelector } from "react-redux"; +import { Grid } from "@material-ui/core"; +import { maxTeamSize } from "constants.js"; +import { + isJoinLoadingSelector, + isLeaveTeamLoadingSelector, + joinTeam, + leaveTeam, +} from "slices/event/teamSlice"; + +interface TeamModalProps { + teamCode: string; + canChangeTeam: boolean; + teamSize: number; +} + +const TeamInfoBlock = ({ teamCode, teamSize }: TeamModalProps) => { + return ( + + Team code: + {teamCode} + +

There are {maxTeamSize - teamSize} spots remaining on your team.

+
+ ); +}; + +const TeamChangeForm = ({ canChangeTeam, teamCode }: TeamModalProps) => { + const dispatch = useDispatch(); + const isJoinTeamLoading = useSelector(isJoinLoadingSelector); + + const handleSubmitExternal = (values: FormikValues) => { + dispatch(joinTeam(values.teamCode)); + }; + + return ( + <> + + Join a different team + + + {({ errors, handleSubmit, handleChange, values }) => ( +
+ + + + + + + + +
+ )} +
+ + ); +}; + +export const EditTeam = ({ teamCode, canChangeTeam, teamSize }: TeamModalProps) => { + const dispatch = useDispatch(); + const closeTeamModal = () => dispatch(closeTeamModalItem()); + const isTeamModalVisible: boolean = useSelector(isTeamModalVisibleSelector); + const handleLeaveTeam = () => dispatch(leaveTeam()); + const isLeaveTeamLoading = useSelector(isLeaveTeamLoadingSelector); + const isJoinTeamLoading = useSelector(isJoinLoadingSelector); + + return ( + +
+
+ + Create a team with up to 4 people. Share your code with others + or join another team. + + + Note: You do not have to stay in the same team you applied with. + + + + Your team will be locked after you make your first order on the + day of the event. After that, in order to leave the team or add + new members, please speak to the tech team at the tech station. + + + + {isJoinTeamLoading || + (isLeaveTeamLoading && ( + + ))} +
+
+ +
+
+
+ ); +}; + +export default EditTeam; diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.test.tsx b/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.test.tsx new file mode 100644 index 000000000..aa4fcab16 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.test.tsx @@ -0,0 +1,433 @@ +import React from "react"; +import { fireEvent, makeStoreWithEntities, render } from "testing/utils"; +import { + PendingTables, + CheckedOutTables, + ReturnedTable, +} from "components/dashboard/ItemTable/ItemTable"; +import { + mockPendingOrders, + mockCheckedOutOrders, + mockHardware, + mockPendingOrdersInTable, + mockCheckedOutOrdersInTable, + mockReturnedOrdersInTable, +} from "testing/mockData"; +import { ReturnOrderInTable } from "api/types"; +import { getAllByText } from "@testing-library/react"; + +describe("", () => { + it("Shows pending items and status chip", () => { + const store = makeStoreWithEntities({ + pendingOrders: mockPendingOrdersInTable, + }); + const { getByText, queryByText } = render(, { store }); + expect(getByText(/pending orders/i)).toBeInTheDocument(); + expect(queryByText("In progress")).toBeInTheDocument(); + mockPendingOrdersInTable.map(({ id }) => { + expect(getByText(`Order #${id}`)).toBeInTheDocument(); + }); + }); + + it("Hides the pending table when isVisible is false", () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isPendingTableVisible: false, + }, + }, + pendingOrders: mockPendingOrdersInTable, + }); + const { getByText, queryByText } = render(, { store }); + + expect(getByText(/pending orders/i)).toBeInTheDocument(); + expect(getByText(/show all/i)).toBeInTheDocument(); + mockPendingOrders.map(({ id }) => { + expect(queryByText(`Order #${id}`)).toBeNull(); + }); + }); + + it("Doesn't show when there are no pending orders", () => { + const { queryByText } = render(); + expect(queryByText("Pending Orders")).toBeNull(); + }); + + it("PendingTable dispatches an action to toggle visibility when button clicked", async () => { + const store = makeStoreWithEntities({ + pendingOrders: mockPendingOrdersInTable, + }); + const { getByText, queryByText } = render(, { store }); + const button = getByText(/hide all/i); + + fireEvent.click(button); + expect(getByText(/show all/i)).toBeInTheDocument(); + mockPendingOrders.map(({ id }) => { + expect(queryByText(`Order #${id}`)).toBeNull(); + }); + }); + + it("PendingTable hides cancel order button when hide all button is enabled", async () => { + const store = makeStoreWithEntities({ + pendingOrders: mockPendingOrdersInTable, + }); + const { getByText, queryByText } = render(, { + store, + }); + const button = getByText(/hide all/i); + fireEvent.click(button); + expect(getByText(/show all/i)).toBeInTheDocument(); + expect(queryByText(/cancel order/i)).toBeNull(); + }); + + it("cancel order modal shows when cancel order button is clicked", () => { + const store = makeStoreWithEntities({ + pendingOrders: mockPendingOrdersInTable, + }); + const { getByText, getAllByText } = render(, { + store, + }); + const button = getByText(/cancel order/i); + fireEvent.click(button); + + const cancelOrderModalMessage = getAllByText( + /Are you sure you want to cancel this order/i + ); + expect(cancelOrderModalMessage[0]).toBeInTheDocument(); + }); + + it("cancel order modal disappears when modal is dismissed", () => { + const store = makeStoreWithEntities({ + pendingOrders: mockPendingOrdersInTable, + }); + const { getByText, getAllByText } = render(, { + store, + }); + const button = getByText(/cancel order/i); + fireEvent.click(button); + + const cancelOrderModalMessage = getAllByText( + /Are you sure you want to cancel this order/i + ); + expect(cancelOrderModalMessage[0]).toBeInTheDocument(); + + const dismiss_button = getByText(/Go Back/i); + fireEvent.click(dismiss_button); + + expect(cancelOrderModalMessage[0]).not.toBeInTheDocument(); + }); + + it("cancel order modal disappears when modal is submitted", () => { + const store = makeStoreWithEntities({ + pendingOrders: mockPendingOrdersInTable, + }); + const { getByText, getAllByText } = render(, { + store, + }); + const button = getByText(/cancel order/i); + fireEvent.click(button); + + const cancelOrderModalMessage = getAllByText( + /Are you sure you want to cancel this order/i + ); + expect(cancelOrderModalMessage[0]).toBeInTheDocument(); + + const submit_button = getByText(/Delete Order/i); + fireEvent.click(submit_button); + + expect(cancelOrderModalMessage[0]).not.toBeInTheDocument(); + }); + + it("Displays pending orders from oldest to newest", () => { + const store = makeStoreWithEntities({ + pendingOrders: mockPendingOrdersInTable, + }); + const { getAllByTestId } = render(, { store }); + const orderElements = getAllByTestId(/pending-order-table-\d+/); + const orders = orderElements.map((element) => { + const updatedTime = element.getAttribute("data-updated-time"); + return { updatedTime }; + }); + let isSorted = true; + for (let i = 0; i < orders.length - 1; i++) { + const currentDate = orders[i]; + const previousDate = orders[i + 1]; + + if (currentDate > previousDate) { + isSorted = false; + break; + } + } + expect(isSorted).toBe(true); + }); +}); + +describe("", () => { + it("Shows a message when there's no checked out items", () => { + const { getByText } = render(); + expect( + getByText("You have no items checked out yet. View our inventory.") + ).toBeInTheDocument(); + }); + + it("Shows a error when failed to fetch orders", () => { + const store = makeStoreWithEntities({ + orderState: { + checkedOutOrders: mockCheckedOutOrdersInTable, + error: "A problem has occurred when fetching orders", + }, + }); + const { getByText } = render(, { store }); + expect(getByText(/Unable to view checked out items/i)).toBeInTheDocument(); + }); + + it("Shows checked out items", () => { + const store = makeStoreWithEntities({ + orderState: { + checkedOutOrders: mockCheckedOutOrdersInTable, + }, + }); + const { getByText } = render(, { store }); + expect(getByText(/checked out items/i)).toBeInTheDocument(); + expect(getByText(/hide all/i)).toBeInTheDocument(); + mockCheckedOutOrders.map(({ id }) => { + expect(getByText(`Order #${id}`)).toBeInTheDocument(); + }); + }); + + it("Hides the table when isVisible is false", () => { + const store = makeStoreWithEntities({ + ui: { + dashboard: { + isCheckedOutTableVisible: false, + }, + }, + orderState: { + checkedOutOrders: mockCheckedOutOrdersInTable, + }, + }); + const { getByText, queryByText } = render(, { store }); + expect(getByText(/checked out items/i)).toBeInTheDocument(); + expect(getByText(/show all/i)).toBeInTheDocument(); + mockCheckedOutOrders.map(({ id }) => { + expect(queryByText(`Order #${id}`)).toBeNull(); + }); + }); + + it("CheckedOutTable dispatches an action to toggle visibility when button clicked", async () => { + const store = makeStoreWithEntities({ + orderState: { + checkedOutOrders: mockCheckedOutOrdersInTable, + }, + }); + const { getByText, queryByText } = render(, { store }); + const button = getByText(/hide all/i); + + fireEvent.click(button); + + expect(getByText(/show all/i)).toBeInTheDocument(); + mockCheckedOutOrders.map(({ id }) => { + expect(queryByText(`Order #${id}`)).not.toBeInTheDocument(); + }); + }); + + it("Displays checked out orders from most recent to oldest order", async () => { + const store = makeStoreWithEntities({ + orderState: { + checkedOutOrders: mockCheckedOutOrdersInTable, + }, + }); + const { getAllByTestId } = render(, { store }); + const orderElements = getAllByTestId(/checked-out-order-table-\d+/); + const orders = orderElements.map((element) => { + const updatedTime = element.getAttribute("data-updated-time"); + return { updatedTime }; + }); + let isSorted = true; + for (let i = 0; i < orders.length - 1; i++) { + const currentDate = orders[i]; + const previousDate = orders[i + 1]; + + if (currentDate < previousDate) { + isSorted = false; + break; + } + } + expect(isSorted).toBe(true); + }); + + // TODO: implement when incidents are ready + // it("Calls 'push' and 'reportIncident' when 'Report broken/lost' is clicked", () => { + // const push = jest.fn(); + // const reportIncident = jest.fn(); + // const oneRow = [itemsCheckedOut[0]]; + // const { getByText } = render( + // + // ); + // const button = getByText(/report broken\/lost/i); + // fireEvent.click(button); + // expect(push).toHaveBeenCalled(); + // expect(reportIncident).toHaveBeenCalled(); + // }); + // it("Makes sure there's the same number of buttons as rows", () => { + // const { getAllByText } = render( + // + // ); + // const numItems = itemsCheckedOut.length; + // expect(getAllByText(/report broken\/lost/i).length).toBe(numItems); + // }); +}); + +describe("", () => { + const makeStoreWithReturnedOrders = ( + returnedOrders?: ReturnOrderInTable[], + isReturnedTableVisible: boolean = true + ) => + makeStoreWithEntities({ + hardware: mockHardware, + ui: { + dashboard: { + isReturnedTableVisible, + }, + }, + ...(returnedOrders && { + orderState: { + returnedOrders, + }, + }), + }); + + it("Shows a message when there's no returned items", () => { + const store = makeStoreWithReturnedOrders(); + const { getByText } = render(, { store }); + expect( + getByText( + "Please bring items to the tech table and a tech team member will assist you." + ) + ).toBeInTheDocument(); + }); + + it("Shows an error message when failed to fetch orders", () => { + const store = makeStoreWithEntities({ + orderState: { + returnedOrders: mockReturnedOrdersInTable, + error: "Unable to display returned orders", + }, + }); + const { getByText } = render(, { store }); + expect(getByText(/Unable to view returned items/i)).toBeInTheDocument(); + }); + + it("Shows returned items", () => { + const store = makeStoreWithReturnedOrders(mockReturnedOrdersInTable); + const { getByText } = render(, { + store, + }); + expect(getByText(/returned items/i)).toBeInTheDocument(); + mockReturnedOrdersInTable.map(({ id }) => { + expect(getByText(`Order #${id}`)).toBeInTheDocument(); + }); + }); + + it("Hides the table when isVisible is false", () => { + const store = makeStoreWithReturnedOrders(mockReturnedOrdersInTable, false); + const { getByText, queryByText } = render(, { store }); + expect(getByText(/returned items/i)).toBeInTheDocument(); + expect(getByText(/show all/i)).toBeInTheDocument(); + mockReturnedOrdersInTable.map(({ id }) => { + expect(queryByText(`Order #${id}`)).toBeNull(); + }); + }); + + it("ReturnedTable dispatches an action to toggle visibility when button clicked", () => { + const store = makeStoreWithReturnedOrders(mockReturnedOrdersInTable); + const { getByText, queryByText } = render(, { + store, + }); + const button = getByText(/hide all/i); + mockReturnedOrdersInTable.map(({ id, hardwareInOrder }) => { + expect(getByText(`Order #${id}`)).toBeInTheDocument(); + hardwareInOrder.forEach((hardwareItem) => { + expect(getByText(hardwareItem.time)).toBeInTheDocument(); + }); + }); + fireEvent.click(button); + mockReturnedOrdersInTable.map(({ id }) => { + expect(queryByText(`Order #${id}`)).not.toBeInTheDocument(); + }); + }); + + it("Displays the returned orders from newest to oldest", () => { + const store = makeStoreWithReturnedOrders(mockReturnedOrdersInTable, false); + const { getAllByTestId, getByText } = render(, { + store, + }); + const button = getByText("Show all"); + fireEvent.click(button); + const orderElements = getAllByTestId(/returned-order-table-\d+/); + const orders = orderElements.map((element) => { + const updatedTime = element.getAttribute("data-updated-time"); + return { updatedTime }; + }); + let isSorted = true; + for (let i = 0; i < orders.length - 1; i++) { + const currentDate = orders[i]; + const previousDate = orders[i + 1]; + + if (currentDate < previousDate) { + isSorted = false; + break; + } + } + expect(isSorted).toBe(true); + }); +}); + +// TODO: add back in when incidents are done +// describe("", () => { +// it("shows when there are broken or lost items", () => { +// const { getByText } = render( +// +// ); +// +// expect(getByText(/Reported broken\/lost items/i)).toBeInTheDocument(); +// expect(getByText("Visit the tech station")).toBeInTheDocument(); +// itemsBroken.map(({ name }) => { +// expect(getByText(name)).toBeInTheDocument(); +// }); +// }); +// +// it("Calls 'openReportAlert' when 'View Report' is clicked", () => { +// const openReportAlert = jest.fn(); +// const oneRow = [itemsBroken[0]]; +// const { getByText } = render( +// +// ); +// +// const button = getByText(/View Report/i); +// fireEvent.click(button); +// expect(openReportAlert).toHaveBeenCalled(); +// }); +// +// it("Calls the same amount of chips and buttons as the rows", () => { +// const { getAllByText } = render( +// +// ); +// +// const numItems = itemsBroken.length; +// expect(getAllByText(/View Report/i).length).toBe(numItems); +// }); +// +// it("Disappears when there are no broken items", () => { +// const { queryByText } = render(); +// expect(queryByText(/Reported broken\/lost items/)).toBeNull(); +// }); +// }); diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx b/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx new file mode 100644 index 000000000..c8a5ad6ff --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/ItemTable/ItemTable.tsx @@ -0,0 +1,405 @@ +import React, { useState } from "react"; +import styles from "components/general/OrderTables/OrderTables.module.scss"; +import { + Button, + Paper, + Container, + IconButton, + Table, + TableBody, + TableCell, + TableContainer, + TableHead, + TableRow, +} from "@material-ui/core"; +import Info from "@material-ui/icons/Info"; +import { useDispatch, useSelector } from "react-redux"; +import { + isCheckedOutTableVisibleSelector, + isPendingTableVisibleSelector, + isReturnedTableVisibleSelector, + openProductOverview, + toggleCheckedOutTable, + togglePendingTable, + toggleReturnedTable, +} from "slices/ui/uiSlice"; +import { + getUpdatedHardwareDetails, + hardwareSelectors, +} from "slices/hardware/hardwareSlice"; +import hardwareImagePlaceholder from "assets/images/placeholders/no-hardware-image.svg"; +import { + checkedOutOrdersSelector, + orderErrorSelector, + pendingOrderSelectors, + returnedOrdersSelector, + cancelOrderThunk, + cancelOrderLoadingSelector, +} from "slices/order/orderSlice"; +import { + GeneralOrderTitle, + GeneralOrderTableTitle, + GeneralPendingTable, + GeneralReturnTable, +} from "components/general/OrderTables/OrderTables"; +import PopupModal from "components/general/PopupModal/PopupModal"; +import { Link } from "react-router-dom"; +import { sortPendingOrders, sortReturnedOrders } from "api/helpers"; +import { sortCheckedOutOrders } from "api/helpers"; + +export const CheckedOutTables = () => + // TODO: for incident reports + // { push, + // reportIncident, } + { + const dispatch = useDispatch(); + const unsorted_orders = useSelector(checkedOutOrdersSelector); + const orders = unsorted_orders.slice().sort(sortCheckedOutOrders); + const hardware = useSelector(hardwareSelectors.selectEntities); + const isVisible = useSelector(isCheckedOutTableVisibleSelector); + const fetchOrdersError = useSelector(orderErrorSelector); + const toggleVisibility = () => dispatch(toggleCheckedOutTable()); + const openProductOverviewPanel = (hardwareId: number) => { + dispatch(getUpdatedHardwareDetails(hardwareId)); + dispatch(openProductOverview()); + }; + + return ( + + + + {isVisible && + (!orders.length || fetchOrdersError ? ( + + {fetchOrdersError + ? `Unable to view checked out items.` + : "You have no items checked out yet. View our inventory."} + + ) : ( + orders.map((checkedOutOrder) => ( +
+ + + + + + + + Name + + + Info + + + Qty + + + + + + {checkedOutOrder.hardwareInTableRow.map( + (row) => ( + + + { + + + {hardware[row.id]?.name} + + + + openProductOverviewPanel( + row.id + ) + } + > + + + + + {row.quantityGranted} + + + + + + + + ) + )} + +
+
+
+ )) + ))} +
+ ); + }; + +export const ReturnedTable = () => { + const dispatch = useDispatch(); + const unsorted_orders = useSelector(returnedOrdersSelector); + const orders = unsorted_orders.slice().sort(sortReturnedOrders); + const fetchOrdersError = useSelector(orderErrorSelector); + const isVisible = useSelector(isReturnedTableVisibleSelector); + const toggleVisibility = () => dispatch(toggleReturnedTable()); + + return ( + + ); +}; + +export const PendingTables = () => { + const dispatch = useDispatch(); + const unsorted_orders = useSelector(pendingOrderSelectors.selectAll); + const orders = sortPendingOrders(unsorted_orders); + orders.reverse(); + const isVisible = useSelector(isPendingTableVisibleSelector); + const isCancelOrderLoading = useSelector(cancelOrderLoadingSelector); + const toggleVisibility = () => dispatch(togglePendingTable()); + const cancelOrder = (orderId: number) => dispatch(cancelOrderThunk(orderId)); + const [showCancelOrderModal, setShowCancelOrderModal] = useState(false); + const [orderId, setorderId] = useState(null); + + const closeModal = () => { + setShowCancelOrderModal(false); + }; + + const submitCancelOrderModal = (cancelOrderId: number | null) => { + if (cancelOrderId != null) { + cancelOrder(cancelOrderId); // Perform Cancellation + setShowCancelOrderModal(false); + } + }; + + const setCancelOrderModal = (pendingOrder: any) => { + setShowCancelOrderModal(true); + setorderId(pendingOrder.id); + }; + + return ( + + {orders.length > 0 && ( + + )} + + {isVisible && + orders.length > 0 && + orders.map((pendingOrder) => ( +
+ + {pendingOrder.status !== "Ready for Pickup" && ( +
+ + + submitCancelOrderModal(orderId) + } + cancelText={"Go Back"} + submitText={"Delete Order"} + cancelHandler={closeModal} + title={"Careful!"} + /> +
+ )} +
+ ))} +
+ ); +}; + +// TODO: implement when incidents are finished +// export const BrokenTable = ({ items, openReportAlert }) => { +// return !items.length ? null : ( +// +//
+// +// Reported broken/lost items +// +// +//
+// +// +// +// +// +// +// +// Name +// +// +// Qty +// +// +// Time +// +// +// Condition +// +// +// +// +// +// {items.map((row) => ( +// +// +// {row.name} +// +// {row.name} +// {row.qty} +// +// {row.time} +// +// +// {row.condition} +// +// +// +// +// +// ))} +// +//
+//
+//
+// ); +// }; diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.js b/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.js new file mode 100644 index 000000000..af7f3da30 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.js @@ -0,0 +1,40 @@ +import React from "react"; +import styles from "./SponsorCard.module.scss"; +import Slider from "react-slick"; +import Typography from "@material-ui/core/Typography"; +import Paper from "@material-ui/core/Paper"; +import Grid from "@material-ui/core/Grid"; +import { sponsorsList } from "testing/mockData"; + +let settings = { + dots: true, + arrows: true, + autoplaySpeed: 2500, + autoplay: true, + slidesToShow: 2, + speed: 500, + pauseOnHover: false, +}; + +export const UnconnectedSponsorCard = ({ sponsors }) => { + return !sponsors.length ? null : ( + + Thanks to our sponsors! + + + {sponsors.map((item, i) => ( + {item.imgSrc} + ))} + + + + ); +}; + +const ConnectedSponsorCard = () => ; + +export default ConnectedSponsorCard; diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.module.scss b/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.module.scss new file mode 100644 index 000000000..251177ebe --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.module.scss @@ -0,0 +1,15 @@ +@import "./../../../assets/abstracts/mixins"; +@import "./../../../assets/abstracts/variables"; + +.sponsors { + height: 100%; + width: 400px; + @include flexPosition($dir: column); + &Paper { + flex-grow: 1; + padding: 28px 0; + img { + height: 100%; + } + } +} diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.test.js b/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.test.js new file mode 100644 index 000000000..52c17fd57 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/SponsorCard/SponsorCard.test.js @@ -0,0 +1,11 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import { UnconnectedSponsorCard } from "./SponsorCard"; + +it("renders correctly when there are 2 images", () => { + let testList = [{ imgSrc: "AMD.svg" }, { imgSrc: "ECE.png" }]; + const { queryByAltText } = render(); + for (let e of testList) { + expect(queryByAltText(e.imgSrc)).toBeTruthy(); + } +}); diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.module.scss b/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.module.scss new file mode 100644 index 000000000..64cae64df --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.module.scss @@ -0,0 +1,11 @@ +@import "./../../../assets/abstracts/mixins"; +@import "./../../../assets/abstracts/variables"; + +.name { + padding: 12px 20px; +} + +.lastRow { + @include flexPosition($jusCon: flex-end); + padding-top: 6px; +} diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.test.tsx b/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.test.tsx new file mode 100644 index 000000000..de1e0a9a0 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.test.tsx @@ -0,0 +1,47 @@ +import React from "react"; +import TeamCard from "components/dashboard/TeamCard/TeamCard"; +import { render, makeStoreWithEntities, waitFor } from "testing/utils"; +import "@testing-library/jest-dom/extend-expect"; +import { mockTeam } from "testing/mockData"; +import { fireEvent } from "@testing-library/react"; + +describe("TeamCard", () => { + test("Calls handleEditTeam when the edit button is clicked", async () => { + const handleEditTeamSpy = jest.fn(); + + const store = makeStoreWithEntities({ + team: { + team: mockTeam, + }, + }); + const { getByText, getByTestId } = render( + , + { + store, + } + ); + await waitFor(() => { + expect(getByTestId("teamCardBtn")).toBeInTheDocument(); + }); + + const editBtn = getByText("Edit"); + fireEvent.click(editBtn); + + await waitFor(() => { + expect(handleEditTeamSpy).toHaveBeenCalled(); + }); + }); + test("prints No Team if user does not have a team", async () => { + const store = makeStoreWithEntities({}); + const { getByText, getByTestId } = render(, { + store, + }); + await waitFor(() => { + expect(getByTestId("teamCardBtn")).toBeInTheDocument(); + }); + + await waitFor(() => { + expect(getByText(/No Team/i)).toBeInTheDocument(); + }); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.tsx b/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.tsx new file mode 100644 index 000000000..fa066dcea --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/dashboard/TeamCard/TeamCard.tsx @@ -0,0 +1,44 @@ +import React from "react"; +import styles from "./TeamCard.module.scss"; +import Container from "@material-ui/core/Container"; +import Typography from "@material-ui/core/Typography"; +import TitledPaper from "components/general/TitledPaper/TitledPaper"; +import Button from "@material-ui/core/Button"; +import { useSelector } from "react-redux"; +import { teamCodeSelector, teamMemberNamesSelector } from "slices/event/teamSlice"; + +interface TeamProps { + handleEditTeam?: any; +} + +export const TeamCard = ({ handleEditTeam }: TeamProps) => { + const members = useSelector(teamMemberNamesSelector); + const teamCode = useSelector(teamCodeSelector); + + const title = teamCode === null ? "No Team" : "Team " + teamCode; + // waiting for the team store + return ( + + {members?.length + ? members?.map((member, i) => ( + + + {member} + + + )) + : null} + + + + + ); +}; + +export default TeamCard; diff --git a/hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.test.tsx b/hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.test.tsx new file mode 100644 index 000000000..db8b7be2c --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.test.tsx @@ -0,0 +1,39 @@ +import React from "react"; +import AlertBox from "components/general/AlertBox/AlertBox"; +import { render } from "testing/utils"; + +const mockErrorList = [ + "This particular reason", + "Another horrible excuse", + "As well as this unfortunate reason", +]; +const mockSingleError = "Error is here for this single reason."; +const mockErrorTitle = "An error has occurred due to the following reasons:"; + +describe("Error Box displays correctly with the right information", () => { + it("Shows title and a list if error prop is an array", () => { + const { getByText, getByTestId } = render( + + ); + + getByTestId("alert-error-list"); + getByText(new RegExp(mockErrorTitle, "i")); + mockErrorList.forEach((error) => getByText(new RegExp(error, "i"))); + }); + + it("Shows only error text and title", () => { + const { getByText, queryByTestId } = render( + + ); + + expect(queryByTestId("alert-error-list")).not.toBeInTheDocument(); + expect(getByText(new RegExp(mockErrorTitle, "i"))).toBeInTheDocument(); + getByText(new RegExp(mockSingleError, "i")); + }); + + it("Shows default title if no title given", () => { + const { getByText } = render(); + + getByText(/An error has occurred because:/i); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.tsx b/hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.tsx new file mode 100644 index 000000000..20a1e3474 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/general/AlertBox/AlertBox.tsx @@ -0,0 +1,37 @@ +import React, { ReactElement } from "react"; +import { Alert, AlertTitle } from "@material-ui/lab"; + +interface ErrorBoxProps { + error?: string[] | string; + body?: ReactElement; + type?: "error" | "info" | "success" | "warning"; + title?: string; +} + +const AlertBox = ({ error, body, type, title, ...otherProps }: ErrorBoxProps) => { + return ( + + {typeof error === "object" ? ( + <> + {title ?? "An error has occurred because:"} +
    + {error.map((err, index) => ( +
  • {err}
  • + ))} +
+ + ) : ( + <> + {title ?? "An error has occurred"} + {body || error} + + )} +
+ ); +}; + +export default AlertBox; diff --git a/hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.test.tsx b/hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.test.tsx new file mode 100644 index 000000000..3ca4a86a1 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.test.tsx @@ -0,0 +1,67 @@ +import React from "react"; +import { render } from "testing/utils"; +import DateRestrictionAlert from "./DateRestrictionAlert"; + +const mockHardwareSignOutStartDate = jest.fn(); +const mockHardwareSignOutEndDate = jest.fn(); +jest.mock("constants.js", () => ({ + get hardwareSignOutStartDate() { + return mockHardwareSignOutStartDate(); + }, + get hardwareSignOutEndDate() { + return mockHardwareSignOutEndDate(); + }, +})); + +export const mockHardwareSignOutDates = ( + numDaysRelativeToStart?: number, + numDaysRelativeToEnd?: number +): { + start: Date; + end: Date; +} => { + const currentDate = new Date(); + const start = new Date(); + const end = new Date(); + start.setDate(currentDate.getDate() + (numDaysRelativeToStart ?? -1)); + end.setDate(currentDate.getDate() + (numDaysRelativeToEnd ?? 1)); + mockHardwareSignOutStartDate.mockReturnValue(start); + mockHardwareSignOutEndDate.mockReturnValue(end); + return { start, end }; +}; + +describe("", () => { + test("alert does not appear if current date is within allocated period", () => { + mockHardwareSignOutDates(-5, 5); + const { queryByTestId } = render(); + expect(queryByTestId("date-restriction-alert")).toBeNull(); + }); + + test("alert appears if current date is before start date", async () => { + const { start, end } = mockHardwareSignOutDates(5, 10); + const alertText = `The period begins on ${start.toDateString()} at ${start.toLocaleTimeString()} and ends on ${end.toDateString()} at ${end.toLocaleTimeString()}. When the period starts, you'll be able to place orders and rent our hardware. For now, you can familiarize yourself with our site and create or join a team.`; + + const { getByTestId, getByText } = render(); + + expect(getByTestId("date-restriction-alert")).toBeInTheDocument(); + expect( + getByText( + /the allocated time period for checking out hardware has not begun yet/i + ) + ).toBeInTheDocument(); + expect(getByText(new RegExp(alertText, "i"))).toBeInTheDocument(); + }); + + test("alert appears if current date is after start date", () => { + const { start, end } = mockHardwareSignOutDates(-10, -1); + const alertText = `The period began on ${start.toDateString()} at ${start.toLocaleTimeString()} and ended on ${end.toDateString()} at ${end.toLocaleTimeString()}. Hardware sign out is now over and you cannot place anymore orders. Please return any checked out items back to inventory station.`; + + const { getByTestId, getByText } = render(); + + expect(getByTestId("date-restriction-alert")).toBeInTheDocument(); + expect( + getByText(/the allocated time period for checking out hardware is over/i) + ).toBeInTheDocument(); + expect(getByText(new RegExp(alertText, "i"))).toBeInTheDocument(); + }); +}); diff --git a/hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.tsx b/hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.tsx new file mode 100644 index 000000000..54ff25dab --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/general/DateRestrictionAlert/DateRestrictionAlert.tsx @@ -0,0 +1,37 @@ +import React from "react"; +import AlertBox from "components/general/AlertBox/AlertBox"; +import { hardwareSignOutEndDate, hardwareSignOutStartDate } from "constants.js"; + +const DateRestrictionAlert = () => { + const currentDateTime = new Date(); + const isBeforeSignOutPeriod = currentDateTime < hardwareSignOutStartDate; + const isOutsideSignOutPeriod = + isBeforeSignOutPeriod || currentDateTime > hardwareSignOutEndDate; + + return isOutsideSignOutPeriod ? ( + + ) : null; +}; + +export default DateRestrictionAlert; diff --git a/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.js b/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.js new file mode 100644 index 000000000..ef803d619 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.js @@ -0,0 +1,29 @@ +import React from "react"; +import Typography from "@material-ui/core/Typography"; +import Container from "@material-ui/core/Container"; +import styles from "./Footer.module.scss"; + +const Footer = () => { + let fakeDate = new Date(); + const yearRange = + fakeDate.getFullYear() === 2020 ? "" : " - " + fakeDate.getFullYear(); + const outputMessage = + "© 2020" + + yearRange + + " Built by the web team at MakeUofT (University of Toronto)"; + + return ( + +
+ + Hardware Signout + + + {outputMessage} + +
+
+ ); +}; + +export default Footer; diff --git a/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.module.scss b/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.module.scss new file mode 100644 index 000000000..d57f55395 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.module.scss @@ -0,0 +1,10 @@ +@import "./../../../assets/abstracts/mixins"; +@import "./../../../assets/abstracts/variables"; + +.footer { + text-align: center; + background-color: color(footer); + color: color(white); + padding: 10px; + width: 100%; +} diff --git a/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.test.js b/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.test.js new file mode 100644 index 000000000..9b3aed410 --- /dev/null +++ b/hackathon_site/dashboard/frontend/src/components/general/Footer/Footer.test.js @@ -0,0 +1,26 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import "@testing-library/jest-dom/extend-expect"; +import Footer from "./Footer"; + +describe("Footer", () => { + test("renders", () => { + const fakeYear = 2020; + global.Date.prototype.getFullYear = jest.fn(() => fakeYear); + + const { asFragment } = render(