Commit Graph

208 Commits

Author SHA1 Message Date
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
13b3b3edc7 Add index to exercises 2017-11-22 13:47:23 +01:00
4d8cee6fcb Add timestamps to user exercise feedback 2017-11-20 19:26:14 +01:00
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
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
80edffaa39 Add anomaly detection flag to exercise collections 2017-11-15 13:15:31 +01:00
2118e610f9 fixed broken migration 2017-11-08 17:06:19 +01:00
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
a0ebd5bec5 Update schema.rb 2017-10-04 11:50:57 +02:00
0e7decd7fc removed clutter in schema.rb 2017-10-04 11:47:18 +02:00
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
1e71b46960 Update schema 2017-09-21 17:24:14 +02:00
194984a620 add cause to testruns
trigger run and assess on request_for_comment
2017-09-21 17:21:10 +02:00
be5b1df76a Make subscriptions insert-only 2017-09-20 17:14:55 +02:00
217239e076 Rollback schema changes from different branch 2017-09-13 09:56:33 +02:00
bb6c266b13 Rename subscription#type to subscription_type to avoid rails stumbling over polymorphism 2017-09-13 07:54:43 +02:00
5aa9edb209 Add subscription model and link it to RFC 2017-09-06 15:16:47 +02:00
5d6158f95a Fix structured error creation if attributes don't match; write match status to database 2017-07-19 15:46:19 +02:00
872611bff6 Update schema to reflect re-usable error_template_attributes, descriptions, hints, and sorting 2017-07-11 19:22:12 +02:00
d2a089d057 Add structured errors to schema 2017-07-03 10:09:48 +02:00
f0fb52d92a Add thank you note to rfc 2017-06-08 16:46:15 +02:00
5949d1208e Merge branch 'master' into client-routesv2 2017-04-25 13:50:08 +02:00