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

79 Commits

Author SHA1 Message Date
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
ff102a1862 Added 16 man modified double elimination bracket type. Still need to fix swap wrestlers code. 2020-01-23 07:46:23 -05:00
314124107c Added a note for myself 2020-01-16 10:26:04 -05:00
e4329e3519 Fixed largest bracket for pol to bracket score calc 2020-01-11 18:26:58 -05:00
6acea87822 Fix team points per OHSAA 2020-01-07 07:25:49 -05:00
a709cb5c69 Fixed pool order deducted points bug 2020-01-03 12:54:11 -05:00
e2ec1d4a8a Fixed bug with pool to bracket advancement. This bug was conceived due to the removing of tests and logic when making pool and pool_placement database fields. 2019-12-12 11:19:24 -05:00
661c56d04e Added job_owner and 'description' to delayed_job to show on the tournament show page 2019-11-26 23:40:01 -05:00
8a9ea7ff35 Fixed bug for deducted points and fastest pin. Also added tests to test against those bugs 2019-04-20 11:57:58 -04:00
e458cbcf40 Add pool_placement and pool_placement_tiebreaker to importer and exporter 2019-04-19 22:47:53 -04:00
a76f4036b3 Added persistence to pool placement and pool order 2019-04-19 10:33:06 -04:00