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

80 Commits

Author SHA1 Message Date
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
010d9a5f6b Added all_results page to tournaments 2025-03-11 12:32:18 -04:00
5114ed7b08 Added a finished_at column on matches, created a callback to updated that only if finished changes and is 1, and display that on the match stats page. 2025-01-22 17:01:06 -05:00
15bf39014f Fix advance wrestler not running if the winner id changes 2024-12-23 23:33:55 -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
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
6cb523e350 config.load_defaults is now 7.1 and I had to add optional belongs to to a couple models as a deprecation from the 4.2 to 5.0 upgrade 2024-03-19 08:36:33 -04:00
ffb7d8be5b Always clear the cache for wrestlers when the match changes 2023-01-09 19:15:51 -05:00
994fc18365 Added overtime_type to matches 2022-09-13 14:42:40 +00:00
58d088907a Allow nil when modifiying match wrestlers, allow nil when stating a match, fixed tournament navbar on wrestler edit, fixed tournament navbar on edit match wrestlers 2022-01-24 21:54:50 +00:00
7220ffe3c6 Fixed first round bracket name for 8 man brackets 2022-01-22 03:48:50 +00:00
d42b683f67 Added a sort by bout number for assign_next_match 2022-01-19 03:28:16 +00:00
6db1dacbb6 Bracket name should not only rely on the round number 2021-12-22 13:12:59 +00:00
ad259f00b5 Fixed n+1 error for matches page on tournament 2021-11-08 22:42:55 +00:00
b2ba1901df Changed forfeit bracket label to FF 2021-02-17 03:38:03 +00:00
6d5f6d39f7 Change bracket format to boxes, modularize the brackets, bold the bracket winners, and change the format of the round 1 line 2020-03-04 14:22:29 -05:00
870c5bc7ec Fixed double elimination advancement and match after update actions. 2020-01-27 08:34:25 -05:00
80841e15ae Dealing with double byes 2020-01-24 10:30:50 -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
981ba3d530 Run after match actions if score or win type change 2020-01-03 13:15:05 -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
d0cf5301e2 Put win type on bracket and made bracket text smaller 2019-02-01 15:36:37 +00:00
dea5ee83f0 Bracket name was not including the loser name 2019-01-30 13:53:51 +00:00
6bbb0b2e2c Added team abbreviation 2019-01-24 20:16:43 +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
d67a8f2b42 Refactored names of methods and some db column 2018-11-13 14:14:48 +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
0c9af7fcb3 Added stats to wrestler -> show 2017-11-14 07:43:06 -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
4f15c2b8a3 Still moving logic out of the models 2016-05-26 01:04:51 +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
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
c46f895870 Swapping wrestlers works correctly now. 2016-01-25 15:33:46 +00:00
f97557ec23 Fixed the way I swap wrestlers 2016-01-25 01:11:35 +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
a911183637 Trying to fix async jobs 2015-12-29 22:53:53 +00:00
0d310c587b I think I got delayed jobs working 2015-12-29 18:50:18 +00:00
327b49fe88 Changed match callback to update instead of save 2015-12-23 17:30:02 +00:00
fc3581e33e Fixed wrestler touch in match after_save callback 2015-12-23 16:31:37 +00:00
a3cf41918b Cache other pages that users will frequent 2015-12-23 15:29:32 +00:00
db876809ef Page caching set up 2015-12-23 14:11:20 +00:00
54ecbe9451 Revert "Added memcached and set up cached items for up_matches page"
This reverts commit 983cc9c667.
2015-12-17 19:20:18 +00:00
983cc9c667 Added memcached and set up cached items for up_matches page 2015-12-17 18:44:24 +00:00
702a52311b Added most decision points and quickest pin to the tiebreakers 2015-12-17 14:03:14 +00:00