1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-24 17:04:43 +00:00

89 Commits

Author SHA1 Message Date
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
9c2a9d62ad Fixed random seeding for double elimination. Since bracket positions are already evenly distributed on top half and bottom half of the bracket, I only need to pick odd or even bracket line numbers. 2026-01-23 17:35:16 -05:00
556090c16b Fixed double elimination generate loser names for a 6 man bracket when we're placing top 8 2026-01-23 17:35:16 -05:00
940f7b1d00 Job concurrency per tournament is 1 so we don't have to scale too much on active queue. Pages no longer refresh automatically after navigating away from the bout board. Tournament backups are no longer deleted when restoring from a backup. Cloudflare is blocking manual backup imports so I have deleted that form on the backups page. 2026-01-16 18:21:17 -05:00
52df73d14f Fixed random double elimination seeding to avoid double byes in round 1 and evenly distribute the number of round 1 matches from the top and bottom half of the bracket 2026-01-14 19:00:35 -05:00
6e9554be55 Fixed the JSON 3 deprecation in the backup and import service 2025-10-08 13:54:38 -04:00
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
9a4e6f6597 Dynamic double elim match generation and loser name generation 2025-09-02 22:10:55 -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
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
934b34d0b7 Properly place wrestlers in the correct pool dynamically 2025-02-10 13:26:25 -05:00
d57b2e6e6f Make seeds truly random for double elimination brackets 2025-01-19 22:32:28 -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
e986ce225b Use json for tournament backups and imports 2024-12-26 18:12:44 -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
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
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
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
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
994fc18365 Added overtime_type to matches 2022-09-13 14:42:40 +00:00
a3724914aa Print before import 2022-02-25 13:07:54 +00:00
d42b683f67 Added a sort by bout number for assign_next_match 2022-01-19 03:28:16 +00:00
a6cc05424c Do not award bye points if they get bye's all the way to the finals and win by bye 2021-12-21 00:39:40 +00:00
54e755ba3a Added bye points for double elimination and modified double elimination 2021-12-20 20:48:29 +00:00
3dabc16a82 Added regular double elimination placing 1-8 tournament 2021-03-01 23:55:35 +00:00
432903e7a9 Fixed small bug in modified 16 man double elim brackets 2021-02-22 13:42:25 +00:00
537eccf04d Added tests for modified double elimination, added a 1-8 place modified double elimination, and renamed regular double elimination 2021-02-20 01:33:31 +00:00
9dae57e141 8 man double elim cross brackets in the semis not quarter finals 2020-01-31 12:51:06 -05:00
c98d3b2610 Fixed another bug in double elimination advancement 2020-01-31 12:09:19 -05:00
5bb76fe134 Fix points for fourth place 2020-01-29 11:19:19 -05:00
29ea593d12 Cross bracket at quarter final for 8 man double elim 2020-01-27 08:38:34 -05:00
870c5bc7ec Fixed double elimination advancement and match after update actions. 2020-01-27 08:34:25 -05:00
66f7a7ab3e Added team points for double elimination 2020-01-24 14:27:53 -05:00
80841e15ae Dealing with double byes 2020-01-24 10:30:50 -05:00
c4891f7d7c Move all finals matches to the last round 2020-01-24 09:06:09 -05:00
bc136ae356 Fixed swap wrestlers logic 2020-01-24 08:11:37 -05:00
21b023f195 Added 8 man brackets for double elimination 2020-01-24 07:57:51 -05:00
58afc8a485 Added logic for 16 man dobule elminination match generation. 2020-01-23 21:25:25 -05:00