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

72 Commits

Author SHA1 Message Date
6e61a7245a Added a separate table to record background job status for tournaments and fixed migrations/schemas for solid dbs. Foreign key constraints are now added to the migrations where we do belongs_to. 2025-04-15 16:16:44 -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
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
288cb6704e Added a dynamic score form on the stats page, added stats page form validation on the in js to compliment the validation already in place on the model, and added the wrestler's score in the winner dropdown of the form. 2025-01-19 20:35:33 -05:00
6242100e01 Removed a puts for diagnostics 2024-12-16 00:23:19 -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
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
1d0cff0e6f Pool order tests are not asserting properly and once fixed some were failing. All tests fixed and passing now. 2023-01-23 22:14:00 +00:00
f0e8c99b9f Use match id instead of bout number when looking stuff up on bracket view. 2021-12-22 13:13:44 +00:00
54e755ba3a Added bye points for double elimination and modified double elimination 2021-12-20 20:48:29 +00: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
a76f4036b3 Added persistence to pool placement and pool order 2019-04-19 10:33:06 -04: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
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
d67a8f2b42 Refactored names of methods and some db column 2018-11-13 14:14:48 +00: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
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
ada3434e55 Fixed bug to correctly calculate championship wins and conso wins 2016-01-25 16:02:33 +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
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
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
4310a7bb42 Pool wins are worth 2pts 2016-01-06 20:08:28 +00:00
198c6d5e82 Model validations 2015-12-30 19:04:41 +00:00
6ed2bdf547 Extras do not score points but still get tie breaker criteria 2015-12-30 15:13:09 +00:00
a3cf41918b Cache other pages that users will frequent 2015-12-23 15:29:32 +00:00
4bb81417a9 Fixed bug in test for quickest pin then fixed bug in quickest pin tie breaker 2015-12-17 14:48:07 +00:00
702a52311b Added most decision points and quickest pin to the tiebreakers 2015-12-17 14:03:14 +00:00
ae056ec7f8 Added when they last wrestled 2015-12-17 13:06:42 +00:00
e2966c0456 Fixed win displays for brackets 2015-12-16 12:51:32 +00:00
d48b1b573f Destroy matches on wrestler create not save 2015-12-15 13:25:23 -05:00
4a4dfde8bb Fixed model names 2015-12-15 08:30:13 -05:00
c9125527d7 Fixed pooladvance and updated views for when tournament ends 2015-12-04 13:26:32 +00:00
5898393fac Fixed bug in pooladvance and refactored 2015-12-03 20:27:38 +00:00
393326f24f Showing next bout number and mat on school show page 2015-11-19 13:46:58 +00:00
67727c6391 Testing team points for pool to bracket 2015-11-17 19:03:34 +00:00
61ed7c9d69 Renamed to pool bracket placement points 2015-11-17 16:42:16 +00:00
da6b95fed8 Placement points added need to test 2015-11-17 16:39:56 +00:00
328898f1e8 Tie breaker for team score 2015-11-16 16:59:08 +00:00
2e1f70803b Advance wrestlers after teampointadjust in case its added after the last match in a pool. Also added coin flip tie breaker 2015-11-16 13:51:01 +00:00
934ccc28ee Deducted points pool tie breaker added 2015-11-16 13:31:27 +00:00
34a04be4bf Added head to head pool winner and tests 2015-11-10 02:58:52 +00:00
e426a491b3 Trying to remove queries and rely on associations 2015-11-02 13:25:53 -05:00
386dc1605f Finished pool advance logic still need tests 2015-10-14 17:58:28 -04:00
087c383996 Continuing pool bracket movements 2015-10-13 20:57:35 -04:00