Commit Graph

280 Commits (1fef5fd818eac01b0ab729a614b4ee27fc0d0366)

Author SHA1 Message Date
sudoer777 238a22e597 Add "NOT NULL" constraints to database columns 2021-11-26 14:37:26 -07:00
sudoer777 f2085ec0f2 Add noscript message 2021-11-26 14:19:53 -07:00
sudoer777 459b1a4a1a Improve add team page validity check 2021-11-26 14:10:09 -07:00
sudoer777 000905257e Improve division page validity check 2021-11-26 14:09:00 -07:00
sudoer777 644c8fdec3 Add check validity function for add season page 2021-11-26 14:05:06 -07:00
sudoer777 150a186aea Add labels to game submit page 2021-11-26 13:59:17 -07:00
sudoer777 2fc17c0c42 Add labels for gender and division for index page 2021-11-26 13:52:57 -07:00
sudoer777 64a6ba545b Adjust error page layout 2021-11-26 13:44:01 -07:00
sudoer777 b1637d97bc Add data validity check for adding game 2021-11-26 13:40:16 -07:00
sudoer777 cceda089c0 Move login button to top right of page on index 2021-11-26 13:20:14 -07:00
sudoer777 24a93104e4 Set redirect to root when game is added 2021-11-26 13:19:20 -07:00
sudoer777 e6c4d2347f Move submit score button to top left of page 2021-11-26 13:17:44 -07:00
sudoer777 3e7e9eeb70 Add margins for buttons 2021-11-26 13:16:24 -07:00
sudoer777 6c221832fc Add 0.25em padding for buttons, dropdowns, and inputs 2021-11-26 13:07:01 -07:00
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