Commit Graph

123 Commits

Author SHA1 Message Date
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
Niklas Kiefer
3562aa9103 create remote evaluation 2017-02-02 18:14:33 +01:00
Tom Staubitz
ca28e0aa87 updated rails from 4.1.13 to 4.2.5. This is required for rails to make use of new features in postgres 9.5
@Ralf
TODO: migration /Users/groucho/Documents/HPI/workspace/Xikolo-CodeOcean/codeocean/db/migrate/20160204111716_add_user_to_code_harbor_link.rb
is broken. A reference is made to table users which does not exist.
Workaround: run rake db:schema:load before running db:migrate. Still this should be fixed.
2016-12-31 00:05:23 +01:00
Tom Staubitz
f4c01879bf preparations to replace session with lti_parameters object 2016-12-27 00:13:41 +01:00
Tom Staubitz
2b55e0081c change LtiParameters Table 2016-12-16 15:28:40 +01:00
Ralf Teusner
8f499b72da Feature: Auto-Completion in Source Code
+ allow flags for exercises
2016-09-07 17:34:20 +02:00
yqbk
8abc0bb15a cleanup 2016-08-26 13:22:16 +02:00
yqbk
b6cf5d313a migration 2016-08-12 13:33:55 +02:00
Ralf Teusner
ed3526a578 Merge branch 'master' into feature-file-templates
Conflicts:
	app/views/application/_navigation.html.slim
	config/locales/de.yml
	config/locales/en.yml
	db/schema.rb
2016-07-28 15:16:11 +02:00
Ralf Teusner
8282820974 removed requested_at
partly using submission_id
some cleanup
2016-07-14 16:22:22 +02:00
Ralf Teusner
f5868a4fa2 merge master 2016-07-14 13:22:24 +02:00
Ralf Teusner
223df2ffa8 some cleanup of request for comments. Work in progress.
Noticed a flaw when fetching the last submission, which is caused by timezone differences. First step to solve this.
Existing Request for Comments still need to be updated with their current submissionId, the SQL to do that is not yet finished.
2016-07-04 17:44:22 +02:00