229 Commits

Author SHA1 Message Date
45ceacd34b update migration 2019-10-08 18:44:30 +02:00
7b2f61e602 add unpublished field to exercise 2019-10-08 18:32:02 +02:00
55e49f01f2 add import checksum 2019-09-05 17:41:12 +02:00
a7f2d7da34 small refactoring 2019-09-05 17:41:02 +02:00
3c65565b8c enable export to codeharbor 2019-09-02 19:03:50 +02:00
818064267c rename table, add fields to link table 2019-08-18 12:53:13 +02:00
3941c43ef3 update seeds to exclude abstract class User 2019-06-16 15:19:21 +02:00
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
27aa822e27 Migration: Skip if submission is blank 2018-12-20 15:17:29 +01:00
d95cf1cffb Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/controllers/concerns/lti.rb
2018-12-19 01:44:34 +01:00
2c29bf4e2b Merge branch 'master' into add_groups 2018-12-14 00:57:26 +01:00
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
f0a462e3b8 Ensure that migration will always succeed 2018-12-13 14:30:21 +01:00
2125fb1c1d Ensure views only link to those actions allowed for current user 2018-12-12 14:09:19 +01:00
71fd3b9b07 Add role to ExternalUser and update it via LTI 2018-12-12 14:09:19 +01:00
b137e64020 Add StudyGroups with ExternalUsers only 2018-12-12 12:09:52 +01:00
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
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
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
1131d08e2b Add user_type to RemoteEvaluationMappings 2018-11-26 17:56:07 +01:00
44dc18feb0 Add version identifier to old migrations (required for Rails 5) 2018-11-22 19:05:19 +01:00
9666683bd7 Fix error, submission, hints and help views 2018-11-06 16:46:01 +01:00
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
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
29227cbe14 also push schema to fix travis 2018-09-04 15:06:34 +02:00
1677561698 add index on lti_parameters to speed up several routes 2018-09-04 14:54:46 +02:00
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
6bf14a0e50 Remove indices 2018-08-15 14:17:26 +02:00
f1278a7f48 Rename type column to category to avoid conflict with rails 2018-08-14 18:07:41 +02:00
d6c64f5b91 Add event model 2018-08-14 16:59:58 +02:00
b68b3bc2b0 Add position attribute to relation between exercise collection and exercises 2018-07-03 15:23:00 +02:00
7a6e73db20 Remove file_id from structured_errors 2018-05-15 13:03:36 +02:00
77a40c9fc5 Merge remote-tracking branch 'origin/master' into exercise-anomaly-detection
# Conflicts:
#	Gemfile.lock
2018-03-08 12:12:06 +01:00
84bd85703d add submission_ids to existing RFCs via SQL query (query included as a comment) 2018-03-07 17:01:57 +01:00
782f9eea73 Update schema 2018-02-28 16:51:13 +01:00
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
8d9a81410f Make migration pseudo-reversible 2018-02-28 10:44:03 +01:00
897950e658 Migrate in batches of 1000 records 2018-02-28 10:36:12 +01:00
357712eac7 Persist reasons for notifications to db 2018-02-26 15:26:48 +01:00
c63b067a72 migrated schema 2018-02-22 16:23:03 +01:00
9a6bdaddc2 fix timestamps on feedback (and fix deployment) 2018-02-22 16:18:45 +01:00
da23cc22aa add the required integer column and the increment statement when featured 2018-02-02 14:38:28 +01:00
c70fbce933 Merge branch 'master' into fix-structured-errors-2 2018-01-31 15:21:48 +01:00
65a6e390a5 fix migration 2018-01-31 13:02:38 +01:00
efc271c4ed add column full_score_reached, fill it accordingly and show information in the rfc index 2018-01-31 11:23:30 +01:00
40fe5c4e69 Save submission alongside structured error 2018-01-30 11:28:29 +01:00
be40a347fd Merge remote-tracking branch 'origin/master' into exercise-anomaly-detection
# Conflicts:
#	db/schema.rb
2017-12-13 13:15:29 +01:00
339a89107f Add user to exercise_collection 2017-12-10 18:35:49 +01:00
2ed54705ff Remove anomaly detection artifact from schema 2017-11-22 14:06:33 +01:00