Sebastian Serth
b07560bc7e
Poseidon: Read native file content if available
2021-11-17 19:36:06 +01:00
Sebastian Serth
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
Sebastian Serth
86c6ad7ea3
Poseidon: Use absolute path to remove workspace directory
2021-11-17 17:44:09 +01:00
Sebastian Serth
21185ea4b3
Make empty submissions not clickable
2021-11-16 13:32:51 +01:00
Sebastian Serth
571be87879
Fix range slider for external user statistics
2021-11-16 12:02:52 +01:00
Sebastian Serth
f15bbe2c29
Fix links for external user statistics
2021-11-16 11:57:43 +01:00
Sebastian Serth
aa49731e49
Remove submissions without visible files from statistic view
2021-11-16 11:43:23 +01:00
Sebastian Serth
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
dependabot[bot]
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
Sebastian Serth
eb985bec9a
DCP: Rescue Excon::Error::Socket
2021-11-15 15:09:43 +01:00
Sebastian Serth
81745504ea
Fix CODEOCEAN-5Z
...
* add "cannot assign to comparison" to linter translation
2021-11-15 13:46:24 +01:00
dependabot[bot]
6752a7c1af
Merge pull request #1084 from openHPI/dependabot/bundler/jbuilder-2.11.3
2021-11-15 03:08:52 +00:00
dependabot[bot]
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
Sebastian Serth
a576d76fda
Serialize trestrun for Sentry logging
2021-11-15 00:30:50 +01:00
Sebastian Serth
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
Sebastian Serth
695c3de40e
Ensure users are signed in before creating a submission
2021-11-14 23:07:44 +01:00
Sebastian Serth
c2ea27b3ee
Add annotation about exceptions to submission.rb
2021-11-14 22:45:37 +01:00
Sebastian Serth
991fdef8bc
Handle depleted containers for submit
2021-11-14 22:45:12 +01:00
Sebastian Serth
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
dependabot[bot]
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
Sebastian Serth
46e0bb73a7
Fix initial sync with Poseidon
2021-11-10 08:56:33 +01:00
Sebastian Serth
f577fed03c
Fix nil for @execution_environments
2021-11-09 19:25:00 +01:00
Sebastian Serth
3608856397
Merge pull request #1079 from openHPI/sync_execution_environments
...
Sync execution environments
2021-11-09 18:44:35 +01:00
Sebastian Serth
58f51ed295
Merge pull request #1082 from openHPI/fix/initial_migrate
...
Fix issues when migrating empty database
2021-11-09 18:43:07 +01:00
Sebastian Serth
fb92d382ac
Skip verification of Docker image if pool size is empty
2021-11-09 17:49:51 +01:00
Sebastian Serth
e210795277
Regenrate schema with latest Rails 6.1 framework
2021-11-09 17:39:16 +01:00
Sebastian Serth
72501211a6
Fix issue when migrating an empty database
2021-11-09 17:38:58 +01:00
Sebastian Serth
7d032e5c0d
Buffer: Prevent replacement of "\r" message
2021-11-08 23:33:37 +01:00
Sebastian Serth
e224e41564
Exercise view: Re-use @execution_environments
2021-11-08 22:39:10 +01:00
Sebastian Serth
1dce6c59ab
Add note about default ACL for Docker mount dir
2021-11-08 22:39:10 +01:00
Sebastian Serth
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
Sebastian Serth
61d564eb33
Update bundle
2021-11-08 10:14:56 +01:00
Sebastian Serth
3ad4890ad4
Use JSON as default for remote evaluation
2021-11-08 10:14:49 +01:00
Sebastian Serth
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
dependabot[bot]
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
Sebastian Serth
9a541998e4
Optimize RegEx
2021-11-06 02:15:03 +01:00
Sebastian Serth
d26947f724
Update jQuery plugins
2021-11-06 02:00:16 +01:00
Sebastian Serth
75d0d28e8b
Shell: Refactor usage of methods and const
2021-11-06 01:05:45 +01:00
Sebastian Serth
59d2a8ecdb
Junit5: Specify line to search for assertion error
2021-11-06 00:03:45 +01:00
Sebastian Serth
49d8bebb48
Merge pull request #1080 from openHPI/codeql-analysis
...
Create codeql-analysis.yml
2021-11-05 09:46:42 +01:00
Sebastian Serth
0a552cac44
Create codeql-analysis.yml
2021-11-05 09:32:56 +01:00
Sebastian Serth
b179dadce6
Mock CodeOcean::Config for Poseidon strategy
2021-11-04 20:09:20 +01:00
Sebastian Serth
79e8caea45
Remove outdated execution environments after syncing all
2021-11-04 20:09:20 +01:00
Sebastian Serth
054d35b8d3
Add environments method to all strategies
2021-11-04 20:09:19 +01:00
Sebastian Serth
79da2781e3
Restructure methods in execution_environment.rb
2021-11-04 20:09:19 +01:00
Sebastian Serth
94170ea742
DCP: Improve error handling for destroy_at_management
2021-11-04 20:09:19 +01:00
Sebastian Serth
c1ac401a49
Add retries to working_docker_image?
...
* Also synchronize images during save
2021-11-04 20:09:19 +01:00
Sebastian Serth
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
Sebastian Serth
38e1f5b486
Show error details of available_images
2021-11-04 20:06:40 +01:00
Sebastian Serth
7f47af99cb
Fix order-dependent specs
2021-11-04 19:15:33 +01:00