Commit Graph

240 Commits (06a7970fe7319036bff7bb1dabc7de5e3bf7dcc8)

Author SHA1 Message Date
sudoer777 dca9079648 Create files for /manage page 2021-11-21 23:17:43 -07:00
sudoer777 9db8ae5151 remove require database from index.js 2021-11-21 23:16:29 -07:00
Ethan Reece 14b56927ea Merge branch 'view-scores-page' into 'develop'
Add score viewing page to index

See merge request sudoer777/cvcs-score-tracker!6
2021-11-22 06:08:31 +00:00
sudoer777 8674781ba9 Tweak scores view page 2021-11-21 22:07:25 -07:00
sudoer777 4f2b496cf2 Add table of games to index page 2021-11-21 21:59:07 -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 c55b9c241f Remove moment.js in favor of Temporal 2021-11-21 21:09:31 -07:00
sudoer777 6de2f13b32 Add moment.js to client scripts 2021-11-21 20:53:16 -07:00
sudoer777 1abffb43bd Add function to get team name from an ID 2021-11-21 19:33:10 -07:00
sudoer777 9b4575c666 Begin index page 2021-11-21 19:07:44 -07:00
Ethan Reece db2d6f2aa6 Merge branch 'database' into 'develop'
Switch data collection method from email to PostgreSQL

See merge request sudoer777/cvcs-score-tracker!5
2021-11-22 00:51:00 +00:00
sudoer777 12c39e271e Complete submit game feature 2021-11-21 17:43:34 -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 7d4dcc4d82 Add moment.js 2021-11-21 17:20:14 -07:00
sudoer777 27d05752b5 Add function to list teams on submit form 2021-11-21 17:15:02 -07:00
sudoer777 edfd42a623 Fix bug in "retrieveBySport" function in teams.js 2021-11-21 17:08:16 -07:00
sudoer777 e1acf1951c Fix bugs in submit form dropdowns 2021-11-21 16:51:35 -07:00
sudoer777 9b7ec5f3d6 Add function to list divisions in submit form 2021-11-21 16:48:03 -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 0d9e70896a Add function to list seasons in submit form 2021-11-21 15:40:48 -07:00
sudoer777 30ddb13ec6 Add function to list sports in submit form dropdown 2021-11-21 15:30:54 -07:00
sudoer777 8c3ffcc5fa Start script to fetch data from server 2021-11-21 14:37:35 -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