diff --git a/app/assets/javascripts/exercise_graphs.js b/app/assets/javascripts/exercise_graphs.js new file mode 100644 index 00000000..2d3588c6 --- /dev/null +++ b/app/assets/javascripts/exercise_graphs.js @@ -0,0 +1,281 @@ +$(function() { + // http://localhost:3333/exercises/38/statistics good for testing + // originally at--> localhost:3333/exercises/69/statistics + + if ($.isController('exercises') && $('.graph-functions-2').isPresent()) { + // GET THE DATA + var submissions = $('#data').data('submissions'); + var submissions_length = submissions.length; + + submissionsScoreAndTimeAssess = [[0,0]]; + submissionsScoreAndTimeSubmits = [[0,0]]; + var maximumValue = 0; + + var wtimes = $('#wtimes').data('working_times'); //.hidden#wtimes data-working_times=ActiveSupport::JSON.encode(working_times_until) + + // console.log(submissions); + // console.log(wtimes); + + for (var i = 0;i 0) { + submissionArray[1] = workingTime; + } + + if(submission.score>maximumValue){ + maximumValue = submission.score; + } + submissionsScoreAndTimeAssess.push(submissionArray); + } else if(submission.cause == "submit"){ + var workingTime = get_minutes(wtimes[i]); + var submissionArray = [submission.score, 0]; + + if (workingTime > 0) { + submissionArray[1] = workingTime; + } + + if(submission.score>maximumValue){ + maximumValue = submission.score; + } + submissionsScoreAndTimeSubmits.push(submissionArray); + } + } + // console.log(submissionsScoreAndTimeAssess.length); + // console.log(submissionsScoreAndTimeSubmits); + + function get_minutes (time_stamp) { + try { + hours = time_stamp.split(":")[0]; + minutes = time_stamp.split(":")[1]; + seconds = time_stamp.split(":")[2]; + + minutes = parseFloat(hours * 60) + parseInt(minutes); + if (minutes > 0){ + return minutes; + } else{ + return parseFloat(seconds/60); + } + } catch (err) { + return 0; + } + } + + function getWidth() { + if (self.innerHeight) { + return self.innerWidth; + } + + if (document.documentElement && document.documentElement.clientWidth) { + return document.documentElement.clientWidth; + } + + if (document.body) { + return document.body.clientWidth; + } + } + + function graph_assesses() { + // MAKE THE GRAPH + var width_ratio = .8; + var height_ratio = .7; // percent of height + + var margin = {top: 100, right: 20, bottom: 70, left: 70},//30,50 + width = (getWidth() * width_ratio) - margin.left - margin.right, + height = (width * height_ratio) - margin.top - margin.bottom; + + // Set the ranges + var x = d3.scale.linear().range([0, width]); + var y = d3.scale.linear().range([height,0]); + + //var x = d3.scale.linear() + // .range([0, width]); + //var y = d3.scale.linear() + // .range([0,height]); // - (height/20 + + var xAxis = d3.svg.axis() + .scale(x) + .orient("bottom") + .ticks(20); + + + var yAxis = d3.svg.axis() + .scale(d3.scale.linear().domain([0,maximumValue]).range([height,0]))//y + // .scale(y) + .orient("left") + .ticks(maximumValue) + .innerTickSize(-width) + .outerTickSize(0); + + //var line = d3.svg.line() + // .x(function(d) { return x(d.date); }) + // .y(function(d) { return y(d.close); }); + + var line = d3.svg.line() + .x(function (d) { + // console.log(d[1]); + return x(d[1]); + }) + .y(function (d) { + // console.log(d[0]); + return y(d[0]); + }); + + var svg = d3.select("#progress_chart").append("svg") //PLACEMENT GOES HERE <--------------- + .attr("width", width + margin.left + margin.right) + .attr("height", height + margin.top + margin.bottom) + .append("g") + .attr("transform", "translate(" + margin.left + "," + margin.top + ")"); + + + x.domain(d3.extent(submissionsScoreAndTimeAssess, function (d) { + // console.log(d[1]); + return (d[1]); + })); + y.domain(d3.extent(submissionsScoreAndTimeAssess, function (d) { + // console.log(d[0]); + return (d[0]); + })); + + svg.append("g") //x axis + .attr("class", "x axis") + .attr("transform", "translate(0," + height + ")") + .call(xAxis); + + svg.append("text")// x axis label + .attr("class", "x axis") + .attr("text-anchor", "middle") + .attr("x", width / 2) + .attr("y", height) + .attr("dy", ((height / 20) + 20) + 'px') + .text("Time Spent on Assignment (Minutes)") + .style('font-size', 14); + + svg.append("g") // y axis + .attr("class", "y axis") + .call(yAxis); + + svg.append("text") // y axis label + .attr("transform", "rotate(-90)") + .attr("x", -height / 2) + .attr("dy", "-3em") + .style("text-anchor", "middle") + .text("Score") + .style('font-size', 14); + + svg.append("text")// Title + .attr("class", "x axis") + .attr("text-anchor", "middle") + .attr("x", (width / 2))//+300) + .attr("y", 0) + .attr("dy", '-1.5em') + .text("Assesses Timeline") + .style('font-size', 20) + .style('text-decoration', 'underline'); + + // + // svg.append("path") + // //.datum() + // .attr("class", "line") + // .attr('id', 'myPath')// new + // .attr("stroke", "black") + // .attr("stroke-width", 5) + // .attr("fill", "none")// end new + // .attr("d", line(submissionsScoreAndTimeAssess));//--- + + svg.append("path") + .datum(submissionsScoreAndTimeAssess) + .attr("class", "line") + .attr('id', 'myPath')// new + .attr("stroke", "orange") + .attr("stroke-width", 5) + .attr("fill", "none")// end new + .attr("d", line);//--- + + + svg.selectAll("dot") // Add dots to assesses + .data(submissionsScoreAndTimeAssess) + .enter().append("circle") + .attr("r", 3.5) + .attr("cx", function(d) { return x(d[1]); }) + .attr("cy", function(d) { return y(d[0]); }); + + + svg.append("path") + .datum(submissionsScoreAndTimeSubmits) + .attr("class", "line2") + .attr('id', 'myPath')// new + .attr("stroke", "blue") + .attr("stroke-width", 5) + .attr("fill", "none")// end new + .attr("d", line);//--- + + svg.selectAll("dot") // Add dots to submits + .data(submissionsScoreAndTimeSubmits) + .enter().append("circle") + .attr("r", 3.5) + .attr("cx", function(d) { return x(d[1]); }) + .attr("cy", function(d) { return y(d[0]); }); + + + var color_hash = { 0 : ["Submissions", "blue"], + 1 : ["Assesses", "orange"] + } + + // add legend + var legend = svg.append("g") + .attr("class", "legend") + .attr("x", 65) + .attr("y", 25) + .attr("height", 100) + .attr("width", 100); + + var dataset = [submissionsScoreAndTimeSubmits,submissionsScoreAndTimeAssess]; + + legend.selectAll('g').data(dataset) + .enter() + .append('g') + .each(function(d, i) { + var g = d3.select(this); + g.append("rect") + .attr("x", 20) + .attr("y", i*25 + 8) + .attr("width", 10) + .attr("height", 10) + .style("fill", color_hash[String(i)][1]); + + g.append("text") + .attr("x", 40) + .attr("y", i * 25 + 18) + .attr("height",30) + .attr("width",100) + .style("fill", color_hash[String(i)][1]) + .text(color_hash[String(i)][0]); + + }); + + + + // function type(d) { + // d.frequency = +d.frequency; + // return d; + // } + + //.on("mousemove", mMove)//new again + //.append("title"); + + } + + try{ + graph_assesses(); + } catch(err){ + // not enough data + } + + } + +}); diff --git a/config/database.yml b/config/database.yml deleted file mode 100644 index e3181466..00000000 --- a/config/database.yml +++ /dev/null @@ -1,18 +0,0 @@ -default: &default - adapter: postgresql - encoding: unicode - password: - pool: 16 - username: postgres - -development: - <<: *default - database: code_ocean_development - -production: - <<: *default - database: code_ocean_production - -test: - <<: *default - database: code_ocean_test diff --git a/log/development.log b/log/development.log deleted file mode 100644 index f9f5a613..00000000 --- a/log/development.log +++ /dev/null @@ -1,80930 +0,0 @@ - SQL (35.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" -  (1247.3ms) CREATE TABLE "comments" ("id" serial primary key, "user_id" integer, "file_id" integer, "user_type" character varying(255), "row" integer, "column" integer, "text" character varying(255), "created_at" timestamp, "updated_at" timestamp) -  (16.1ms) CREATE INDEX "index_comments_on_file_id" ON "comments" USING btree ("file_id") -  (35.3ms) CREATE INDEX "index_comments_on_user_id" ON "comments" USING btree ("user_id") -  (58.6ms) CREATE TABLE "consumers" ("id" serial primary key, "name" character varying(255), "created_at" timestamp, "updated_at" timestamp, "oauth_key" character varying(255), "oauth_secret" character varying(255))  -  (111.7ms) CREATE TABLE "errors" ("id" serial primary key, "execution_environment_id" integer, "message" text, "created_at" timestamp, "updated_at" timestamp, "submission_id" integer) -  (28.7ms) CREATE INDEX "index_errors_on_submission_id" ON "errors" USING btree ("submission_id") -  (125.1ms) CREATE TABLE "execution_environments" ("id" serial primary key, "docker_image" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp, "run_command" character varying(255), "test_command" character varying(255), "testing_framework" character varying(255), "help" text, "exposed_ports" character varying(255), "permitted_execution_time" integer, "user_id" integer, "user_type" character varying(255), "pool_size" integer, "file_type_id" integer, "memory_limit" integer, "network_enabled" boolean) -  (66.8ms) CREATE TABLE "exercises" ("id" serial primary key, "description" text, "execution_environment_id" integer, "title" character varying(255), "created_at" timestamp, "updated_at" timestamp, "user_id" integer, "instructions" text, "public" boolean, "user_type" character varying(255), "token" character varying(255), "team_id" integer, "hide_file_tree" boolean)  -  (98.0ms) CREATE TABLE "external_users" ("id" serial primary key, "consumer_id" integer, "email" character varying(255), "external_id" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp) -  (45.7ms) CREATE TABLE "file_types" ("id" serial primary key, "editor_mode" character varying(255), "file_extension" character varying(255), "indent_size" integer, "name" character varying(255), "user_id" integer, "created_at" timestamp, "updated_at" timestamp, "executable" boolean, "renderable" boolean, "user_type" character varying(255), "binary" boolean)  -  (108.9ms) CREATE TABLE "files" ("id" serial primary key, "content" text, "context_id" integer, "context_type" character varying(255), "file_id" integer, "file_type_id" integer, "hidden" boolean, "name" character varying(255), "read_only" boolean, "created_at" timestamp, "updated_at" timestamp, "native_file" character varying(255), "role" character varying(255), "hashed_content" character varying(255), "feedback_message" character varying(255), "weight" float, "path" character varying(255)) -  (67.6ms) CREATE INDEX "index_files_on_context_id_and_context_type" ON "files" USING btree ("context_id", "context_type") -  (87.8ms) CREATE TABLE "hints" ("id" serial primary key, "execution_environment_id" integer, "locale" character varying(255), "message" text, "name" character varying(255), "regular_expression" character varying(255), "created_at" timestamp, "updated_at" timestamp) -  (17.6ms) CREATE TABLE "internal_users" ("id" serial primary key, "consumer_id" integer, "email" character varying(255), "name" character varying(255), "role" character varying(255), "created_at" timestamp, "updated_at" timestamp, "crypted_password" character varying(255), "salt" character varying(255), "failed_logins_count" integer DEFAULT 0, "lock_expires_at" timestamp, "unlock_token" character varying(255), "remember_me_token" character varying(255), "remember_me_token_expires_at" timestamp, "reset_password_token" character varying(255), "reset_password_token_expires_at" timestamp, "reset_password_email_sent_at" timestamp, "activation_state" character varying(255), "activation_token" character varying(255), "activation_token_expires_at" timestamp)  -  (2.8ms) CREATE INDEX "index_internal_users_on_activation_token" ON "internal_users" USING btree ("activation_token") -  (33.6ms) CREATE UNIQUE INDEX "index_internal_users_on_email" ON "internal_users" USING btree ("email") -  (33.4ms) CREATE INDEX "index_internal_users_on_remember_me_token" ON "internal_users" USING btree ("remember_me_token") -  (18.0ms) CREATE INDEX "index_internal_users_on_reset_password_token" ON "internal_users" USING btree ("reset_password_token") -  (17.5ms) CREATE TABLE "internal_users_teams" ("id" serial primary key, "internal_user_id" integer, "team_id" integer) -  (70.0ms) CREATE INDEX "index_internal_users_teams_on_internal_user_id" ON "internal_users_teams" USING btree ("internal_user_id") -  (2.3ms) CREATE INDEX "index_internal_users_teams_on_team_id" ON "internal_users_teams" USING btree ("team_id") -  (67.1ms) CREATE TABLE "request_for_comments" ("id" serial primary key, "user_id" integer NOT NULL, "exercise_id" integer NOT NULL, "file_id" integer NOT NULL, "requested_at" timestamp, "created_at" timestamp, "updated_at" timestamp, "user_type" character varying(255))  -  (63.8ms) CREATE TABLE "submissions" ("id" serial primary key, "exercise_id" integer, "score" float, "user_id" integer, "created_at" timestamp, "updated_at" timestamp, "cause" character varying(255), "user_type" character varying(255)) -  (12.3ms) CREATE TABLE "teams" ("id" serial primary key, "name" character varying(255), "created_at" timestamp, "updated_at" timestamp)  -  (34.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) -  (37.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.8ms) SELECT version FROM "schema_migrations" -  (33.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150922125415') -  (8.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140625134118') -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140626143132') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140626144036') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140630093736') -  (35.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140630111215') -  (8.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140701120126') -  (34.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140701122345') -  (55.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702100130') -  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703070749') -  (34.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716153147') -  (34.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717074902') -  (35.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140722125431') -  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723135530') -  (37.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723135747') -  (32.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140724155359') -  (30.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140730114343') -  (39.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140730115010') -  (14.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140805161431') -  (35.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812102114') -  (38.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812144733') -  (73.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812150607') -  (11.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812150925') -  (28.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140813091722') -  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140820170039') -  (34.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140821064318') -  (36.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140823172643') -  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140823173923') -  (34.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825121336') -  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825125801') -  (34.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825154202') -  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825161350') -  (33.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825161358') -  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825161406') -  (35.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073318') -  (9.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073319') -  (9.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073320') -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073321') -  (43.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073322') -  (38.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140827065359') -  (5.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140827083957') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140829141913') -  (39.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140903093436') -  (37.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140903165113') -  (7.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140904082810') -  (13.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140909115430') -  (7.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140915095420') -  (38.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140915122846') -  (13.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140918063522') -  (19.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140922161120') -  (14.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140922161226') -  (33.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141003072729') -  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141004114747') -  (9.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141009110434') -  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141011145303') -  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141017110211') -  (33.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141031161603') -  (41.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141119131607') -  (13.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150128083123') -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150128084834') -  (20.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150128093003') -  (41.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150204080832') -  (8.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150310150712') -  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317083739') -  (34.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317115338') -  (10.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150327141740') -  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150408155923') -  (40.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150421074734') -  (48.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150818141554') -  (40.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150818142251') -  (27.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150903152727') - ExecutionEnvironment Load (1.1ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (0.6ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (45.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" -  (43.0ms) DROP TABLE "comments" -  (7.7ms) CREATE TABLE "comments" ("id" serial primary key, "user_id" integer, "file_id" integer, "user_type" character varying(255), "row" integer, "column" integer, "text" character varying(255), "created_at" timestamp, "updated_at" timestamp) -  (2.2ms) CREATE INDEX "index_comments_on_file_id" ON "comments" USING btree ("file_id") -  (1.6ms) CREATE INDEX "index_comments_on_user_id" ON "comments" USING btree ("user_id") -  (2.9ms) DROP TABLE "consumers" -  (6.5ms) CREATE TABLE "consumers" ("id" serial primary key, "name" character varying(255), "created_at" timestamp, "updated_at" timestamp, "oauth_key" character varying(255), "oauth_secret" character varying(255)) -  (3.0ms) DROP TABLE "errors" -  (6.5ms) CREATE TABLE "errors" ("id" serial primary key, "execution_environment_id" integer, "message" text, "created_at" timestamp, "updated_at" timestamp, "submission_id" integer) -  (1.7ms) CREATE INDEX "index_errors_on_submission_id" ON "errors" USING btree ("submission_id") -  (2.9ms) DROP TABLE "execution_environments" -  (6.3ms) CREATE TABLE "execution_environments" ("id" serial primary key, "docker_image" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp, "run_command" character varying(255), "test_command" character varying(255), "testing_framework" character varying(255), "help" text, "exposed_ports" character varying(255), "permitted_execution_time" integer, "user_id" integer, "user_type" character varying(255), "pool_size" integer, "file_type_id" integer, "memory_limit" integer, "network_enabled" boolean)  -  (4.9ms) DROP TABLE "exercises" -  (10.8ms) CREATE TABLE "exercises" ("id" serial primary key, "description" text, "execution_environment_id" integer, "title" character varying(255), "created_at" timestamp, "updated_at" timestamp, "user_id" integer, "instructions" text, "public" boolean, "user_type" character varying(255), "token" character varying(255), "team_id" integer, "hide_file_tree" boolean)  -  (3.4ms) DROP TABLE "external_users" -  (8.2ms) CREATE TABLE "external_users" ("id" serial primary key, "consumer_id" integer, "email" character varying(255), "external_id" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp)  -  (3.6ms) DROP TABLE "file_types" -  (7.0ms) CREATE TABLE "file_types" ("id" serial primary key, "editor_mode" character varying(255), "file_extension" character varying(255), "indent_size" integer, "name" character varying(255), "user_id" integer, "created_at" timestamp, "updated_at" timestamp, "executable" boolean, "renderable" boolean, "user_type" character varying(255), "binary" boolean)  -  (3.0ms) DROP TABLE "files" -  (5.6ms) CREATE TABLE "files" ("id" serial primary key, "content" text, "context_id" integer, "context_type" character varying(255), "file_id" integer, "file_type_id" integer, "hidden" boolean, "name" character varying(255), "read_only" boolean, "created_at" timestamp, "updated_at" timestamp, "native_file" character varying(255), "role" character varying(255), "hashed_content" character varying(255), "feedback_message" character varying(255), "weight" float, "path" character varying(255))  -  (41.6ms) CREATE INDEX "index_files_on_context_id_and_context_type" ON "files" USING btree ("context_id", "context_type") -  (4.5ms) DROP TABLE "hints" -  (10.7ms) CREATE TABLE "hints" ("id" serial primary key, "execution_environment_id" integer, "locale" character varying(255), "message" text, "name" character varying(255), "regular_expression" character varying(255), "created_at" timestamp, "updated_at" timestamp) -  (4.9ms) DROP TABLE "internal_users" -  (6.5ms) CREATE TABLE "internal_users" ("id" serial primary key, "consumer_id" integer, "email" character varying(255), "name" character varying(255), "role" character varying(255), "created_at" timestamp, "updated_at" timestamp, "crypted_password" character varying(255), "salt" character varying(255), "failed_logins_count" integer DEFAULT 0, "lock_expires_at" timestamp, "unlock_token" character varying(255), "remember_me_token" character varying(255), "remember_me_token_expires_at" timestamp, "reset_password_token" character varying(255), "reset_password_token_expires_at" timestamp, "reset_password_email_sent_at" timestamp, "activation_state" character varying(255), "activation_token" character varying(255), "activation_token_expires_at" timestamp) -  (1.7ms) CREATE INDEX "index_internal_users_on_activation_token" ON "internal_users" USING btree ("activation_token") -  (1.7ms) CREATE UNIQUE INDEX "index_internal_users_on_email" ON "internal_users" USING btree ("email") -  (2.2ms) CREATE INDEX "index_internal_users_on_remember_me_token" ON "internal_users" USING btree ("remember_me_token") -  (3.6ms) CREATE INDEX "index_internal_users_on_reset_password_token" ON "internal_users" USING btree ("reset_password_token") -  (2.7ms) DROP TABLE "internal_users_teams" -  (37.6ms) CREATE TABLE "internal_users_teams" ("id" serial primary key, "internal_user_id" integer, "team_id" integer) -  (1.5ms) CREATE INDEX "index_internal_users_teams_on_internal_user_id" ON "internal_users_teams" USING btree ("internal_user_id") -  (44.0ms) CREATE INDEX "index_internal_users_teams_on_team_id" ON "internal_users_teams" USING btree ("team_id") -  (2.5ms) DROP TABLE "request_for_comments" -  (7.2ms) CREATE TABLE "request_for_comments" ("id" serial primary key, "user_id" integer NOT NULL, "exercise_id" integer NOT NULL, "file_id" integer NOT NULL, "requested_at" timestamp, "created_at" timestamp, "updated_at" timestamp, "user_type" character varying(255)) -  (4.0ms) DROP TABLE "submissions" -  (24.4ms) CREATE TABLE "submissions" ("id" serial primary key, "exercise_id" integer, "score" float, "user_id" integer, "created_at" timestamp, "updated_at" timestamp, "cause" character varying(255), "user_type" character varying(255)) -  (3.2ms) DROP TABLE "teams" -  (33.3ms) CREATE TABLE "teams" ("id" serial primary key, "name" character varying(255), "created_at" timestamp, "updated_at" timestamp) -  (0.5ms) SELECT version FROM "schema_migrations" - SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" -  (8.5ms) CREATE TABLE "comments" ("id" serial primary key, "user_id" integer, "file_id" integer, "user_type" character varying(255), "row" integer, "column" integer, "text" character varying(255), "created_at" timestamp, "updated_at" timestamp)  -  (1.9ms) CREATE INDEX "index_comments_on_file_id" ON "comments" USING btree ("file_id") -  (3.5ms) CREATE INDEX "index_comments_on_user_id" ON "comments" USING btree ("user_id") -  (10.3ms) CREATE TABLE "consumers" ("id" serial primary key, "name" character varying(255), "created_at" timestamp, "updated_at" timestamp, "oauth_key" character varying(255), "oauth_secret" character varying(255)) -  (6.2ms) CREATE TABLE "errors" ("id" serial primary key, "execution_environment_id" integer, "message" text, "created_at" timestamp, "updated_at" timestamp, "submission_id" integer)  -  (2.7ms) CREATE INDEX "index_errors_on_submission_id" ON "errors" USING btree ("submission_id") -  (5.7ms) CREATE TABLE "execution_environments" ("id" serial primary key, "docker_image" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp, "run_command" character varying(255), "test_command" character varying(255), "testing_framework" character varying(255), "help" text, "exposed_ports" character varying(255), "permitted_execution_time" integer, "user_id" integer, "user_type" character varying(255), "pool_size" integer, "file_type_id" integer, "memory_limit" integer, "network_enabled" boolean)  -  (7.6ms) CREATE TABLE "exercises" ("id" serial primary key, "description" text, "execution_environment_id" integer, "title" character varying(255), "created_at" timestamp, "updated_at" timestamp, "user_id" integer, "instructions" text, "public" boolean, "user_type" character varying(255), "token" character varying(255), "team_id" integer, "hide_file_tree" boolean) -  (5.4ms) CREATE TABLE "external_users" ("id" serial primary key, "consumer_id" integer, "email" character varying(255), "external_id" character varying(255), "name" character varying(255), "created_at" timestamp, "updated_at" timestamp)  -  (5.3ms) CREATE TABLE "file_types" ("id" serial primary key, "editor_mode" character varying(255), "file_extension" character varying(255), "indent_size" integer, "name" character varying(255), "user_id" integer, "created_at" timestamp, "updated_at" timestamp, "executable" boolean, "renderable" boolean, "user_type" character varying(255), "binary" boolean) -  (5.6ms) CREATE TABLE "files" ("id" serial primary key, "content" text, "context_id" integer, "context_type" character varying(255), "file_id" integer, "file_type_id" integer, "hidden" boolean, "name" character varying(255), "read_only" boolean, "created_at" timestamp, "updated_at" timestamp, "native_file" character varying(255), "role" character varying(255), "hashed_content" character varying(255), "feedback_message" character varying(255), "weight" float, "path" character varying(255))  -  (2.3ms) CREATE INDEX "index_files_on_context_id_and_context_type" ON "files" USING btree ("context_id", "context_type") -  (6.9ms) CREATE TABLE "hints" ("id" serial primary key, "execution_environment_id" integer, "locale" character varying(255), "message" text, "name" character varying(255), "regular_expression" character varying(255), "created_at" timestamp, "updated_at" timestamp)  -  (7.4ms) CREATE TABLE "internal_users" ("id" serial primary key, "consumer_id" integer, "email" character varying(255), "name" character varying(255), "role" character varying(255), "created_at" timestamp, "updated_at" timestamp, "crypted_password" character varying(255), "salt" character varying(255), "failed_logins_count" integer DEFAULT 0, "lock_expires_at" timestamp, "unlock_token" character varying(255), "remember_me_token" character varying(255), "remember_me_token_expires_at" timestamp, "reset_password_token" character varying(255), "reset_password_token_expires_at" timestamp, "reset_password_email_sent_at" timestamp, "activation_state" character varying(255), "activation_token" character varying(255), "activation_token_expires_at" timestamp) -  (1.7ms) CREATE INDEX "index_internal_users_on_activation_token" ON "internal_users" USING btree ("activation_token") -  (2.0ms) CREATE UNIQUE INDEX "index_internal_users_on_email" ON "internal_users" USING btree ("email") -  (2.0ms) CREATE INDEX "index_internal_users_on_remember_me_token" ON "internal_users" USING btree ("remember_me_token") -  (2.7ms) CREATE INDEX "index_internal_users_on_reset_password_token" ON "internal_users" USING btree ("reset_password_token") -  (4.6ms) CREATE TABLE "internal_users_teams" ("id" serial primary key, "internal_user_id" integer, "team_id" integer)  -  (2.0ms) CREATE INDEX "index_internal_users_teams_on_internal_user_id" ON "internal_users_teams" USING btree ("internal_user_id") -  (2.4ms) CREATE INDEX "index_internal_users_teams_on_team_id" ON "internal_users_teams" USING btree ("team_id") -  (18.9ms) CREATE TABLE "request_for_comments" ("id" serial primary key, "user_id" integer NOT NULL, "exercise_id" integer NOT NULL, "file_id" integer NOT NULL, "requested_at" timestamp, "created_at" timestamp, "updated_at" timestamp, "user_type" character varying(255)) -  (5.3ms) CREATE TABLE "submissions" ("id" serial primary key, "exercise_id" integer, "score" float, "user_id" integer, "created_at" timestamp, "updated_at" timestamp, "cause" character varying(255), "user_type" character varying(255))  -  (5.8ms) CREATE TABLE "teams" ("id" serial primary key, "name" character varying(255), "created_at" timestamp, "updated_at" timestamp) -  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.6ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150922125415') -  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140625134118') -  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140626143132') -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140626144036') -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140630093736') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140630111215') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140701120126') -  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140701122345') -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702100130') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703070749') -  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716153147') -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717074902') -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140722125431') -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723135530') -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723135747') -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140724155359') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140730114343') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140730115010') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140805161431') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812102114') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812144733') -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812150607') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140812150925') -  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140813091722') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140820170039') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140821064318') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140823172643') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140823173923') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825121336') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825125801') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825154202') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825161350') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825161358') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140825161406') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073318') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073319') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073320') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073321') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826073322') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140827065359') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140827083957') -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140829141913') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140903093436') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140903165113') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140904082810') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140909115430') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140915095420') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140915122846') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140918063522') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140922161120') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140922161226') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141003072729') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141004114747') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141009110434') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141011145303') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141017110211') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141031161603') -  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141119131607') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150128083123') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150128084834') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150128093003') -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150204080832') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150310150712') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317083739') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317115338') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150327141740') -  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150408155923') -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150421074734') -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150818141554') -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150818142251') -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150903152727') - ExecutionEnvironment Load (1.1ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (0.5ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (24.3ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" - ExecutionEnvironment Load (0.9ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (0.4ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (2.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - SQL (0.5ms) DELETE FROM "execution_environments" - SQL (0.7ms) DELETE FROM "files" - SQL (0.5ms) DELETE FROM "exercises" - SQL (0.5ms) DELETE FROM "external_users" - SQL (0.8ms) DELETE FROM "internal_users" - SQL (0.5ms) DELETE FROM "internal_users_teams" - SQL (0.5ms) DELETE FROM "file_types" - SQL (0.5ms) DELETE FROM "hints" - SQL (0.7ms) DELETE FROM "comments" - SQL (0.4ms) DELETE FROM "consumers" - SQL (0.5ms) DELETE FROM "errors" - SQL (0.6ms) DELETE FROM "request_for_comments" - SQL (0.5ms) DELETE FROM "submissions" - SQL (0.4ms) DELETE FROM "teams" - SQL (0.2ms) DELETE FROM "internal_users_teams" - Consumer Load (17.6ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - Consumer Exists (0.5ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" IS NULL LIMIT 1 -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" = '27ea0eba8199bc2021954ff6e84f97bb' LIMIT 1 - SQL (0.7ms) INSERT INTO "consumers" ("created_at", "name", "oauth_key", "oauth_secret", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-02-11 14:17:34.151006"], ["name", "openHPI"], ["oauth_key", "27ea0eba8199bc2021954ff6e84f97bb"], ["oauth_secret", "209f65e45a46cc1b46fb66707d671d35"], ["updated_at", "2016-02-11 14:17:34.151006"]] -  (0.8ms) COMMIT - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openSAP' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" IS NULL LIMIT 1 -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" = 'b8f99b1faa73a0b11a24150a93798b0a' LIMIT 1 - SQL (0.3ms) INSERT INTO "consumers" ("created_at", "name", "oauth_key", "oauth_secret", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-02-11 14:17:34.159913"], ["name", "openSAP"], ["oauth_key", "b8f99b1faa73a0b11a24150a93798b0a"], ["oauth_secret", "331f41ed23c024de681f11510944dd54"], ["updated_at", "2016-02-11 14:17:34.159913"]] -  (0.5ms) COMMIT - InternalUser Load (0.5ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' LIMIT 1 -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' LIMIT 1 - SQL (0.8ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["activation_state", "pending"], ["activation_token", "VT9XsSvk9PHeU1je7ttP"], ["created_at", "2016-02-11 14:17:34.349331"], ["crypted_password", "$2a$10$6RWhZ0jV7tr16B7lMpF0Z.Ij6zltuzw7jL/vZS4xjQ2apRU.Iabs6"], ["email", "admin@example.org"], ["name", "Lawrence Davis"], ["role", "admin"], ["salt", "sPCxfxzv5AuoxNMr6UE6"], ["updated_at", "2016-02-11 14:17:34.349331"]] - Rendered user_mailer/activation_needed_email.html.slim (21.8ms) - -UserMailer#activation_needed_email: processed outbound mail in 258.5ms - -Sent mail to admin@example.org (30.3ms) -Date: Thu, 11 Feb 2016 15:17:34 +0100 -From: codeocean@hpi.de -To: admin@example.org -Message-ID: <56bc97fe96c48_16a0c3fe120c65bec52943@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/1/activate?token=VT9XsSvk9PHeU1je7ttP and set up a password in order to complete your registration. -  (0.9ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.2ms -  (0.1ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 1 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:17:34.645192"]] -  (0.6ms) COMMIT - ExternalUser Load (0.4ms) SELECT "external_users".* FROM "external_users" WHERE "external_users"."email" = 'melissa.clark@example.org' ORDER BY "external_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '1de7120d5713838866033a5a7da358d9' AND "consumers"."id" != 1) LIMIT 1 - SQL (0.4ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 1 [["oauth_key", "1de7120d5713838866033a5a7da358d9"], ["oauth_secret", "77dbac1eed226f3b5ca0f23a5939c781"], ["updated_at", "2016-02-11 14:17:34.663217"]] -  (0.6ms) COMMIT -  (0.2ms) BEGIN - SQL (0.9ms) INSERT INTO "external_users" ("consumer_id", "created_at", "email", "external_id", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["consumer_id", 1], ["created_at", "2016-02-11 14:17:34.730130"], ["email", "melissa.clark@example.org"], ["external_id", "fa9a06f3-5050-40aa-95cf-2445bffaadd4"], ["name", "Melissa Clark"], ["updated_at", "2016-02-11 14:17:34.730130"]] -  (0.5ms) COMMIT - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'michael.hicks@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.3ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'michael.hicks@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'f1c7c56a77096e5169528fe647c71bc2' AND "consumers"."id" != 1) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 1 [["oauth_key", "f1c7c56a77096e5169528fe647c71bc2"], ["oauth_secret", "a965a52e929481c96178d0aed43ad21f"], ["updated_at", "2016-02-11 14:17:34.741333"]] -  (0.6ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'michael.hicks@example.org' LIMIT 1 - SQL (0.4ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "XTu3XBwacQY1PMnyJA6T"], ["consumer_id", 1], ["created_at", "2016-02-11 14:17:34.884882"], ["crypted_password", "$2a$10$xGNNgC./.euYKg6ba/KbLO6rr92mOwAk0lVDzbeFgryB/Ct0Sakoe"], ["email", "michael.hicks@example.org"], ["name", "Michael Hicks"], ["role", "teacher"], ["salt", "bY8a6hUkQdmsxyhJw4Y1"], ["updated_at", "2016-02-11 14:17:34.884882"]] - Rendered user_mailer/activation_needed_email.html.slim (0.2ms) - -UserMailer#activation_needed_email: processed outbound mail in 6.4ms - -Sent mail to michael.hicks@example.org (3.2ms) -Date: Thu, 11 Feb 2016 15:17:34 +0100 -From: codeocean@hpi.de -To: michael.hicks@example.org -Message-ID: <56bc97feda63b_16a0c3fe120c65bec530aa@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/2/activate?token=XTu3XBwacQY1PMnyJA6T and set up a password in order to complete your registration. -  (0.6ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.4ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 2 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:17:34.899248"]] -  (0.6ms) COMMIT - ExecutionEnvironment Load (0.5ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'CoffeeScript' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.1ms) ROLLBACK - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'julia.lopez@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.3ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'julia.lopez@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '202dbe8dc0539ee3f59c059f24c98fbe' AND "consumers"."id" != 1) LIMIT 1 - SQL (0.4ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 1 [["oauth_key", "202dbe8dc0539ee3f59c059f24c98fbe"], ["oauth_secret", "0d11b54babef2a65dd5c5e6061b14348"], ["updated_at", "2016-02-11 14:17:34.925713"]] -  (0.6ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'julia.lopez@example.org' LIMIT 1 - SQL (0.4ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "11hCQLpxGUEK58Gz7hhp"], ["consumer_id", 1], ["created_at", "2016-02-11 14:17:35.071646"], ["crypted_password", "$2a$10$icYP.Uot6DHnNHZG4X41.O14y605Nkm7HxCIvBd5zu5bXKuhZXCji"], ["email", "julia.lopez@example.org"], ["name", "Julia Lopez"], ["role", "teacher"], ["salt", "izfX7aypAgy5HzCBHdLD"], ["updated_at", "2016-02-11 14:17:35.071646"]] - Rendered user_mailer/activation_needed_email.html.slim (0.2ms) - -UserMailer#activation_needed_email: processed outbound mail in 6.2ms - -Sent mail to julia.lopez@example.org (3.5ms) -Date: Thu, 11 Feb 2016 15:17:35 +0100 -From: codeocean@hpi.de -To: julia.lopez@example.org -Message-ID: <56bc97ff13bef_16a0c3fe120c65bec531a5@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/3/activate?token=11hCQLpxGUEK58Gz7hhp and set up a password in order to complete your registration. -  (0.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 3 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:17:35.086237"]] -  (0.5ms) COMMIT - InternalUser Load (0.7ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 1) LIMIT 1 - SQL (0.4ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 1 [["crypted_password", "$2a$10$zZGUWf47uCdTqvvh13VQQuJ67lD5me9e9I1XCWpvf8N/SldXPBTGq"], ["name", "Anne Johnston"], ["salt", "in8daUhs8D9y383xUmQY"], ["updated_at", "2016-02-11 14:17:35.258685"]] -  (0.6ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.6ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 1 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/coffee' AND "file_types"."file_extension" = '.coffee' AND "file_types"."indent_size" = 2 AND "file_types"."name" = 'CoffeeScript' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - SQL (0.5ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 14:17:35.273725"], ["editor_mode", "ace/mode/coffee"], ["executable", "t"], ["file_extension", ".coffee"], ["indent_size", 2], ["name", "CoffeeScript"], ["renderable", "f"], ["updated_at", "2016-02-11 14:17:35.273725"], ["user_id", 1], ["user_type", "InternalUser"]] -  (0.7ms) COMMIT -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK - ExecutionEnvironment Load (42.8ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (0.5ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (1.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" - SQL (17.4ms) DELETE FROM "execution_environments" - SQL (0.9ms) DELETE FROM "files" - SQL (0.6ms) DELETE FROM "exercises" - SQL (43.8ms) DELETE FROM "external_users" - SQL (2.1ms) DELETE FROM "internal_users" - SQL (0.8ms) DELETE FROM "internal_users_teams" - SQL (1.1ms) DELETE FROM "file_types" - SQL (0.6ms) DELETE FROM "hints" - SQL (0.6ms) DELETE FROM "comments" - SQL (22.9ms) DELETE FROM "consumers" - SQL (0.8ms) DELETE FROM "errors" - SQL (0.5ms) DELETE FROM "request_for_comments" - SQL (0.6ms) DELETE FROM "submissions" - SQL (0.5ms) DELETE FROM "teams" - SQL (0.3ms) DELETE FROM "internal_users_teams" - Consumer Load (1.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (25.0ms) BEGIN - Consumer Exists (0.5ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" IS NULL LIMIT 1 -  (25.0ms) ROLLBACK -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" = '33c0b9f6a64913e735c0abd952f15b80' LIMIT 1 - SQL (32.2ms) INSERT INTO "consumers" ("created_at", "name", "oauth_key", "oauth_secret", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-02-11 14:46:23.769444"], ["name", "openHPI"], ["oauth_key", "33c0b9f6a64913e735c0abd952f15b80"], ["oauth_secret", "43c6a1804c8cc9f887fcab37de0f0dc1"], ["updated_at", "2016-02-11 14:46:23.769444"]] -  (9.4ms) COMMIT - Consumer Load (0.6ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openSAP' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" IS NULL LIMIT 1 -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" = '19b048d3f89f3534b5982976ae155bb8' LIMIT 1 - SQL (0.3ms) INSERT INTO "consumers" ("created_at", "name", "oauth_key", "oauth_secret", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-02-11 14:46:23.819224"], ["name", "openSAP"], ["oauth_key", "19b048d3f89f3534b5982976ae155bb8"], ["oauth_secret", "501b19813df9e698e39a20a89b3beef5"], ["updated_at", "2016-02-11 14:46:23.819224"]] -  (0.6ms) COMMIT - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' LIMIT 1 -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' LIMIT 1 - SQL (0.5ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["activation_state", "pending"], ["activation_token", "1Zb47YYHEfHvPT1xfVz4"], ["created_at", "2016-02-11 14:46:24.044010"], ["crypted_password", "$2a$10$uzZyEIJyv6FhxYlTTTJ/ieKH06ULK8yFeiYjIoI7IIWElUTMC8CUy"], ["email", "admin@example.org"], ["name", "Robin Carr"], ["role", "admin"], ["salt", "jZWpHCDSu4Ezyb4mAgSq"], ["updated_at", "2016-02-11 14:46:24.044010"]] - Rendered user_mailer/activation_needed_email.html.slim (27.1ms) - -UserMailer#activation_needed_email: processed outbound mail in 561.3ms - -Sent mail to admin@example.org (135.9ms) -Date: Thu, 11 Feb 2016 15:46:24 +0100 -From: codeocean@hpi.de -To: admin@example.org -Message-ID: <56bc9ec0a57e3_16e0c3fc611861bd8755ac@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/4/activate?token=1Zb47YYHEfHvPT1xfVz4 and set up a password in order to complete your registration. -  (0.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.6ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 4 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:46:24.747787"]] -  (0.6ms) COMMIT - ExternalUser Load (0.6ms) SELECT "external_users".* FROM "external_users" WHERE "external_users"."email" = 'walter.young@example.org' ORDER BY "external_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.5ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'e357ee2aadb9a8d2bcd54948d6b98bc5' AND "consumers"."id" != 3) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 3 [["oauth_key", "e357ee2aadb9a8d2bcd54948d6b98bc5"], ["oauth_secret", "500db53906caf5ba605796a012f57efc"], ["updated_at", "2016-02-11 14:46:24.767556"]] -  (10.4ms) COMMIT -  (0.2ms) BEGIN - SQL (38.5ms) INSERT INTO "external_users" ("consumer_id", "created_at", "email", "external_id", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["consumer_id", 3], ["created_at", "2016-02-11 14:46:24.811831"], ["email", "walter.young@example.org"], ["external_id", "6b1e265b-324b-411e-828e-b48f4ce365e7"], ["name", "Walter Young"], ["updated_at", "2016-02-11 14:46:24.811831"]] -  (0.8ms) COMMIT - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'carolyn.mitchell@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'carolyn.mitchell@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '9c271e5b665d8a4f0d58a17768e6ee6a' AND "consumers"."id" != 3) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 3 [["oauth_key", "9c271e5b665d8a4f0d58a17768e6ee6a"], ["oauth_secret", "86f99be9a487a33e2968b0ef2e8cac94"], ["updated_at", "2016-02-11 14:46:24.860938"]] -  (0.5ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'carolyn.mitchell@example.org' LIMIT 1 - SQL (0.4ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "GKquu3xdokrXcyqDSz4v"], ["consumer_id", 3], ["created_at", "2016-02-11 14:46:25.019011"], ["crypted_password", "$2a$10$XUcYS77OpqY2fUwAXrETz.r/THs40VLUxzss97AzMKy2Xc.AKaeNm"], ["email", "carolyn.mitchell@example.org"], ["name", "Carolyn Mitchell"], ["role", "teacher"], ["salt", "sonRcH6v54ahjzQxUSLf"], ["updated_at", "2016-02-11 14:46:25.019011"]] - Rendered user_mailer/activation_needed_email.html.slim (0.1ms) - -UserMailer#activation_needed_email: processed outbound mail in 5.9ms - -Sent mail to carolyn.mitchell@example.org (2.9ms) -Date: Thu, 11 Feb 2016 15:46:25 +0100 -From: codeocean@hpi.de -To: carolyn.mitchell@example.org -Message-ID: <56bc9ec16d14_16e0c3fc611861bd875660@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/5/activate?token=GKquu3xdokrXcyqDSz4v and set up a password in order to complete your registration. -  (5.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.4ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 5 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:46:25.037610"]] -  (0.5ms) COMMIT - ExecutionEnvironment Load (0.4ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'CoffeeScript' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'irene.kelley@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'irene.kelley@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'df65d339e455f1abc8cfb913c924d3fc' AND "consumers"."id" != 3) LIMIT 1 - SQL (0.4ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 3 [["oauth_key", "df65d339e455f1abc8cfb913c924d3fc"], ["oauth_secret", "8fe1c335d40375cf7c8691c6920a32a8"], ["updated_at", "2016-02-11 14:46:25.063601"]] -  (0.6ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.7ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'irene.kelley@example.org' LIMIT 1 - SQL (0.5ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "Ru8JGwfpposot1hDVMKT"], ["consumer_id", 3], ["created_at", "2016-02-11 14:46:25.214358"], ["crypted_password", "$2a$10$T3ddL0wdKCQccADc5l7AseFGuwgI9RT7Ft1r7VNb1XBPPFqR/5HMW"], ["email", "irene.kelley@example.org"], ["name", "Irene Kelley"], ["role", "teacher"], ["salt", "sDsfMd6turjPYcDy3Axf"], ["updated_at", "2016-02-11 14:46:25.214358"]] - Rendered user_mailer/activation_needed_email.html.slim (0.2ms) - -UserMailer#activation_needed_email: processed outbound mail in 7.0ms - -Sent mail to irene.kelley@example.org (3.2ms) -Date: Thu, 11 Feb 2016 15:46:25 +0100 -From: codeocean@hpi.de -To: irene.kelley@example.org -Message-ID: <56bc9ec136d9e_16e0c3fc611861bd87574c@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/6/activate?token=Ru8JGwfpposot1hDVMKT and set up a password in order to complete your registration. -  (7.0ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.4ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 6 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:46:25.235991"]] -  (0.6ms) COMMIT - InternalUser Load (0.9ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 4) LIMIT 1 - SQL (0.4ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 4 [["crypted_password", "$2a$10$8rSOXYEbTjoz3uod7ZRnze5hN530C2oYBsWucnOXxWyQWOXDmHR7C"], ["name", "Melissa Fuller"], ["salt", "vEJyYzPsLffTUKp7jXpB"], ["updated_at", "2016-02-11 14:46:25.449883"]] -  (0.5ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.6ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 4 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/coffee' AND "file_types"."file_extension" = '.coffee' AND "file_types"."indent_size" = 2 AND "file_types"."name" = 'CoffeeScript' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - SQL (0.4ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 14:46:25.464836"], ["editor_mode", "ace/mode/coffee"], ["executable", "t"], ["file_extension", ".coffee"], ["indent_size", 2], ["name", "CoffeeScript"], ["renderable", "f"], ["updated_at", "2016-02-11 14:46:25.464836"], ["user_id", 4], ["user_type", "InternalUser"]] -  (0.8ms) COMMIT -  (0.2ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK - ExecutionEnvironment Load (1.0ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (0.5ms) SELECT "execution_environments".* FROM "execution_environments" - ExecutionEnvironment Load (1.5ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - SQL (0.5ms) DELETE FROM "execution_environments" - SQL (0.8ms) DELETE FROM "files" - SQL (0.6ms) DELETE FROM "exercises" - SQL (1.1ms) DELETE FROM "external_users" - SQL (1.6ms) DELETE FROM "internal_users" - SQL (0.6ms) DELETE FROM "internal_users_teams" - SQL (1.2ms) DELETE FROM "file_types" - SQL (0.7ms) DELETE FROM "hints" - SQL (0.5ms) DELETE FROM "comments" - SQL (1.1ms) DELETE FROM "consumers" - SQL (0.6ms) DELETE FROM "errors" - SQL (0.4ms) DELETE FROM "request_for_comments" - SQL (0.4ms) DELETE FROM "submissions" - SQL (0.4ms) DELETE FROM "teams" - SQL (0.3ms) DELETE FROM "internal_users_teams" - Consumer Load (1.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - Consumer Exists (0.5ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" IS NULL LIMIT 1 -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" = '82f5dbb3bf2542861f0f55e6d307226a' LIMIT 1 - SQL (0.5ms) INSERT INTO "consumers" ("created_at", "name", "oauth_key", "oauth_secret", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-02-11 14:56:14.020151"], ["name", "openHPI"], ["oauth_key", "82f5dbb3bf2542861f0f55e6d307226a"], ["oauth_secret", "1d003c92217f77a727204ba3cbd119ac"], ["updated_at", "2016-02-11 14:56:14.020151"]] -  (0.8ms) COMMIT - Consumer Load (0.6ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openSAP' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" IS NULL LIMIT 1 -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE "consumers"."oauth_key" = '1d8dd0d1a9e62a82bcf5df21acd2a925' LIMIT 1 - SQL (0.4ms) INSERT INTO "consumers" ("created_at", "name", "oauth_key", "oauth_secret", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2016-02-11 14:56:14.028830"], ["name", "openSAP"], ["oauth_key", "1d8dd0d1a9e62a82bcf5df21acd2a925"], ["oauth_secret", "f5250f0672857cdba716f35f95867758"], ["updated_at", "2016-02-11 14:56:14.028830"]] -  (0.5ms) COMMIT - InternalUser Load (0.7ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' LIMIT 1 -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' LIMIT 1 - SQL (0.7ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["activation_state", "pending"], ["activation_token", "VPqjCduLGzCsHHDAMycK"], ["created_at", "2016-02-11 14:56:14.230233"], ["crypted_password", "$2a$10$mLM9R63ou5oIeFq64eJ4k.k/TNV0izZZvDU/0f5uAAF4AsbL49QKq"], ["email", "admin@example.org"], ["name", "Tina Gardner"], ["role", "admin"], ["salt", "pPV6xqaSB258mqSp6ewX"], ["updated_at", "2016-02-11 14:56:14.230233"]] - Rendered user_mailer/activation_needed_email.html.slim (21.8ms) - -UserMailer#activation_needed_email: processed outbound mail in 248.7ms - -Sent mail to admin@example.org (81.9ms) -Date: Thu, 11 Feb 2016 15:56:14 +0100 -From: codeocean@hpi.de -To: admin@example.org -Message-ID: <56bca10e7c1a0_16f3d3fd3ea051bf036488@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/7/activate?token=VPqjCduLGzCsHHDAMycK and set up a password in order to complete your registration. -  (0.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 7 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:56:14.568258"]] -  (0.5ms) COMMIT - ExternalUser Load (0.4ms) SELECT "external_users".* FROM "external_users" WHERE "external_users"."email" = 'ruth.gordon@example.org' ORDER BY "external_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '75a20817d09684beee5e0c5607fad988' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "75a20817d09684beee5e0c5607fad988"], ["oauth_secret", "3f6a6d457da51d66a19820fcb60a372d"], ["updated_at", "2016-02-11 14:56:14.585706"]] -  (0.5ms) COMMIT -  (0.2ms) BEGIN - SQL (0.5ms) INSERT INTO "external_users" ("consumer_id", "created_at", "email", "external_id", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["consumer_id", 5], ["created_at", "2016-02-11 14:56:14.621510"], ["email", "ruth.gordon@example.org"], ["external_id", "d5b380fc-8948-44bd-bcc6-991f17858a56"], ["name", "Ruth Gordon"], ["updated_at", "2016-02-11 14:56:14.621510"]] -  (0.5ms) COMMIT - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'janice.franklin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'janice.franklin@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'a9192af7cb4320b6950fed623f284629' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "a9192af7cb4320b6950fed623f284629"], ["oauth_secret", "b15b3cb8e35ddd6123289df32e247b72"], ["updated_at", "2016-02-11 14:56:14.632202"]] -  (0.6ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'janice.franklin@example.org' LIMIT 1 - SQL (0.4ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "jmj9qGCEMVzhphD6q2zf"], ["consumer_id", 5], ["created_at", "2016-02-11 14:56:14.779676"], ["crypted_password", "$2a$10$4hLIe9RVYco1omitoLQwzex/KcQhq1RxXuCCNLt/h8RkM99/F6Ke."], ["email", "janice.franklin@example.org"], ["name", "Janice Franklin"], ["role", "teacher"], ["salt", "4kcaLa7NgqSVPYgXFpF3"], ["updated_at", "2016-02-11 14:56:14.779676"]] - Rendered user_mailer/activation_needed_email.html.slim (0.1ms) - -UserMailer#activation_needed_email: processed outbound mail in 6.1ms - -Sent mail to janice.franklin@example.org (2.9ms) -Date: Thu, 11 Feb 2016 15:56:14 +0100 -From: codeocean@hpi.de -To: janice.franklin@example.org -Message-ID: <56bca10ec097f_16f3d3fd3ea051bf03655d@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/8/activate?token=jmj9qGCEMVzhphD6q2zf and set up a password in order to complete your registration. -  (0.6ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 8 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:56:14.793160"]] -  (0.5ms) COMMIT - ExecutionEnvironment Load (0.5ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'CoffeeScript' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'beverly.kim@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.3ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'beverly.kim@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'f7834ad1e2293cedb3ba3f81ddd94b3b' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.4ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "f7834ad1e2293cedb3ba3f81ddd94b3b"], ["oauth_secret", "491d121ba3c353fe6426e36c13fdef0c"], ["updated_at", "2016-02-11 14:56:14.819246"]] -  (0.6ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'beverly.kim@example.org' LIMIT 1 - SQL (0.4ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "PmkDBTHsjG45rxSBvsWd"], ["consumer_id", 5], ["created_at", "2016-02-11 14:56:14.966566"], ["crypted_password", "$2a$10$/SH6e6Zt.vJyTUProvZEPOT4dTBfMWKvG.S0FC1YKJeCuYVKSZEUy"], ["email", "beverly.kim@example.org"], ["name", "Beverly Kim"], ["role", "teacher"], ["salt", "bc9vXx9cVzzeERCspFRx"], ["updated_at", "2016-02-11 14:56:14.966566"]] - Rendered user_mailer/activation_needed_email.html.slim (0.2ms) - -UserMailer#activation_needed_email: processed outbound mail in 6.1ms - -Sent mail to beverly.kim@example.org (3.4ms) -Date: Thu, 11 Feb 2016 15:56:14 +0100 -From: codeocean@hpi.de -To: beverly.kim@example.org -Message-ID: <56bca10eee272_16f3d3fd3ea051bf036683@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/9/activate?token=PmkDBTHsjG45rxSBvsWd and set up a password in order to complete your registration. -  (0.6ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.4ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 9 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:56:14.980464"]] -  (0.5ms) COMMIT - InternalUser Load (0.9ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.4ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$axtjTZAxOZdQK.GKdBw31.ZqOXEXE0Ktl92jet/E8I8b211Csr76m"], ["name", "Fred Bell"], ["salt", "MznGZy1CGzUFqMCJAzZD"], ["updated_at", "2016-02-11 14:56:15.152869"]] -  (0.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.7ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/coffee' AND "file_types"."file_extension" = '.coffee' AND "file_types"."indent_size" = 2 AND "file_types"."name" = 'CoffeeScript' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - SQL (0.4ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 14:56:15.168363"], ["editor_mode", "ace/mode/coffee"], ["executable", "t"], ["file_extension", ".coffee"], ["indent_size", 2], ["name", "CoffeeScript"], ["renderable", "f"], ["updated_at", "2016-02-11 14:56:15.168363"], ["user_id", 7], ["user_type", "InternalUser"]] -  (0.5ms) COMMIT -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (0.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (4.6ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.9ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment CoffeeScript - SQL (29.4ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", "2016-02-11 14:57:19.029619"], ["docker_image", "hklement/ubuntu-coffee:latest"], ["file_type_id", 3], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo"], ["memory_limit", 256], ["name", "CoffeeScript"], ["network_enabled", "f"], ["permitted_execution_time", 10], ["pool_size", 0], ["run_command", "coffee"], ["updated_at", "2016-02-11 14:57:19.029619"], ["user_id", 9], ["user_type", "InternalUser"]] -  (20.8ms) COMMIT - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'HTML5' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'doris.warren@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'doris.warren@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'ab925215bafbf2a47be2357413218182' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "ab925215bafbf2a47be2357413218182"], ["oauth_secret", "01dde45432db2c79b93c0cc26f01b88f"], ["updated_at", "2016-02-11 14:57:19.103064"]] -  (0.7ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'doris.warren@example.org' LIMIT 1 - SQL (0.5ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "NfEZ5sH91btskdiHrAMg"], ["consumer_id", 5], ["created_at", "2016-02-11 14:57:19.253336"], ["crypted_password", "$2a$10$D3U5OGHl1vyzJeIWeO1dl.Nf2vlUlMGXr4/zR7tp2TKr07Yj6yHFu"], ["email", "doris.warren@example.org"], ["name", "Doris Warren"], ["role", "teacher"], ["salt", "ugjeJrCuFprrTZ2m5ADp"], ["updated_at", "2016-02-11 14:57:19.253336"]] - Rendered user_mailer/activation_needed_email.html.slim (0.3ms) - -UserMailer#activation_needed_email: processed outbound mail in 176.2ms - -Sent mail to doris.warren@example.org (6.2ms) -Date: Thu, 11 Feb 2016 15:57:19 +0100 -From: codeocean@hpi.de -To: doris.warren@example.org -Message-ID: <56bca14f69d37_16f3d3fd3ea051bf03679b@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/10/activate?token=NfEZ5sH91btskdiHrAMg and set up a password in order to complete your registration. -  (14.5ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 10 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 14:57:19.456273"]] -  (124.2ms) COMMIT - InternalUser Load (1.0ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.4ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$fpw8BspVHkRDzS3UZ/bbwuuOVS4FLvd2Pxws0mU.JrCy8NQJMXgHW"], ["name", "Frank Miller"], ["salt", "1QDwxHwqfvhrY7xKfss7"], ["updated_at", "2016-02-11 14:57:19.739154"]] -  (8.9ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.2ms) COMMIT - FileType Load (0.8ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."renderable" = 't' AND "file_types"."editor_mode" = 'ace/mode/html' AND "file_types"."file_extension" = '.html' AND "file_types"."indent_size" = 4 AND "file_types"."name" = 'HTML' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - SQL (0.4ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 14:57:19.756016"], ["editor_mode", "ace/mode/html"], ["executable", "f"], ["file_extension", ".html"], ["indent_size", 4], ["name", "HTML"], ["renderable", "t"], ["updated_at", "2016-02-11 14:57:19.756016"], ["user_id", 7], ["user_type", "InternalUser"]] -  (110.1ms) COMMIT -  (0.2ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (1.0ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (1.2ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.9ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (1.6ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (1.1ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (1.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.6ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment HTML5 - SQL (0.9ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "test_command", "testing_framework", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id" [["created_at", "2016-02-11 15:00:22.435188"], ["docker_image", "hklement/ubuntu-html:latest"], ["file_type_id", 4], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit amet cursus id turpis integer aliquet massa id lobortis convallis tortor risus dapibus augue vel accumsan tellus nisi eu orci mauris lacinia"], ["memory_limit", 256], ["name", "HTML5"], ["network_enabled", "f"], ["permitted_execution_time", 10], ["pool_size", 0], ["run_command", "touch"], ["test_command", "rspec %{filename} --format documentation"], ["testing_framework", "RspecAdapter"], ["updated_at", "2016-02-11 15:00:22.435188"], ["user_id", 10], ["user_type", "InternalUser"]] -  (44.2ms) COMMIT - ExecutionEnvironment Load (1.1ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'Java 8' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'fred.wheeler@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'fred.wheeler@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.6ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '4444dd22314001083764bf977f200cd2' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.4ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "4444dd22314001083764bf977f200cd2"], ["oauth_secret", "852db2ed54c28a40b7a987fb84f95f29"], ["updated_at", "2016-02-11 15:00:22.518378"]] -  (0.8ms) COMMIT -  (0.2ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'fred.wheeler@example.org' LIMIT 1 - SQL (1.7ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "c87qZwipwoJ6zp27aoSQ"], ["consumer_id", 5], ["created_at", "2016-02-11 15:00:22.675029"], ["crypted_password", "$2a$10$1rEh9EvSwzOyPXuJBc3EHesAtKc1nqn5zBi6oabs7pWVnHvQD.iW."], ["email", "fred.wheeler@example.org"], ["name", "Fred Wheeler"], ["role", "teacher"], ["salt", "hpZTSnmw6pwqn3XZpiB1"], ["updated_at", "2016-02-11 15:00:22.675029"]] - Rendered user_mailer/activation_needed_email.html.slim (0.6ms) - -UserMailer#activation_needed_email: processed outbound mail in 48.4ms - -Sent mail to fred.wheeler@example.org (12.8ms) -Date: Thu, 11 Feb 2016 16:00:22 +0100 -From: codeocean@hpi.de -To: fred.wheeler@example.org -Message-ID: <56bca206b3670_16f3d3fd3ea051bf03686f@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/11/activate?token=c87qZwipwoJ6zp27aoSQ and set up a password in order to complete your registration. -  (18.8ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 11 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:00:22.770553"]] -  (0.6ms) COMMIT - InternalUser Load (1.0ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.5ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$jErcMdHSmI.iooPb1quJPureNv8MM9jg9Py84XvKKqDiJAIGJoZOm"], ["name", "Randy Hunter"], ["salt", "n5z3udyUWekGFd8EzPpe"], ["updated_at", "2016-02-11 15:00:22.927625"]] -  (10.5ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.2ms) COMMIT - FileType Load (0.7ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/java' AND "file_types"."file_extension" = '.java' AND "file_types"."indent_size" = 4 AND "file_types"."name" = 'Java' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - SQL (0.7ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 15:00:22.945539"], ["editor_mode", "ace/mode/java"], ["executable", "t"], ["file_extension", ".java"], ["indent_size", 4], ["name", "Java"], ["renderable", "f"], ["updated_at", "2016-02-11 15:00:22.945539"], ["user_id", 7], ["user_type", "InternalUser"]] -  (0.6ms) COMMIT -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (1.0ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (68.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (2.1ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (3.4ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (2.0ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (2.1ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment Java 8 - SQL (60.4ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "test_command", "testing_framework", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id" [["created_at", "2016-02-11 15:02:19.300206"], ["docker_image", "hklement/ubuntu-java:latest"], ["file_type_id", 5], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit amet cursus id turpis integer aliquet massa id lobortis convallis tortor risus"], ["memory_limit", 256], ["name", "Java 8"], ["network_enabled", "f"], ["permitted_execution_time", 10], ["pool_size", 0], ["run_command", "make run"], ["test_command", "make test CLASS_NAME=\"%{class_name}\" FILENAME=\"%{filename}\""], ["testing_framework", "JunitAdapter"], ["updated_at", "2016-02-11 15:02:19.300206"], ["user_id", 11], ["user_type", "InternalUser"]] -  (477.1ms) COMMIT - ExecutionEnvironment Load (1.3ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'JRuby 1.7' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (1.2ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'teresa.hunter@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.7ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'teresa.hunter@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.6ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - Consumer Exists (0.6ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '2ae93357e6674ecea31f7a24bd38c61f' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.6ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "2ae93357e6674ecea31f7a24bd38c61f"], ["oauth_secret", "f846c2e7542825989f34b88c6684fd91"], ["updated_at", "2016-02-11 15:02:21.430192"]] -  (1517.0ms) COMMIT -  (0.2ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'teresa.hunter@example.org' LIMIT 1 - SQL (0.9ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "sqpBTyVK1TdFYhhgQqSX"], ["consumer_id", 5], ["created_at", "2016-02-11 15:02:23.136430"], ["crypted_password", "$2a$10$B5PBcR0bx2N/EOMIolMcQ.vEwezCKJyKWQlw/D3bSS0wFGnyGaTxy"], ["email", "teresa.hunter@example.org"], ["name", "Teresa Hunter"], ["role", "teacher"], ["salt", "4VuwL8pBfEr65Re4xarF"], ["updated_at", "2016-02-11 15:02:23.136430"]] - Rendered user_mailer/activation_needed_email.html.slim (2.5ms) - -UserMailer#activation_needed_email: processed outbound mail in 1094.9ms - -Sent mail to teresa.hunter@example.org (830.5ms) -Date: Thu, 11 Feb 2016 16:02:24 +0100 -From: codeocean@hpi.de -To: teresa.hunter@example.org -Message-ID: <56bca2803de36_16f3d3fd3ea051bf0369a@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/12/activate?token=sqpBTyVK1TdFYhhgQqSX and set up a password in order to complete your registration. -  (65.1ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.3ms -  (0.2ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 12 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:02:25.149028"]] -  (225.4ms) COMMIT - InternalUser Load (0.9ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.5ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$dXS5HX/X.YcAGuPE8FwU4OFnQTAougL5V/hG2HdAlFfb203s4rh1a"], ["name", "Kenneth Holmes"], ["salt", "6kLpdbe15oXAzPoUBW2E"], ["updated_at", "2016-02-11 15:02:25.534360"]] -  (271.9ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.2ms) COMMIT - FileType Load (1.0ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/ruby' AND "file_types"."file_extension" = '.rb' AND "file_types"."indent_size" = 2 AND "file_types"."name" = 'Ruby' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - SQL (0.5ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 15:02:25.817503"], ["editor_mode", "ace/mode/ruby"], ["executable", "t"], ["file_extension", ".rb"], ["indent_size", 2], ["name", "Ruby"], ["renderable", "f"], ["updated_at", "2016-02-11 15:02:25.817503"], ["user_id", 7], ["user_type", "InternalUser"]] -  (203.1ms) COMMIT -  (0.3ms) BEGIN -  (0.2ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (2.0ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC - ExecutionEnvironment Load (1.3ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment JRuby 1.7 - SQL (1.4ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "test_command", "testing_framework", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id" [["created_at", "2016-02-11 15:02:48.201384"], ["docker_image", "hklement/ubuntu-jruby:latest"], ["file_type_id", 6], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit"], ["memory_limit", 256], ["name", "JRuby 1.7"], ["network_enabled", "f"], ["permitted_execution_time", 10], ["pool_size", 0], ["run_command", "jruby %{filename}"], ["test_command", "rspec %{filename} --format documentation"], ["testing_framework", "RspecAdapter"], ["updated_at", "2016-02-11 15:02:48.201384"], ["user_id", 12], ["user_type", "InternalUser"]] -  (205.7ms) COMMIT - ExecutionEnvironment Load (1.2ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'Node.js' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (1.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'james.day@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'james.day@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.5ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '7d7376460abd39613e9e6b9cea1f9a05' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.4ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "7d7376460abd39613e9e6b9cea1f9a05"], ["oauth_secret", "6247fee7e4ddce63bdd3ff5c3d849619"], ["updated_at", "2016-02-11 15:02:48.465313"]] -  (178.8ms) COMMIT -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'james.day@example.org' LIMIT 1 - SQL (0.6ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "NbfbWqazrwWtn6yGMCxy"], ["consumer_id", 5], ["created_at", "2016-02-11 15:02:48.799653"], ["crypted_password", "$2a$10$787tCTkuvlTJBWNVIV3UrOUeh0CHaXj0zyOR/oYYPBzveyUDEwmVC"], ["email", "james.day@example.org"], ["name", "James Day"], ["role", "teacher"], ["salt", "xPf3bkzgmkGcszNFnNqd"], ["updated_at", "2016-02-11 15:02:48.799653"]] - Rendered user_mailer/activation_needed_email.html.slim (0.5ms) - -UserMailer#activation_needed_email: processed outbound mail in 56.5ms - -Sent mail to james.day@example.org (8.6ms) -Date: Thu, 11 Feb 2016 16:02:48 +0100 -From: codeocean@hpi.de -To: james.day@example.org -Message-ID: <56bca298d3075_16f3d3fd3ea051bf037053@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/13/activate?token=NbfbWqazrwWtn6yGMCxy and set up a password in order to complete your registration. -  (312.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.6ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 13 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:02:49.186690"]] -  (132.2ms) COMMIT - InternalUser Load (1.0ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.6ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$vquX/Hg2tSCAnbjosNRmee7LGVOcheQZCXaGNjC2KSQeK8PDWt46m"], ["name", "Jonathan Bishop"], ["salt", "UsU8Bp5gQZHxvFGAj4UQ"], ["updated_at", "2016-02-11 15:02:49.470219"]] -  (45.2ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.8ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/javascript' AND "file_types"."file_extension" = '.js' AND "file_types"."indent_size" = 4 AND "file_types"."name" = 'JavaScript' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - SQL (0.5ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 15:02:49.523184"], ["editor_mode", "ace/mode/javascript"], ["executable", "t"], ["file_extension", ".js"], ["indent_size", 4], ["name", "JavaScript"], ["renderable", "f"], ["updated_at", "2016-02-11 15:02:49.523184"], ["user_id", 7], ["user_type", "InternalUser"]] -  (87.9ms) COMMIT -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN -get_container fetched container for execution environment Node.js - SQL (0.5ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", "2016-02-11 15:02:54.260087"], ["docker_image", "hklement/ubuntu-node:latest"], ["file_type_id", 7], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris"], ["memory_limit", 256], ["name", "Node.js"], ["network_enabled", "f"], ["permitted_execution_time", 10], ["pool_size", 0], ["run_command", "node %{filename}"], ["updated_at", "2016-02-11 15:02:54.260087"], ["user_id", 13], ["user_type", "InternalUser"]] -  (154.8ms) COMMIT - ExecutionEnvironment Load (0.6ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'Python 3.4' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'jose.boyd@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.3ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'jose.boyd@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.4ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.7ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '83114f484315cc02d0b523909e1e3f0e' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.2ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "83114f484315cc02d0b523909e1e3f0e"], ["oauth_secret", "2b92e0543bc125372b3340287fc655d8"], ["updated_at", "2016-02-11 15:02:54.432620"]] -  (170.2ms) COMMIT -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'jose.boyd@example.org' LIMIT 1 - SQL (0.3ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "4KoGsrYfg6mRhbpS2Jya"], ["consumer_id", 5], ["created_at", "2016-02-11 15:02:54.751881"], ["crypted_password", "$2a$10$PxQvr4pxXOrrx/qtyT3goO.nyd4OimPVLvHDasVZvKdYa32xtv4U6"], ["email", "jose.boyd@example.org"], ["name", "Jose Boyd"], ["role", "teacher"], ["salt", "yRZdkCbNDTfyvnP6xwP2"], ["updated_at", "2016-02-11 15:02:54.751881"]] - Rendered user_mailer/activation_needed_email.html.slim (0.3ms) - -UserMailer#activation_needed_email: processed outbound mail in 62.2ms - -Sent mail to jose.boyd@example.org (4.5ms) -Date: Thu, 11 Feb 2016 16:02:54 +0100 -From: codeocean@hpi.de -To: jose.boyd@example.org -Message-ID: <56bca29ec79bf_16f3d3fd3ea051bf037195@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/14/activate?token=4KoGsrYfg6mRhbpS2Jya and set up a password in order to complete your registration. -  (66.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 14 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:02:54.890525"]] -  (43.0ms) COMMIT - InternalUser Load (151.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.4ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$KH4754R0RXi6FpHyztuLT.MMNTaaH1jcJXPXw3ZtXyCsPE75f7O9O"], ["name", "Joyce Wright"], ["salt", "gmLfRWFgYZjLj4aCpH9a"], ["updated_at", "2016-02-11 15:02:55.242638"]] -  (39.6ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.7ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/python' AND "file_types"."file_extension" = '.py' AND "file_types"."indent_size" = 4 AND "file_types"."name" = 'Python' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - SQL (0.4ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 15:02:55.289175"], ["editor_mode", "ace/mode/python"], ["executable", "t"], ["file_extension", ".py"], ["indent_size", 4], ["name", "Python"], ["renderable", "f"], ["updated_at", "2016-02-11 15:02:55.289175"], ["user_id", 7], ["user_type", "InternalUser"]] -  (98.9ms) COMMIT -  (0.2ms) BEGIN -  (0.2ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (1.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment Python 3.4 - SQL (0.5ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "test_command", "testing_framework", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id" [["created_at", "2016-02-11 15:03:04.505746"], ["docker_image", "hklement/ubuntu-python:latest"], ["file_type_id", 8], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit amet cursus id"], ["memory_limit", 256], ["name", "Python 3.4"], ["network_enabled", "f"], ["permitted_execution_time", 10], ["pool_size", 0], ["run_command", "python3 %{filename}"], ["test_command", "python3 -m unittest --verbose %{module_name}"], ["testing_framework", "PyUnitAdapter"], ["updated_at", "2016-02-11 15:03:04.505746"], ["user_id", 14], ["user_type", "InternalUser"]] -  (12.2ms) COMMIT - ExecutionEnvironment Load (1.0ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'Ruby 2.2' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.7ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'gregory.rice@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'gregory.rice@example.org' LIMIT 1 -  (0.3ms) ROLLBACK - Consumer Load (0.6ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '34f7399a74102a9727a4d21160528395' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "34f7399a74102a9727a4d21160528395"], ["oauth_secret", "29fbf931f242b03b1cf04dd9b849ec55"], ["updated_at", "2016-02-11 15:03:04.539438"]] -  (76.3ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'gregory.rice@example.org' LIMIT 1 - SQL (0.3ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "6qnz32SvtpsU8JDi9qgs"], ["consumer_id", 5], ["created_at", "2016-02-11 15:03:04.763676"], ["crypted_password", "$2a$10$m2M1o3UWZoatjEdMPogxbOgnL7qgI38Ur6K3wHbaOPONObNcCKlAK"], ["email", "gregory.rice@example.org"], ["name", "Gregory Rice"], ["role", "teacher"], ["salt", "DGjNYnZJgKLvsJ54JsDj"], ["updated_at", "2016-02-11 15:03:04.763676"]] - Rendered user_mailer/activation_needed_email.html.slim (0.3ms) - -UserMailer#activation_needed_email: processed outbound mail in 63.0ms - -Sent mail to gregory.rice@example.org (4.3ms) -Date: Thu, 11 Feb 2016 16:03:04 +0100 -From: codeocean@hpi.de -To: gregory.rice@example.org -Message-ID: <56bca2a8caabc_16f3d3fd3ea051bf037297@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/15/activate?token=6qnz32SvtpsU8JDi9qgs and set up a password in order to complete your registration. -  (6.5ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.6ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 15 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:03:04.842301"]] -  (16.0ms) COMMIT - InternalUser Load (0.9ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.3ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$SlN67jBvY6waSasNotcmdOWKWEGgNjzrKd0aITSwz5wmZAwQutRF6"], ["name", "Norma Baker"], ["salt", "CZ2jsSyro8rSWv9xtyfy"], ["updated_at", "2016-02-11 15:03:05.011068"]] -  (22.6ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.7ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/ruby' AND "file_types"."file_extension" = '.rb' AND "file_types"."indent_size" = 2 AND "file_types"."name" = 'Ruby' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (2.0ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment Ruby 2.2 - SQL (0.5ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "test_command", "testing_framework", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id" [["created_at", "2016-02-11 15:03:14.732017"], ["docker_image", "hklement/ubuntu-ruby:latest"], ["file_type_id", 6], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus"], ["memory_limit", 256], ["name", "Ruby 2.2"], ["network_enabled", "f"], ["permitted_execution_time", 10], ["pool_size", 0], ["run_command", "ruby %{filename}"], ["test_command", "rspec %{filename} --format documentation"], ["testing_framework", "RspecAdapter"], ["updated_at", "2016-02-11 15:03:14.732017"], ["user_id", 15], ["user_type", "InternalUser"]] -  (251.8ms) COMMIT - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'Sinatra' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'bobby.anderson@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'bobby.anderson@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.3ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'f832f3627eb73d313dfad8c6249e93f8' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.2ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "f832f3627eb73d313dfad8c6249e93f8"], ["oauth_secret", "91593c1f0a4c90cdf8368bad14fd93ec"], ["updated_at", "2016-02-11 15:03:15.003562"]] -  (172.1ms) COMMIT -  (0.2ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'bobby.anderson@example.org' LIMIT 1 - SQL (0.3ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "LBvJHjxmMzsJ6U1tKoSZ"], ["consumer_id", 5], ["created_at", "2016-02-11 15:03:15.327768"], ["crypted_password", "$2a$10$M5YQcXAwBgz1XXRXmeHOROu1JRIIwq3FXRlZjWiJawc6tofenKKYa"], ["email", "bobby.anderson@example.org"], ["name", "Bobby Anderson"], ["role", "teacher"], ["salt", "upoywA2KTEm4fpy2DxpH"], ["updated_at", "2016-02-11 15:03:15.327768"]] - Rendered user_mailer/activation_needed_email.html.slim (0.2ms) - -UserMailer#activation_needed_email: processed outbound mail in 6.9ms - -Sent mail to bobby.anderson@example.org (3.8ms) -Date: Thu, 11 Feb 2016 16:03:15 +0100 -From: codeocean@hpi.de -To: bobby.anderson@example.org -Message-ID: <56bca2b352898_16f3d3fd3ea051bf0373c8@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/16/activate?token=LBvJHjxmMzsJ6U1tKoSZ and set up a password in order to complete your registration. -  (27.9ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 16 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:03:15.371493"]] -  (28.7ms) COMMIT - InternalUser Load (0.9ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.3ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$N1MUeJG8UQQ.fO.GmyqHTuddO0OGispf3dXZ/D4fbHQff0VLfwfHS"], ["name", "Kimberly Harvey"], ["salt", "acM1VnNMRr43tYny9EzH"], ["updated_at", "2016-02-11 15:03:15.557353"]] -  (1.5ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.6ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/ruby' AND "file_types"."file_extension" = '.rb' AND "file_types"."indent_size" = 2 AND "file_types"."name" = 'Ruby' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN -get_container fetched container for execution environment Sinatra - SQL (0.6ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "exposed_ports", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "test_command", "testing_framework", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) RETURNING "id" [["created_at", "2016-02-11 15:03:25.789681"], ["docker_image", "hklement/ubuntu-sinatra:latest"], ["exposed_ports", "4567"], ["file_type_id", 6], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit amet cursus id turpis integer aliquet massa id lobortis convallis tortor risus dapibus augue vel accumsan tellus nisi eu orci mauris lacinia sapien quis libero nullam"], ["memory_limit", 256], ["name", "Sinatra"], ["network_enabled", "t"], ["permitted_execution_time", 900], ["pool_size", 0], ["run_command", "ruby %{filename}"], ["test_command", "rspec %{filename} --format documentation"], ["testing_framework", "RspecAdapter"], ["updated_at", "2016-02-11 15:03:25.789681"], ["user_id", 16], ["user_type", "InternalUser"]] -  (25.6ms) COMMIT - ExecutionEnvironment Load (0.6ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'SQLite' ORDER BY "execution_environments"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'andrea.gordon@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'andrea.gordon@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - Consumer Exists (0.5ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '8061f12315d5e4dce07a354cca664ec2' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "8061f12315d5e4dce07a354cca664ec2"], ["oauth_secret", "955765de00d2bd67b8e87dba3f90e35b"], ["updated_at", "2016-02-11 15:03:25.838171"]] -  (16.9ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'andrea.gordon@example.org' LIMIT 1 - SQL (0.4ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "mswts74fpyAGJ5tqquCe"], ["consumer_id", 5], ["created_at", "2016-02-11 15:03:26.012318"], ["crypted_password", "$2a$10$wN6ZWVwRfaugkzj.zKR9EuqHk51VgxHTvpyGTcX79zLsSF7jrqHFG"], ["email", "andrea.gordon@example.org"], ["name", "Andrea Gordon"], ["role", "teacher"], ["salt", "qC4sonqQkP3rmJpvPCmr"], ["updated_at", "2016-02-11 15:03:26.012318"]] - Rendered user_mailer/activation_needed_email.html.slim (0.2ms) - -UserMailer#activation_needed_email: processed outbound mail in 8.1ms - -Sent mail to andrea.gordon@example.org (4.1ms) -Date: Thu, 11 Feb 2016 16:03:26 +0100 -From: codeocean@hpi.de -To: andrea.gordon@example.org -Message-ID: <56bca2be5f7d_16f3d3fd3ea051bf0374c8@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/17/activate?token=mswts74fpyAGJ5tqquCe and set up a password in order to complete your registration. -  (36.9ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 17 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:03:26.071732"]] -  (87.3ms) COMMIT - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.3ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$UyP8n.w2CG54jbD5SpUPq.dpRC6swG/ciPzK.H23lvFznn7EbKHw."], ["name", "Betty Howell"], ["salt", "kxpzYyiwsGoc3yX6TFwb"], ["updated_at", "2016-02-11 15:03:26.315588"]] -  (91.7ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.8ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/sql' AND "file_types"."file_extension" = '.sql' AND "file_types"."indent_size" = 4 AND "file_types"."name" = 'SQL' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - SQL (0.3ms) INSERT INTO "file_types" ("binary", "created_at", "editor_mode", "executable", "file_extension", "indent_size", "name", "renderable", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["binary", "f"], ["created_at", "2016-02-11 15:03:26.414331"], ["editor_mode", "ace/mode/sql"], ["executable", "t"], ["file_extension", ".sql"], ["indent_size", 4], ["name", "SQL"], ["renderable", "f"], ["updated_at", "2016-02-11 15:03:26.414331"], ["user_id", 7], ["user_type", "InternalUser"]] -  (25.7ms) COMMIT -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (0.7ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment SQLite - SQL (0.4ms) INSERT INTO "execution_environments" ("created_at", "docker_image", "file_type_id", "help", "memory_limit", "name", "network_enabled", "permitted_execution_time", "pool_size", "run_command", "test_command", "testing_framework", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) RETURNING "id" [["created_at", "2016-02-11 15:03:29.935111"], ["docker_image", "hklement/ubuntu-sqlite:latest"], ["file_type_id", 9], ["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit amet cursus id turpis integer aliquet massa id lobortis convallis"], ["memory_limit", 256], ["name", "SQLite"], ["network_enabled", "f"], ["permitted_execution_time", 60], ["pool_size", 0], ["run_command", "sqlite3 /database.db -init %{filename} -html"], ["test_command", "ruby %{filename}"], ["testing_framework", "SqlResultSetComparatorAdapter"], ["updated_at", "2016-02-11 15:03:29.935111"], ["user_id", 17], ["user_type", "InternalUser"]] -  (136.0ms) COMMIT - ExecutionEnvironment Load (0.6ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'Ruby 2.2' ORDER BY "execution_environments"."id" ASC LIMIT 1 - InternalUser Load (0.6ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'chris.long@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'chris.long@example.org' LIMIT 1 -  (0.1ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = 'ba6bd5f3a1d12e1f1bac0d0a2ba269fa' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.3ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "ba6bd5f3a1d12e1f1bac0d0a2ba269fa"], ["oauth_secret", "fd7137ddfae95b73d050a48bf237c8fd"], ["updated_at", "2016-02-11 15:03:32.370727"]] -  (251.5ms) COMMIT -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'chris.long@example.org' LIMIT 1 - SQL (0.3ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "1gcG9AMquEishFYFaDy3"], ["consumer_id", 5], ["created_at", "2016-02-11 15:03:32.775444"], ["crypted_password", "$2a$10$0HAeVmcdSjpY17kIqOuVruV76JzXmCKA5PFTdtthPvLMrW7A4NfoG"], ["email", "chris.long@example.org"], ["name", "Chris Long"], ["role", "teacher"], ["salt", "iEzxNeZ3DprznyDyzKJ8"], ["updated_at", "2016-02-11 15:03:32.775444"]] - Rendered user_mailer/activation_needed_email.html.slim (0.5ms) - -UserMailer#activation_needed_email: processed outbound mail in 40.2ms - -Sent mail to chris.long@example.org (10.9ms) -Date: Thu, 11 Feb 2016 16:03:32 +0100 -From: codeocean@hpi.de -To: chris.long@example.org -Message-ID: <56bca2c4c8760_16f3d3fd3ea051bf0375ac@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/18/activate?token=1gcG9AMquEishFYFaDy3 and set up a password in order to complete your registration. -  (121.0ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 18 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:03:32.954228"]] -  (64.0ms) COMMIT - InternalUser Load (0.7ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.7ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.3ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$cA8udrgDOy0IDQg1PfKB9OFsLNXx52idOXxr4tx6mmqPqsNBg8gh2"], ["name", "Amy Chavez"], ["salt", "iq4tsxzzFAGrENayR21p"], ["updated_at", "2016-02-11 15:03:33.174007"]] -  (10.6ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.1ms) COMMIT - FileType Load (0.7ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."executable" = 't' AND "file_types"."editor_mode" = 'ace/mode/ruby' AND "file_types"."file_extension" = '.rb' AND "file_types"."indent_size" = 2 AND "file_types"."name" = 'Ruby' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.1ms) BEGIN -  (0.1ms) COMMIT -  (0.1ms) BEGIN -get_container fetched container for execution environment Ruby 2.2 - SQL (0.5ms) UPDATE "execution_environments" SET "help" = $1, "updated_at" = $2, "user_id" = $3 WHERE "execution_environments"."id" = 7 [["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit amet cursus id turpis integer aliquet massa id lobortis convallis tortor risus dapibus augue vel accumsan tellus nisi eu orci mauris lacinia sapien quis libero nullam"], ["updated_at", "2016-02-11 15:03:36.560821"], ["user_id", 18]] -  (91.6ms) COMMIT -  (0.2ms) BEGIN - SQL (84.1ms) INSERT INTO "errors" ("created_at", "execution_environment_id", "message", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-02-11 15:03:37.284279"], ["execution_environment_id", 7], ["message", "exercise.rb:4:in `
': undefined local variable or method `foo' for main:Object (NameError)"], ["updated_at", "2016-02-11 15:03:37.284279"]] -  (5.9ms) COMMIT - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'adam.long@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'adam.long@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '3837ebd26af86b99a57aac69c839027d' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.2ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "3837ebd26af86b99a57aac69c839027d"], ["oauth_secret", "1c9264414f81b40a7d89ce7e93e807fe"], ["updated_at", "2016-02-11 15:03:37.478950"]] -  (1.3ms) COMMIT -  (0.1ms) BEGIN - InternalUser Exists (0.6ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'adam.long@example.org' LIMIT 1 - SQL (0.4ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "yqe11BFjCPEuWn9CKwoe"], ["consumer_id", 5], ["created_at", "2016-02-11 15:03:37.630581"], ["crypted_password", "$2a$10$e1Xwc/mDJ6V3s4336KojPOFaXs/FvcRvXiHuxzT2yJusHbBW8H.b6"], ["email", "adam.long@example.org"], ["name", "Adam Long"], ["role", "teacher"], ["salt", "uUJfbVVsKsgeUJ1L4XSx"], ["updated_at", "2016-02-11 15:03:37.630581"]] - Rendered user_mailer/activation_needed_email.html.slim (0.5ms) - -UserMailer#activation_needed_email: processed outbound mail in 9.3ms - -Sent mail to adam.long@example.org (64.6ms) -Date: Thu, 11 Feb 2016 16:03:37 +0100 -From: codeocean@hpi.de -To: adam.long@example.org -Message-ID: <56bca2c99d829_16f3d3fd3ea051bf037640@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/19/activate?token=yqe11BFjCPEuWn9CKwoe and set up a password in order to complete your registration. -  (40.4ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.1ms) BEGIN - SQL (0.5ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 19 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:03:37.751744"]] -  (16.2ms) COMMIT - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE "execution_environments"."name" = 'HTML5' ORDER BY "execution_environments"."id" ASC LIMIT 1 - InternalUser Load (0.8ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'martin.hunter@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.2ms) BEGIN - InternalUser Exists (0.4ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'martin.hunter@example.org' LIMIT 1 -  (0.2ms) ROLLBACK - Consumer Load (0.5ms) SELECT "consumers".* FROM "consumers" WHERE "consumers"."name" = 'openHPI' ORDER BY "consumers"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - Consumer Exists (0.4ms) SELECT 1 AS one FROM "consumers" WHERE ("consumers"."oauth_key" = '903e95df32bb8be531efc1ebaf4f4539' AND "consumers"."id" != 5) LIMIT 1 - SQL (0.2ms) UPDATE "consumers" SET "oauth_key" = $1, "oauth_secret" = $2, "updated_at" = $3 WHERE "consumers"."id" = 5 [["oauth_key", "903e95df32bb8be531efc1ebaf4f4539"], ["oauth_secret", "010d72dd4487deabc290bb376b446b3b"], ["updated_at", "2016-02-11 15:03:37.783446"]] -  (43.5ms) COMMIT -  (0.2ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE "internal_users"."email" = 'martin.hunter@example.org' LIMIT 1 - SQL (0.3ms) INSERT INTO "internal_users" ("activation_state", "activation_token", "consumer_id", "created_at", "crypted_password", "email", "name", "role", "salt", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["activation_state", "pending"], ["activation_token", "UGRvUnMzdHxV2pX5aLJ7"], ["consumer_id", 5], ["created_at", "2016-02-11 15:03:37.977984"], ["crypted_password", "$2a$10$VClbl7/O.vQMVBArGRWu.OrjfuBsB/ZCoxVpLJhT/RuBkk3sd0Xl6"], ["email", "martin.hunter@example.org"], ["name", "Martin Hunter"], ["role", "teacher"], ["salt", "wp1NRpfGpDzxsWEYbiNp"], ["updated_at", "2016-02-11 15:03:37.977984"]] - Rendered user_mailer/activation_needed_email.html.slim (0.2ms) - -UserMailer#activation_needed_email: processed outbound mail in 8.3ms - -Sent mail to martin.hunter@example.org (4.5ms) -Date: Thu, 11 Feb 2016 16:03:37 +0100 -From: codeocean@hpi.de -To: martin.hunter@example.org -Message-ID: <56bca2c9f1cb3_16f3d3fd3ea051bf037726@SkizBop.local.mail> -Subject: Please complete your registration. -Mime-Version: 1.0 -Content-Type: text/html; - charset=UTF-8 -Content-Transfer-Encoding: 7bit - -Please visit http://localhost/internal_users/20/activate?token=UGRvUnMzdHxV2pX5aLJ7 and set up a password in order to complete your registration. -  (10.9ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN - SQL (0.4ms) UPDATE "internal_users" SET "activation_state" = $1, "activation_token" = $2, "updated_at" = $3 WHERE "internal_users"."id" = 20 [["activation_state", "active"], ["activation_token", nil], ["updated_at", "2016-02-11 15:03:38.007702"]] -  (16.2ms) COMMIT - InternalUser Load (0.7ms) SELECT "internal_users".* FROM "internal_users" WHERE "internal_users"."email" = 'admin@example.org' ORDER BY "internal_users"."id" ASC LIMIT 1 -  (0.1ms) BEGIN - InternalUser Exists (0.5ms) SELECT 1 AS one FROM "internal_users" WHERE ("internal_users"."email" = 'admin@example.org' AND "internal_users"."id" != 7) LIMIT 1 - SQL (0.3ms) UPDATE "internal_users" SET "crypted_password" = $1, "name" = $2, "salt" = $3, "updated_at" = $4 WHERE "internal_users"."id" = 7 [["crypted_password", "$2a$10$De7seQw0krouKU/rooZpceus/D7NgYxINn9Rrpbqf/3RvvHdee2cS"], ["name", "Marie Mitchell"], ["salt", "KvUpJzdwk29TkUnxqyFw"], ["updated_at", "2016-02-11 15:03:38.179314"]] -  (63.5ms) COMMIT - -UserMailer#activation_success_email: processed outbound mail in 0.1ms -  (0.2ms) BEGIN -  (0.2ms) COMMIT - FileType Load (0.9ms) SELECT "file_types".* FROM "file_types" WHERE "file_types"."user_type" = 'InternalUser' AND "file_types"."user_id" = 7 AND "file_types"."renderable" = 't' AND "file_types"."editor_mode" = 'ace/mode/html' AND "file_types"."file_extension" = '.html' AND "file_types"."indent_size" = 4 AND "file_types"."name" = 'HTML' ORDER BY "file_types"."id" ASC LIMIT 1 -  (0.2ms) BEGIN -  (0.2ms) COMMIT -  (0.1ms) BEGIN - ExecutionEnvironment Load (0.8ms) SELECT "execution_environments".* FROM "execution_environments" WHERE (pool_size > 0) ORDER BY "execution_environments"."pool_size" DESC -get_container fetched container for execution environment HTML5 - SQL (0.7ms) UPDATE "execution_environments" SET "help" = $1, "updated_at" = $2, "user_id" = $3 WHERE "execution_environments"."id" = 2 [["help", "lorem ipsum dolor sit amet consectetuer adipiscing elit proin risus praesent lectus vestibulum quam sapien varius ut blandit non interdum in ante vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae duis faucibus accumsan odio curabitur convallis duis consequat dui nec nisi volutpat eleifend donec ut dolor morbi vel lectus in quam fringilla rhoncus mauris enim leo rhoncus sed vestibulum sit amet cursus id"], ["updated_at", "2016-02-11 15:03:51.950802"], ["user_id", 20]] -  (57.7ms) COMMIT -  (0.2ms) BEGIN - Exercise Exists (0.5ms) SELECT 1 AS one FROM "exercises" WHERE "exercises"."token" = '604946e4' LIMIT 1 - SQL (42.6ms) INSERT INTO "exercises" ("created_at", "description", "execution_environment_id", "instructions", "public", "title", "token", "updated_at", "user_id", "user_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["created_at", "2016-02-11 15:03:54.275541"], ["description", "Try HTML's audio and video capabilities."], ["execution_environment_id", 2], ["instructions", "Build a simple website including an HTML