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

165 Commits

Author SHA1 Message Date
d57aaac09d Hide ads on schools#show, wrestlers#new, wrestlers#edit, and mats#show 2026-02-11 07:55:49 -05:00
b51866e9d8 Added tests for hiding ads on lineup submission. 2026-02-09 18:36:56 -05:00
2767274066 Added queues for mats and provided a way for tournament directors to move matches to a mat. 2026-02-03 17:50:52 -05:00
9c2a9d62ad Fixed random seeding for double elimination. Since bracket positions are already evenly distributed on top half and bottom half of the bracket, I only need to pick odd or even bracket line numbers. 2026-01-23 17:35:16 -05:00
86f9c03991 Fixed double elim match generation errors and added tests 2026-01-23 17:35:16 -05:00
52df73d14f Fixed random double elimination seeding to avoid double byes in round 1 and evenly distribute the number of round 1 matches from the top and bottom half of the bracket 2026-01-14 19:00:35 -05:00
3576445a1c Added a turbo stream for the current and next match on mat stats page. 2026-01-09 18:37:01 -05:00
6b5308360e Fixed a bug where logged in users could not access a school with a school permission key 2026-01-06 17:24:45 -05:00
af2fc3feba Fixed a test after changing links to turbo 2025-11-11 21:55:36 -05:00
34f1783031 Upgraded to rails 8.0.2 2025-10-08 11:35:44 -04:00
3e1ae22b6b Added pagination for the tournaments index page 2025-09-26 12:31:37 -04:00
782baedcfe Added support for 64 man brackets 2025-08-28 10:32:35 -04:00
4accedbb43 Added a daily recurring job to cleanup tournaments. Fixed final score fields not loading without page refresh on mat stats page and added a cypress test for it. 2025-05-07 16:01:48 -04:00
3e4317dbc5 Using action cable to send stats updates to the client and made a spectate page. 2025-04-21 17:12:54 -04:00
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
4828d9b876 Fixed reset password after the Devise migration. 2025-04-11 07:59:55 -04:00
2d433b680a Upgraded to rails 8.0.2, moved from dalli to solid cache, moved from delayed_job to solid queue, and add solid cable. deploy/rails-dev-run.sh no longer needs to chmod. Fixed finished_at callback for matches. Migrated from Devise to built in rails auth. Added view tests for the bracket page testing that all bout numbers render for all matches in each bracket type. 2025-04-08 17:54:42 -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
010d9a5f6b Added all_results page to tournaments 2025-03-11 12:32:18 -04:00
91e1939e69 Added a feature to generate uuid links for coaches to submit their school lineups. 2025-02-18 16:39:10 -05: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
60814fdd94 Added a next bout number to the mat show page on the match stats 2025-01-20 11:41:07 -05:00
cc62e1c2f1 Protect tournament from out of order seeding. 2025-01-20 10:23:27 -05:00
275847befe Added a tournament error if more than 1 person in a weight has the same seed. 2025-01-07 16:00:17 -05:00
bb3b05ee81 Fixed auto byes and wrote a test 2025-01-05 10:32:16 -05:00
f3e0f5d4c5 Added integration tests for import and backup 2025-01-04 18:14:33 -05:00
50055fc278 Fixed a typo in the 32 man run through test 2025-01-04 16:31:18 -05:00
49fbf6735d Added tournament backups to the database and added pages to restore and create backups 2025-01-04 16:27:52 -05:00
698576dac9 Fixed the POSt endpoint to accept bracket positions 2025-01-04 16:26:57 -05:00
15bf39014f Fix advance wrestler not running if the winner id changes 2024-12-23 23:33:55 -05:00
13bb8067fb Added logic for 32 man bracket 2024-12-23 22:12:44 -05:00
4f0f69223d Updated double elim match generation and loser name to use hashes instead of structs as well as fixing the matchup of 4v13 and 3v14 in 16 man brackets. 2024-12-23 18:27:49 -05:00
7e6d7ddfbb Updated seeding logic for double elim to make byes truly random and to keep bracket lines consistent through match generations 2024-12-23 16:17:43 -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
f18802a933 Fixed double elim bracket views, fixed double elim match generation and loser name generation for 4 man bracket, fixed seed page submission and added tests, added tests for tournament generation errors and added a new error for assigning a seed higher than the number of wrestlers. 2024-12-08 19:29:56 -05:00
f92faf4f5c Updated to rails 7.2.2 2024-12-05 17:18:29 -05:00
ad8e486205 Added mat assignment rules for the bout board and fixed the bug where a delegate making the tournamnet info public changes them to the owner 2024-11-25 16:25:59 -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
e46180e9ea Updated to rails 7.1 and ruby 3.1.4 2024-03-14 14:09:09 -04:00
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
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
bde2b6d8c4 Added tests for assign_next_match mat action permissions 2023-01-09 19:55:19 -05:00
288c144f53 Added permissions tests for mat#assign_next_match 2023-01-09 19:33:41 -05:00
c328bbd91c Added is_public to a tournament to hide lineups and brackets until you're ready to make it public 2023-01-01 23:16:12 -05:00
994fc18365 Added overtime_type to matches 2022-09-13 14:42:40 +00:00
645fb59e5b Fixed tournament search to search each term for both date and name 2022-09-08 14:13:21 +00:00
d42b683f67 Added a sort by bout number for assign_next_match 2022-01-19 03:28:16 +00:00
a6cc05424c Do not award bye points if they get bye's all the way to the finals and win by bye 2021-12-21 00:39:40 +00:00
54e755ba3a Added bye points for double elimination and modified double elimination 2021-12-20 20:48:29 +00:00
4cdc9e7df1 Split bracket integration tests into a logical separation 2021-03-03 00:24:14 +00:00