Commit Graph

45 Commits

Author SHA1 Message Date
Daniel Schädler 8951070a15 fix: refresh RuboCop cleanup 2026-05-06 12:06:19 +02:00
Daniel Schädler 0cbcb64066 feat(matches): add match metadata updates 2026-05-04 15:10:11 +02:00
Daniel Schädler 21e1463b64 feat: add tournament transaction log 2026-04-30 10:04:56 +02:00
Daniel Schädler df227f9397 feat(matches): stop in-progress matches 2026-04-29 19:56:25 +02:00
Daniel Schädler 6df5cb2502 fix(ci): restore Rails 8 spec suite
Confirm factory users for real Devise auth in request specs and use Rails 8-compatible status and route calls to remove deprecation warnings.
2026-04-29 15:48:20 +02:00
Daniel Schädler 6db6442205 Merge remote-tracking branch 'origin/master' into codex/TUR-113-fix-rubocop
# Conflicts:
#	spec/e2e/http/api_surface_spec.rb
#	spec/e2e/http/tournament_follow_sync_beamers_websocket_spec.rb
2026-04-27 10:55:29 +02:00
Daniel Schädler 0ccce16849 feat: add match endpoint filters 2026-04-26 16:03:55 +02:00
Daniel Schädler cfb07e82fc fix: clear RuboCop offenses 2026-04-26 15:46:31 +02:00
Daniel Schädler 63757c6b5c Add live tournament match websockets 2026-04-24 13:47:19 +02:00
Daniel Schädler 99538a3343 Add backend group match swap endpoint 2026-04-22 15:48:06 +02:00
Daniel Schädler 8bdd7fd1be Enqueue sync after transaction commit 2026-04-14 20:59:30 +02:00
Daniel Schädler bbb1ad97ef Make follower sync asynchronous 2026-04-13 20:54:28 +02:00
Daniel Schädler 133ebae847 Add read-only tournament follower sync 2026-04-13 20:32:34 +02:00
Daniel Schädler b02857782f Restore legacy 403 for unauthenticated match updates 2026-04-12 19:38:35 +02:00
Daniel Schädler 4713a020fa Implement TUR-58 group stage decider matches 2026-04-12 19:13:52 +02:00
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