Commit d54c96e
committed
Prevent clarifications before the contest without explicit time
In the Jury UI we can warn with a flash message, for API we can't easily
prevent automated tools from unintentionally disclosing the information.
We provide both relevant times, either contest start or now to keep this easy
to copy/paste. The format is already in the timezone of the contest to make
sure validation passes.
In theory this can still give problems in case you submit a clarification and
afterwards the contest starts later, it's up to the contest admin to change the
database in such cases as we don't have a reltime for clarifications.1 parent 0071234 commit d54c96e
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
211 | 223 | | |
212 | 224 | | |
213 | 225 | | |
| |||
0 commit comments