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
4a8cb71fc4
Add and calculate position to sort group_scores by
2024-04-07 21:17:45 +02:00
Daniel Schädler
1084d836c1
Implement sorting correctly with <=> operator
2024-04-07 18:07:55 +02:00
Daniel Schädler
86651169e9
Sort group scores correctly in backend
2024-04-07 17:24:42 +02:00
Daniel Schädler
94aaa2d8f4
Add missing end of class
2022-06-25 16:57:14 +02:00
Daniel Schädler
d18efbac96
Remove bets instead of just commenting
2022-06-12 21:42:01 +00:00
Daniel Schädler
40edc85562
Disable bet serialization when matches are requested
2022-05-29 23:58:12 +02:00
Thor77
28d047b1bf
Include parent group/stage in .index
2019-11-06 15:58:10 +01:00
Thor77
041ee4ab2c
Include bets in match resource
2019-06-18 18:51:55 +02:00
Thor77
123649a4f4
Add collection serializer for bets
2019-06-18 18:51:55 +02:00
Thor77
6d12f889c5
Add Bet serializer
2019-06-17 13:48:50 +02:00
Daniel Schädler
2e336262aa
Add state to stage
...
This state is required to stop the group stage and trigger playoff
generation, it is (for now) irrelevant for anything other than that.
2019-06-13 13:21:24 +02: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
91fe9dba16
Add winner attribute to match serializer
2019-05-28 23:18:55 +02:00
Thor77
5126e5ae76
Add position to MatchSerializer
2018-12-11 17:14:43 +01: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
baf1acc10b
Include team-relation in MatchScoreSerializer
2018-12-11 17:12:55 +01:00
Thor77
2f4df349c0
Add GroupScore, Group and StageSerializer
2018-12-11 17:12:55 +01:00
Thor77
bfe1c07fdc
Include id-attribute for all serializers
2018-12-11 17:12:55 +01:00
Thor77
25b558105a
Serialize has_one match relation
2018-11-30 14:42:12 +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
d1f66b18d4
Add tournament serializers
...
SimpleTournamentSerializer excludes relationships and should be used for
listings
2018-11-25 22:55:48 +01:00
Thor77
bc88ddc54d
Add serializer for Match, Score and Team
2018-11-21 18:57:59 +01:00