Commit Graph

4935 Commits

Author SHA1 Message Date
637f872f34 add file_extension validation for file_type 2023-02-09 18:42:24 +01:00
454b34275c fix file_type selection for Makefile 2023-02-09 18:42:24 +01:00
70933ac9da Bundle update 2023-02-03 00:25:05 +01:00
04504973ba Adjust Sentry's user context 2023-02-03 00:16:52 +01:00
7d1e6ca6d3 Merge pull request #1528 from openHPI/dependabot/bundler/nokogiri-1.14.1 2023-01-31 03:10:31 +00:00
0e5852f612 Bump nokogiri from 1.14.0 to 1.14.1
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.0...v1.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 03:00:42 +00:00
70e42d3ec1 Bump rails from 7.0.4.1 to 7.0.4.2
Bumps [rails](https://github.com/rails/rails) from 7.0.4.1 to 7.0.4.2.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v7.0.4.1...v7.0.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 11:21:54 +01:00
c4bb6e0af0 Bump bootsnap from 1.15.0 to 1.16.0
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.15.0 to 1.16.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.15.0...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 11:21:40 +01:00
df4c8570fc Merge pull request #1527 from openHPI/dependabot/bundler/rubocop-1.44.1 2023-01-26 03:09:32 +00:00
f9c106e5c6 Bump rubocop from 1.44.0 to 1.44.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.44.0 to 1.44.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.44.0...v1.44.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 03:02:13 +00:00
b531108ac2 Update puma.rb and explicitly require 'concurrent' 2023-01-25 00:42:53 +01:00
ddcb4a347a Bundle update 2023-01-25 00:14:29 +01:00
d7e643523c Merge pull request #1522 from openHPI/dependabot/npm_and_yarn/babel/runtime-7.20.13 2023-01-23 03:18:04 +00:00
fd89022ba5 Bump @babel/runtime from 7.20.7 to 7.20.13
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.20.7 to 7.20.13.
- [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.13/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>
2023-01-23 03:09:13 +00:00
e8983a28d9 Fix generated URLs for native files in subdirectories
Our handling of uploaded files (see FilesController#show_protected_upload) checks for the full file name including the file path. However, URLs generated by CarrierWave didn't contain any path information resulting in invalid URLs. The wrong behavior was only visible when serving native files was disabled in Rails (or by using the x_sendfile_header).
2023-01-20 23:53:17 +01:00
234a4fe02b Deny /implement without execution environment
Also, fix a smaller typo in the locales
2023-01-20 23:53:08 +01:00
2679f5fa56 Allow random selection for ProxyExercise 2023-01-20 21:02:20 +01:00
d05d69756d Bundle update 2023-01-20 21:02:20 +01:00
d4f66b2e01 Merge pull request #1520 from openHPI/dependabot/bundler/rubocop-rspec-2.18.1 2023-01-20 03:08:39 +00:00
7cfba47b28 Bump rubocop-rspec from 2.18.0 to 2.18.1
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.18.0 to 2.18.1.
- [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.18.0...v2.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 03:01:03 +00:00
d1bbb48d7e Merge pull request #1519 from openHPI/dependabot/npm_and_yarn/d3-7.8.2 2023-01-19 03:10:08 +00:00
526c584679 Bump d3 from 7.8.1 to 7.8.2
Bumps [d3](https://github.com/d3/d3) from 7.8.1 to 7.8.2.
- [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.8.1...v7.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 03:01:12 +00:00
3b0e126e38 Remove outdated Rubocop config 2023-01-18 10:48:53 +01:00
47ff6c136f Update bundle 2023-01-18 10:48:26 +01:00
2360252d7c Bump rails from 7.0.4 to 7.0.4.1
Bumps [rails](https://github.com/rails/rails) from 7.0.4 to 7.0.4.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v7.0.4...v7.0.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 09:29:22 +01:00
932874a936 Bump rubocop-rspec from 2.17.0 to 2.18.0
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.17.0 to 2.18.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.17.0...v2.18.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>
2023-01-17 08:27:45 +01:00
9c663ab496 Merge pull request #1516 from openHPI/dependabot/bundler/faraday-2.7.3 2023-01-17 03:11:11 +00:00
02f434f5bb Merge pull request #1515 from openHPI/dependabot/npm_and_yarn/jstree-3.3.14 2023-01-17 03:09:27 +00:00
9998f5d5ce Bump faraday from 2.7.2 to 2.7.3
Bumps [faraday](https://github.com/lostisland/faraday) from 2.7.2 to 2.7.3.
- [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.2...v2.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 03:01:11 +00:00
1d5019b007 Bump jstree from 3.3.12 to 3.3.14
Bumps [jstree](https://github.com/vakata/jstree) from 3.3.12 to 3.3.14.
- [Release notes](https://github.com/vakata/jstree/releases)
- [Commits](https://github.com/vakata/jstree/compare/3.3.12...3.3.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 03:00:54 +00:00
ac24b2fdf7 Bump rubocop-rspec from 2.16.0 to 2.17.0
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.16.0 to 2.17.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.16.0...v2.17.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>
2023-01-16 11:33:21 +01:00
afe7428a6f Ensure upload directory exists for symlink test 2023-01-16 11:16:03 +01:00
dd2cf5b2ca Merge pull request #1513 from openHPI/dependabot/bundler/prometheus_exporter-2.0.7 2023-01-16 03:09:54 +00:00
418b803b73 Bump prometheus_exporter from 2.0.6 to 2.0.7
Bumps [prometheus_exporter](https://github.com/discourse/prometheus_exporter) from 2.0.6 to 2.0.7.
- [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.6...v2.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 03:01:19 +00:00
e86e56dce9 Update puma.rb to match current Rails template 2023-01-14 19:42:26 +01:00
873fefdd9e Use relative import paths for SCSS node modules 2023-01-14 11:32:57 +01:00
3a75173e29 Bump nokogiri from 1.14.0.rc1 to 1.14.0
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.0.rc1 to 1.14.0.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.0.rc1...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 11:09:11 +01:00
237807c07a Bundle update 2023-01-12 18:51:32 +01:00
fcc6d69982 Fix percentage value display for remote score 2023-01-12 18:50:50 +01:00
dd10080ae3 Merge pull request #1510 from openHPI/dependabot/npm_and_yarn/d3-7.8.1 2023-01-12 03:09:54 +00:00
eaa68f8688 Bump d3 from 7.8.0 to 7.8.1
Bumps [d3](https://github.com/d3/d3) from 7.8.0 to 7.8.1.
- [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.8.0...v7.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 03:01:15 +00:00
87771b905a Fix rubocop offenses 2023-01-11 23:57:29 +01:00
6486b0d658 Bump rubocop from 1.42.0 to 1.43.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.42.0 to 1.43.0.
- [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.42.0...v1.43.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 23:57:29 +01:00
9ff66843a9 Bump listen from 3.7.1 to 3.8.0
Bumps [listen](https://github.com/guard/listen) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.7.1...v3.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 10:55:18 +01:00
22921aa0b8 Bundle update 2023-01-08 14:12:23 +01:00
5d02251cbb Replace BooleanPresenceValidator with InclusionValidator
The `BooleanPresenceValidator` is causing issues with Ruby 3.2+ YJIT irregularly.

Fixes CODEOCEAN-GQ, fixes CODEOCEAN-GR
2023-01-08 14:10:14 +01:00
0a36751896 Update to Ruby 3.2 2023-01-07 16:11:36 +01:00
6637f47d08 Merge pull request #1506 from openHPI/dependabot/npm_and_yarn/babel-loader-9.1.2 2023-01-05 03:10:19 +00:00
66e3148698 Merge pull request #1507 from openHPI/dependabot/npm_and_yarn/babel/core-7.20.12 2023-01-05 03:09:41 +00:00
dd83d01a6b Bump @babel/core from 7.20.7 to 7.20.12
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.7 to 7.20.12.
- [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.12/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>
2023-01-05 03:01:14 +00:00