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

231 Commits

Author SHA1 Message Date
a76f4036b3 Added persistence to pool placement and pool order 2019-04-19 10:33:06 -04:00
80ae130aa8 This fixes a bug where moving from two pools to four did not work 2019-02-05 14:15:09 +00:00
d0cf5301e2 Put win type on bracket and made bracket text smaller 2019-02-01 15:36:37 +00:00
2b92bdaf66 Preliminary import/export feature 2019-01-30 20:16:56 +00:00
dea5ee83f0 Bracket name was not including the loser name 2019-01-30 13:53:51 +00:00
71c8a0dc99 Fixed an infinite loop in pool_order when calculating pool order for a single pool bracket 2019-01-30 13:34:27 +00:00
6bbb0b2e2c Added team abbreviation 2019-01-24 20:16:43 +00:00
ceb7645490 When deleting a wrestler, all matches need to be deleted and a director will need to regenerate the matches. 2019-01-24 13:45:45 +00:00
b001445090 Fixed redirect for match editing and added controller tests. Added wrestler school name to match edit form. Added authorization tests to all matches page. 2019-01-23 19:35:19 +00:00
19f10ec80b Matche edit and mat show redirect properly 2019-01-23 16:04:51 +00:00
100317075b Put weight class and school names on stats page 2019-01-23 13:20:24 +00:00
4eb75d45d3 Fixed issue with wrestlers having a pool number higher than possible when bracket types change after deleting wrestlers 2019-01-19 21:26:48 +00:00
31323593c9 Added baumspage roster importer 2019-01-10 13:25:31 +00:00
046b48370e tournament.total_rounds should return 0 if there are none 2019-01-09 08:27:52 -05: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
a2002c31ce Fixed depricated callback 2018-05-04 09:58:18 -04:00
6bf0c9dc81 Run background actions if winner_id or finished changes 2018-02-01 09:26:22 -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