Commit Graph

3790 Commits

Author SHA1 Message Date
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
22e887387d Merge pull request #1088 from openHPI/poseidon_clean_workspace
Poseidon: Use absolute path to remove workspace directory
2021-11-17 17:57:15 +01:00
86c6ad7ea3 Poseidon: Use absolute path to remove workspace directory 2021-11-17 17:44:09 +01:00
21185ea4b3 Make empty submissions not clickable 2021-11-16 13:32:51 +01:00
571be87879 Fix range slider for external user statistics 2021-11-16 12:02:52 +01:00
f15bbe2c29 Fix links for external user statistics 2021-11-16 11:57:43 +01:00
aa49731e49 Remove submissions without visible files from statistic view 2021-11-16 11:43:23 +01:00
9da391961a Merge pull request #1087 from openHPI/dependabot/bundler/rubocop-1.23.0
Bump rubocop from 1.22.3 to 1.23.0
2021-11-16 09:31:32 +01:00
6283b429f2 Bump rubocop from 1.22.3 to 1.23.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.22.3 to 1.23.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.22.3...v1.23.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-16 03:01:05 +00:00
eb985bec9a DCP: Rescue Excon::Error::Socket 2021-11-15 15:09:43 +01:00
81745504ea Fix CODEOCEAN-5Z
* add "cannot assign to comparison" to linter translation
2021-11-15 13:46:24 +01:00
6752a7c1af Merge pull request #1084 from openHPI/dependabot/bundler/jbuilder-2.11.3 2021-11-15 03:08:52 +00:00
ffd6c513a6 Bump jbuilder from 2.11.2 to 2.11.3
Bumps [jbuilder](https://github.com/rails/jbuilder) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/rails/jbuilder/releases)
- [Changelog](https://github.com/rails/jbuilder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jbuilder/compare/v2.11.2...v2.11.3)

---
updated-dependencies:
- dependency-name: jbuilder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 03:01:08 +00:00
a576d76fda Serialize trestrun for Sentry logging 2021-11-15 00:30:50 +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
695c3de40e Ensure users are signed in before creating a submission 2021-11-14 23:07:44 +01:00
c2ea27b3ee Add annotation about exceptions to submission.rb 2021-11-14 22:45:37 +01:00
991fdef8bc Handle depleted containers for submit 2021-11-14 22:45:12 +01:00
a08e2c276d Merge pull request #1083 from openHPI/dependabot/bundler/sentry-rails-4.8.0
Bump sentry-rails from 4.7.3 to 4.8.0
2021-11-12 10:15:32 +01:00
d0161adbaf Bump sentry-rails from 4.7.3 to 4.8.0
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/4.7.3...4.8.0)

---
updated-dependencies:
- dependency-name: sentry-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 03:01:46 +00:00
46e0bb73a7 Fix initial sync with Poseidon 2021-11-10 08:56:33 +01:00
f577fed03c Fix nil for @execution_environments 2021-11-09 19:25:00 +01:00
3608856397 Merge pull request #1079 from openHPI/sync_execution_environments
Sync execution environments
2021-11-09 18:44:35 +01:00
58f51ed295 Merge pull request #1082 from openHPI/fix/initial_migrate
Fix issues when migrating empty database
2021-11-09 18:43:07 +01:00
fb92d382ac Skip verification of Docker image if pool size is empty 2021-11-09 17:49:51 +01:00
e210795277 Regenrate schema with latest Rails 6.1 framework 2021-11-09 17:39:16 +01:00
72501211a6 Fix issue when migrating an empty database 2021-11-09 17:38:58 +01:00
7d032e5c0d Buffer: Prevent replacement of "\r" message 2021-11-08 23:33:37 +01:00
e224e41564 Exercise view: Re-use @execution_environments 2021-11-08 22:39:10 +01:00
1dce6c59ab Add note about default ACL for Docker mount dir 2021-11-08 22:39:10 +01:00
5401ebb54d Revert "DCP: previous_data match should be non-greedy"
This reverts commit 328055e6e8 due to dramatically slower processing.
2021-11-08 20:06:55 +01:00
61d564eb33 Update bundle 2021-11-08 10:14:56 +01:00
3ad4890ad4 Use JSON as default for remote evaluation 2021-11-08 10:14:49 +01:00
ed4a6fc0c7 Merge pull request #1081 from openHPI/dependabot/bundler/rubocop-rspec-2.6.0
Bump rubocop-rspec from 2.5.0 to 2.6.0
2021-11-08 10:10:24 +01:00
bc1e85556b Bump rubocop-rspec from 2.5.0 to 2.6.0
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 03:01:12 +00:00
9a541998e4 Optimize RegEx 2021-11-06 02:15:03 +01:00
d26947f724 Update jQuery plugins 2021-11-06 02:00:16 +01:00
75d0d28e8b Shell: Refactor usage of methods and const 2021-11-06 01:05:45 +01:00
59d2a8ecdb Junit5: Specify line to search for assertion error 2021-11-06 00:03:45 +01:00
49d8bebb48 Merge pull request #1080 from openHPI/codeql-analysis
Create codeql-analysis.yml
2021-11-05 09:46:42 +01:00
0a552cac44 Create codeql-analysis.yml 2021-11-05 09:32:56 +01:00
b179dadce6 Mock CodeOcean::Config for Poseidon strategy 2021-11-04 20:09:20 +01:00
79e8caea45 Remove outdated execution environments after syncing all 2021-11-04 20:09:20 +01:00
054d35b8d3 Add environments method to all strategies 2021-11-04 20:09:19 +01:00
79da2781e3 Restructure methods in execution_environment.rb 2021-11-04 20:09:19 +01:00
94170ea742 DCP: Improve error handling for destroy_at_management 2021-11-04 20:09:19 +01:00
c1ac401a49 Add retries to working_docker_image?
* Also synchronize images during save
2021-11-04 20:09:19 +01:00
ecf470bddd Refactor sync_environment methods
* Add delete_environment method
* Change return value to allow raising an exception
2021-11-04 20:06:40 +01:00
38e1f5b486 Show error details of available_images 2021-11-04 20:06:40 +01:00