c75f52f2c8
Fix Rubocop offenses
2022-10-24 12:28:50 +02:00
cb94bc3de6
Strategy: Allow privileged_execution: keyword even if not used
2022-10-05 19:19:12 +02:00
a5da7d1f84
Remove outdated HTTP status codes
...
See https://github.com/openHPI/codeocean/pull/1349#pullrequestreview-1091652523
2022-10-05 13:11:43 +02:00
ba821bd18b
Change HTTP status codes for Poseidon in accordance with recent changes.
...
See https://github.com/openHPI/poseidon/pull/159
2022-10-05 13:11:43 +02:00
f53c6cb3ee
Shell: Add toggle to execute command as root
2022-10-04 16:06:58 +02:00
eb188dcd71
Add privilegedExecution flag to database and Poseidon Strategy
2022-09-24 22:32:41 +02:00
bbb791471b
Remove AWS study
2022-09-21 18:57:12 +02:00
9e08f3a6a8
Enable Subresource Integrity
2022-09-06 11:21:37 +02:00
6927b57170
Update Study Group Dashboard and Statistics
2022-08-20 00:05:02 +02:00
d762f976a8
Add new CodeOcean::File#read method
...
* With a new method, we can simplify our code to handle differences between file.content and file.native_file.read
2022-08-19 22:42:55 +02:00
145c4aa8d5
Refactor various ruby files
...
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
6dd64b2a74
Remove outdated URL polyfill
2022-08-13 00:37:21 +02:00
be9cbedadf
Fix invalid method call to I18n.t() with Ruby 3.1
2022-08-12 17:11:30 +02:00
b98c37ae64
Rename v4 FontAwesome icons to match v5/v6 name
...
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/upgrade-from-v4#icons-renamed-since-version-4
2022-08-09 14:17:32 +02:00
d93e71dc28
Rename v5 FontAwesome icons to match v6 name
...
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/whats-changed#icons-renamed-in-version-6
2022-08-09 14:17:32 +02:00
727f85841d
Bump i18n-js from 3.9.2 to 4.0.0
...
Bumps [i18n-js](https://github.com/fnando/i18n-js ) from 3.9.2 to 4.0.0.
- [Release notes](https://github.com/fnando/i18n-js/releases )
- [Changelog](https://github.com/fnando/i18n-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fnando/i18n-js/compare/v3.9.2...v4.0.0 )
---
updated-dependencies:
- dependency-name: i18n-js
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-09 10:11:36 +02:00
56eab88f88
Gracefully handle the deletion of non-existing runners
2022-07-15 00:49:15 +02:00
d3f283c4e7
Update usage of RubyTree to avoid deprecated methods
2022-06-27 12:14:55 +02:00
8e403ff65a
Poseidon: Use relative path to remove workspace directory
...
See #1088
2022-06-10 18:13:11 +02:00
b613267add
Remove legacy DockerClient
2022-06-08 13:18:37 +02:00
57795b1cfc
Fix JUnit 4 for ArrayComparisonFailure
2022-05-17 10:02:56 -04:00
7e5e4110c4
Fix JUnit 5 for ArrayComparisonFailure
2022-05-14 19:02:12 -04:00
5ecba6ef70
Persist TestrunMessages and store timestamp
...
So far, the Testrun messages are in addition to the Tesstrun.output column
2022-04-29 01:00:51 +02:00
8d8bf5ef29
Connection::Buffer: Fix bug for incomplete lines
...
* Introduce (temporary) conversion to CRLF-line endings before processing and splitting the output
* (Partially) revert previous changes
2022-04-25 17:53:08 +02:00
902d09b3fa
Connection::Buffer: Allow additional, single new lines for AWS
2022-04-24 19:34:53 +02:00
591d520e26
Connection::Buffer: Improve performance for deleting \r suffix
2022-04-24 19:00:02 +02:00
c5f0189859
Connection::Buffer: Remove duplicated new line character
...
"a\r".gsub(/\r?$/, "\n") ==> "a\n\n"
2022-04-24 18:57:33 +02:00
35454836c8
Allow \r\n and \n line breaks for Connection::Buffer
...
* Nomad sends CRLF-separated lines
* AWS sends LF-separated lines
2022-04-24 18:26:05 +02:00
4887f4af02
Implement A/B Test for using AWS as an executor for Java
2022-04-15 15:22:19 +02:00
66d4f90b4a
Send the WebSocket message immediately with EventMachine.next_tick
2022-04-13 14:39:07 +02:00
5caace01b6
Add comment to DockerContainerPool strategy regarding filtering
2022-04-12 12:47:16 +02:00
18daa1c998
Enable image preview in STDOUT
2022-03-02 11:44:48 +01:00
bb877ac223
Update comment for UserGroupSeparator (Java21)
2022-01-19 08:57:29 +01:00
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
4fc4b7ac35
Remove temporary fix for Poseidon#54
2021-12-16 23:15:27 +01:00
88fb04080f
Show files with same name but different path
2021-12-15 00:52:31 +01:00
563e14a44a
Adapt dashboard to show idle and used runners
2021-12-07 00:08:31 +01:00
a4003ca733
DCP: Redirect successful PyLint output to stdout
2021-12-06 22:12:16 +01:00
394385098d
Rescue Faraday::ConnectionFailed for Poseidon
2021-12-01 15:10:47 +01:00
5ef7da14be
Show release information for Poseidon
2021-11-25 20:09:46 +01:00
9058ce00db
Add A/B/n test for interventions
2021-11-23 01:38:10 +01:00
c90e02e4f1
Fixes CODEOCEAN-5J with error during WebSocket handshake
2021-11-18 14:04:23 +01:00
4cddcb6544
Fixes CODEOCEAN-68 with empty file
2021-11-18 13:37:32 +01:00
b07560bc7e
Poseidon: Read native file content if available
2021-11-17 19:36:06 +01:00
86c6ad7ea3
Poseidon: Use absolute path to remove workspace directory
2021-11-17 17:44:09 +01:00
eb985bec9a
DCP: Rescue Excon::Error::Socket
2021-11-15 15:09:43 +01:00
e34656eb0f
Modify buffer line breaking behavior
...
* This is based on Sentry issue CODEOCEAN-5W (linter translation failing due to \r in output)
* We cannot keep all "\r" messages but we must not forward the "\r" if it is a single message received after a valid JSON
2021-11-15 00:30:32 +01:00
46e0bb73a7
Fix initial sync with Poseidon
2021-11-10 08:56:33 +01:00
3608856397
Merge pull request #1079 from openHPI/sync_execution_environments
...
Sync execution environments
2021-11-09 18:44:35 +01:00
7d032e5c0d
Buffer: Prevent replacement of "\r" message
2021-11-08 23:33:37 +01:00