1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Commit Graph

197 Commits

Author SHA1 Message Date
ca4d5ce0db Use websockets on stats page to determine which match to stat. 2026-02-23 17:56:40 -05:00
654cb84827 Use turbo streams for the bout board instead of auto refreshing every 30 seconds. 2026-02-20 19:20:33 -05:00
dc50efe8fc Removed the use of datatables and added pagination and search on all_matches. 2026-02-19 17:53:40 -05:00
8670ce38c3 Fixed a number of N+1 issues on low traffic pages. I also added relevant html tests for these pages. 2026-02-17 22:27:11 -05:00
ae8d995b2c Added a QR code page that generates a QR code for tournament directors to print out. 2026-02-11 18:23:14 -05:00
2767274066 Added queues for mats and provided a way for tournament directors to move matches to a mat. 2026-02-03 17:50:52 -05:00
f73e9bfc4e Fix the reset bout board link 2025-11-11 20:55:34 -05:00
3e1ae22b6b Added pagination for the tournaments index page 2025-09-26 12:31:37 -04:00
1fcaec876f Refactored match winner and wrestlers matches and fixed slow tests. 2025-04-25 15:59:35 -04:00
3e4317dbc5 Using action cable to send stats updates to the client and made a spectate page. 2025-04-21 17:12:54 -04:00
2d433b680a Upgraded to rails 8.0.2, moved from dalli to solid cache, moved from delayed_job to solid queue, and add solid cable. deploy/rails-dev-run.sh no longer needs to chmod. Fixed finished_at callback for matches. Migrated from Devise to built in rails auth. Added view tests for the bracket page testing that all bout numbers render for all matches in each bracket type. 2025-04-08 17:54:42 -04:00
010d9a5f6b Added all_results page to tournaments 2025-03-11 12:32:18 -04:00
91e1939e69 Added a feature to generate uuid links for coaches to submit their school lineups. 2025-02-18 16:39:10 -05:00
690e497654 Fixed mat assignment rules to be db agnostic with comma delimited strings and upgraded test env db to mariadb 10.10 to match production. 2025-01-25 20:02:22 -05:00
5114ed7b08 Added a finished_at column on matches, created a callback to updated that only if finished changes and is 1, and display that on the match stats page. 2025-01-22 17:01:06 -05:00
60814fdd94 Added a next bout number to the mat show page on the match stats 2025-01-20 11:41:07 -05:00
c45ec8ab38 Fixed mat assignment rules. MySQL required implicit conversion to an integer. 2025-01-12 08:15:45 -05:00
e612a4b10e Fixed the query for unassigned matches on the up_matches page and also only allow mats to get a new match assigned if they have less than 4 unfinished matches. Added mats to the finish_tournament_204 rake task. 2025-01-10 16:02:37 -05:00
6adcc709e7 Do not show matches with a BYE on the upcoming matches on the bout board. Those matches are filtered out on the next available match logic for the mats. 2025-01-07 08:18:45 -05:00
49fbf6735d Added tournament backups to the database and added pages to restore and create backups 2025-01-04 16:27:52 -05:00
698576dac9 Fixed the POSt endpoint to accept bracket positions 2025-01-04 16:26:57 -05:00
7e6d7ddfbb Updated seeding logic for double elim to make byes truly random and to keep bracket lines consistent through match generations 2024-12-23 16:17:43 -05:00
a851436c0c Removed single weight match generation, fixed bracket names, reload weight matches for pool order, and auto delete errrored jobs 2024-12-16 00:02:30 -05:00
f18802a933 Fixed double elim bracket views, fixed double elim match generation and loser name generation for 4 man bracket, fixed seed page submission and added tests, added tests for tournament generation errors and added a new error for assigning a seed higher than the number of wrestlers. 2024-12-08 19:29:56 -05:00
ad8e486205 Added mat assignment rules for the bout board and fixed the bug where a delegate making the tournamnet info public changes them to the owner 2024-11-25 16:25:59 -05:00
371b44977f Redirect errors on match#stat back to match#stat 2023-01-09 19:27:31 -05:00
6b57246080 Fixed the mat#show route by defining the correct vars in the controller and added a route for assign_next_match on mat 2023-01-09 19:16:36 -05:00
c328bbd91c Added is_public to a tournament to hide lineups and brackets until you're ready to make it public 2023-01-01 23:16:12 -05:00
994fc18365 Added overtime_type to matches 2022-09-13 14:42:40 +00:00
645fb59e5b Fixed tournament search to search each term for both date and name 2022-09-08 14:13:21 +00:00
907a2eadef Fixed bug on matchstats where p2 was out of line and time_ago_in_words wasn't working 2022-04-29 11:09:22 +00:00
cce2e5b5f8 When delegating, only directly match the email to not expose user emails 2022-02-23 21:25:01 +00:00
58d088907a Allow nil when modifiying match wrestlers, allow nil when stating a match, fixed tournament navbar on wrestler edit, fixed tournament navbar on edit match wrestlers 2022-01-24 21:54:50 +00:00
d42b683f67 Added a sort by bout number for assign_next_match 2022-01-19 03:28:16 +00:00
194fbca978 Updating calculating team scores as a put 2021-12-21 02:38:43 +00:00
1c8e3af5f4 Fixed navbar on school show page 2021-12-21 02:04:08 +00:00
b571bcc749 Fix calculate team scores 2021-12-21 01:23:28 +00:00
8430949a37 Fixed a couple slow queries 2021-12-11 03:08:43 +00:00
ad259f00b5 Fixed n+1 error for matches page on tournament 2021-11-08 22:42:55 +00:00
0aea26967a Added quick create high school girls weight classes 2021-02-18 20:27:44 +00:00
ff102a1862 Added 16 man modified double elimination bracket type. Still need to fix swap wrestlers code. 2020-01-23 07:46:23 -05:00
ac0cdc25a3 Added manual pool order button 2020-01-14 14:54:24 -05:00
7ffdd3edf5 Added button to calculate all team scores 2020-01-14 13:16:34 -05:00
d4dedfb3bd Added an edit wrestlers page for matches 2020-01-14 12:46:02 -05:00
ca8b187267 Limit searches to 200 2020-01-07 07:32:13 -05:00
2b92bdaf66 Preliminary import/export feature 2019-01-30 20:16:56 +00:00
46b8888245 Need to delete the return_path when on schools show otherwise you get redirected to another school you browsed 2019-01-30 20:16:23 +00:00
972c5af093 Put number next to school on team scores page and included team scores into all brackets 2019-01-30 14:16:26 +00:00
0599faa173 Updated messages for actions that will require extra steps. 2019-01-24 14:13:22 +00:00
c721abe1f6 When deleting a wrestler from weights show page, it now redirects to weights show 2019-01-24 13:44:53 +00:00