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

645 Commits

Author SHA1 Message Date
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
eb56b9d16c Clear the cache of wrestlers when next matches are assigned to a mat 2023-01-09 19:19:30 -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
ffb7d8be5b Always clear the cache for wrestlers when the match changes 2023-01-09 19:15:51 -05:00
22f5733160 Fixed export bug when adding overtime type to matches 2023-01-05 22:47:29 -05:00
b5ab929270 Hide one more text on tournament show page depending on if tournament is public or not 2023-01-02 22:08:31 -05:00
1d646cb05d Do not show brackets or bout board if you tournament is not public 2023-01-02 15:57:08 -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
2dccf8dd55 Using a proxy for plausible 2022-10-05 00:46:39 +00:00
6eb71ef59e Using a proxy for plausible 2022-10-04 22:54:43 +00:00
67bee921ab Using a proxy for plausible 2022-10-04 22:06:38 +00:00
8672bdd73d Moved from google analytics to plausible 2022-10-04 13:39:47 +00: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
a3724914aa Print before import 2022-02-25 13:07:54 +00:00
6e712cd199 Added caching to the school#show page 2022-02-23 21:25:01 +00:00
cce2e5b5f8 When delegating, only directly match the email to not expose user emails 2022-02-23 21:25:01 +00:00