Commit graph

  • 238a22e597 Add "NOT NULL" constraints to database columns sudoer777 2021-11-26 14:37:26 -07:00
  • f2085ec0f2 Add noscript message sudoer777 2021-11-26 14:19:53 -07:00
  • 459b1a4a1a Improve add team page validity check sudoer777 2021-11-26 14:10:09 -07:00
  • 000905257e Improve division page validity check sudoer777 2021-11-26 14:09:00 -07:00
  • 644c8fdec3 Add check validity function for add season page sudoer777 2021-11-26 14:05:06 -07:00
  • 150a186aea Add labels to game submit page sudoer777 2021-11-26 13:59:17 -07:00
  • 2fc17c0c42 Add labels for gender and division for index page sudoer777 2021-11-26 13:52:57 -07:00
  • 64a6ba545b Adjust error page layout sudoer777 2021-11-26 13:44:01 -07:00
  • b1637d97bc Add data validity check for adding game sudoer777 2021-11-26 13:40:16 -07:00
  • cceda089c0 Move login button to top right of page on index sudoer777 2021-11-26 13:20:14 -07:00
  • 24a93104e4 Set redirect to root when game is added sudoer777 2021-11-26 13:19:20 -07:00
  • e6c4d2347f Move submit score button to top left of page sudoer777 2021-11-26 13:17:44 -07:00
  • 3e7e9eeb70 Add margins for buttons sudoer777 2021-11-26 13:16:24 -07:00
  • 6c221832fc Add 0.25em padding for buttons, dropdowns, and inputs sudoer777 2021-11-26 13:07:01 -07:00
  • 2c747fc6fa Merge branch 'user-accounts' into 'develop' Sudoer777 2021-11-26 20:03:58 +00:00
  • ad4533e712 Adjust layout for non-admin management panel sudoer777 2021-11-26 12:59:48 -07:00
  • bb335c7aca Fix bug where games don't load if user is not logged in sudoer777 2021-11-26 12:53:54 -07:00
  • 3201ffb2a9 Add "Home" button for navigation sudoer777 2021-11-26 12:46:16 -07:00
  • 872397d05e Add login/logout buttons sudoer777 2021-11-26 12:37:09 -07:00
  • e277107b10 Add ability for non-admin users to manage their account sudoer777 2021-11-26 12:08:45 -07:00
  • 54978d3c35 Add manage account button for non-admin manage page sudoer777 2021-11-25 19:46:29 -07:00
  • 79123c14bd Only allow non-admin users to edit their own games sudoer777 2021-11-25 19:33:53 -07:00
  • bd5b393a27 Add panel for non-admins to edit their own games sudoer777 2021-11-25 19:21:21 -07:00
  • 3515be836d Add submitter_id column to init_database.sql script sudoer777 2021-11-25 18:49:31 -07:00
  • d351885375 Add page with only scores for non-admins sudoer777 2021-11-25 18:29:18 -07:00
  • 4a108f606b Move register route from auth to manage sudoer777 2021-11-25 15:41:10 -07:00
  • b7f032754b Fix bug in games.js where dropdowns are not being updated sudoer777 2021-11-25 13:03:54 -07:00
  • d5be13955a Fix bug regarding deleting games sudoer777 2021-11-25 12:55:54 -07:00
  • 08545bfb5c Add functions to remove account sudoer777 2021-11-25 12:49:31 -07:00
  • 23e85b7af3 Fix bug in accounts.js sudoer777 2021-11-25 12:41:22 -07:00
  • 06765455f6 Add functionality to edit accounts sudoer777 2021-11-25 12:40:19 -07:00
  • 1901f33851 Create client layout for managing users sudoer777 2021-11-25 12:17:53 -07:00
  • d43aba3da1 Remove console.log from teams.js sudoer777 2021-11-25 12:13:46 -07:00
  • 4d3b6989e4 Add function to get user information sudoer777 2021-11-25 12:04:18 -07:00
  • 173c075aa3 Add ability to create user from admin panel sudoer777 2021-11-24 22:29:29 -07:00
  • 4828ef2c7c Require admin for certain pages sudoer777 2021-11-24 21:40:33 -07:00
  • 24197d9bff Add invalid email or password message sudoer777 2021-11-24 21:22:17 -07:00
  • ebef80e061 Add logout function sudoer777 2021-11-24 21:07:13 -07:00
  • 8e8f0e3e7c Change passport require sudoer777 2021-11-24 21:05:33 -07:00
  • a6fe6d6c72 Create login page sudoer777 2021-11-24 20:58:49 -07:00
  • 9c7241e7e6 Remove console.log from teams.js sudoer777 2021-11-24 20:46:16 -07:00
  • 0a6c56e103 Fix issues involving editing and submitting games sudoer777 2021-11-24 20:36:00 -07:00
  • 48c2ee67bd Add page to create user sudoer777 2021-11-24 18:25:27 -07:00
  • 7520580d66 Add function to create user sudoer777 2021-11-24 18:13:33 -07:00
  • c5f05eebff Add auth router to app.js sudoer777 2021-11-24 17:58:28 -07:00
  • 33617a82ec Add passport functions sudoer777 2021-11-24 17:56:04 -07:00
  • 7a62885e8f Install passport-local sudoer777 2021-11-24 17:16:46 -07:00
  • fbfa500b8a Install bcrypt for managing passwords sudoer777 2021-11-24 15:55:44 -07:00
  • 9c9c106acd Database init script now creates accounts table sudoer777 2021-11-24 15:53:42 -07:00
  • 64026a791e Add packages for user authentication sudoer777 2021-11-24 12:46:21 -07:00
  • c90ca93850 Merge branch 'management-page' into 'develop' Sudoer777 2021-11-23 21:53:02 +00:00
  • fb63ef6b41 Add buttons to access add score and management pages sudoer777 2021-11-23 14:48:30 -07:00
  • bd0ae3bdfd Add ability to delete seasons sudoer777 2021-11-23 14:48:19 -07:00
  • b5495b1f57 Add ability to edit games sudoer777 2021-11-23 00:49:11 -07:00
  • 5d88f0ac4d Add ability to edit teams sudoer777 2021-11-22 23:45:24 -07:00
  • a2b9c5f50e Add ability to edit divisions sudoer777 2021-11-22 23:23:57 -07:00
  • cf91548dac Add ability to remove sports sudoer777 2021-11-22 22:10:47 -07:00
  • 35af76c90f Add ability to edit sports in manage page sudoer777 2021-11-22 22:03:02 -07:00
  • 4fec3a45c8 Change header in addseason.pug to match title sudoer777 2021-11-22 19:40:33 -07:00
  • 6ef9096cb7 Remove delete button on manage page sudoer777 2021-11-22 19:25:44 -07:00
  • 5c78753828 Fix bug regarding page redirection sudoer777 2021-11-22 19:23:20 -07:00
  • aacff9cca1 Add page to add teams sudoer777 2021-11-22 19:17:23 -07:00
  • 1a3b013a0f Add page to add divisions sudoer777 2021-11-22 19:11:16 -07:00
  • f95015095d Add page for adding sports sudoer777 2021-11-22 18:47:40 -07:00
  • 31575212ad Allow "Add new..." button to redirect to webpages per category sudoer777 2021-11-22 18:42:02 -07:00
  • 4133758bba Create page to add season sudoer777 2021-11-22 18:04:36 -07:00
  • 7c5c059e09 Remove submit router from app.js sudoer777 2021-11-22 17:55:15 -07:00
  • 9f2572336f Move game submit page from /submit to /manage/addgame sudoer777 2021-11-22 17:48:51 -07:00
  • e257e97320 Edit CSS sudoer777 2021-11-22 17:48:21 -07:00
  • 8587212af9 Fix bug where games.js uses nonexistent moment.js module for formatting sudoer777 2021-11-22 17:45:58 -07:00
  • 722bb4fce6 Edit css sudoer777 2021-11-22 17:38:45 -07:00
  • 4d5669dab7 Tweak table layout sudoer777 2021-11-22 17:13:29 -07:00
  • 54bef98312 Add games list to manage page sudoer777 2021-11-22 16:58:36 -07:00
  • 1f55ba3ff9 Add functions to get division by ID sudoer777 2021-11-22 16:27:50 -07:00
  • fe659184f4 Fix bug in games.js sudoer777 2021-11-22 16:13:21 -07:00
  • 17f14573e9 Add functionality to get all games from database sudoer777 2021-11-22 16:00:12 -07:00
  • 6fdbaedc79 Add functionality to list teams on manage page sudoer777 2021-11-22 15:48:30 -07:00
  • 90ef696b71 Add retrieve all teams in database functionality sudoer777 2021-11-22 15:45:19 -07:00
  • 28b11b7266 Group divisions by sport_id sudoer777 2021-11-22 15:38:20 -07:00
  • 18f840183f Add functionality to list divisions in management page sudoer777 2021-11-22 15:32:44 -07:00
  • b6f8b6bdaa Add functions to retrieve sport by ID sudoer777 2021-11-22 15:30:02 -07:00
  • 435748ae76 Add functionality to return all divisions in database sudoer777 2021-11-22 15:20:59 -07:00
  • 75594a81a6 Add option to fetch all divisions sudoer777 2021-11-22 14:58:43 -07:00
  • 4aafccc550 Add functions to list seasons and sports in manage page sudoer777 2021-11-22 14:50:32 -07:00
  • 1ce1bdb27c Add formatting tweak to submit.js sudoer777 2021-11-22 14:07:51 -07:00
  • 77359ba3a7 Add formatting tweak to index.js sudoer777 2021-11-22 14:07:06 -07:00
  • 7baa986a30 Add manage route to app.js sudoer777 2021-11-22 13:57:13 -07:00
  • a6e8e924e4 Create basic layout for manage page sudoer777 2021-11-22 13:56:57 -07:00
  • f7dfd24a68 Remove unnecessary div from index.pug sudoer777 2021-11-22 13:44:19 -07:00
  • 41d9140863 Remove console.log used for debugging sudoer777 2021-11-21 23:23:06 -07:00
  • dca9079648 Create files for /manage page sudoer777 2021-11-21 23:17:43 -07:00
  • 9db8ae5151 remove require database from index.js sudoer777 2021-11-21 23:16:29 -07:00
  • 14b56927ea Merge branch 'view-scores-page' into 'develop' Sudoer777 2021-11-22 06:08:31 +00:00
  • 8674781ba9 Tweak scores view page sudoer777 2021-11-21 22:07:25 -07:00
  • 4f2b496cf2 Add table of games to index page sudoer777 2021-11-21 21:59:07 -07:00
  • fc60e5186a Fix bug in teams.js sudoer777 2021-11-21 21:42:03 -07:00
  • 8cd291ef2a Store dates as strings sudoer777 2021-11-21 21:41:53 -07:00
  • c55b9c241f Remove moment.js in favor of Temporal sudoer777 2021-11-21 21:09:31 -07:00
  • 6de2f13b32 Add moment.js to client scripts sudoer777 2021-11-21 20:53:16 -07:00
  • 1abffb43bd Add function to get team name from an ID sudoer777 2021-11-21 19:33:10 -07:00