Commit Graph

4817 Commits

Author SHA1 Message Date
b80d372c53 Prevent errors with unavailable linter translations
Not all testing frameworks provide a translation for Linter (or linter support at all). For these, we don't want to call the non-existing method but rather return the same messages as before.
2022-12-23 13:05:39 +01:00
6a942ccf50 Capture exception for Scoring
Previously, an exception was caused by the tubesock gem but not sent to Sentry. This caused errors not to bubble up correctly but rather kill the current thread, leaving the user with a generic "WebSocket connection not established" message.

Probably, this should be removed when updating the WebSocket implementation.
2022-12-23 13:04:34 +01:00
a9c8eb23b8 Bump jwt from 2.5.0 to 2.6.0
Bumps [jwt](https://github.com/jwt/ruby-jwt) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/jwt/ruby-jwt/releases)
- [Changelog](https://github.com/jwt/ruby-jwt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jwt/ruby-jwt/compare/v2.5.0...v2.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 09:42:19 +01:00
c40d407458 Merge pull request #1494 from openHPI/dependabot/npm_and_yarn/babel/runtime-7.20.7 2022-12-23 03:20:06 +00:00
71105dab62 Bump @babel/runtime from 7.20.6 to 7.20.7
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.20.6 to 7.20.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.7/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 03:11:43 +00:00
63bb949ea9 Merge pull request #1493 from openHPI/dependabot/npm_and_yarn/babel/core-7.20.7 2022-12-23 03:10:34 +00:00
2c1290798e Merge pull request #1492 from openHPI/dependabot/bundler/rubocop-1.41.1 2022-12-23 03:08:13 +00:00
63820de134 Bump @babel/core from 7.20.5 to 7.20.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.5 to 7.20.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.7/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 03:00:40 +00:00
2e967f3317 Bump rubocop from 1.41.0 to 1.41.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.41.0 to 1.41.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.41.0...v1.41.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 03:00:40 +00:00
fe053247a2 Bundle update 2022-12-21 14:08:25 +01:00
4f173378a7 Merge pull request #1491 from openHPI/dependabot/bundler/net-imap-0.3.3 2022-12-21 08:25:56 +00:00
620e33438c Bump net-imap from 0.3.2 to 0.3.3
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.3.2...v0.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 08:16:28 +00:00
f22878c98f Bump d3 from 7.7.0 to 7.8.0
Bumps [d3](https://github.com/d3/d3) from 7.7.0 to 7.8.0.
- [Release notes](https://github.com/d3/d3/releases)
- [Changelog](https://github.com/d3/d3/blob/main/CHANGES.md)
- [Commits](https://github.com/d3/d3/compare/v7.7.0...v7.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 09:12:18 +01:00
44528e611a Merge pull request #1490 from openHPI/dependabot/npm_and_yarn/jquery-3.6.3 2022-12-21 03:09:49 +00:00
f0f84a27ad Merge pull request #1489 from openHPI/dependabot/bundler/puma-6.0.1 2022-12-21 03:09:26 +00:00
d7fa80ba8b Bump jquery from 3.6.2 to 3.6.3
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.2...3.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 03:00:53 +00:00
6470348dac Bump puma from 6.0.0 to 6.0.1
Bumps [puma](https://github.com/puma/puma) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.0.0...v6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 03:00:50 +00:00
ead8011120 Bundle update 2022-12-20 10:35:14 +01:00
7cd61acbce I18n: Automatically choose locale through HTTP header 2022-12-20 10:26:32 +01:00
78f87fef4b Bump pundit from 2.2.0 to 2.3.0
Bumps [pundit](https://github.com/varvet/pundit) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 10:06:42 +01:00
7c392ebd21 Merge pull request #1487 from openHPI/dependabot/npm_and_yarn/sass-1.57.1 2022-12-20 03:09:59 +00:00
ee9755a4c6 Bump sass from 1.57.0 to 1.57.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.57.0 to 1.57.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.57.0...1.57.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 03:00:46 +00:00
f5a661b8c7 Puma: Add support for systemd watchdog 2022-12-19 22:26:37 +01:00
fb9ab4cd61 DCP: Allow unused keyword arguments for Rubocop 2022-12-19 17:09:59 +01:00
8a6e0a8366 Catch empty files_json during conversion 2022-12-19 16:11:35 +01:00
82bb0dd5d1 Return default for retrieve_files
Fixes CODEOCEAN-G7
2022-12-19 16:10:38 +01:00
17356c3045 Allow redirect to main CodeOcean host
When a file cannot be retrieved any longer, we send a redirect to the previous locations. As we usually enable a different render host, Rails sees this redirect as a redirect to another host (from the render host to the main CodeOcean host).
2022-12-19 16:06:47 +01:00
d22d95ba32 Merge pull request #1484 from openHPI/dependabot/npm_and_yarn/i18n-js-4.2.2 2022-12-19 14:27:30 +00:00
24bf4b72ed Bundle update 2022-12-19 15:18:23 +01:00
735f37d1dd Fix import of lodash module 2022-12-19 15:17:32 +01:00
836aba533f Bump i18n-js from 4.2.1 to 4.2.2
Bumps [i18n-js](https://github.com/fnando/i18n) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/fnando/i18n/releases)
- [Changelog](https://github.com/fnando/i18n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fnando/i18n/compare/v4.2.1...v4.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 15:17:32 +01:00
85dd0fba9d Merge pull request #1483 from openHPI/dependabot/bundler/rails_admin-3.1.1 2022-12-19 13:26:37 +00:00
c6c11f3484 Bump shoulda-matchers from 5.2.0 to 5.3.0
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases)
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v5.2.0...v5.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 14:16:34 +01:00
23cbf204f0 Bump sass from 1.56.2 to 1.57.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.56.2 to 1.57.0.
- [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.56.2...1.57.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 14:16:21 +01:00
5aa55ceb64 Bump rails_admin from 3.1.0 to 3.1.1
Bumps [rails_admin](https://github.com/sferik/rails_admin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/sferik/rails_admin/releases)
- [Changelog](https://github.com/railsadminteam/rails_admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sferik/rails_admin/compare/v3.1.0...v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 03:00:46 +00:00
e86bcb6394 Merge pull request #1481 from openHPI/dependabot/npm_and_yarn/css-loader-6.7.3 2022-12-15 03:10:55 +00:00
7d68617bdf Merge pull request #1480 from openHPI/dependabot/bundler/faraday-2.7.2 2022-12-15 03:08:45 +00:00
062db560f5 Bump css-loader from 6.7.2 to 6.7.3
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.2 to 6.7.3.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.2...v6.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 03:00:57 +00:00
740b114606 Bump faraday from 2.7.1 to 2.7.2
Bumps [faraday](https://github.com/lostisland/faraday) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v2.7.1...v2.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 03:00:50 +00:00
10c87851de Merge pull request #1475 from openHPI/dependabot/bundler/rails-html-sanitizer-1.4.4 2022-12-14 11:31:51 +00:00
11d9e930aa Bump rubocop-rspec from 2.15.0 to 2.16.0
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.15.0 to 2.16.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.15.0...v2.16.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>
2022-12-14 12:08:46 +01:00
f6c976844d Merge pull request #1479 from openHPI/dependabot/npm_and_yarn/jquery-3.6.2 2022-12-14 03:20:15 +00:00
dba1036d1d Merge pull request #1478 from openHPI/dependabot/bundler/ims-lti-1.2.7 2022-12-14 03:11:56 +00:00
22ea8dbe35 Bump jquery from 3.6.1 to 3.6.2
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.1...3.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 03:10:56 +00:00
55ce1ce7a5 Merge pull request #1477 from openHPI/dependabot/npm_and_yarn/i18n-js-4.2.1 2022-12-14 03:09:45 +00:00
fd5b9e37f1 Bump ims-lti from 1.2.6 to 1.2.7
Bumps [ims-lti](https://github.com/instructure/ims-lti) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/instructure/ims-lti/releases)
- [Commits](https://github.com/instructure/ims-lti/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 03:01:06 +00:00
9a36d13d3e Bump i18n-js from 4.2.0 to 4.2.1
Bumps [i18n-js](https://github.com/fnando/i18n) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/fnando/i18n/releases)
- [Changelog](https://github.com/fnando/i18n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fnando/i18n/compare/v4.2.0...v4.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 03:00:47 +00:00
453b3df71e Bump rails-html-sanitizer from 1.4.3 to 1.4.4
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases)
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: rails-html-sanitizer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 20:32:37 +00:00
a38adce58f Merge pull request #1474 from openHPI/dependabot/bundler/loofah-2.19.1 2022-12-13 20:32:04 +00:00
90c827c915 Bump loofah from 2.19.0 to 2.19.1
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/loofah/compare/v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: loofah
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 20:21:16 +00:00