Commit Graph

160 Commits (2c747fc6fa8b011f2849bf0fecdfcc01551cc770)

Author SHA1 Message Date
Ethan Reece 2c747fc6fa Merge branch 'user-accounts' into 'develop'
Add user account functionality

See merge request sudoer777/cvcs-score-tracker!8
2021-11-26 20:03:58 +00:00
sudoer777 ad4533e712 Adjust layout for non-admin management panel 2021-11-26 12:59:48 -07:00
sudoer777 bb335c7aca Fix bug where games don't load if user is not logged in 2021-11-26 12:53:54 -07:00
sudoer777 3201ffb2a9 Add "Home" button for navigation 2021-11-26 12:46:16 -07:00
sudoer777 872397d05e Add login/logout buttons 2021-11-26 12:37:09 -07:00
sudoer777 e277107b10 Add ability for non-admin users to manage their account 2021-11-26 12:08:45 -07:00
sudoer777 54978d3c35 Add manage account button for non-admin manage page 2021-11-25 19:46:29 -07:00
sudoer777 79123c14bd Only allow non-admin users to edit their own games 2021-11-25 19:33:53 -07:00
sudoer777 bd5b393a27 Add panel for non-admins to edit their own games 2021-11-25 19:21:21 -07:00
sudoer777 3515be836d Add submitter_id column to init_database.sql script 2021-11-25 18:49:31 -07:00
sudoer777 d351885375 Add page with only scores for non-admins 2021-11-25 18:29:18 -07:00
sudoer777 4a108f606b Move register route from auth to manage 2021-11-25 15:41:10 -07:00
sudoer777 b7f032754b Fix bug in games.js where dropdowns are not being updated 2021-11-25 13:03:54 -07:00
sudoer777 d5be13955a Fix bug regarding deleting games 2021-11-25 12:55:54 -07:00
sudoer777 08545bfb5c Add functions to remove account 2021-11-25 12:49:31 -07:00
sudoer777 23e85b7af3 Fix bug in accounts.js 2021-11-25 12:41:22 -07:00
sudoer777 06765455f6 Add functionality to edit accounts 2021-11-25 12:40:19 -07:00
sudoer777 1901f33851 Create client layout for managing users 2021-11-25 12:17:53 -07:00
sudoer777 d43aba3da1 Remove console.log from teams.js 2021-11-25 12:13:46 -07:00
sudoer777 4d3b6989e4 Add function to get user information 2021-11-25 12:04:18 -07:00
sudoer777 173c075aa3 Add ability to create user from admin panel 2021-11-24 22:29:29 -07:00
sudoer777 4828ef2c7c Require admin for certain pages 2021-11-24 21:40:33 -07:00
sudoer777 24197d9bff Add invalid email or password message 2021-11-24 21:22:17 -07:00
sudoer777 ebef80e061 Add logout function 2021-11-24 21:07:13 -07:00
sudoer777 8e8f0e3e7c Change passport require 2021-11-24 21:05:33 -07:00
sudoer777 a6fe6d6c72 Create login page 2021-11-24 20:58:49 -07:00
sudoer777 9c7241e7e6 Remove console.log from teams.js 2021-11-24 20:46:16 -07:00
sudoer777 0a6c56e103 Fix issues involving editing and submitting games 2021-11-24 20:36:00 -07:00
sudoer777 48c2ee67bd Add page to create user 2021-11-24 18:25:27 -07:00
sudoer777 7520580d66 Add function to create user 2021-11-24 18:13:33 -07:00
sudoer777 c5f05eebff Add auth router to app.js 2021-11-24 17:58:28 -07:00
sudoer777 33617a82ec Add passport functions 2021-11-24 17:56:04 -07:00
sudoer777 7a62885e8f Install passport-local 2021-11-24 17:16:46 -07:00
sudoer777 fbfa500b8a Install bcrypt for managing passwords 2021-11-24 15:55:44 -07:00
sudoer777 9c9c106acd Database init script now creates accounts table 2021-11-24 15:53:42 -07:00
sudoer777 64026a791e Add packages for user authentication 2021-11-24 12:46:21 -07:00
Ethan Reece c90ca93850 Merge branch 'management-page' into 'develop'
Create management pages along with subpages to edit and delete entries

See merge request sudoer777/cvcs-score-tracker!7
2021-11-23 21:53:02 +00:00
sudoer777 fb63ef6b41 Add buttons to access add score and management pages 2021-11-23 14:48:30 -07:00
sudoer777 bd0ae3bdfd Add ability to delete seasons 2021-11-23 14:48:19 -07:00
sudoer777 b5495b1f57 Add ability to edit games 2021-11-23 00:49:11 -07:00
sudoer777 5d88f0ac4d Add ability to edit teams 2021-11-22 23:45:24 -07:00
sudoer777 a2b9c5f50e Add ability to edit divisions 2021-11-22 23:23:57 -07:00
sudoer777 cf91548dac Add ability to remove sports 2021-11-22 22:10:47 -07:00
sudoer777 35af76c90f Add ability to edit sports in manage page 2021-11-22 22:03:02 -07:00
sudoer777 4fec3a45c8 Change header in addseason.pug to match title 2021-11-22 19:40:33 -07:00
sudoer777 6ef9096cb7 Remove delete button on manage page 2021-11-22 19:25:44 -07:00
sudoer777 5c78753828 Fix bug regarding page redirection 2021-11-22 19:23:20 -07:00
sudoer777 aacff9cca1 Add page to add teams 2021-11-22 19:17:23 -07:00
sudoer777 1a3b013a0f Add page to add divisions 2021-11-22 19:11:16 -07:00
sudoer777 f95015095d Add page for adding sports 2021-11-22 18:47:40 -07:00