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

662 Commits

Author SHA1 Message Date
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
934b34d0b7 Properly place wrestlers in the correct pool dynamically 2025-02-10 13:26:25 -05:00
dd0585ed55 Fixed bout sheets to fit on a single page. 2025-01-27 09:10:02 -05:00
735f7090b2 For double elimm printable brackets, only spill onto second page for brackets over 16 wrestlers. 2025-01-25 20:43:52 -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
54655a2ea9 Fixed the print view for brackets 2025-01-24 18:04:02 -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
f6bc7aa1a4 Fixed matchstats error where putting in a score then changing win type to pin does not unlock the submit button. 2025-01-22 09:21:45 -05:00
3248fdf7ca Fixed dynamic form to correctly update the final score when submitting the form 2025-01-21 16:14:15 -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
cc62e1c2f1 Protect tournament from out of order seeding. 2025-01-20 10:23:27 -05:00
d57b2e6e6f Make seeds truly random for double elimination brackets 2025-01-19 22:32:28 -05:00
fd1a7c43ff Fix all brackets printable view. 2025-01-19 21:58:02 -05:00
b241818c21 Added underscores in the stats box for the other wrestler to make it easier to follow. 2025-01-19 20:57:46 -05:00
288cb6704e Added a dynamic score form on the stats page, added stats page form validation on the in js to compliment the validation already in place on the model, and added the wrestler's score in the winner dropdown of the form. 2025-01-19 20:35:33 -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
275847befe Added a tournament error if more than 1 person in a weight has the same seed. 2025-01-07 16:00:17 -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
bb3b05ee81 Fixed auto byes and wrote a test 2025-01-05 10:32:16 -05:00
490bd762f6 Fixed seeding to go in order to make sure there are never double byes in the first round 2025-01-04 20:26:51 -05:00
f3e0f5d4c5 Added integration tests for import and backup 2025-01-04 18:14:33 -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
e986ce225b Use json for tournament backups and imports 2024-12-26 18:12:44 -05:00
15bf39014f Fix advance wrestler not running if the winner id changes 2024-12-23 23:33:55 -05:00
13bb8067fb Added logic for 32 man bracket 2024-12-23 22:12:44 -05:00
4f0f69223d Updated double elim match generation and loser name to use hashes instead of structs as well as fixing the matchup of 4v13 and 3v14 in 16 man brackets. 2024-12-23 18:27:49 -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
6242100e01 Removed a puts for diagnostics 2024-12-16 00:23:19 -05:00
d34fd873c0 Fixed pool order by only getting team points from pool wins and fixing calculating pin time 2024-12-16 00:19:30 -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
fc43de71bb Clear cache for weight on pool order for bracket page 2024-12-09 08:29:52 -05:00
5219c2b1e3 Added time saver for girls middle school weight classes 2024-12-08 19:48:59 -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
f6ef471591 Updated stats for new scoring 2024-12-06 07:27:58 -05:00
db440c0603 Consolidated the double elimination bracket view, the double elimination match generation, and the double elimination loser names 2024-12-04 17:01:02 -05:00
5d37e5e0d8 Fixed migration for mat assignment rule 2024-11-25 20:12:36 -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
1f18f338ff Stop using CDN for bootstrap and datatables. Continue for font awesome, I could not get it working locally. 2024-03-21 07:45:31 -04:00
6cb523e350 config.load_defaults is now 7.1 and I had to add optional belongs to to a couple models as a deprecation from the 4.2 to 5.0 upgrade 2024-03-19 08:36:33 -04:00
2eb38ce788 Allow decimals in the weight max form and remove references to lbs in views 2023-02-02 13:36:52 +00:00
1078dc9e97 Fixed caching of school view 2023-02-02 13:11:01 +00:00
c133a8b051 Added safeguards for generating pool matches along with tests, updated two errors on about page, and added time saver to create middle school weights 2023-01-24 22:56:22 +00:00
1d0cff0e6f Pool order tests are not asserting properly and once fixed some were failing. All tests fixed and passing now. 2023-01-23 22:14:00 +00:00
1ee886abd3 Fixed creating a teampointadjust with a wrestler 2023-01-19 22:48:41 +00:00
86bb0b8410 Fixed spelling of Neutral 2023-01-19 22:48:41 +00:00
c3480909a2 Fixed school show caching 2023-01-19 01:47:32 +00:00
371b44977f Redirect errors on match#stat back to match#stat 2023-01-09 19:27:31 -05:00