Description:
re-added registration config
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r774:0f0c4f139f2b - - 1 file changed: 8 inserted, 0 deleted
@@ -57,96 +57,104 | |||||
|
57 | { |
|
57 | { |
|
58 | :key => 'right.user_hall_of_fame', |
|
58 | :key => 'right.user_hall_of_fame', |
|
59 | :value_type => 'boolean', |
|
59 | :value_type => 'boolean', |
|
60 | :default_value => 'false', |
|
60 | :default_value => 'false', |
|
61 | :description => 'If true, any user can access hall of fame page.' |
|
61 | :description => 'If true, any user can access hall of fame page.' |
|
62 | }, |
|
62 | }, |
|
63 |
|
63 | ||
|
64 | { |
|
64 | { |
|
65 | :key => 'right.multiple_ip_login', |
|
65 | :key => 'right.multiple_ip_login', |
|
66 | :value_type => 'boolean', |
|
66 | :value_type => 'boolean', |
|
67 | :default_value => 'true', |
|
67 | :default_value => 'true', |
|
68 | :description => 'When change from true to false, a user can login from the first IP they logged into afterward.' |
|
68 | :description => 'When change from true to false, a user can login from the first IP they logged into afterward.' |
|
69 | }, |
|
69 | }, |
|
70 |
|
70 | ||
|
71 | { |
|
71 | { |
|
72 | :key => 'right.user_view_submission', |
|
72 | :key => 'right.user_view_submission', |
|
73 | :value_type => 'boolean', |
|
73 | :value_type => 'boolean', |
|
74 | :default_value => 'false', |
|
74 | :default_value => 'false', |
|
75 | :description => 'If true, any user can view submissions of every one.' |
|
75 | :description => 'If true, any user can view submissions of every one.' |
|
76 | }, |
|
76 | }, |
|
77 |
|
77 | ||
|
78 | { |
|
78 | { |
|
79 | :key => 'right.bypass_agreement', |
|
79 | :key => 'right.bypass_agreement', |
|
80 | :value_type => 'boolean', |
|
80 | :value_type => 'boolean', |
|
81 | :default_value => 'true', |
|
81 | :default_value => 'true', |
|
82 | :description => 'When false, a user must accept usage agreement before login' |
|
82 | :description => 'When false, a user must accept usage agreement before login' |
|
83 | }, |
|
83 | }, |
|
84 |
|
84 | ||
|
85 | { |
|
85 | { |
|
86 | :key => 'right.heartbeat_response', |
|
86 | :key => 'right.heartbeat_response', |
|
87 | :value_type => 'string', |
|
87 | :value_type => 'string', |
|
88 | :default_value => 'OK', |
|
88 | :default_value => 'OK', |
|
89 | :description => 'Heart beat response text' |
|
89 | :description => 'Heart beat response text' |
|
90 | }, |
|
90 | }, |
|
91 |
|
91 | ||
|
92 | { |
|
92 | { |
|
93 | :key => 'right.heartbeat_response_full', |
|
93 | :key => 'right.heartbeat_response_full', |
|
94 | :value_type => 'string', |
|
94 | :value_type => 'string', |
|
95 | :default_value => 'OK', |
|
95 | :default_value => 'OK', |
|
96 | :description => 'Heart beat response text when user got full score (set this value to the empty string to disable this feature)' |
|
96 | :description => 'Heart beat response text when user got full score (set this value to the empty string to disable this feature)' |
|
97 | }, |
|
97 | }, |
|
98 |
|
98 | ||
|
99 | { |
|
99 | { |
|
100 | :key => 'right.view_testcase', |
|
100 | :key => 'right.view_testcase', |
|
101 | :value_type => 'boolean', |
|
101 | :value_type => 'boolean', |
|
102 | :default_value => 'false', |
|
102 | :default_value => 'false', |
|
103 | :description => 'When true, any user can view/download test data' |
|
103 | :description => 'When true, any user can view/download test data' |
|
104 | }, |
|
104 | }, |
|
|
105 | + | ||
|
|
106 | + { | ||
|
|
107 | + :key => 'system.online_registration', | ||
|
|
108 | + :value_type => 'boolean', | ||
|
|
109 | + :default_value => 'false', | ||
|
|
110 | + :description => 'This option enables online registration.' | ||
|
|
111 | + }, | ||
|
|
112 | + | ||
|
105 | # If Configuration['system.online_registration'] is true, the |
|
113 | # If Configuration['system.online_registration'] is true, the |
|
106 | # system allows online registration, and will use these |
|
114 | # system allows online registration, and will use these |
|
107 | # information for sending confirmation emails. |
|
115 | # information for sending confirmation emails. |
|
108 | { |
|
116 | { |
|
109 | :key => 'system.online_registration.smtp', |
|
117 | :key => 'system.online_registration.smtp', |
|
110 | :value_type => 'string', |
|
118 | :value_type => 'string', |
|
111 | :default_value => 'smtp.somehost.com' |
|
119 | :default_value => 'smtp.somehost.com' |
|
112 | }, |
|
120 | }, |
|
113 |
|
121 | ||
|
114 | { |
|
122 | { |
|
115 | :key => 'system.online_registration.from', |
|
123 | :key => 'system.online_registration.from', |
|
116 | :value_type => 'string', |
|
124 | :value_type => 'string', |
|
117 | :default_value => 'your.email@address' |
|
125 | :default_value => 'your.email@address' |
|
118 | }, |
|
126 | }, |
|
119 |
|
127 | ||
|
120 | { |
|
128 | { |
|
121 | :key => 'system.admin_email', |
|
129 | :key => 'system.admin_email', |
|
122 | :value_type => 'string', |
|
130 | :value_type => 'string', |
|
123 | :default_value => 'admin@admin.email' |
|
131 | :default_value => 'admin@admin.email' |
|
124 | }, |
|
132 | }, |
|
125 |
|
133 | ||
|
126 | { |
|
134 | { |
|
127 | :key => 'system.user_setting_enabled', |
|
135 | :key => 'system.user_setting_enabled', |
|
128 | :value_type => 'boolean', |
|
136 | :value_type => 'boolean', |
|
129 | :default_value => 'true', |
|
137 | :default_value => 'true', |
|
130 | :description => 'If this option is true, users can change their settings' |
|
138 | :description => 'If this option is true, users can change their settings' |
|
131 | }, |
|
139 | }, |
|
132 |
|
140 | ||
|
133 | { |
|
141 | { |
|
134 | :key => 'system.user_setting_enabled', |
|
142 | :key => 'system.user_setting_enabled', |
|
135 | :value_type => 'boolean', |
|
143 | :value_type => 'boolean', |
|
136 | :default_value => 'true', |
|
144 | :default_value => 'true', |
|
137 | :description => 'If this option is true, users can change their settings' |
|
145 | :description => 'If this option is true, users can change their settings' |
|
138 | }, |
|
146 | }, |
|
139 |
|
147 | ||
|
140 | # If Configuration['contest.test_request.early_timeout'] is true |
|
148 | # If Configuration['contest.test_request.early_timeout'] is true |
|
141 | # the user will not be able to use test request at 30 minutes |
|
149 | # the user will not be able to use test request at 30 minutes |
|
142 | # before the contest ends. |
|
150 | # before the contest ends. |
|
143 | { |
|
151 | { |
|
144 | :key => 'contest.test_request.early_timeout', |
|
152 | :key => 'contest.test_request.early_timeout', |
|
145 | :value_type => 'boolean', |
|
153 | :value_type => 'boolean', |
|
146 | :default_value => 'false' |
|
154 | :default_value => 'false' |
|
147 | }, |
|
155 | }, |
|
148 |
|
156 | ||
|
149 | { |
|
157 | { |
|
150 | :key => 'system.multicontests', |
|
158 | :key => 'system.multicontests', |
|
151 | :value_type => 'boolean', |
|
159 | :value_type => 'boolean', |
|
152 | :default_value => 'false' |
|
160 | :default_value => 'false' |
You need to be logged in to leave comments.
Login now