Commit Graph

554 Commits

Author SHA1 Message Date
4e9df310c2 Disable semaphore. 2020-03-22 16:07:15 +01:00
2d52338008 Ensure not to have a semaphore larger than 1 2020-03-22 15:45:09 +01:00
1cdc1b0647 Replacing a killed container only if required 2020-03-22 15:35:27 +01:00
0338564bf2 Always close database connection when exiting thread 2020-03-22 15:18:27 +01:00
b4c0a14a35 Fix code style to reduce errors in RubyMine 2020-03-22 15:09:40 +01:00
30fab618a7 Kill container in new thread 2020-03-22 15:09:04 +01:00
6843f3532c Re-enable semaphore. 2020-03-22 14:42:50 +01:00
f4255f7bf0 Disable semaphore. 2020-03-22 14:05:35 +01:00
7137346c03 Reduce waiting time for semaphore 2020-03-22 13:54:23 +01:00
ff879d85a1 Restructure kill_container method to release semaphore more quickly 2020-03-22 13:22:22 +01:00
123eacb144 More logging for semaphore handling 2020-03-22 13:21:59 +01:00
3102d1529f Extract semaphore handling to own methods and add logging 2020-03-22 11:44:19 +01:00
83ba0a3f4b Allow new line characters in test results 2020-03-22 11:07:50 +01:00
1966a6e6a6 Add comment for usage of the new semaphore in the DockerClient 2020-03-22 10:42:04 +01:00
d6e7c20f3f Ensure to release semaphore even if killing container 2020-03-22 10:41:19 +01:00
2b3428b963 Add semaphore to method calls in DockerClient 2020-03-22 09:54:20 +01:00
1c5bd91fec Fix usage of semaphore for replace_broken_container 2020-03-22 00:39:58 +01:00
5be843ca00 Fix abs 2020-03-21 23:55:35 +01:00
54e1aa4f7e Add semaphore for replace_broken_container 2020-03-21 23:48:17 +01:00
c3595419a4 Add semaphore for DockerContainerPool 2020-03-21 22:56:39 +01:00
d394881447 Use other multiline operator for RegEx 2020-03-21 19:38:58 +01:00
64e6d01b9b Allow multiline Assertion Errors for python 2020-03-21 18:36:48 +01:00
b38b7bd435 Catch two more exceptions from production 2020-03-17 13:50:33 +01:00
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
7b953b845c Minimize flash message duration
This reverts commit 67e9fd60 partially
2020-02-03 11:37:38 +01:00
67e9fd60c1 Extend flash message duration 2020-02-02 12:35:54 +01:00
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
2f36218aca Merge pull request #423 from openHPI/implement_codeharbor_interface
Implement codeharbor interface
2019-12-20 10:53:42 +01:00
2432678ea1 make rake task more verbose 2019-12-19 17:49:53 +01:00
9670246e75 rake task to export public exercises 2019-12-18 18:41:06 +01:00
ba4ea54e4f Add comment about cause for randomly failing specs 2019-12-13 15:37:21 +01:00
a7f2d7da34 small refactoring 2019-09-05 17:41:02 +02:00
ecabd9d05c file import with binary file 2019-08-23 07:33:43 +02:00
a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
3980b78d92 Merge pull request #232 from openHPI/fix_empty_docker_image_tag
Skip all docker images not tagged (otherwise, the method crashes)
2018-11-27 15:46:11 +01:00
39a822f8bf Skip all docker images not tagged (otherwise, the method crashes) 2018-11-22 19:03:35 +01:00
68c07f49cf Show flash messages based on turbolinks:load instead of real page load 2018-11-22 18:59:07 +01:00
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
1bed13d941 Remove useless .keep files 2018-11-06 16:49:41 +01:00
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
ac31afbd2a Clean Gemfile and perform bundle update
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
d9d3dc42d4 remove all A/B testing code no longer in use. 2018-08-09 15:14:52 +02:00
a890772920 CppCatchAdapter (#195)
* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Add files via upload

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update cpp_catch2_adapter.rb
2018-07-27 08:50:09 +02:00
5827749b80 Merge remote-tracking branch 'origin/master' into fix/exercise-anomaly-detection-nil-values 2018-07-25 13:41:20 +02:00
c71afc55c9 Fix nil value error 2018-07-25 13:41:00 +02:00
5d91aeb810 added cpp adapter (#189)
* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Add files via upload

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh

* Update setup_debian_2_install_docker.sh
2018-07-24 15:36:49 +02:00
0ed5ed6096 Merge pull request #188 from openHPI/feature/ordered_exercise_collection
Ordered exercise collections
2018-07-20 13:41:05 +02:00