Commit Graph

4865 Commits

Author SHA1 Message Date
dependabot[bot]
edadbe9b61 Bump sentry-ruby from 5.6.0 to 5.7.0
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby) from 5.6.0 to 5.7.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.6.0...5.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 20:31:32 +01:00
dependabot[bot]
ca7a2b2ba7 Bump rails-erb-loader from 43472ff to ce2d166
Bumps [rails-erb-loader](https://github.com/usabilityhub/rails-erb-loader) from `43472ff` to `ce2d166`.
- [Release notes](https://github.com/usabilityhub/rails-erb-loader/releases)
- [Commits](43472ff4cb...ce2d166632)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 20:31:03 +01:00
dependabot[bot]
596dc91d31 Merge pull request #1452 from openHPI/dependabot/npm_and_yarn/mini-css-extract-plugin-2.7.1 2022-11-30 03:10:19 +00:00
dependabot[bot]
cee430694b Bump mini-css-extract-plugin from 2.7.0 to 2.7.1
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.0 to 2.7.1.
- [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.7.0...v2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 03:01:25 +00:00
Sebastian Serth
826ec94e36 Bundle update 2022-11-28 14:57:17 +01:00
Sebastian Serth
ddc6f3dddd Clarify version requirement for ims-lti 2022-11-28 14:57:13 +01:00
Sebastian Serth
e79e7e423b Add ruby version 2022-11-25 13:09:14 +01:00
Sebastian Serth
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
Sebastian Serth
bdf474e684 Bump Rubocop TargetRubyVersion to 3.1 2022-11-25 11:10:06 +01:00
Sebastian Serth
673c4b57fe Update Postgres to v15 in CI 2022-11-25 11:10:06 +01:00
Sebastian Serth
bdba2db7a6 Bundle update 2022-11-25 11:10:06 +01:00
dependabot[bot]
abdb027e53 Bump i18n-js from 4.1.1 to 4.2.0
Bumps [i18n-js](https://github.com/fnando/i18n) from 4.1.1 to 4.2.0.
- [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.1.1...v4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 08:18:23 +01:00
Karol
bf5781f90d exclude model from rails admin, add possible performance solution (remove all associations from list) 2022-11-24 22:59:12 +01:00
dependabot[bot]
aecd7b8231 Bump rails_admin from 2.2.1 to 3.1.0
Bumps [rails_admin](https://github.com/sferik/rails_admin) from 2.2.1 to 3.1.0.
- [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/v2.2.1...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 22:59:12 +01:00
Sebastian Serth
dfbf06274c Specify class for html_escape 2022-11-24 17:16:18 +01:00
dependabot[bot]
138b2cf17f Bump highlight.js from 11.6.0 to 11.7.0
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 11.6.0 to 11.7.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/11.6.0...11.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 15:46:39 +01:00
Sebastian Serth
e3921d34f5 Merge branch 'updates' 2022-11-23 11:26:52 +01:00
Sebastian Serth
24db3434fe Bundle Update 2022-11-23 11:06:12 +01:00
dependabot[bot]
56e358c57e Merge pull request #1446 from openHPI/dependabot/bundler/carrierwave-2.2.3 2022-11-22 03:12:06 +00:00
dependabot[bot]
ee873cd529 Merge pull request #1447 from openHPI/dependabot/bundler/prometheus_exporter-2.0.6 2022-11-22 03:11:01 +00:00
dependabot[bot]
9dd5c54403 Bump prometheus_exporter from 2.0.5 to 2.0.6
Bumps [prometheus_exporter](https://github.com/discourse/prometheus_exporter) from 2.0.5 to 2.0.6.
- [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.5...v2.0.6)

---
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-22 03:01:44 +00:00
dependabot[bot]
5c1e84a6be Bump carrierwave from 2.2.2 to 2.2.3
Bumps [carrierwave](https://github.com/carrierwaveuploader/carrierwave) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/carrierwaveuploader/carrierwave/releases)
- [Changelog](https://github.com/carrierwaveuploader/carrierwave/blob/v2.2.3/CHANGELOG.md)
- [Commits](https://github.com/carrierwaveuploader/carrierwave/compare/v2.2.2...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 03:01:21 +00:00
Sebastian Serth
d84c35dce2 Add environment variables for time zone and log level 2022-11-21 15:08:03 +01:00
Sebastian Serth
ab688e09c0 Execute SQL statement in ping controller 2022-11-21 14:52:11 +01:00
Sebastian Serth
25707478ea Require user for Community Solution
Fixes CODEOCEAN-F7
2022-11-21 10:48:08 +01:00
dependabot[bot]
3ca37ebcda Merge pull request #1444 from openHPI/dependabot/bundler/rubocop-rails-2.17.3 2022-11-21 09:45:30 +00:00
Sebastian Serth
ac6433cf06 Disable I18nLazyLookup; we prefer to have localizations movable 2022-11-21 10:37:21 +01:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
dd123b2438 Merge pull request #1443 from openHPI/dependabot/bundler/faraday-2.7.1 2022-11-21 03:06:49 +00:00
dependabot[bot]
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
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