Commit graph

123 commits

Author SHA1 Message Date
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
sudoer777
65238e3745 Add module for defining genders 2021-11-20 18:53:22 -07:00
sudoer777
2d14395b61 Add function to retrieve all sports from database 2021-11-20 18:07:37 -07:00
sudoer777
c176e27987 Add function to remove sport 2021-11-20 17:58:29 -07:00
sudoer777
2191218fe1 Add rename sport rename function 2021-11-20 17:52:09 -07:00
sudoer777
64f4f9fb32 Add createSport function 2021-11-20 16:53:13 -07:00
sudoer777
6f4a41fbd7 Edit database.js 2021-11-20 16:51:49 -07:00
sudoer777
8213729009 Remove mail functions for submit page 2021-11-20 16:51:08 -07:00
sudoer777
93521dc431 Edit CSS for submit page 2021-11-20 16:50:23 -07:00
sudoer777
cc0b5ee087 Edit submit page to better match database values 2021-11-20 16:48:48 -07:00
sudoer777
7ceccd2928 Fix database layout comment 2021-11-19 11:42:08 -07:00
sudoer777
9554d54496 Add database initialization 2021-11-18 14:13:03 -07:00