40c7a50834
Directly use ActiveRecord object instead of ID
...
This change will improve the performance by reducing unnecessary SELECT queries.
2023-02-18 19:28:26 +01:00
6465404ebe
Set sentry context after logging in
2023-02-18 19:27:46 +01:00
9c3ec3c7ff
Refactor submission scoring and testing
...
* Properly cancel code execution if running is prohibited
* Correctly monitor duration with Sentry
* Align methods with running submissions
2023-02-17 18:13:48 +01:00
a1ec4579fe
Properly cancel code execution if running is prohibited
2023-02-17 18:13:48 +01:00
e632f95060
Prevent storing empty results
...
Fixes CODEOCEAN-HS
2023-02-17 18:13:48 +01:00
46bd9142c7
Merge pull request #1546 from openHPI/dependabot/npm_and_yarn/sass-1.58.2
2023-02-17 04:06:04 +00:00
00220eb042
Bump sass from 1.58.1 to 1.58.2
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.58.1 to 1.58.2.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.58.1...1.58.2 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-17 03:57:17 +00:00
6957452ffc
Specify nodes_modules directory for webpack
...
Also align ./bin/webpacker-dev-server and ./bin/webpacker
2023-02-16 14:23:29 +01:00
a9382a915b
Update Ruby version to 3.2.1
2023-02-16 11:56:06 +01:00
326b5fce51
Allow assigning tips during exercise create
...
Fixes CODEOCEAN-H6
2023-02-16 11:23:52 +01:00
ee63166af7
Sentry: Replace UUIDs with * in URLs
2023-02-16 10:50:01 +01:00
e9cf79085a
Refactor listing files to be independent of exiting runners
...
Previously, we were always fetching files, even if not required (e.g., for score runs). Now, we reduce the number of file listings and use a dedicated callback.
2023-02-16 10:50:01 +01:00
e96eda69d7
Bulk insert LinterCheckRuns
...
Similar to TestrunMessages, we insert all linter check runs through a bulk operation, potentially reducing time.
2023-02-16 10:50:01 +01:00
b375aed543
Bulk insert TestrunMessages
...
With Sentry, we identified that all TestrunMessages are created one-by-one (besides passing them all in an array to #create!). Therefore, we now do the validations on our own first and then store all once, dramatically reducing the required time.
Fixes CODEOCEAN-HP
2023-02-16 10:50:01 +01:00
a558a6df3b
Shorten message name for sentry hub cloning
2023-02-16 10:47:58 +01:00
91c2e14fe8
Fix error handling during Runner::Connection close
...
Closes CODEOCEAN-HQ
2023-02-16 10:47:28 +01:00
596a04b9da
Handle ReadTimeouts for LTI consumer properly
2023-02-16 10:12:05 +01:00
339d1b3760
Vagrant provision: Update comment about NVM
2023-02-16 10:12:05 +01:00
7bf78013e9
Merge pull request #1544 from openHPI/dependabot/bundler/rubocop-capybara-2.17.1
2023-02-16 04:06:26 +00:00
57a3de0143
Bump rubocop-capybara from 2.17.0 to 2.17.1
...
Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara ) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/rubocop/rubocop-capybara/releases )
- [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-capybara/compare/v2.17.0...v2.17.1 )
---
updated-dependencies:
- dependency-name: rubocop-capybara
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-16 03:57:22 +00:00
744eead83f
Fix typos in local setup guides
2023-02-16 00:29:56 +01:00
f49262cc1a
Update Native Setup and Vagrant Setup
2023-02-15 19:34:14 +01:00
359539ffd7
Update configuration examples for seamless start
2023-02-15 19:18:05 +01:00
0e4cd91ef7
Seeds: Set all environments to use a privileged execution
...
While we generally discourage the use of the privileged executions for production usage, the existing setup with the outdated execution environments broke. Therefore, we should switch our seed data to feature the latest Docker images.
2023-02-15 19:13:26 +01:00
4b4942ef08
Seeds: Increase memory limit for Java 8 environment
2023-02-15 19:11:48 +01:00
223e97f13a
Bundle update
2023-02-14 15:51:33 +01:00
1ece879804
Merge pull request #1540 from openHPI/dependabot/npm_and_yarn/sass-1.58.1
2023-02-14 04:06:17 +00:00
f5858a7e4b
Merge pull request #1541 from openHPI/dependabot/bundler/nokogiri-1.14.2
2023-02-14 04:05:29 +00:00
a97cede9d3
Bump nokogiri from 1.14.1 to 1.14.2
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.1...v1.14.2 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-14 03:57:00 +00:00
f67f4d68d1
Bump sass from 1.58.0 to 1.58.1
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.58.0 to 1.58.1.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.58.0...1.58.1 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-14 03:56:53 +00:00
890c99fa07
Update bundle and Puma
...
sd_notify has been integrated into Puma 6.1, no need to include it manually
2023-02-13 17:11:17 +01:00
4a8653040c
Use deep merge for Runner::Connection headers
2023-02-12 14:08:54 +01:00
b1372e880c
Enable Sentry instrumentation for WebSocket connection
2023-02-12 13:51:10 +01:00
99372464aa
Lock "sudo" switch for shell with root environments
2023-02-11 00:44:47 +01:00
b0c84b190d
Enable breadcrumbs and more details for Sentry
2023-02-10 00:38:45 +01:00
750c59ca6a
Increase sample rate for Sentry and introduce ENV variable
2023-02-09 19:32:03 +01:00
379edbc12c
Remove dedicated settings for Style/SymbolProc
...
Those settings have been removed with Rubocop 1.45 and are deprecated
2023-02-09 18:56:31 +01:00
6ed67d7f06
Bundle update
2023-02-09 18:56:28 +01:00
90d713a1d4
fix (potential) problems with empty file_extensions
2023-02-09 18:42:24 +01:00
93188ba04d
added migration to replace existing file_extension containing nil with ''
2023-02-09 18:42:24 +01:00
637f872f34
add file_extension validation for file_type
2023-02-09 18:42:24 +01:00
454b34275c
fix file_type selection for Makefile
2023-02-09 18:42:24 +01:00
70933ac9da
Bundle update
2023-02-03 00:25:05 +01:00
04504973ba
Adjust Sentry's user context
2023-02-03 00:16:52 +01:00
7d1e6ca6d3
Merge pull request #1528 from openHPI/dependabot/bundler/nokogiri-1.14.1
2023-01-31 03:10:31 +00:00
0e5852f612
Bump nokogiri from 1.14.0 to 1.14.1
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-31 03:00:42 +00:00
70e42d3ec1
Bump rails from 7.0.4.1 to 7.0.4.2
...
Bumps [rails](https://github.com/rails/rails ) from 7.0.4.1 to 7.0.4.2.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](https://github.com/rails/rails/compare/v7.0.4.1...v7.0.4.2 )
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-26 11:21:54 +01:00
c4bb6e0af0
Bump bootsnap from 1.15.0 to 1.16.0
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases )
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: bootsnap
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-26 11:21:40 +01:00
df4c8570fc
Merge pull request #1527 from openHPI/dependabot/bundler/rubocop-1.44.1
2023-01-26 03:09:32 +00:00
f9c106e5c6
Bump rubocop from 1.44.0 to 1.44.1
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.44.0 to 1.44.1.
- [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.44.0...v1.44.1 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-26 03:02:13 +00:00