Commit Graph

71 Commits (8a194d4cdd9bb8accb8a1c829b7ae7703d721369)

Author SHA1 Message Date
sudoer777 4f3581b1e5 Fix bug where genders by sport do not report correctly 2021-11-26 16:16:01 -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 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 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 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 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 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 33617a82ec Add passport functions 2021-11-24 17:56:04 -07:00
sudoer777 9c9c106acd Database init script now creates accounts table 2021-11-24 15:53:42 -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 8587212af9 Fix bug where games.js uses nonexistent moment.js module for formatting 2021-11-22 17:45:58 -07:00
sudoer777 1f55ba3ff9 Add functions to get division by ID 2021-11-22 16:27:50 -07:00
sudoer777 fe659184f4 Fix bug in games.js 2021-11-22 16:13:21 -07:00
sudoer777 17f14573e9 Add functionality to get all games from database 2021-11-22 16:00:12 -07:00
sudoer777 90ef696b71 Add retrieve all teams in database functionality 2021-11-22 15:45:19 -07:00
sudoer777 28b11b7266 Group divisions by sport_id 2021-11-22 15:38:20 -07:00
sudoer777 b6f8b6bdaa Add functions to retrieve sport by ID 2021-11-22 15:30:02 -07:00
sudoer777 435748ae76 Add functionality to return all divisions in database 2021-11-22 15:20:59 -07:00
sudoer777 41d9140863 Remove console.log used for debugging 2021-11-21 23:23:06 -07:00
sudoer777 fc60e5186a Fix bug in teams.js 2021-11-21 21:42:03 -07:00
sudoer777 8cd291ef2a Store dates as strings 2021-11-21 21:41:53 -07:00
sudoer777 1abffb43bd Add function to get team name from an ID 2021-11-21 19:33:10 -07:00
sudoer777 49aff3f741 Fix bug regarding date formatting in games.js 2021-11-21 17:41:45 -07:00
sudoer777 344e8b66d3 Report date as moment object in list generated by "retrieveByTeamDivisionAndSeason" function in games.js 2021-11-21 17:39:47 -07:00
sudoer777 4576b72612 Switch date from native object to moment.js 2021-11-21 17:37:45 -07:00
sudoer777 edfd42a623 Fix bug in "retrieveBySport" function in teams.js 2021-11-21 17:08:16 -07:00
sudoer777 d561a34055 Fix bug in genders.js regarding constants 2021-11-21 16:39:51 -07:00
sudoer777 bdd943d422 Move gender constants into genders.js file in database directory 2021-11-21 16:30:36 -07:00
sudoer777 ff070acdf7 Add function to get genders per sport in submit form 2021-11-21 16:24:43 -07:00
sudoer777 e5b1791259 Make "retrieveBySport" function in genders.js async 2021-11-21 15:59:07 -07:00
sudoer777 a8eb7dae0a Rename function in genders.js from "getGenderBySport" to "retrieveBySport" 2021-11-21 15:57:09 -07:00
sudoer777 07c4d9b622 Retrieve seasons in descending order 2021-11-21 15:53:58 -07:00
sudoer777 c0ab9d4581 Create module to retrieve a list of genders by sport 2021-11-21 15:52:54 -07:00
sudoer777 78136df5fd Add module exports for games.js 2021-11-20 23:02:22 -07:00
sudoer777 42ccda2aba Add proper date handling functionality to "add" function of "games.js" 2021-11-20 23:01:13 -07:00
sudoer777 9ca8641f20 Create function to remove games from database 2021-11-20 22:20:38 -07:00
sudoer777 acb987ffd4 Add function to create game 2021-11-20 22:14:12 -07:00
sudoer777 5f68b24d8b Add exports to seasons.js 2021-11-20 22:02:20 -07:00
sudoer777 4eadf64fac Rename "create" function to "add" in "scores" modules 2021-11-20 22:01:55 -07:00
sudoer777 c046eeb6ac Create function to retrive seasons 2021-11-20 21:57:27 -07:00