Commit Graph

4834 Commits

Author SHA1 Message Date
dependabot[bot]
3c5809db02 Bump rails-erb-loader from 8389323 to 43472ff
Bumps [rails-erb-loader](https://github.com/usabilityhub/rails-erb-loader) from `8389323` to `43472ff`.
- [Release notes](https://github.com/usabilityhub/rails-erb-loader/releases)
- [Commits](8389323611...43472ff4cb)

---
updated-dependencies:
- dependency-name: rails-erb-loader
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 08:30:09 +01:00
dependabot[bot]
198495551f Merge pull request #1441 from openHPI/dependabot/bundler/pg-1.4.5 2022-11-18 03:09:30 +00:00
dependabot[bot]
04eec58f87 Bump pg from 1.4.4 to 1.4.5
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.4 to 1.4.5.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.rdoc)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.4...v1.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 03:00:55 +00:00
Sebastian Serth
b6cecf53aa Pundit: Skip authorization in case of errors
Fixes CODEOCEAN-F3
2022-11-17 21:37:45 +01:00
Sebastian Serth
b2af4e0663 Check submission and exercise files when filtering downloads 2022-11-17 20:47:33 +01:00
Sebastian Serth
9bd900bd86 Raise NotAuthorized Error if ID cannot be found
Fixes CODEOCEAN-F3
2022-11-17 20:47:33 +01:00
Sebastian Serth
61c4d5a894 Provide default for retrieve_files method
Fixes CODEOCEAN-F4
2022-11-17 20:47:33 +01:00
dependabot[bot]
472e63d53b Bump mini-css-extract-plugin from 2.6.1 to 2.7.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.6.1...v2.7.0)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 14:59:04 +01:00
dependabot[bot]
e601686d8b Merge pull request #1439 from openHPI/dependabot/bundler/rubocop-performance-1.15.1 2022-11-17 03:13:18 +00:00
dependabot[bot]
1f28814964 Bump rubocop-performance from 1.15.0 to 1.15.1
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.15.0...v1.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 03:01:21 +00:00
Sebastian Serth
e93d6f270d Update Sentry's op name (required for sentry-rails 5.6.0+
See https://github.com/getsentry/sentry-ruby/releases/tag/5.6.0
2022-11-17 00:29:46 +01:00
Sebastian Serth
15878f500c Switch order of unloading the autosave timer
Hypothesis: When unloadAutoSave was called, we first saved (causing this.autosaveTimer to become null) and then tried to clearTimeout on this variable (= on null). This probably never worked?

Hopefully closes CODEOCEAN-B5
2022-11-16 23:26:25 +01:00
Sebastian Serth
591f776f69 Close WebSocket connection normally
With Tubesock, we need to send a close frame ourselves. Otherwise, some browsers might display a warning.
2022-11-16 23:16:49 +01:00
Sebastian Serth
7aaeac03d6 Remove outdated error for used_defined_tests
Previously, a user-defined test (those run with "Test" instead of "Run") would cause a flash message and a Sentry error if anything was printed to StdErr. As this might happen during user code execution (and therefore is no error), we remove this warning. All existing errors are already caught (compare with enum status in testrun.rb), so it's fine for now.

Fixes CODEOCEAN-BT
2022-11-16 22:41:07 +01:00
Sebastian Serth
fb494dabbd Re-init Sorttable on turbolinks page load 2022-11-16 20:13:37 +01:00
Sebastian Serth
0950e626ba Convert message data to string before slicing
Fixes CODEOCEAN-F1
2022-11-16 19:53:19 +01:00
Sebastian Serth
f17718f69f CSP: Extract JavaScript from layout to assets
Fixes CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
Sebastian Serth
a9c642a116 CSP: Extract RfC JS from view to assets
Relates to CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
Sebastian Serth
b9f3126f21 CSP: Remove global this in webpack
Also refactor how we handle global namespace objects.

Fixes CODEOCEAN-DV
2022-11-16 19:47:58 +01:00
Sebastian Serth
e0bce2071e CSP: Allow Webworkers for ACE
Fixes CODEOCEAN-EQ
2022-11-16 19:47:58 +01:00
dependabot[bot]
83f9975d9e Bump faraday from 2.6.0 to 2.7.0
Bumps [faraday](https://github.com/lostisland/faraday) from 2.6.0 to 2.7.0.
- [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.6.0...v2.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 13:21:54 +01:00
dependabot[bot]
f1e19dea31 Merge pull request #1438 from openHPI/dependabot/npm_and_yarn/fortawesome/fontawesome-free-6.2.1 2022-11-16 03:14:36 +00:00
dependabot[bot]
a7678b0265 Bump @fortawesome/fontawesome-free from 6.2.0 to 6.2.1
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 03:06:28 +00:00
dependabot[bot]
13fc7a9408 Merge pull request #1436 from openHPI/dependabot/bundler/prometheus_exporter-2.0.5 2022-11-15 03:08:09 +00:00
dependabot[bot]
7e112973db Bump prometheus_exporter from 2.0.4 to 2.0.5
Bumps [prometheus_exporter](https://github.com/discourse/prometheus_exporter) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/discourse/prometheus_exporter/releases)
- [Changelog](https://github.com/discourse/prometheus_exporter/blob/main/CHANGELOG)
- [Commits](https://github.com/discourse/prometheus_exporter/compare/v2.0.4...v2.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 03:00:47 +00:00
Sebastian Serth
55d7fb2f9a Download file: Return after rendering NotAuthorized Error
Fixes CODEOCEAN-ET
2022-11-14 18:21:35 +01:00
Sebastian Serth
ebdd89e543 Bundle update 2022-11-14 13:51:55 +01:00
Sebastian Serth
d50e6d30e9 List Files: Catch more Runner::Errors 2022-11-14 13:51:04 +01:00
dependabot[bot]
fa807eb7aa Merge pull request #1435 from openHPI/dependabot/npm_and_yarn/css-loader-6.7.2 2022-11-14 03:17:41 +00:00
dependabot[bot]
7d3e8d4a1b Bump css-loader from 6.7.1 to 6.7.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.1 to 6.7.2.
- [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.1...v6.7.2)

---
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-11-14 03:09:51 +00:00
Sebastian Serth
1592d42d1a Junit5: Recognize opentest4j AssertionFailedError 2022-11-11 23:34:17 +01:00
Sebastian Serth
6d9bc5588a Bundle update 2022-11-11 22:52:44 +01:00
Sebastian Serth
2753e4ef5b Always catch StandardError in Threads and release connection 2022-11-11 22:50:27 +01:00
Sebastian Serth
b838a41f16 Bundle update 2022-11-10 12:01:37 +01:00
Sebastian Serth
60f8d9809b Catch error in LiveStreams Controller to avoid concurrency issue 2022-11-10 12:00:56 +01:00
dependabot[bot]
8683128b8b Bump webpack from 5.74.0 to 5.75.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.75.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.75.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 10:10:32 +01:00
dependabot[bot]
e472dcf10f Bump sass-loader from 13.1.0 to 13.2.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v13.1.0...v13.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 10:10:05 +01:00
dependabot[bot]
4386e9242f Bump rails-erb-loader from b82129b to 8389323
Bumps [rails-erb-loader](https://github.com/usabilityhub/rails-erb-loader) from `b82129b` to `8389323`.
- [Release notes](https://github.com/usabilityhub/rails-erb-loader/releases)
- [Commits](b82129beed...8389323611)

---
updated-dependencies:
- dependency-name: rails-erb-loader
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 10:09:50 +01:00
dependabot[bot]
d6ed4faa11 Merge pull request #1431 from openHPI/dependabot/bundler/prometheus_exporter-2.0.4 2022-11-10 03:09:42 +00:00
dependabot[bot]
6a8aacfd14 Bump prometheus_exporter from 2.0.3 to 2.0.4
Bumps [prometheus_exporter](https://github.com/discourse/prometheus_exporter) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/discourse/prometheus_exporter/releases)
- [Changelog](https://github.com/discourse/prometheus_exporter/blob/main/CHANGELOG)
- [Commits](https://github.com/discourse/prometheus_exporter/compare/v2.0.3...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 03:01:11 +00:00
dependabot[bot]
ac78d51323 Bump sentry-rails from 5.5.0 to 5.6.0
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 5.5.0 to 5.6.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/5.5.0...5.6.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>
2022-11-09 10:29:40 +01:00
dependabot[bot]
4f55177d53 Merge pull request #1430 from openHPI/dependabot/npm_and_yarn/sass-1.56.1 2022-11-09 03:13:01 +00:00
dependabot[bot]
fb1dee4b80 Merge pull request #1429 from openHPI/dependabot/bundler/rails-i18n-7.0.6 2022-11-09 03:10:04 +00:00
dependabot[bot]
1115bb8d70 Bump sass from 1.56.0 to 1.56.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.56.0 to 1.56.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.56.0...1.56.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-11-09 03:02:16 +00:00
dependabot[bot]
1c92efd6ee Bump rails-i18n from 7.0.5 to 7.0.6
Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/svenfuchs/rails-i18n/releases)
- [Changelog](https://github.com/svenfuchs/rails-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/rails-i18n/compare/v7.0.5...v7.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 03:01:15 +00:00
Sebastian Serth
44f83c0e32 Bundle update 2022-11-07 09:54:50 +01:00
Sebastian Serth
53c72f5742 Upgrade shakapacker 2022-11-06 15:05:09 +01:00
Sebastian Serth
5ba791e765 Bundle update 2022-11-06 13:29:32 +01:00
Sebastian Serth
cf957eb715 Prevent reference_implementation to be copied to Runner 2022-11-04 17:30:30 +01:00
Sebastian Serth
de024d9360 Set Content-Type to fixed value for send_runner_file 2022-11-04 16:52:49 +01:00