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

213 Commits

Author SHA1 Message Date
bfd4c0c702 Run background actions if winner_id or finished changes 2018-02-01 09:27:16 -05:00
cda7e21d34 Fixed typo to fix bug 2018-01-31 09:31:03 -05:00
ebbc92e0c0 Only assign matches with about number 2018-01-31 09:15:48 -05:00
0c9af7fcb3 Added stats to wrestler -> show 2017-11-14 07:43:06 -05:00
e168d0b51d Added functionality for a tournament director to move a wrestler to a pool that has a bye for greater flexibility 2017-08-29 13:02:00 -04: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
96dc5407da Fixed glitch in pool byes receiving 2 points when you have at least 1 pool
win. Poolrounds was not returning what I was expecting.
2017-01-19 00:41:34 -05:00
e77b555069 A BYE gives 2 points in a pool of you win one pool match. Now have two tests failing with regard to tie breakers. Most likely poorley written tests 2017-01-18 14:55:11 +00:00
4f15c2b8a3 Still moving logic out of the models 2016-05-26 01:04:51 +00:00
a6e64bdf8f Moved none database classes out of model folder. Still need to separate classes that are doing too much for bracket_advancement, for placement points, and for swapping wrestlers in pool/bracket. 2016-05-14 14:54:49 +00:00
2f9c54df2e Refactored match generation so I can eventually support multiple types of tournaments 2016-05-14 13:28:28 +00:00
a763c966d1 Sped up tests and updated Pool Order 2016-05-07 02:06:11 +00:00
ddcf2d807e Speeding up tests and renaming a few methods in generateMatchups 2016-03-26 03:54:31 +00:00
1f08d1a823 Assign next mat match before submitting delayed job 2016-02-04 15:32:38 +00:00
ac28af84a5 Fixed bug in single pool placement points and wrote tests 2016-01-29 19:22:05 +00:00
14058e6a6c Old tests now pass with single pool placement points. Still need to write tests for single pool placement points 2016-01-29 13:42:28 +00:00
1b9151a888 First shot at setting placement points for a single pool 2016-01-28 16:36:13 +00:00
a8b96c96e8 Swap page is now working and also moved swaping logic from tournament model to its own class 2016-01-27 14:13:49 +00:00
997d547ed2 Now that swapping works, make sure the higher seeded guys wrestle last in the pools 2016-01-26 14:00:09 +00:00
765d45194c Had to specify swapping pool matches because guys were being added to bracket matches and I could not figure out why 2016-01-26 13:59:37 +00:00
ada3434e55 Fixed bug to correctly calculate championship wins and conso wins 2016-01-25 16:02:33 +00:00
c46f895870 Swapping wrestlers works correctly now. 2016-01-25 15:33:46 +00:00
dcd8ab3dc0 Removed uneeded method in tournament model 2016-01-25 13:02:16 +00:00
01b9476ba7 Switched back to original way I swapped wrestlers 2016-01-25 12:59:38 +00:00
75efa73777 Added shell views and routes to swap wrestlers bracket positions
Still need to set permssions on swap controller method
2016-01-25 12:53:32 +00:00
0275b48499 Fixed issue with zero seeded kids 2016-01-25 01:18:02 +00:00
f97557ec23 Fixed the way I swap wrestlers 2016-01-25 01:11:35 +00:00
a9463d0f0c Revert "idk"
This reverts commit bb8f498ca0.
2016-01-23 14:41:42 +00:00
bb8f498ca0 idk 2016-01-23 14:39:21 +00:00
54f7a68e88 Moving seeded pool matches to last round is not working with the poolOrder 2016-01-23 05:04:23 +00:00
5c71d98998 Move two highest pool seeds match to last pool round 2016-01-22 19:00:15 +00:00
7c84686ed8 Do not want two delayed jobs kicking each other off 2016-01-22 04:40:54 +00:00
ab892b6f9c Only needs to destroy matches on delete 2016-01-20 19:00:09 +00:00
2866c93aec Destroy matches if a school wrestler or weight is destroyed 2016-01-20 17:52:21 +00:00
1ee671f5b4 Define where to put seeds 5-8 2016-01-20 17:52:06 +00:00
bd3c29bd60 Fixed tournament error bug 2016-01-20 16:10:41 +00:00
40ebe64176 Error page for generating matches, cannot have more than 16 for Pool to bracket tournaments 2016-01-20 15:15:39 +00:00
1401dbea98 Seeds need to be nil before setting seeds 2016-01-20 14:32:23 +00:00
c537c6067c Recommend deleting delegations instead of deleting them 2016-01-13 13:50:19 +00:00
67a25123aa Remove school delegations when generating matches 2016-01-13 13:07:51 +00:00
a757c8a777 Fixed random seeding 2016-01-13 03:44:56 +00:00
faa4300335 Touch wrestler and school on update 2016-01-12 18:41:43 +00:00
c6626988db Added pages for teampointsadjust and spearated wrestler and school deducted points 2016-01-12 17:36:45 +00:00
227e588658 Championship bracket wins are 2pts and conso bracket wins are 1pt 2016-01-12 15:05:38 +00:00
a8d54a2213 Advance in pool for previous matches 2016-01-11 20:06:43 +00:00
cce30bdf3a Fixed mat assignment when matches are finished 2016-01-11 16:48:08 +00:00
dd9e19b43f Added views to delegate tournament permissions 2016-01-07 19:55:15 +00:00
612902aa91 School delegates permissions are working 2016-01-07 16:08:46 +00:00
59f20e1698 Deducted points breaks tie before head to head 2016-01-06 20:26:20 +00:00
4310a7bb42 Pool wins are worth 2pts 2016-01-06 20:08:28 +00:00