Commit Graph

30 Commits

Author SHA1 Message Date
Daniel Schädler c8b0f1a7a3 Syntax improvements 2025-03-16 12:41:47 +01:00
Daniel Schädler fafc4d3937 Rubocop 2025-03-13 12:35:27 +01:00
Daniel Schädler 5ab18063dd Fix bug where uneven groups cause 500 when requesting beamer view 2025-03-13 12:34:05 +01:00
Daniel Schädler 6432296391
Fix logging 2022-07-01 22:21:23 +02:00
Daniel Schädler b609549659
Add logging if updating group scores fails 2022-07-01 20:19:57 +02:00
Daniel Schädler a67ef86dca
Fix upcoming matches not returning for group stage 2022-06-29 22:48:54 +02:00
Daniel Schädler bbb8e209df
Update groups points at start and end of a match 2022-06-25 18:20:59 +02:00
Daniel Schädler ead6d4f475
TUR-9: Alter match filter for playoff stage to how it probably was meant to be 2022-05-20 09:41:01 +02:00
Daniel Schädler afa9a26d93
Add documentation to upcoming matches filter 2022-05-20 09:27:54 +02:00
Daniel Schädler 22ab1eb69b
TUR-9: Remove unnecessary reject (this never did anything; there is no state "running") 2022-05-20 09:27:54 +02:00
Daniel Schädler e184c76083
WIP 2022-05-20 09:27:53 +02:00
Thor77 28d047b1bf
Include parent group/stage in .index 2019-11-06 15:58:10 +01:00
Thor77 5343fcbd20 Recurisvely include all related objects 2019-11-06 11:38:24 +01:00
Daniel Schädler b001817bac Filter matches by state parameter 2019-10-26 00:34:04 +02:00
Daniel Schädler a6b7a905a0 Return matches as children of tournament 2019-10-25 23:49:27 +02:00
Thor77 041ee4ab2c Include bets in match resource 2019-06-18 18:51:55 +02:00
Daniel Schädler c1b2b72ca3 Simplify controller code
Matches update now gets rolled back via a Transaction
2019-06-05 17:05:58 +02:00
Daniel Schädler 68535b89fc Prevent matches from being stopped without a winner in playoffs 2019-06-05 17:05:58 +02:00
Daniel Schädler 2b39bb1521 Move populating the match below to when the state is changed 2019-05-26 20:15:58 +02:00
Daniel Schädler 12daf53599 Check for errors while populating the match below 2019-05-26 20:15:16 +02:00
Daniel Schädler fc69c6e6e6 Implement PopulateMatchBelow Interactor & Organizer 2019-05-26 20:15:16 +02:00
Daniel Schädler 2c9e06946d Call populate_match_below when a match is finished 2019-05-26 20:14:13 +02:00
Daniel Schädler 280b0c1dec Change status of Match to only represent being finished
The winner will be a attribute of the Match instead of something
that is written in its status.
2019-05-26 20:14:13 +02:00
Thor77 27c4bcacc8
Respond with 501 for state param 'finished'
(501 = NOT IMPLEMENTED)
2019-05-07 18:41:53 +02:00
Thor77 3876f57d32
Add methods and specs to update a match 2019-05-07 18:41:53 +02:00
Thor77 436adde706
Set global match var for reuse by other methods 2019-05-07 18:41:52 +02:00
Thor77 32c012af32 Use plain params-hash instead of custom helper
for deserialization of create/update-data
2018-12-11 17:12:55 +01:00
Daniel Schädler 68f9b3b2b3 Change Score to MatchScore & MatchScore score attribute to points
This is done to improve the naming and therefore make things easier to understand.
2018-11-30 14:15:48 +01:00
Thor77 0a583ebe53
Remove unused match_params 2018-11-25 22:55:49 +01:00
Thor77 6c24180715 Add MatchesController and specs for it 2018-11-21 18:57:16 +01:00