admin: Sane parameters for ResetSettings
This commit is contained in:
parent
0092170dbd
commit
239e8ae88d
1 changed files with 13 additions and 9 deletions
|
|
@ -349,6 +349,9 @@ func ResetSettings() error {
|
||||||
WChoiceCurCoefficient: 1,
|
WChoiceCurCoefficient: 1,
|
||||||
GlobalScoreCoefficient: 1,
|
GlobalScoreCoefficient: 1,
|
||||||
DiscountedFactor: 0,
|
DiscountedFactor: 0,
|
||||||
|
UnlockedStandaloneExercices: 10,
|
||||||
|
UnlockedStandaloneExercicesByThemeStepValidation: 1,
|
||||||
|
UnlockedStandaloneExercicesByStandaloneExerciceValidation: 0,
|
||||||
AllowRegistration: false,
|
AllowRegistration: false,
|
||||||
CanJoinTeam: false,
|
CanJoinTeam: false,
|
||||||
DenyTeamCreation: false,
|
DenyTeamCreation: false,
|
||||||
|
|
@ -358,7 +361,8 @@ func ResetSettings() error {
|
||||||
EnableResolutionRoute: false,
|
EnableResolutionRoute: false,
|
||||||
PartialValidation: true,
|
PartialValidation: true,
|
||||||
UnlockedChallengeDepth: 0,
|
UnlockedChallengeDepth: 0,
|
||||||
SubmissionUniqueness: false,
|
SubmissionUniqueness: true,
|
||||||
|
CountOnlyNotGoodTries: true,
|
||||||
DisplayAllFlags: false,
|
DisplayAllFlags: false,
|
||||||
DisplayMCQBadCount: false,
|
DisplayMCQBadCount: false,
|
||||||
EventKindness: false,
|
EventKindness: false,
|
||||||
|
|
|
||||||
Reference in a new issue