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

297 Commits

Author SHA1 Message Date
d61ed80287 Reload last_match and wrestler in advanced_wrestler. Moved calculate team score to the end of advance_wrestler. 2025-09-15 18:22:42 -04:00
782baedcfe Added support for 64 man brackets 2025-08-28 10:32:35 -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
6e61a7245a Added a separate table to record background job status for tournaments and fixed migrations/schemas for solid dbs. Foreign key constraints are now added to the migrations where we do belongs_to. 2025-04-15 16:16:44 -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
9c25a6cc39 New bracket positions for double elim brackets. Each bracket position will now wrestle during the same round. Made a rake task to migrate previous matches to the new bracket positions. 2025-04-02 16:23:20 -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
cc62e1c2f1 Protect tournament from out of order seeding. 2025-01-20 10:23:27 -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
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
bb3b05ee81 Fixed auto byes and wrote a test 2025-01-05 10:32:16 -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
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
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
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
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
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
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
c3480909a2 Fixed school show caching 2023-01-19 01:47:32 +00: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
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
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
7220ffe3c6 Fixed first round bracket name for 8 man brackets 2022-01-22 03:48:50 +00:00
d42b683f67 Added a sort by bout number for assign_next_match 2022-01-19 03:28:16 +00:00
f0e8c99b9f Use match id instead of bout number when looking stuff up on bracket view. 2021-12-22 13:13:44 +00:00
6db1dacbb6 Bracket name should not only rely on the round number 2021-12-22 13:12:59 +00:00
b571bcc749 Fix calculate team scores 2021-12-21 01:23:28 +00:00
54e755ba3a Added bye points for double elimination and modified double elimination 2021-12-20 20:48:29 +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
3dabc16a82 Added regular double elimination placing 1-8 tournament 2021-03-01 23:55:35 +00:00
1e30344be8 Fixed bug where wrestler deducted points were deducting twice from the team score 2021-02-22 16:21:22 +00:00