Commit Graph

6150 Commits

Author SHA1 Message Date
69a00c2585 Bump shakapacker from 7.2.1 to 7.2.2
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 7.2.1 to 7.2.2.
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/compare/v7.2.1...v7.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 03:59:37 +00:00
04863f1f25 Update Ruby to 3.3 2024-01-19 12:49:00 +01:00
aa8222a9ef Update Rubocop to Rails 7.1 2024-01-19 12:41:01 +01:00
60dad19ea5 Rename .js.erb files .js
Since we switched to more I18n-JS and JsRoute functions with f5739a33 and 2f03061f, we don't have the need to use a template engine for those files any longer.
2024-01-19 11:06:40 +01:00
5b35ccdfe8 Reuse jQuery selector where possible 2024-01-19 11:06:40 +01:00
affeb2d3ba Remove obsolete user_id leftover in requestComments() 2024-01-19 11:06:40 +01:00
a9e1d491be Use safe comparison in JavaScript 2024-01-19 11:06:40 +01:00
9147482876 Use JsRoutes in .js.erb files 2024-01-19 11:06:40 +01:00
34aac83909 Use I18n-JS rather than rails-i18n in .js.erb files 2024-01-19 11:06:40 +01:00
d6c4df1bac Remove JavaScript debugger statement 2024-01-19 11:06:40 +01:00
7a1330323c Fix Sorcery conflict for redirect_back_or_to
See https://github.com/Sorcery/sorcery/issues/296
2024-01-19 11:06:40 +01:00
c280a58214 Resolve Rails.application.secrets deprecation 2024-01-19 11:06:40 +01:00
9a280615c5 Fix downloading runner files
Fixes a regression introduced with 8fc5123b
2024-01-19 11:06:40 +01:00
43f93af575 Fix missing confirmation when deleting a user-generated file 2024-01-19 11:06:40 +01:00
bf0e6149da Remove obsolete context-type attribute for submissions
The value and function is no longer used.
2024-01-19 11:06:40 +01:00
6d62dfc3de Remove anchor replacement in active_file.filename
Previously, this replacement was required, but it is no longer (since we are not using some form of direct user-input).
2024-01-19 11:06:40 +01:00
21e0784af5 Rewrite createSubmissionCallback to use real forEach loop 2024-01-19 11:06:40 +01:00
e2c8156f0e Simplify forEach loops in JavaScript
See https://stackoverflow.com/a/9329476
2024-01-19 11:06:40 +01:00
d9381657f7 Add user_exercise_interventions to ProgrammingGroups
This is a regression from 1bb61f73
2024-01-19 11:06:40 +01:00
79faefde5a Set Content-Type nosniff for all downloads 2024-01-19 11:06:40 +01:00
8fd5829110 Use render_host for download_submission_file 2024-01-19 11:06:40 +01:00
17dd8b1267 Change syntax for routes with filename
Previously, the filename was URL-encoded, thus each / was replaced with %2F. This caused issues with some Apache2 configuration, smartly mingling with the URL to either encode it a second time (resulting in %252F) or decoding it (generating a real /). However, for authenticated file downloads with the JWT, we hardly require a byte-by-byte matching. With these changes, the URL parameter is no longer URL-encoded, so that Apache2 won't break our implementation any longer.

Further, we use this opportunity to get rid of the unnecessary .json extension for those filename routes, simplifying the routes generated and doing some further cleanup.
2024-01-19 11:06:40 +01:00
65212c4b4b Reduce file attributes in JSON for submission#show 2024-01-19 11:06:40 +01:00
8c41aa5a73 Disable Sentry context for render_protected_upload
In this action, we are not using a regular cookie/user to authenticate. However, we have a special token, that is JWT-based. Since it has the same name as the login token sent via email, we previously searched the database for it as part of configuring the Sentry context. This is now avoided.
2024-01-19 11:06:40 +01:00
f20fbbbd7a Fix display of renamed native files for exercises#implement 2024-01-19 11:06:40 +01:00
042f21c17b Bump css-loader from 6.9.0 to 6.9.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.9.0 to 6.9.1.
- [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.9.0...v6.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 03:13:43 +00:00
4786ae59dd Bump sass from 1.69.7 to 1.70.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.7 to 1.70.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.69.7...1.70.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 03:53:05 +00:00
4b09c72f7b Bump rails from 7.1.2 to 7.1.3
Bumps [rails](https://github.com/rails/rails) from 7.1.2 to 7.1.3.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v7.1.2...v7.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 04:10:19 +00:00
f0c34bab5a Keep trailing whitespaces in Ransack searches 2024-01-16 21:31:48 +01:00
f796ab0aa2 Bump stackprof from 0.2.25 to 0.2.26
Bumps [stackprof](https://github.com/tmm1/stackprof) from 0.2.25 to 0.2.26.
- [Changelog](https://github.com/tmm1/stackprof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tmm1/stackprof/compare/v0.2.25...v0.2.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 03:38:43 +00:00
80aa2d8bf4 Bump sortablejs from 1.15.1 to 1.15.2
Bumps [sortablejs](https://github.com/SortableJS/Sortable) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/SortableJS/Sortable/releases)
- [Commits](https://github.com/SortableJS/Sortable/compare/1.15.1...1.15.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 04:09:55 +00:00
374aa551da Bump bootsnap from 1.17.0 to 1.17.1
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.17.0 to 1.17.1.
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.17.0...v1.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 03:36:21 +00:00
e4165922a9 Bump sentry-rails and sentry-ruby
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) and [sentry-ruby](https://github.com/getsentry/sentry-ruby). These dependencies needed to be updated together.

Updates `sentry-rails` from 5.15.2 to 5.16.1
- [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.15.2...5.16.1)

Updates `sentry-ruby` from 5.15.2 to 5.16.1
- [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.15.2...5.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 07:40:01 +01:00
fcc260312c Bump the sentry-javascript group with 3 updates
Bumps the sentry-javascript group with 3 updates: [@sentry/core](https://github.com/getsentry/sentry-javascript), [@sentry/integrations](https://github.com/getsentry/sentry-javascript) and [@sentry/utils](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/core` from 7.92.0 to 7.93.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.92.0...7.93.0)

Updates `@sentry/integrations` from 7.92.0 to 7.93.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.92.0...7.93.0)

Updates `@sentry/utils` from 7.92.0 to 7.93.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.92.0...7.93.0)

---
updated-dependencies:
- dependency-name: "@sentry/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
- dependency-name: "@sentry/integrations"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
- dependency-name: "@sentry/utils"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 07:39:14 +01:00
1eaca170a3 Bump mini-css-extract-plugin from 2.7.6 to 2.7.7
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.6 to 2.7.7.
- [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.6...v2.7.7)

---
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>
2024-01-11 03:26:14 +00:00
3aeed1698a Bump style-loader from 3.3.3 to 3.3.4
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 3.3.3 to 3.3.4.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/v3.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v3.3.3...v3.3.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 04:00:29 +00:00
646a95fc33 Bump css-loader from 6.8.1 to 6.9.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.8.1 to 6.9.0.
- [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.8.1...v6.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 03:59:23 +00:00
799ac6f0a3 Bump faraday from 2.8.1 to 2.9.0
Bumps [faraday](https://github.com/lostisland/faraday) from 2.8.1 to 2.9.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.8.1...v2.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 03:36:55 +00:00
5d905a121a Bump follow-redirects from 1.15.3 to 1.15.4
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 08:55:28 +00:00
421b015cdc External User Statistics: Show Log in new line 2024-01-09 01:27:58 +01:00
a3dbd3dd27 Fix missing testrun log output
This is regression for a6f64c83
2024-01-09 01:27:58 +01:00
a230618724 Fix Rubocop offenses 2024-01-09 01:27:58 +01:00
2152339d3d Bundle update 2024-01-09 00:41:32 +01:00
379e1c86b6 Bump puma from 6.4.1 to 6.4.2
Bumps [puma](https://github.com/puma/puma) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.4.1...v6.4.2)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 16:36:23 +00:00
ae4bf48f82 Bump prometheus_exporter from 2.0.8 to 2.1.0
Bumps [prometheus_exporter](https://github.com/discourse/prometheus_exporter) from 2.0.8 to 2.1.0.
- [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.8...v2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 03:35:42 +00:00
56a240aa26 Bump puma from 6.4.0 to 6.4.1
Bumps [puma](https://github.com/puma/puma) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.4.0...v6.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 03:57:13 +00:00
bbf9fcb44a Bump sass from 1.69.6 to 1.69.7
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.6 to 1.69.7.
- [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.69.6...1.69.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 03:19:03 +00:00
999cc252b3 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 12:50:51 +01:00
b03f3ca392 Bump shakapacker from 7.2.0 to 7.2.1
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 7.2.0 to 7.2.1.
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 03:47:50 +00:00
9d242d46c1 Bump shakapacker from 7.2.0.rc.0 to 7.2.1
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 7.2.0.rc.0 to 7.2.1.
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 03:44:06 +00:00