Commit Graph

84 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
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
2125fb1c1d Ensure views only link to those actions allowed for current user 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
Sebastian Serth
1131d08e2b Add user_type to RemoteEvaluationMappings 2018-11-26 17:56:07 +01:00
Sebastian Serth
ee0ce8252e Fix failing seeds by setting default host for mailer and update schema
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
Ralf Teusner
29227cbe14 also push schema to fix travis 2018-09-04 15:06:34 +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
782f9eea73 Update schema 2018-02-28 16:51:13 +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
357712eac7 Persist reasons for notifications to db 2018-02-26 15:26:48 +01:00
Ralf Teusner
c63b067a72 migrated schema 2018-02-22 16:23:03 +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
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
2ed54705ff Remove anomaly detection artifact from schema 2017-11-22 14:06:33 +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
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
ThommyH
a0ebd5bec5 Update schema.rb 2017-10-04 11:50:57 +02:00
Thomas Hille
0e7decd7fc removed clutter in schema.rb 2017-10-04 11:47:18 +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
1e71b46960 Update schema 2017-09-21 17:24:14 +02:00
Maximilian Grundke
be5b1df76a Make subscriptions insert-only 2017-09-20 17:14:55 +02:00
Maximilian Grundke
217239e076 Rollback schema changes from different branch 2017-09-13 09:56:33 +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
Maximilian Grundke
f0fb52d92a Add thank you note to rfc 2017-06-08 16:46:15 +02:00
Niklas Kiefer
5949d1208e Merge branch 'master' into client-routesv2 2017-04-25 13:50:08 +02:00
Ralf Teusner
b1f9f1cc92 set request_for_comment.solved default to false and set all null values in database for that attribute to false 2017-04-03 19:51:32 +02:00
Ralf Teusner
6c77b0743d updated schema with indexes. 2017-03-24 18:48:02 +01:00
Ralf Teusner
10bcfc998c update schema.rb 2017-03-21 12:15:50 +01:00