Commit Graph

501 Commits

Author SHA1 Message Date
Ralf Teusner
1004acd1d5 allow numbers to be passed via std.in (numbers are valid json, but crashed when we tried to access them in a hash way. This is now prevented.) 2018-03-01 16:09:29 +01:00
Maximilian Grundke
c1b5df044b Merge remote-tracking branch 'origin/master' into exercise-anomaly-detection
# Conflicts:
#	Capfile
#	Gemfile.lock
#	db/schema.rb
2018-02-28 16:48:14 +01:00
Maximilian Grundke
dbb201ccad Clean up controller 2018-02-28 13:58:55 +01:00
Maximilian Grundke
6e022528a0 Move methods to model 2018-02-28 13:41:47 +01:00
Ralf Teusner
fbff875348 remove rfc button altogether first, put in correct experiment groups 2018-02-27 13:48:52 +01:00
Ralf Teusner
647e705a02 don't redirect to rfc for experimental groups and hide the button for them 2018-02-27 13:48:52 +01:00
Maximilian Grundke
3fe7a2b0c1 Adapt new route to accept simple exercise_id parameter 2018-02-26 19:33:02 +01:00
Maximilian Grundke
3ee993e965 Fix saving and showing exercise collections 2018-02-04 14:37:48 +01:00
Ralf Teusner
da23cc22aa add the required integer column and the increment statement when featured 2018-02-02 14:38:28 +01:00
rteusner
c70fbce933 Merge branch 'master' into fix-structured-errors-2 2018-01-31 15:21:48 +01:00
Ralf Teusner
efc271c4ed add column full_score_reached, fill it accordingly and show information in the rfc index 2018-01-31 11:23:30 +01:00
Maximilian Grundke
40fe5c4e69 Save submission alongside structured error 2018-01-30 11:28:29 +01:00
Maximilian Grundke
7768d34275 Fix error detection in run output 2018-01-30 11:08:00 +01:00
Maximilian Grundke
e51865c561 Lint 2018-01-29 16:18:40 +01:00
Maximilian Grundke
be40a347fd Merge remote-tracking branch 'origin/master' into exercise-anomaly-detection
# Conflicts:
#	db/schema.rb
2017-12-13 13:15:29 +01:00
Maximilian Grundke
7ed78a2cfd Add UI for anomaly detection flag 2017-12-13 07:37:49 +01:00
Maximilian Grundke
a6744c20e6 Improve exercise list and link to statistics 2017-12-10 19:17:02 +01:00
Maximilian Grundke
fafa55f85c Add user to exercise collection form 2017-12-10 19:03:35 +01:00
Maximilian Grundke
32c274d455 Rename attribute and restructure conditions 2017-11-29 10:39:05 +01:00
Ralf Teusner
1369f9285b The .co file of downloaded submissions has to contain the (original) file_id of the respective files, not the "id".
Otherwise, the merge of the files does not work and will result in duplicate files...
2017-11-22 16:20:56 +01:00
Thomas Hille
8a94905f17 merged with current master 2017-11-16 17:16:22 +01:00
Thomas Hille
9733d32665 switched ! to not and && to and 2017-11-15 22:53:18 +01:00
rteusner
951b71780c Merge pull request #129 from ThommyH/removeExpectedWorkingTime
removed expected working time from show/create/index of exercises
2017-11-15 14:26:12 +01:00
rteusner
0a66a5b758 Merge pull request #134 from openHPI/user_exercise_feedback_backend
User exercise feedback backend UI
2017-11-15 14:19:04 +01:00
Ralf Teusner
6161d6caaf clean up code, use method instead of magic constant. 2017-11-15 14:17:55 +01:00
Maximilian Grundke
c5c42ca3bc Show list of feedback messages for specific exercises 2017-11-08 22:31:01 +01:00
Maximilian Grundke
69250901a1 Fix typo 2017-11-08 21:24:46 +01:00
Maximilian Grundke
c4cf11f299 Refactor user redirect after submission 2017-11-08 15:39:04 +01:00
Ralf Teusner
1551498358 Merge branch 'master' into user_exercise_feedback_backend
# Conflicts:
#	app/views/application/_navigation.html.slim
2017-11-01 10:29:43 +01:00
Ralf Teusner
539b2931c3 changed behaviour of user exercise feedback (max 20 is collected), added some constant for the integers used. 2017-10-25 10:38:27 +02:00
Maximilian Grundke
d162f78b67 Add filters to index page 2017-10-16 11:45:23 +02:00
Maximilian Grundke
12b9365e6e Implement show action 2017-10-15 18:55:33 +02:00
Maximilian Grundke
d353dbaf5b Implement index action. Repair destroy 2017-10-15 18:23:58 +02:00
Maximilian Grundke
9bebbe9a6c Merge remote-tracking branch 'origin/master' into error-info
# Conflicts:
#	app/controllers/concerns/submission_scoring.rb
#	app/views/application/_navigation.html.slim
#	config/locales/de.yml
#	config/locales/en.yml
#	db/schema.rb
2017-10-15 17:02:19 +02:00
Thomas Hille
577f157996 extracted number of interventions per exercise into own variable 2017-10-04 16:51:41 +02:00
Thomas Hille
f7e013ed89 allow only one intervention per user and exercise but 3 interventions per user and day 2017-10-04 16:47:25 +02:00
Ralf Teusner
e52c9213a1 try to activate interpretation of carriage return 2017-10-04 16:42:42 +02:00
Ralf Teusner
b078cddc68 enhance testrun output 2017-10-04 16:18:24 +02:00
rteusner
85ee40f118 Merge pull request #130 from openHPI/exercise-collections-ui
Exercise Collections UI
2017-10-04 15:43:01 +02:00
Maximilian Grundke
e74c25746c Implement new action 2017-10-04 12:40:37 +02:00
Thomas Hille
95a849e9f5 removed expected working time from show/create/index and database since we do not use it 2017-10-04 11:41:08 +02:00
Maximilian Grundke
7cb7146e7e Implement update 2017-10-04 11:35:51 +02:00
Maximilian Grundke
93797a665d Implement index page 2017-09-27 16:37:52 +02:00
Maximilian Grundke
44a3cabe98 Scaffold exercise collection routes 2017-09-27 16:08:56 +02:00
Ralf Teusner
da4d54859c save run outputs with cause requestComments with more content (5000 chars instead of 500). Always save full JSON content. 2017-09-21 17:21:13 +02:00
Ralf Teusner
194984a620 add cause to testruns
trigger run and assess on request_for_comment
2017-09-21 17:21:10 +02:00
Maximilian Grundke
c323205036 Only send one email per user when subscription gets a new comment 2017-09-20 17:23:49 +02:00
Maximilian Grundke
be5b1df76a Make subscriptions insert-only 2017-09-20 17:14:55 +02:00
rteusner
28741854a6 Merge pull request #125 from openHPI/rework-comment-modal
Rework comment modal
2017-09-20 16:51:47 +02:00
Ralf Teusner
8d1c846fae changes to newrelic 2017-09-20 13:29:26 +02:00