Commit Graph

188 Commits (6c174f3e02334f486ec5318c2af3a417ffc1026f)

Author SHA1 Message Date
sudoer777 6c174f3e02 Improve error handling for teams 2021-11-26 17:03:09 -07:00
sudoer777 63b6ef2c2d Improve redirection when error occurs 2021-11-26 16:59:51 -07:00
sudoer777 ad361adab1 Improve error handling for divisions 2021-11-26 16:46:46 -07:00
sudoer777 3f6251f5bb Improve error handling for sports 2021-11-26 16:38:46 -07:00
sudoer777 51783c5dec Add better error management for seasons 2021-11-26 16:34:26 -07:00
sudoer777 f9ac3f49cd Improve error management for games 2021-11-26 16:29:03 -07:00
sudoer777 292c4a7039 Remove pregenerated users route 2021-11-26 16:17:54 -07:00
sudoer777 6705f06e18 Add better error handling for data.js route 2021-11-26 16:16:11 -07:00
sudoer777 4f3581b1e5 Fix bug where genders by sport do not report correctly 2021-11-26 16:16:01 -07:00
sudoer777 2ecb26ca3c Remove admin router reference 2021-11-26 15:55:29 -07:00
sudoer777 fb414ab9d8 Add duplicate route functions to separate file 2021-11-26 15:50:43 -07:00
sudoer777 dd0a9c4316 Remove unnecessary files 2021-11-26 15:44:23 -07:00
sudoer777 5c783880a7 Improve error handling for account management 2021-11-26 15:41:36 -07:00
sudoer777 d2d6bbc514 Fix bug where accounts.js tries to create admin account before database is initialized 2021-11-26 14:49:08 -07:00
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