Commit Graph

94 Commits

Author SHA1 Message Date
Sebastian Serth
d63700c7db Add live dashboard for teachers in the context of an exercise
This commit also adds the fundamentals for ActionCable
2019-03-06 14:00:59 +01:00
Sebastian Serth
27aa822e27 Migration: Skip if submission is blank 2018-12-20 15:17:29 +01:00
Sebastian Serth
d95cf1cffb Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/controllers/concerns/lti.rb
2018-12-19 01:44:34 +01:00
rteusner
2c29bf4e2b Merge branch 'master' into add_groups 2018-12-14 00:57:26 +01:00
Sebastian Serth
1a26d67c82 Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/views/application/_breadcrumbs.html.slim
#	app/views/application/welcome.html.slim
#	app/views/exercise_collections/show.html.slim
#	app/views/external_users/index.html.slim
#	app/views/layouts/application.html.slim
#	app/views/proxy_exercises/index.html.slim
#	app/views/user_exercise_feedbacks/index.html.slim
#	app/views/user_mailer/send_thank_you_note.slim
2018-12-14 00:53:06 +01:00
Sebastian Serth
f0a462e3b8 Ensure that migration will always succeed 2018-12-13 14:30:21 +01:00
Sebastian Serth
71fd3b9b07 Add role to ExternalUser and update it via LTI 2018-12-12 14:09:19 +01:00
Sebastian Serth
b137e64020 Add StudyGroups with ExternalUsers only 2018-12-12 12:09:52 +01:00
Sebastian Serth
59257d17f2 Add user (ID and type) to proxy exercise
This is required for the existing policies to work
2018-12-06 00:31:45 +01:00
Sebastian Serth
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
rteusner
5d13ee0e56 Merge pull request #230 from openHPI/fix_download
Specify `ExternalUser` as class for `user` in `RemoteEvaluationMapping`
2018-11-27 15:49:18 +01:00
Sebastian Serth
1131d08e2b Add user_type to RemoteEvaluationMappings 2018-11-26 17:56:07 +01:00
Sebastian Serth
44dc18feb0 Add version identifier to old migrations (required for Rails 5) 2018-11-22 19:05:19 +01:00
Sebastian Serth
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
Ralf Teusner
1677561698 add index on lti_parameters to speed up several routes 2018-09-04 14:54:46 +02:00
Sebastian Serth
6bd1dac756 Performance Optimizations:
1. Add index on testrun.submissionId
2. replace lti_parameters.size with lti_parameters.present? to prevent COUNT query

Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-08-23 17:29:14 +02:00
Maximilian Grundke
6bf14a0e50 Remove indices 2018-08-15 14:17:26 +02:00
Maximilian Grundke
f1278a7f48 Rename type column to category to avoid conflict with rails 2018-08-14 18:07:41 +02:00
Maximilian Grundke
d6c64f5b91 Add event model 2018-08-14 16:59:58 +02:00
Maximilian Grundke
b68b3bc2b0 Add position attribute to relation between exercise collection and exercises 2018-07-03 15:23:00 +02:00
Maximilian Grundke
7a6e73db20 Remove file_id from structured_errors 2018-05-15 13:03:36 +02:00
Maximilian Grundke
77a40c9fc5 Merge remote-tracking branch 'origin/master' into exercise-anomaly-detection
# Conflicts:
#	Gemfile.lock
2018-03-08 12:12:06 +01:00
Ralf Teusner
84bd85703d add submission_ids to existing RFCs via SQL query (query included as a comment) 2018-03-07 17:01:57 +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
8d9a81410f Make migration pseudo-reversible 2018-02-28 10:44:03 +01:00
Maximilian Grundke
897950e658 Migrate in batches of 1000 records 2018-02-28 10:36:12 +01:00
Maximilian Grundke
357712eac7 Persist reasons for notifications to db 2018-02-26 15:26:48 +01:00
Ralf Teusner
9a6bdaddc2 fix timestamps on feedback (and fix deployment) 2018-02-22 16:18:45 +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
65a6e390a5 fix migration 2018-01-31 13:02:38 +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
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
339a89107f Add user to exercise_collection 2017-12-10 18:35:49 +01:00
Maximilian Grundke
13b3b3edc7 Add index to exercises 2017-11-22 13:47:23 +01:00
Maximilian Grundke
4d8cee6fcb Add timestamps to user exercise feedback 2017-11-20 19:26:14 +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
Maximilian Grundke
80edffaa39 Add anomaly detection flag to exercise collections 2017-11-15 13:15:31 +01:00
Ralf Teusner
2118e610f9 fixed broken migration 2017-11-08 17:06:19 +01: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
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
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
be5b1df76a Make subscriptions insert-only 2017-09-20 17:14:55 +02:00
Maximilian Grundke
bb6c266b13 Rename subscription#type to subscription_type to avoid rails stumbling over polymorphism 2017-09-13 07:54:43 +02:00
Maximilian Grundke
5aa9edb209 Add subscription model and link it to RFC 2017-09-06 15:16:47 +02:00
Maximilian Grundke
5d6158f95a Fix structured error creation if attributes don't match; write match status to database 2017-07-19 15:46:19 +02:00
Maximilian Grundke
872611bff6 Update schema to reflect re-usable error_template_attributes, descriptions, hints, and sorting 2017-07-11 19:22:12 +02:00
Maximilian Grundke
d2a089d057 Add structured errors to schema 2017-07-03 10:09:48 +02:00