Commit Graph

5679 Commits

Author SHA1 Message Date
d1441b08b7 Disable CodeQL for Dependabot runs 2023-11-09 16:50:33 +01:00
8c1cede705 Hide action name for Index and Show routes 2023-11-09 09:15:39 +01:00
bcfe349bc9 Bump rails from 7f6714e to f6987c4
Bumps [rails](https://github.com/rails/rails) from `7f6714e` to `f6987c4`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](7f6714ed18...f6987c4657)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-09 08:40:29 +01:00
235bd10b02 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.77.0 to 7.79.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.77.0...7.79.0)

Updates `@sentry/integrations` from 7.77.0 to 7.79.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.77.0...7.79.0)

Updates `@sentry/utils` from 7.77.0 to 7.79.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.77.0...7.79.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>
2023-11-09 08:39:40 +01:00
3a3f8b8497 Bump rails from 55f4a62 to 7f6714e
Bumps [rails](https://github.com/rails/rails) from `55f4a62` to `7f6714e`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](55f4a62638...7f6714ed18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 07:08:22 +01:00
6a41a02a83 Bump vis-data from 7.1.7 to 7.1.8
Bumps [vis-data](https://github.com/visjs/vis-data) from 7.1.7 to 7.1.8.
- [Release notes](https://github.com/visjs/vis-data/releases)
- [Changelog](https://github.com/visjs/vis-data/blob/master/.releaserc.yml)
- [Commits](https://github.com/visjs/vis-data/compare/v7.1.7...v7.1.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 03:45:51 +00:00
07983cfe9f Bump rails from e952133 to 55f4a62
Bumps [rails](https://github.com/rails/rails) from `e952133` to `55f4a62`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](e952133618...55f4a62638)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 08:51:21 +01:00
78eda659f1 Bump rails from 8be9756 to e952133
Bumps [rails](https://github.com/rails/rails) from `8be9756` to `e952133`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](8be9756932...e952133618)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 07:52:01 +01:00
71de8d4bf3 Bump vis-util from 5.0.5 to 5.0.6
Bumps [vis-util](https://github.com/visjs/vis-util) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/visjs/vis-util/releases)
- [Changelog](https://github.com/visjs/vis-util/blob/master/.releaserc.yml)
- [Commits](https://github.com/visjs/vis-util/compare/v5.0.5...v5.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 03:59:19 +00:00
9dea5d4c39 Bump net-imap from 0.4.3 to 0.4.4
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.3...v0.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 03:25:06 +00:00
f4c7291adb Increase runner size for CodeQL analysis 2023-11-06 01:09:12 +01:00
cf5d7ffd1f Revert "Log terminated_by_client to Sentry"
This reverts commits 3ad94653 and c6461f6b
2023-11-06 00:29:25 +01:00
4537f2bf75 Allow viewing submissions without corresponding exercise
Fixes CODEOCEAN-S7
2023-11-06 00:24:51 +01:00
920f2dcb38 Handle broken pipe socket in SubmissionsController
Fixes CODEOCEAN-Y2
2023-11-06 00:16:53 +01:00
2872c04934 Fix exception for WebSocket connection without cookie
Fixes CODEOCEAN-YW
2023-11-05 23:57:24 +01:00
d2b2deaf98 Use var for window-wide variables
Otherwise, Turbolinks might cause an issue...

Fixes CODEOCEAN-FRONTEND-H
2023-11-05 23:43:32 +01:00
abf917ae37 Switch to Hash syntax for URL generation in breadcrumbs
This will prevent an exception if the corresponding Route cannot be generated.
2023-11-05 13:02:34 +01:00
87908c7bd1 Switch to actioncable-enhanced-postgresql-adapter
This change will store large events (larger than 8KB) for ActionCable in the database. Therefore, it resolves issues where the payload was previously too large.

Fixes #1920
Fixes CODEOCEAN-Y8
Fixes CODEOCEAN-WS
2023-11-04 18:46:32 +01:00
f70a73c9a2 Puma: Disable automatic reforking 2023-11-02 17:30:42 +01:00
f6ff063276 Bump selenium-webdriver from 4.14.0 to 4.15.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.14.0 to 4.15.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.14.0...selenium-4.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 08:48:54 +01:00
7ffaf47790 Bump rails from d33fb3d to 8be9756
Bumps [rails](https://github.com/rails/rails) from `d33fb3d` to `8be9756`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](d33fb3dcde...8be9756932)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 08:48:16 +01:00
ae013ba027 Prevent the creation of new accounts during mailer preview 2023-11-01 19:41:16 +01:00
2fb18e594e Configure mailer previews 2023-11-01 19:41:16 +01:00
0a2dfe1d7f Bump rails from 0258bf6 to d33fb3d
Bumps [rails](https://github.com/rails/rails) from `0258bf6` to `d33fb3d`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](0258bf6d14...d33fb3dcde)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 08:27:42 +01:00
83f8bccb61 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.76.0 to 7.77.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.76.0...7.77.0)

Updates `@sentry/integrations` from 7.76.0 to 7.77.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.76.0...7.77.0)

Updates `@sentry/utils` from 7.76.0 to 7.77.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.76.0...7.77.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>
2023-11-01 08:26:27 +01:00
411eb0b165 Specs: Use Runner factory and provide strategy class 2023-10-31 12:35:24 +01:00
8fc5123bae Exclusively lock Runners during code executions
Previously, the same runner could be used multiple times with different submissions simultaneously. This, however, yielded errors, for example when one submission time oud (causing the running to be deleted) while another submission was still executed.

Admin actions, such as the shell, can be still executed regardless of any other code execution.

Fixes CODEOCEAN-HG
Fixes openHPI/poseidon#423
2023-10-31 12:35:24 +01:00
427b54d306 Upgrade versions in docs and Vagrant script 2023-10-31 12:28:18 +01:00
5c62a72875 Upgrade versions in GitHub Action workflow 2023-10-31 11:57:49 +01:00
3176832258 Upgrade to Yarn Berry 2023-10-31 11:57:37 +01:00
8097d20be6 Update Shakapacker to 7.2.0 2023-10-31 10:47:20 +01:00
1f65f5be5e Bump rails from fbe75b4 to 0258bf6
Bumps [rails](https://github.com/rails/rails) from `fbe75b4` to `0258bf6`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](fbe75b4ea6...0258bf6d14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 10:02:39 +01:00
e65a26b4f3 Bump bootsnap from 1.16.0 to 1.17.0
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.16.0 to 1.17.0.
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.16.0...v1.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 10:02:28 +01:00
5dc9b3747c Bump net-imap from 0.4.2 to 0.4.3
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.2...v0.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 04:10:39 +00:00
442337a22b Fix file listing and download for admin shell
`node.parents` is not returning the parent nodes in a fixed order. Hence, we cannot use it but must travers the tree ourselves.
2023-10-31 00:39:06 +01:00
6ba567a903 Add role checks for ProgrammingGroup
So far, a programming group is always considered to be a learner. While we could, technically, consider it to be a teacher or an admin if all members have this role, this behaviour might have unintended side effects.
2023-10-31 00:39:06 +01:00
cc3d8f3fcc Bump rails from 68c4dd3 to fbe75b4
Bumps [rails](https://github.com/rails/rails) from `68c4dd3` to `fbe75b4`.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](68c4dd3451...fbe75b4ea6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 09:06:43 +01:00
cdfd612e00 Bump ransack from 4.1.0 to 4.1.1
Bumps [ransack](https://github.com/activerecord-hackery/ransack) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/activerecord-hackery/ransack/releases)
- [Changelog](https://github.com/activerecord-hackery/ransack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/activerecord-hackery/ransack/compare/v4.1.0...4.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 08:50:53 +01:00
d24ffd55d3 Bump the sentry-javascript group with 2 updates
Bumps the sentry-javascript group with 2 updates: [@sentry/core](https://github.com/getsentry/sentry-javascript) and [@sentry/integrations](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/core` from 7.75.1 to 7.76.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.75.1...7.76.0)

Updates `@sentry/integrations` from 7.75.1 to 7.76.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.75.1...7.76.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
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 08:50:27 +01:00
f4fc4a3c50 Bump vis-timeline from 7.7.2 to 7.7.3
Bumps [vis-timeline](https://github.com/visjs/vis-timeline) from 7.7.2 to 7.7.3.
- [Release notes](https://github.com/visjs/vis-timeline/releases)
- [Changelog](https://github.com/visjs/vis-timeline/blob/master/HISTORY.md)
- [Commits](https://github.com/visjs/vis-timeline/compare/v7.7.2...v7.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 08:49:40 +01:00
2fdc5320ac Bump rubocop-rails from 2.22.0 to 2.22.1
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.22.0 to 2.22.1.
- [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.22.0...v2.22.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 03:51:36 +00:00
7e66ed1c36 Disable Gravatar in Rails Admin 2023-10-29 15:30:54 +01:00
60d2369fbc Upgrade to Rack 3 2023-10-27 16:50:27 +02:00
28d9e38fe5 Upgrade to Rails 7.1 and apply new framework defaults
* Remove deprecated options from environments
* Remove deprecation warnings for upcoming Rails 7.2
* Dump schema with new defaults
* Remove outdated (and erroneous) data attribute in view
* Resolve a `NoMethodError` for seeds_spec.rb
2023-10-27 16:50:27 +02:00
10c9378b11 Update bundle 2023-10-27 16:38:51 +02:00
76a31d8020 Bump the sentry-javascript group with 1 update
Bumps the sentry-javascript group with 1 update: [@sentry/integrations](https://github.com/getsentry/sentry-javascript).

- [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.75.0...7.75.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 15:35:49 +02:00
60a45de0f5 Bump rubocop from 1.57.1 to 1.57.2
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.1 to 1.57.2.
- [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.57.1...v1.57.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 15:14:14 +02:00
642517cb40 Bump sass from 1.69.4 to 1.69.5
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.4 to 1.69.5.
- [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.4...1.69.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 15:13:57 +02:00
d92603ddad Dependabot: Group Sentry JavaScript updates 2023-10-26 15:02:38 +02:00
d7241d1fb8 Bump @sentry/core from 7.75.0 to 7.75.1
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript) from 7.75.0 to 7.75.1.
- [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.75.0...7.75.1)

---
updated-dependencies:
- dependency-name: "@sentry/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 12:29:46 +00:00