Commit Graph

347 Commits

Author SHA1 Message Date
Sebastian Serth
f4255f7bf0 Disable semaphore. 2020-03-22 14:05:35 +01:00
Sebastian Serth
7137346c03 Reduce waiting time for semaphore 2020-03-22 13:54:23 +01:00
Sebastian Serth
ff879d85a1 Restructure kill_container method to release semaphore more quickly 2020-03-22 13:22:22 +01:00
Sebastian Serth
123eacb144 More logging for semaphore handling 2020-03-22 13:21:59 +01:00
Sebastian Serth
3102d1529f Extract semaphore handling to own methods and add logging 2020-03-22 11:44:19 +01:00
Sebastian Serth
83ba0a3f4b Allow new line characters in test results 2020-03-22 11:07:50 +01:00
Sebastian Serth
1966a6e6a6 Add comment for usage of the new semaphore in the DockerClient 2020-03-22 10:42:04 +01:00
Sebastian Serth
d6e7c20f3f Ensure to release semaphore even if killing container 2020-03-22 10:41:19 +01:00
Sebastian Serth
2b3428b963 Add semaphore to method calls in DockerClient 2020-03-22 09:54:20 +01:00
Sebastian Serth
1c5bd91fec Fix usage of semaphore for replace_broken_container 2020-03-22 00:39:58 +01:00
Sebastian Serth
5be843ca00 Fix abs 2020-03-21 23:55:35 +01:00
Sebastian Serth
54e1aa4f7e Add semaphore for replace_broken_container 2020-03-21 23:48:17 +01:00
Sebastian Serth
c3595419a4 Add semaphore for DockerContainerPool 2020-03-21 22:56:39 +01:00
Sebastian Serth
d394881447 Use other multiline operator for RegEx 2020-03-21 19:38:58 +01:00
Sebastian Serth
64e6d01b9b Allow multiline Assertion Errors for python 2020-03-21 18:36:48 +01:00
Sebastian Serth
b38b7bd435 Catch two more exceptions from production 2020-03-17 13:50:33 +01:00
Sebastian Serth
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
Sebastian Serth
7b953b845c Minimize flash message duration
This reverts commit 67e9fd60 partially
2020-02-03 11:37:38 +01:00
Sebastian Serth
67e9fd60c1 Extend flash message duration 2020-02-02 12:35:54 +01:00
Sebastian Serth
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
MrSerth
2f36218aca Merge pull request #423 from openHPI/implement_codeharbor_interface
Implement codeharbor interface
2019-12-20 10:53:42 +01:00
Karol
2432678ea1 make rake task more verbose 2019-12-19 17:49:53 +01:00
Karol
9670246e75 rake task to export public exercises 2019-12-18 18:41:06 +01:00
Sebastian Serth
ba4ea54e4f Add comment about cause for randomly failing specs 2019-12-13 15:37:21 +01:00
Karol
a7f2d7da34 small refactoring 2019-09-05 17:41:02 +02:00
Karol
ecabd9d05c file import with binary file 2019-08-23 07:33:43 +02:00
Sebastian Serth
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
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
rteusner
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
Sebastian Serth
39a822f8bf Skip all docker images not tagged (otherwise, the method crashes) 2018-11-22 19:03:35 +01:00
Sebastian Serth
68c07f49cf Show flash messages based on turbolinks:load instead of real page load 2018-11-22 18:59:07 +01:00
rteusner
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
Sebastian Serth
1bed13d941 Remove useless .keep files 2018-11-06 16:49:41 +01:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
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
Ralf Teusner
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
Ralf Teusner
d9d3dc42d4 remove all A/B testing code no longer in use. 2018-08-09 15:14:52 +02:00
julZuern
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
Maximilian Grundke
5827749b80 Merge remote-tracking branch 'origin/master' into fix/exercise-anomaly-detection-nil-values 2018-07-25 13:41:20 +02:00
Maximilian Grundke
c71afc55c9 Fix nil value error 2018-07-25 13:41:00 +02:00
julZuern
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
rteusner
0ed5ed6096 Merge pull request #188 from openHPI/feature/ordered_exercise_collection
Ordered exercise collections
2018-07-20 13:41:05 +02:00
Maximilian Grundke
97fe900f52 Sort exercises in anomaly detection task according to position in exercise collection 2018-07-20 11:02:41 +02:00
Maximilian Grundke
ed11004c2b Refactor exercise anomaly detection task 2018-07-20 10:58:35 +02:00
Ralf Teusner
d971382b5b re-introduce exercise description exercise split 2018-07-18 09:34:25 +02:00
rteusner
f3ce783429 Merge pull request #187 from openHPI/fix_error_output
Fix error output
2018-07-13 23:42:02 +02:00
Ralf Teusner
1093968782 fix error parsing for result boxes 2018-07-13 11:12:07 +02:00
Maximilian Grundke
815d700481 Reject nil values in working times 2018-07-13 09:43:06 +02:00
Maximilian Grundke
5edd5be70d Merge branch 'fix/exercise-anomaly-detection-nil-values' into feature/ordered_exercise_collection 2018-07-10 12:52:43 +02:00