Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Schädler 8951070a15 fix: refresh RuboCop cleanup 2026-05-06 12:06:19 +02:00
Daniel Schädler ed299aba57 feat(accounts): support multiple team players
Teams now use a join table so organizers can attach more than one player account while players still get public profile data.
2026-05-04 15:25:26 +02:00
Daniel Schädler 995a2cc250 feat(accounts): add player team profiles
Teams can link to player accounts by email while keeping profile tournament data public unless viewed by the account owner.
2026-05-04 14:52:59 +02:00
Daniel Schädler 2b63e61475 fix(sync): protect follower sync tokens
Store read-only receiver tokens as keyed digests and expose only sync_auth_configured in owner responses. Keep leader push tokens write-only in API responses because outbound sync still needs to send them.

Refs TUR-84
2026-04-30 09:32:37 +02:00
Daniel Schädler 3008b9fd50
TUR-137 add timer reasons 2026-04-28 12:28:01 +02:00
Daniel Schädler cfb07e82fc fix: clear RuboCop offenses 2026-04-26 15:46:31 +02:00
Daniel Schädler e9ef73c230 refactor: rename timer db column 2026-04-24 11:39:26 +02:00
Daniel Schädler 69bd43b288 refactor: rename timer API field to timestamp 2026-04-24 10:13:44 +02:00
Daniel Schädler afff813994 feat: add timer modes and websocket updates 2026-04-23 23:29:03 +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 4b3b825895 Add sync params to Tournament Serializer 2026-04-19 13:51:16 +02:00
Tobias Huber 58267b6b3a Fix timer timezone handling 2026-04-14 07:10:51 +02: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 963812cb0c Annotate advancing teams that advance from group stage 2025-03-14 13:23:10 +01:00
Daniel Schädler f7dc8411f4 Include timer_end in TournamentSerializer 2025-03-14 12:44:22 +01:00
Daniel Schädler f5b610703c Add two new parameters to tournament
instant_finalists_amount is the amount of teams that instantly are in
the finals after the group stage ends.

intermediate_round_participants_amount is the amount of teams that have
a chance to advance after group stage but must play a relegation game to
actually do so.

Both of these values need to match, so that
instant_finalists_amount + (intermediate_round_participants_amount / 2)
is a power of 2. Or to be more precise, the power of two that is saved
in playoff_teams_amount of the tournament.
2019-06-13 13:21:24 +02:00
Thor77 d1bc3de6b0 Add owner_username attribute to Tournament
displaying the username of the user owning the tournament
2018-12-11 17:14:43 +01:00
Thor77 e3bbe2b773 Include description only in full Tournament 2018-12-11 17:12:55 +01:00
Thor77 d1f66b18d4
Add tournament serializers
SimpleTournamentSerializer excludes relationships and should be used for
listings
2018-11-25 22:55:48 +01:00