Commit Graph

4693 Commits

Author SHA1 Message Date
d84c35dce2 Add environment variables for time zone and log level 2022-11-21 15:08:03 +01:00
ab688e09c0 Execute SQL statement in ping controller 2022-11-21 14:52:11 +01:00
25707478ea Require user for Community Solution
Fixes CODEOCEAN-F7
2022-11-21 10:48:08 +01:00
3ca37ebcda Merge pull request #1444 from openHPI/dependabot/bundler/rubocop-rails-2.17.3 2022-11-21 09:45:30 +00:00
ac6433cf06 Disable I18nLazyLookup; we prefer to have localizations movable 2022-11-21 10:37:21 +01:00
013d34aae2 Bump bootsnap from 1.13.0 to 1.14.0
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.13.0 to 1.14.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.13.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 10:30:42 +01:00
a57aa92eac Bump rubocop-rails from 2.17.2 to 2.17.3
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.17.2 to 2.17.3.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.17.2...v2.17.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 03:12:45 +00:00
dd123b2438 Merge pull request #1443 from openHPI/dependabot/bundler/faraday-2.7.1 2022-11-21 03:06:49 +00:00
231f5d585f Bump faraday from 2.7.0 to 2.7.1
Bumps [faraday](https://github.com/lostisland/faraday) from 2.7.0 to 2.7.1.
- [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.0...v2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 03:00:55 +00:00
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
198495551f Merge pull request #1441 from openHPI/dependabot/bundler/pg-1.4.5 2022-11-18 03:09:30 +00:00
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
b6cecf53aa Pundit: Skip authorization in case of errors
Fixes CODEOCEAN-F3
2022-11-17 21:37:45 +01:00
b2af4e0663 Check submission and exercise files when filtering downloads 2022-11-17 20:47:33 +01:00
9bd900bd86 Raise NotAuthorized Error if ID cannot be found
Fixes CODEOCEAN-F3
2022-11-17 20:47:33 +01:00
61c4d5a894 Provide default for retrieve_files method
Fixes CODEOCEAN-F4
2022-11-17 20:47:33 +01:00
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
e601686d8b Merge pull request #1439 from openHPI/dependabot/bundler/rubocop-performance-1.15.1 2022-11-17 03:13:18 +00:00
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
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
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