18d39c6c8f
Using eager loading in GenerateTournamentMatches and AdvanceWrestler, generating/manipulating in-memory, and doing a single bulk insert or update at the end.
2026-02-24 20:58:36 -05:00
654cb84827
Use turbo streams for the bout board instead of auto refreshing every 30 seconds.
2026-02-20 19:20:33 -05: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
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
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
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
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
c4891f7d7c
Move all finals matches to the last round
2020-01-24 09:06:09 -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
661c56d04e
Added job_owner and 'description' to delayed_job to show on the tournament show page
2019-11-26 23:40:01 -05:00
f43cd316f6
Needed to reload a tournament to move finals matches to the last round
2019-01-30 13:33:11 +00:00
d67a8f2b42
Refactored names of methods and some db column
2018-11-13 14:14:48 +00:00
45a7ab3e6c
Reload tournament matches so generateweight moves finals to the last round as well
2018-05-04 09:58:18 -04:00
ed23a8e997
Need to save unassigning mats
2018-02-01 13:42:35 -05:00
0ac3efa615
Force curently genrating matches to be nil
2018-02-01 08:16:28 -05:00
df397f55e3
Trying to get curently generating matches to be nil
2018-02-01 07:13:06 -05:00
275e65c7a1
When generating a new weight, wipe mats from matches
2018-01-31 08:49:38 -05:00
9841f5648d
Discard ActiveRecord association cache so generating a single weight class of matches works
2018-01-31 07:59:48 -05:00
53598152cf
Realigned file and sorted matches by weight and round when assigning bouts
2018-01-31 07:26:15 -05:00
bbb745564e
Re-generating one weight classes matches - NEED TO REFACTOR and NEED TO WRITE TESTS
...
Code is repeated in the following classes:
GenerateTournamentMatches
PoolToBracketMatchGeneration
PoolToBracketGenerateLoserNames
WipeTournamentMatches
2016-09-09 17:51:00 +00:00
4f15c2b8a3
Still moving logic out of the models
2016-05-26 01:04:51 +00:00
2f9c54df2e
Refactored match generation so I can eventually support multiple types of tournaments
2016-05-14 13:28:28 +00:00