1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 13:43:48 +00:00
Commit Graph

94 Commits

Author SHA1 Message Date
c133a8b051 Added safeguards for generating pool matches along with tests, updated two errors on about page, and added time saver to create middle school weights 2023-01-24 22:56:22 +00:00
645fb59e5b Fixed tournament search to search each term for both date and name 2022-09-08 14:13:21 +00:00
b571bcc749 Fix calculate team scores 2021-12-21 01:23:28 +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
0aea26967a Added quick create high school girls weight classes 2021-02-18 20:27:44 +00:00
ce063f5faa Fixed error_string bug in match generations 2021-02-15 13:40:54 +00:00
afaae0fd12 Added error for double elimination tournament 2020-02-04 12:24:21 -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
2b92bdaf66 Preliminary import/export feature 2019-01-30 20:16:56 +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
2f9c54df2e Refactored match generation so I can eventually support multiple types of tournaments 2016-05-14 13:28:28 +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
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
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
f97557ec23 Fixed the way I swap wrestlers 2016-01-25 01:11:35 +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
2866c93aec Destroy matches if a school wrestler or weight is destroyed 2016-01-20 17:52:21 +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
c537c6067c Recommend deleting delegations instead of deleting them 2016-01-13 13:50:19 +00:00
c6626988db Added pages for teampointsadjust and spearated wrestler and school deducted points 2016-01-12 17:36:45 +00:00
cce30bdf3a Fixed mat assignment when matches are finished 2016-01-11 16:48:08 +00:00
f46029efaf Added logic to delegate tournament access 2016-01-06 18:38:02 +00:00
eb9037b078 Mat assignment fix did not work 2016-01-06 15:42:00 +00:00
7d092c3d35 Fixed assigning mats bug 2016-01-06 02:52:24 +00:00
c012682e77 Added tournament search 2016-01-04 19:20:05 +00:00
198c6d5e82 Model validations 2015-12-30 19:04:41 +00:00
c82d6d727b Added date to tournament 2015-12-30 18:48:49 +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
5ee949d02a Reset team scores when generating matches 2015-12-23 15:38:33 +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
7970ff000c Re assign bouts to mats if mat is destroyed or created 2015-12-14 20:23:47 +00:00
d28e95ed31 Put finals in same round 2015-12-07 15:24:42 +00:00
68fe5e4f90 Updated views for wrestlers show page 2015-12-04 19:50:32 +00:00
d18e729012 Finished setting owner for tournamenr and protecting paths 2015-10-26 16:31:45 -04:00
ad9ea9dc42 First crack at setting an owner for the tournament 2015-10-23 08:53:29 -04:00
0fd3bd64fe Added a bout board 2015-06-19 15:25:01 +00:00
RJ Osborne
284439e2cf Removed upcomingMatches because matches are an A-R relation of Tournament 2015-05-28 00:25:14 -04:00
RJ Osborne
062396da0a A Tournament can now generate its own matches.
This was again extracted as a module.  Modules get more powerful as they get more generic.  This is far from generic.
2015-05-27 23:57:37 -04:00
RJ Osborne
9b2c2dde60 Converted class tournamentmatchgen into the GeneratesLoserNames module.
Here is another way to handle functionality that you may not want bloating your ActiveRecord class, yet belongs _on_ the model.
In this case, I feel there is an abstraction we are still sorely missing.
2015-05-27 23:29:51 -04:00