c937a1a9ef
clean pull request
2016-10-24 23:02:44 +02:00
f055e6813d
changes in travis
2016-10-16 17:21:54 +02:00
1f24e48c5c
enable docker initialize
2016-10-11 16:45:56 +02:00
1945a47109
apply changes after review
2016-10-11 12:44:16 +02:00
032c201b94
repair database query
2016-08-03 14:08:01 +02:00
4183a16178
merge with master
2016-08-03 12:09:58 +02:00
d29cf9cf61
Also support run output for QaApi
2016-06-17 19:22:25 +02:00
9e644563e3
adapt regex for py_unit_adapter once more... hopefully we got all cases now.
2016-06-16 11:39:13 +02:00
74b33492cb
fixed python failure regex.
2016-06-14 10:42:15 +02:00
1e4ab7cabe
py_unit_adapter now also counts errors, not just failures
2016-06-10 11:54:11 +02:00
ed20a30517
reverse some changes
2016-06-07 13:52:01 +02:00
8896a3aa18
add role teacher to application_policy, implement teacher into team_policy
2016-05-31 17:40:00 +02:00
8c9c798a0d
solve execute_run_command error
2016-05-30 17:02:29 +02:00
060f9687f1
use pry-byebug gem instead for pry (recommended for ruby 2.x)
2016-05-30 15:47:06 +02:00
2850e562cc
changes in gemfile
2016-05-30 15:18:02 +02:00
7bc3c4e27c
Fix tests in models/execution_environment_spec.rb, uncomment @image in lib/docker_client.rb
2016-05-25 15:56:49 +02:00
4df7bc825b
tests creates the workspace files and takes a container from the pool in docker_client_spec.rb repaired
2016-05-24 16:03:55 +02:00
a4a8b6393d
test creates the workspace files repaired
2016-05-24 15:59:10 +02:00
defe482e32
formatting of displayname if no username could be retrieved
2016-05-06 17:25:11 +02:00
102c05eebf
Forgot namespace for Config.new ...
2016-05-04 14:54:38 +02:00
16c5191669
fetch usernames via xikolo api
2016-05-04 14:48:30 +02:00
c15c868e2f
prevent negative scores from changed test score extraction
2016-05-01 16:29:02 +02:00
e73b5389fd
Fix unittest adapters
2016-04-12 14:39:00 +02:00
56207e6351
Add error message grabbing support for JUnit
2016-03-09 18:32:54 +01:00
99ee7337ed
Add python adapter error messages to score output
2016-03-09 18:01:30 +01:00
b31a5b37f4
renamed execute_websocket_command to open_websocket_connection, because we now run the command after all listeners in the submissions controller were attached
2016-03-01 11:34:07 +01:00
94c31e35a4
Some comments and cleanup of exercise.rb percentage calculation
2016-03-01 11:14:53 +01:00
61426e8f2e
uncomment some logging, and recreate folder for local workspace path in the docker client.
2016-01-27 15:49:38 +01:00
ecad5b80fa
re-enable data submission via shared folders.
2016-01-27 10:16:13 +01:00
f53457644c
just remove subfolders of CONTAINER_WORKSPACE_PATH, do not create target folder manually.
2016-01-25 11:19:56 +01:00
d1e0f31963
uncomment sleep 1000
2016-01-25 11:10:41 +01:00
113f765246
docker_client file copy work in progress
2016-01-25 11:07:52 +01:00
c77d52c0e4
instead of relying on shared folders, use docker api archive function. un tar is still a bit cumbersome, but works.
2016-01-19 15:41:03 +01:00
f928874189
directly call proc (before execution block) and rescue from an exception if it happens instead of using try, in order to log the error.
2015-12-16 16:30:54 +01:00
c0955d3505
Just some comments and todos
2015-12-12 00:47:29 +08:00
943d5554d9
Remove @all_containers instead of @containers during cleanup
...
Also added some comments and todos
Also fixed debug messages in remove_from_all_containers
Also refactored duplicated code with extracted function
Also removed some commented lines of code
2015-12-12 00:41:26 +08:00
e335759644
accessor methods for the container and all_container arrays hashes (in order to watch it with the rails console)
2015-12-02 16:00:31 +01:00
6170068f24
Major improvement in container fetching. ToDo: Check how much stress this puts on the docker daemon (I assume it is not that much).
...
+ some more rescue code (in return container) as well as logging fixes.
2015-11-28 16:20:16 +01:00
ae9cfaebf8
some logging and some rescues
2015-11-28 16:10:13 +01:00
27d226cbe4
Merge branch 'master' of https://github.com/openHPI/codeocean
2015-11-25 11:18:18 +01:00
201b298941
Remove import
2015-11-24 09:22:22 +01:00
1f25b3558c
Merge branch 'master' of https://github.com/openHPI/codeocean
2015-11-23 20:25:02 +01:00
2678a6f1b5
some logging
2015-11-23 20:24:55 +01:00
ffdde1830b
Restore large envs first
2015-11-23 20:20:34 +01:00
c41a8d8d5e
Faster restore of containers after puma restart
2015-11-23 20:13:59 +01:00
207ff90fc8
remove this again. it caused immediate exit.
2015-11-11 00:25:26 +01:00
b1733d1a16
ensure database connection removal activated again
2015-11-10 15:04:21 +01:00
e927a39041
removed calls to the docker daemon, to hopefully solve load problems.
2015-11-09 19:26:56 +01:00
b05b24ee62
some more logging
2015-11-09 10:23:26 +01:00
7f3189615f
temporarily uncomment database connection removal (in order to be sure that this does not cause problems)
2015-11-09 09:38:44 +01:00