Skip to content
Snippets Groups Projects
Commit 17492e6c authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

Task #17462: Add configuration option for suspended votes offset

parent 22ca9816
No related merge requests found
Pipeline #646 passed with stages
...@@ -75,6 +75,9 @@ public class ConfigurationController extends AbstractController { ...@@ -75,6 +75,9 @@ public class ConfigurationController extends AbstractController {
@Value("${links.presenter-documentation.url}") @Value("${links.presenter-documentation.url}")
private String presenterDocumentationUrl; private String presenterDocumentationUrl;
@Value("${feedback.warning:5}")
private String feedbackWarningOffset;
@Value("${features.mathjax.enabled:true}") @Value("${features.mathjax.enabled:true}")
private String mathJaxEnabled; private String mathJaxEnabled;
...@@ -212,6 +215,7 @@ public class ConfigurationController extends AbstractController { ...@@ -212,6 +215,7 @@ public class ConfigurationController extends AbstractController {
} }
config.put("answerOptionLimit", Integer.valueOf(answerOptionLimit)); config.put("answerOptionLimit", Integer.valueOf(answerOptionLimit));
config.put("feedbackWarningOffset", Integer.valueOf(feedbackWarningOffset));
config.put("parseAnswerOptionFormatting", Boolean.valueOf(parseAnswerOptionFormatting)); config.put("parseAnswerOptionFormatting", Boolean.valueOf(parseAnswerOptionFormatting));
config.put("features", features); config.put("features", features);
......
...@@ -197,6 +197,9 @@ features.public-pool.enabled=true ...@@ -197,6 +197,9 @@ features.public-pool.enabled=true
# Minutes, after which the feedback is deleted # Minutes, after which the feedback is deleted
feedback.cleanup=10 feedback.cleanup=10
# Number of "you've lost me"/"abgehängt" votes, starting to show warning sign
feedback.warning=5
# Maximal filesize in bytes # Maximal filesize in bytes
upload.filesize_b=4194304 upload.filesize_b=4194304
......
...@@ -197,6 +197,9 @@ features.public-pool.enabled=true ...@@ -197,6 +197,9 @@ features.public-pool.enabled=true
# Minutes, after which the feedback is deleted # Minutes, after which the feedback is deleted
feedback.cleanup=10 feedback.cleanup=10
# Number of "you've lost me"/"abgehängt" votes, starting to show warning sign
feedback.warning=5
# Maximal filesize in bytes # Maximal filesize in bytes
upload.filesize_b=4194304 upload.filesize_b=4194304
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment