Commit Graph

4773 Commits

Author SHA1 Message Date
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
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
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
fb494dabbd Re-init Sorttable on turbolinks page load 2022-11-16 20:13:37 +01:00
0950e626ba Convert message data to string before slicing
Fixes CODEOCEAN-F1
2022-11-16 19:53:19 +01:00
f17718f69f CSP: Extract JavaScript from layout to assets
Fixes CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
a9c642a116 CSP: Extract RfC JS from view to assets
Relates to CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
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
e0bce2071e CSP: Allow Webworkers for ACE
Fixes CODEOCEAN-EQ
2022-11-16 19:47:58 +01:00
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
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
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
13fc7a9408 Merge pull request #1436 from openHPI/dependabot/bundler/prometheus_exporter-2.0.5 2022-11-15 03:08:09 +00:00
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
55d7fb2f9a Download file: Return after rendering NotAuthorized Error
Fixes CODEOCEAN-ET
2022-11-14 18:21:35 +01:00
ebdd89e543 Bundle update 2022-11-14 13:51:55 +01:00
d50e6d30e9 List Files: Catch more Runner::Errors 2022-11-14 13:51:04 +01:00
fa807eb7aa Merge pull request #1435 from openHPI/dependabot/npm_and_yarn/css-loader-6.7.2 2022-11-14 03:17:41 +00:00
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
1592d42d1a Junit5: Recognize opentest4j AssertionFailedError 2022-11-11 23:34:17 +01:00
6d9bc5588a Bundle update 2022-11-11 22:52:44 +01:00
2753e4ef5b Always catch StandardError in Threads and release connection 2022-11-11 22:50:27 +01:00
b838a41f16 Bundle update 2022-11-10 12:01:37 +01:00
60f8d9809b Catch error in LiveStreams Controller to avoid concurrency issue 2022-11-10 12:00:56 +01:00
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
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
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
d6ed4faa11 Merge pull request #1431 from openHPI/dependabot/bundler/prometheus_exporter-2.0.4 2022-11-10 03:09:42 +00:00
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
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
4f55177d53 Merge pull request #1430 from openHPI/dependabot/npm_and_yarn/sass-1.56.1 2022-11-09 03:13:01 +00:00
fb1dee4b80 Merge pull request #1429 from openHPI/dependabot/bundler/rails-i18n-7.0.6 2022-11-09 03:10:04 +00:00
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
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
44f83c0e32 Bundle update 2022-11-07 09:54:50 +01:00
53c72f5742 Upgrade shakapacker 2022-11-06 15:05:09 +01:00
5ba791e765 Bundle update 2022-11-06 13:29:32 +01:00
cf957eb715 Prevent reference_implementation to be copied to Runner 2022-11-04 17:30:30 +01:00
de024d9360 Set Content-Type to fixed value for send_runner_file 2022-11-04 16:52:49 +01:00
63310a6420 Bump sass from 1.55.0 to 1.56.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.55.0 to 1.56.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.55.0...1.56.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-11-04 15:16:20 +01:00
d0252dcd88 Bump rubocop-rspec from 2.14.2 to 2.15.0
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.14.2 to 2.15.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.14.2...v2.15.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-11-04 15:16:13 +01:00
54eb6b3eda Bump babel-loader from 8.2.5 to 8.3.0
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.5 to 8.3.0.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.5...v8.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 15:16:06 +01:00
d41afbb7dd Merge pull request #1422 from openHPI/dependabot/bundler/json_schemer-0.2.23 2022-11-04 03:12:41 +00:00
08b156b98b Bump json_schemer from 0.2.22 to 0.2.23
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer) from 0.2.22 to 0.2.23.
- [Release notes](https://github.com/davishmcclurg/json_schemer/releases)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.22...v0.2.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 03:01:34 +00:00
064494c161 Add note on disallowed character for command 2022-11-02 14:12:59 +01:00
26433aa2ff Remove duplicated username (log statement) 2022-11-02 14:09:42 +01:00
4f0b8c3c42 Reduce usage of @current_user (use helper instead) 2022-11-02 12:27:38 +01:00
a4e791e3de Always render templates in Controller specs 2022-11-02 12:25:33 +01:00
727d00b714 Revert "Bump shakapacker from 6.5.2 to 6.5.3"
This reverts commit 199f154999.
2022-11-02 09:15:49 +01:00
1772f5ca58 Revert "Bump shakapacker from 6.5.2 to 6.5.3"
This reverts commit c754a5a4a5.
2022-11-02 09:15:49 +01:00