Commit Graph

54 Commits (e9e085e804d154dbc9945d9526c2f885bd0fc4fb)

Author SHA1 Message Date
sudoer777 2bec2b4be5 Add functions to get latest game 2021-11-26 21:28:20 -07:00
sudoer777 4f3581b1e5 Fix bug where genders by sport do not report correctly 2021-11-26 16:16:01 -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 9c7241e7e6 Remove console.log from teams.js 2021-11-24 20:46:16 -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
sudoer777 e9bda3c807 Add function to remove season 2021-11-20 21:55:31 -07:00
sudoer777 b533668445 Add function to create season 2021-11-20 21:52:32 -07:00
sudoer777 90e302c3ae Add module exports to teams.js 2021-11-20 21:47:15 -07:00
sudoer777 c2e3c95cfd Add module exports to divisions.js 2021-11-20 21:46:28 -07:00
sudoer777 e056743022 Add "const" to accidental global variables 2021-11-20 21:45:28 -07:00
sudoer777 e37b10596e Add function to retrieve teams by sport 2021-11-20 21:43:19 -07:00
sudoer777 16c90cf883 Add function to remove teams 2021-11-20 21:39:30 -07:00
sudoer777 7e07236779 Add function to rename teams 2021-11-20 21:38:08 -07:00
sudoer777 9c55999ad8 Add function to create teams 2021-11-20 21:35:56 -07:00
sudoer777 6e108ef975 Create function to retrieve divisions from database 2021-11-20 21:25:29 -07:00
sudoer777 2db5bc4480 Create functions for database management of divisions 2021-11-20 19:14:43 -07:00
sudoer777 f86717d99f Move genders definition to dedicated constants folder 2021-11-20 19:00:06 -07:00
sudoer777 65238e3745 Add module for defining genders 2021-11-20 18:53:22 -07:00