Commit Graph

58 Commits

Author SHA1 Message Date
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 e9ef73c230 refactor: rename timer db column 2026-04-24 11:39:26 +02:00
Daniel Schädler 13acbad55f refactor: clean timer api routes 2026-04-24 11:24:56 +02:00
Daniel Schädler 8b17bc0608 Merge remote-tracking branch 'origin/codex/tur-55-tur-56-timer-websocket' into codex/tur-55-tur-56-timer-websocket
# Conflicts:
#	README.md
2026-04-24 10:15:14 +02:00
Daniel Schädler 69bd43b288 refactor: rename timer API field to timestamp 2026-04-24 10:13:44 +02:00
Daniel Schädler b0bbbb8ce5 Merge branch 'master' into 'codex/tur-55-tur-56-timer-websocket'
# Conflicts:
#   e2e/lib/action_cable_client.rb
#   tasks.py
2026-04-23 21:57:14 +00:00
Daniel Schädler afff813994 feat: add timer modes and websocket updates 2026-04-23 23:29:03 +02:00
Daniel Schädler b40e64cde8 feat: add manual team action list creation 2026-04-23 22:47:51 +02:00
Daniel Schädler 7d65e4df82 feat: track team action list completion 2026-04-22 16:51:17 +02:00
Daniel Schädler 2019d0d029 test: hide sync metadata from public show 2026-04-20 19:48:10 +02:00
Daniel Schädler b65dd35654 fix: add sync roundtrip verification 2026-04-20 19:36:40 +02:00
Daniel Schädler 8789c2cb2e Merge origin/master into follower sync 2026-04-16 15:54:32 +02:00
Daniel Schädler 761bb8daea Simplify default beamer handling 2026-04-16 13:02:40 +02:00
Tobias Huber 2ceba1dfcf Merge branch 'master' into TUR-32_backend-beamer 2026-04-16 08:11:02 +02:00
Daniel Schädler 07b7a78bd5 Merge origin/master into follower sync 2026-04-15 16:43:38 +02:00
Daniel Schädler 43aa0e11ba Restrict render profiling to non-prod 2026-04-15 10:02:26 +02:00
Daniel Schädler 3cbeff617a Allow follower takeover updates 2026-04-14 20:11:42 +02:00
Tobias Huber 58267b6b3a Fix timer timezone handling 2026-04-14 07:10:51 +02:00
Daniel Schädler 133ebae847 Add read-only tournament follower sync 2026-04-13 20:32:34 +02:00
Daniel Schädler cccb8cc806 Mock groupstageservice when changing playoff params 2025-03-16 12:41:28 +01:00
Daniel Schädler 4d62f6777a Adjust tests to match new version of advancing teams 2025-03-14 13:32:15 +01:00
Daniel Schädler 34814a837a Merge remote-tracking branch 'origin/master' into annotate_advancing_teams 2025-03-14 13:27:03 +01:00
Daniel Schädler 9f1807ab4b Test timer_end is in show tournament 2025-03-14 12:47:06 +01:00
Daniel Schädler d1cbe8a354 Fix tests 2025-03-13 12:52:12 +01:00
Daniel Schädler 4d1e2c5164 Add option to also pass seconds to timer_end 2025-03-10 12:37:19 +01:00
Daniel Schädler bdcc6e1182 Fix tests 2025-03-10 11:51:36 +01:00
Daniel Schädler 4449314cf6 Improve "normal" controller tests 2025-03-09 21:07:36 +01:00
Daniel Schädler 79bafec693 Add advancing teams into tournaments show endpoint 2025-03-09 21:05:41 +01:00
Tobias Huber 3c1168212e add timer_end to tournaments model 2025-03-08 17:08:48 +01:00
Daniel Schädler c3af6f9232
Rubocop -A 2021-08-15 14:31:50 +02:00
Thor77 bb4a950138
Fix warning about content/media type for Rails 6 2020-06-05 20:41:33 +02:00
Thor77 d317585168
Add "simple" parameter to tournament show 2019-10-25 23:17:08 +02:00
Thor77 3109308817 Fix teams not associated with created tournament
when choosing a group stage
2019-06-18 13:29:31 +02:00
Daniel Schädler 63db00b9ff Actually test if correct field gets set in error response 2019-06-13 13:28:34 +02:00
Daniel Schädler c8f69ccb16 Dry out tests for unacceptable playoff_teams_amount 2019-06-13 13:21:24 +02:00
Daniel Schädler 3e04584e9f Test changing group_stage transition relevant parameters 2019-06-13 13:21:24 +02:00
Daniel Schädler 4d5d7bc812 Only allow positive powers of two for playoff_teams_amount 2019-06-13 13:21:24 +02:00
Daniel Schädler bd2af09339 Add field to tournament containing playoff_teams_amount
This field represents how many teams advance into playoff stage after
the group stage has ended.
2019-06-05 16:46:06 +02:00
Daniel Schädler 03d7369a1c Remove link between team.owner and tournament 2019-05-22 09:25:07 +02:00
Thor77 f93c714e1a Add test for empty team hashes 2019-05-04 20:34:57 +02:00
Daniel Schädler ae29427e5d Don't run "before" before each test 2019-05-04 20:34:57 +02:00
Daniel Schädler bbeda07028 Change test / context / describe names 2019-05-04 20:34:57 +02:00
Daniel Schädler acfc388da4 Implements group stage tournament creation 2019-05-04 20:34:57 +02:00
Daniel Schädler 300f16b4c2 Rename create_data to create_playoff_tournament_data
This is done in preparation for the addition of group stage data
within the next few commits
2019-05-04 20:34:57 +02:00
Thor77 6d40d091a4 Modify tournament index spec for "type" parameter 2019-04-24 22:49:48 +02:00
Thor77 c4d03b52c3 Fix tournament index spec apply wrong auth header
because the user @owner doesn't have any private tournaments, therefore
the spec was pointless
2019-04-24 22:49:48 +02:00
Thor77 09ca262ab1 Move index specs into without parameters context 2019-04-24 22:49:48 +02:00
Thor77 a14a5224e5 Add spec for tournament-creation with invalid team 2019-04-16 13:24:58 +02:00
Thor77 2b2fccf076 Add tests checking generated stage 2019-04-09 10:47:17 +02:00