You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: webapp/src/Migrations/Version20190803123217.php
-57Lines changed: 0 additions & 57 deletions
Original file line number
Diff line number
Diff line change
@@ -624,63 +624,6 @@ protected function createTables()
624
624
625
625
protectedfunctionloadDefaultData()
626
626
{
627
-
// Data for table `configuration`
628
-
$this->addSql(<<<SQL
629
-
INSERT INTO `configuration` (`name`, `value`, `type`, `public`, `category`, `description`) VALUES
630
-
('verification_required', '0', 'bool', '0', 'Scoring', 'Is verification of judgings by jury required before publication?'),
631
-
('compile_penalty', '1', 'bool', '1', 'Scoring', 'Should submissions with compiler-error incur penalty time (and show on the scoreboard)?'),
632
-
('penalty_time', '20', 'int', '1', 'Scoring', 'Penalty time in minutes per wrong submission (if finally solved).'),
633
-
('results_prio', '{"memory-limit":99,"output-limit":99,"run-error":99,"timelimit":99,"wrong-answer":30,"no-output":10,"correct":1}', 'array_keyval', '0', 'Scoring', 'Priorities of results for determining final result with multiple testcases. Higher priority is used first as final result. With equal priority, the first occurring result determines the final result.'),
634
-
('results_remap', '{}', 'array_keyval', '0', 'Scoring', 'Remap testcase result, e.g. to disable a specific result type such as ''no-output''.'),
635
-
('score_in_seconds', '0', 'bool', '1', 'Scoring', 'Should the scoreboard resolution be measured in seconds instead of minutes?'),
636
-
('memory_limit', '524288', 'int', '0', 'Judging', 'Maximum memory usage (in kB) by submissions. This includes the shell which starts the compiled solution and also any interpreter like the Java VM, which takes away approx. 300MB! Can be overridden per problem.'),
637
-
('output_limit', '4096', 'int', '0', 'Judging', 'Maximum output (in kB) submissions may generate. Any excessive output is truncated, so this should be greater than the maximum testdata output.'),
638
-
('process_limit', '64', 'int', '0', 'Judging', 'Maximum number of processes that the submission is allowed to start (including shell and possibly interpreters).'),
639
-
('sourcesize_limit', '256', 'int', '1', 'Judging', 'Maximum source code size (in kB) of a submission. This setting should be kept in sync with that in "etc/submit-config.h.in".'),
640
-
('sourcefiles_limit', '100', 'int', '1', 'Judging', 'Maximum number of source files in one submission. Set to one to disable multiple file submissions.'),
641
-
('script_timelimit', '30', 'int', '0', 'Judging', 'Maximum seconds available for compile/compare scripts. This is a safeguard against malicious code and buggy scripts, so a reasonable but large amount should do.'),
642
-
('script_memory_limit', '2097152', 'int', '0', 'Judging', 'Maximum memory usage (in kB) by compile/compare scripts. This is a safeguard against malicious code and buggy script, so a reasonable but large amount should do.'),
643
-
('script_filesize_limit', '540672', 'int', '0', 'Judging', 'Maximum filesize (in kB) compile/compare scripts may write. Submission will fail with compiler-error when trying to write more, so this should be greater than any *intermediate or final* result written by compilers.'),
644
-
('timelimit_overshoot', '"1s|10%"', 'string', '0', 'Judging', 'Time that submissions are kept running beyond timelimit before being killed. Specify as "Xs" for X seconds, "Y%" as percentage, or a combination of both separated by one of "+|&" for the sum, maximum, or minimum of both.'),
645
-
('output_storage_limit', '50000', 'int', '0', 'Judging', 'Maximum size of error/system output stored in the database (in bytes); use "-1" to disable any limits.'),
646
-
('output_display_limit', '2000', 'int', '0', 'Judging', 'Maximum size of run/diff/error/system output shown in the jury interface (in bytes); use "-1" to disable any limits.'),
647
-
('lazy_eval_results', '1', 'bool', '0', 'Judging', 'Lazy evaluation of results? If enabled, stops judging as soon as a highest priority result is found, otherwise always all testcases will be judged.'),
648
-
('judgehost_warning', '30', 'int', '0', 'Judging', 'Time in seconds after a judgehost last checked in before showing its status as "warning".'),
649
-
('judgehost_critical', '120', 'int', '0', 'Judging', 'Time in seconds after a judgehost last checked in before showing its status as "critical".'),
650
-
('diskspace_error', '1048576', 'int', '0', 'Judging', 'Minimum free disk space (in kB) on judgehosts.'),
651
-
('update_judging_seconds', '0', 'int', '0', 'Judging', 'Post updates to a judging every X seconds. Set to 0 to update after each judging_run.'),
652
-
('default_compare', '"compare"', 'string', '0', 'Judging', 'The script used to compare outputs if no special compare script specified.'),
653
-
('default_run', '"run"', 'string', '0', 'Judging', 'The script used to run submissions if no special run script specified.'),
('clar_answers', '["No comment","Read the problem statement carefully"]', 'array_val', '0', 'Clarification', 'List of predefined clarification answers'),
656
-
('clar_queues', '{}', 'array_keyval', '1', 'Clarification', 'List of clarification queues'),
657
-
('clar_default_problem_queue', '""', 'string', '1', 'Clarification', 'Queue to assign to problem clarifications'),
658
-
('show_pending', '0', 'bool', '1', 'Display', 'Show pending submissions on the scoreboard?'),
659
-
('show_flags', '1', 'bool', '1', 'Display', 'Show country flags in the interfaces?'),
660
-
('show_affiliations', '1', 'bool', '1', 'Display', 'Show affiliation names in the interfaces?'),
661
-
('show_affiliation_logos', '0', 'bool', '1', 'Display', 'Show affiliation logos on the scoreboard?'),
662
-
('show_teams_submissions', '1', 'bool', '1', 'Display', 'Show problem columns with submission information on the public and team scoreboards?'),
663
-
('show_compile', '2', 'int', '1', 'Display', 'Show compile output in team webinterface? Choices: 0 = never, 1 = only on compilation error(s), 2 = always.'),
664
-
('show_sample_output', '0', 'bool', '1', 'Display', 'Should teams be able to view a diff of their and the reference output to sample testcases?'),
665
-
('show_balloons_postfreeze', '0', 'bool', '1', 'Display', 'Give out balloon notifications after the scoreboard has been frozen?'),
666
-
('show_relative_time', '0', 'bool', '1', 'Display', 'Print times of contest events relative to contest start (instead of absolute).'),
667
-
('time_format', '"%H:%M"', 'string', '0', 'Display', 'The format used to print times. For formatting options see the PHP \'strftime\' function.'),
668
-
('thumbnail_size', '128', 'int', '0', 'Display', 'Maximum width/height of a thumbnail for uploaded testcase images.'),
669
-
('show_limits_on_team_page', '0', 'bool', '1', 'Display', 'Show time and memory limit on the team problems page'),
670
-
('team_column_width', '0', 'int', '0', 'Display', 'Maximum width of team column on scoreboard. Leave 0 for no maximum.'),
671
-
('enable_printing', '0', 'bool', '1', 'Misc', 'Enable teams and jury to send source code to a printer via the DOMjudge web interface.'),
672
-
('registration_category_name', '""', 'string', '1', 'Misc', 'Team category for users that register themselves with the system. Self-registration is disabled if this field is left empty.'),
673
-
('data_source', '0', 'int', '0', 'Misc', 'Source of data. Choices: 0 = all local, 1 = configuration data external, 2 = configuration and live data external'),
674
-
('auth_methods', '[]', 'array_val', '0', 'Authentication', 'List of allowed additional authentication methods. Supported values are \'ipaddress\', and \'xheaders\''),
675
-
('allow_openid_auth', '0', 'bool', '1', 'Authentication', 'Allow users to log in using OpenID'),
676
-
('openid_autocreate_team', '1', 'bool', '1', 'Authentication', 'Create a team for each user that logs in with OpenID'),
0 commit comments