Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
8408cc86
Commit
8408cc86
authored
10 years ago
by
Christoph Thelen
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into question-based-progress
parents
3cb9fa6f
4590d8b0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/controller/ConfigurationController.java
+6
-0
6 additions, 0 deletions
...va/de/thm/arsnova/controller/ConfigurationController.java
with
6 additions
and
0 deletions
src/main/java/de/thm/arsnova/controller/ConfigurationController.java
+
6
−
0
View file @
8408cc86
...
...
@@ -102,6 +102,9 @@ public class ConfigurationController extends AbstractController {
@Value
(
"${question.answer-option-limit:8}"
)
private
String
answerOptionLimit
;
@Value
(
"${upload.filesize_b:}"
)
private
String
maxUploadFilesize
;
@Value
(
"${question.parse-answer-option-formatting:false}"
)
private
String
parseAnswerOptionFormatting
;
...
...
@@ -183,6 +186,9 @@ public class ConfigurationController extends AbstractController {
if
(!
""
.
equals
(
demoSessionKey
))
{
config
.
put
(
"demoSessionKey"
,
demoSessionKey
);
}
if
(!
""
.
equals
(
maxUploadFilesize
))
{
config
.
put
(
"maxUploadFilesize"
,
maxUploadFilesize
);
}
config
.
put
(
"answerOptionLimit"
,
Integer
.
valueOf
(
answerOptionLimit
));
config
.
put
(
"parseAnswerOptionFormatting"
,
Boolean
.
valueOf
(
parseAnswerOptionFormatting
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment