Commit Graph

122 Commits

Author SHA1 Message Date
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
325ea25849 Replaced session[:lti_parameters] with proper LtiParameter object.
Removed all tests that would be failing

TODO: decision if all LtiParameter objects for a certain user/consumer will be deleted when the user/consumer is deleted from the session, or only the LtiParameter object for the current exercise of the user/consumer.

TODO: replace removed tests with proper tests
2016-12-30 09:45:39 +01:00
Tom Staubitz
6f1d8b2d38 Marked more locations that might require to be changed when we switch from session to LtiParameters Object 2016-12-27 07:48:59 +01:00
Tom Staubitz
f4c01879bf preparations to replace session with lti_parameters object 2016-12-27 00:13:41 +01:00
Maximilian Grundke
4f8feb38e1 Use file template to generate new file content 2016-06-10 13:41:38 +02:00
Maximilian Grundke
dcb05b9169 Fix testrun result for docker container depletion 2016-03-09 16:21:32 +01:00
Maximilian Grundke
087b2bdf93 Persist assessments in the testrun model 2016-03-09 14:49:44 +01:00
Ralf Teusner
b417231c12 a more defensive version of scoring to please the tests.. 2015-08-26 11:51:33 +02:00
Jan Renz
89683dab9d Try to fix bug 2015-04-28 17:11:06 +02:00
Jan Renz
2480c51c2b Cleanup logs 2015-04-28 16:02:22 +02:00
Ralf Teusner
725fd00256 removed new relic logging (caused errors) 2015-04-27 17:59:03 +02:00
Tom Staubitz
cc400989ee added ids to new relic error messages 2015-04-24 18:12:42 +02:00
Tom Staubitz
f55fecba9d added more new relic debugging in submission_scoring.rb 2015-04-24 17:12:31 +02:00
Tom Staubitz
222783ef75 added som new relic debug messages 2015-04-23 17:39:18 +02:00
Hauke Klement
b8284a7a26 fixed issue of default test feedback message not being localized correctly 2015-04-12 13:45:45 +02:00
Hauke Klement
1f46f7c3af execute test files concurrently 2015-03-16 17:51:46 +01:00
Hauke Klement
a13d1738e2 fixed multiple style guide violations 2015-02-17 10:23:01 +01:00
Hauke Klement
c99b0e6256 use #fail instead of #raise to signal exceptions, as suggested by RuboCop 2015-02-17 09:05:04 +01:00
Hauke Klement
0bb5dae334 changed literal array syntax, as suggested by RuboCop 2015-02-16 11:33:03 +01:00
Hauke Klement
e8db4a4b10 removed code duplication 2015-02-12 13:15:31 +01:00
Hauke Klement
a22a5af711 extracted common controller behavior in order to reduce code duplication 2015-02-05 12:28:09 +01:00
Hauke Klement
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00