Update SQL to allow for multicontest: move the `cid` column from problem to a many-to-many table
Update contest(s).php for the jury to allow for multiple contests
Problem page now supports multiple contests
Multicontest: it should now work everywhere, but we still need a way to link teams to contests.
Allow to disable balloons per contest
Link teams and contests, so a team is not always part of every contest
Show submissions of all active contests, but allow to filter for only current contest
Fix refresh and store contest view state in cookie
Show contest ID in clarification subject
Now problems can be added to a contest on creation / edit
odd/even highlighted rows
- Made multicontest sql after 4.1 - Fix broken things when no contest active - Add deactivatetime contest - Also show contest when only one active and we are in the jury interface
In a lot of places: do not show contest ID if only one contest is active, as this does not make much sense
Only show contest-ID in clarification form when jury and > 1 contest active
Redirect back to team mainpage if viewing clarifications or submissions and changing contest, as those are contest-specific
Apparantly I missed a commit in cherry picking. It mainly contains whitespace changing, but also I renamed $teamid to $contestid everywhere in the code during my coding somehow, which is now reverted
Database changes for multicontest
lib.database.php: %Ai now adds the braces itself, so empty arrays are allowed. If an empty array is provided, "(NULL)" will be generated, as this is an "empty list"
Get rid of gewis_ prefix
Fix balloons screen, config checker and add extra data to contest(s) pages (public, short name)