Commit Graph

153 Commits (79123c14bd0b4944bc653118a0b7e40efaaebbcc)

Author SHA1 Message Date
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
sudoer777 31575212ad Allow "Add new..." button to redirect to webpages per category 2021-11-22 18:42:02 -07:00
sudoer777 4133758bba Create page to add season 2021-11-22 18:04:36 -07:00
sudoer777 7c5c059e09 Remove submit router from app.js 2021-11-22 17:55:15 -07:00
sudoer777 9f2572336f Move game submit page from /submit to /manage/addgame 2021-11-22 17:48:51 -07:00
sudoer777 e257e97320 Edit CSS 2021-11-22 17:48:21 -07:00
sudoer777 8587212af9 Fix bug where games.js uses nonexistent moment.js module for formatting 2021-11-22 17:45:58 -07:00
sudoer777 722bb4fce6 Edit css 2021-11-22 17:38:45 -07:00