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
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
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
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
3dabc16a82
Added regular double elimination placing 1-8 tournament
2021-03-01 23:55:35 +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
29ea593d12
Cross bracket at quarter final for 8 man double elim
2020-01-27 08:38:34 -05: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
e458cbcf40
Add pool_placement and pool_placement_tiebreaker to importer and exporter
2019-04-19 22:47:53 -04:00
2b92bdaf66
Preliminary import/export feature
2019-01-30 20:16:56 +00:00
f43cd316f6
Needed to reload a tournament to move finals matches to the last round
2019-01-30 13:33:11 +00:00
b2b007bd96
Added eight pools to quarter final bracket
2018-12-24 13:36:03 +00:00
d67a8f2b42
Refactored names of methods and some db column
2018-11-13 14:14:48 +00:00
436e716cd4
Changed database column for wrestlers seed to bracket_line
2018-09-17 14:29:00 +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
3f72a912b6
Wrestler pool number is now saved in db. Pool number generation moved to it's own class.
2017-03-02 18:11:21 +00: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