Commit Graph

5862 Commits

Author SHA1 Message Date
Sebastian Serth
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
Sebastian Serth
f70a73c9a2 Puma: Disable automatic reforking 2023-11-02 17:30:42 +01:00
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
ae013ba027 Prevent the creation of new accounts during mailer preview 2023-11-01 19:41:16 +01:00
Sebastian Serth
2fb18e594e Configure mailer previews 2023-11-01 19:41:16 +01:00
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
411eb0b165 Specs: Use Runner factory and provide strategy class 2023-10-31 12:35:24 +01:00
Sebastian Serth
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
Sebastian Serth
427b54d306 Upgrade versions in docs and Vagrant script 2023-10-31 12:28:18 +01:00
Sebastian Serth
5c62a72875 Upgrade versions in GitHub Action workflow 2023-10-31 11:57:49 +01:00
Sebastian Serth
3176832258 Upgrade to Yarn Berry 2023-10-31 11:57:37 +01:00
Sebastian Serth
8097d20be6 Update Shakapacker to 7.2.0 2023-10-31 10:47:20 +01:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
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
Sebastian Serth
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
7e66ed1c36 Disable Gravatar in Rails Admin 2023-10-29 15:30:54 +01:00
Sebastian Serth
60d2369fbc Upgrade to Rack 3 2023-10-27 16:50:27 +02:00
Sebastian Serth
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
Sebastian Serth
10c9378b11 Update bundle 2023-10-27 16:38:51 +02:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
d92603ddad Dependabot: Group Sentry JavaScript updates 2023-10-26 15:02:38 +02:00
dependabot[bot]
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
dependabot[bot]
0e5114d761 Bump @sentry/integrations from 7.74.1 to 7.75.0
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 7.74.1 to 7.75.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.74.1...7.75.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 14:14:25 +02:00
dependabot[bot]
f057001d11 Bump ransack from 4.0.0 to 4.1.0
Bumps [ransack](https://github.com/activerecord-hackery/ransack) from 4.0.0 to 4.1.0.
- [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.0.0...v4.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 09:12:01 +02:00
dependabot[bot]
caa2b3a5a7 Bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 09:11:01 +02:00
Sebastian Serth
bbee854002 Allow RfC index action for exercises to be nested 2023-10-23 18:17:42 +02:00
kiragrammel
5ecde8c8bd Generalize breadcrumbs for nested resources
* Make programming groups breadcrumb navigation clickable
2023-10-23 18:17:42 +02:00
Sebastian Serth
bf8f7b471c Keep existing programming group memberships during update 2023-10-23 18:17:42 +02:00
kiragrammel
79ce069f68 Add CRUD operations for Programming Groups
* Correct sorting in table
* Modify page when nested in exercises
* Fix links between pages
* Link from statistics page to programming_groups/index
* Link from submission page to programming_groups/<id>
* Allow filtering for exercise ID on ProgrammingGroup#index
* Add search fields for internal and external user id on pg/index
2023-10-23 18:17:42 +02:00
Sebastian Serth
f1ca5da44d Customize to_s method for feedback 2023-10-22 12:07:41 +02:00
Sebastian Serth
e91b2ede7d Prevent an exception if score cannot be sent for survey 2023-10-22 12:07:41 +02:00
kiragrammel
f7e3979e79 Set bonus points for survey via LTI parameter 2023-10-22 12:07:41 +02:00
kiragrammel
b91a2b7ce0 Remove PairProgramming23Study and instead use LTI parameter 2023-10-22 12:07:41 +02:00
kiragrammel
5bbc94f1d1 Remove info about study & link to feedback page 2023-10-22 12:07:41 +02:00
kiragrammel
f9f6ab8570 Replace "Du" with "Sie" 2023-10-22 12:07:41 +02:00
kiragrammel
26552a0682 Remove PairProgrammingExerciseFeedback
* Remove view, controller, routes & policy for PairProgrammingExerciseFeedback
* Keep model & database table
2023-10-22 12:07:41 +02:00
Sebastian Serth
2ce5687f53 Bundle update 2023-10-21 21:09:18 +02:00
dependabot[bot]
ad5e5e269c Bump terser from 1.1.18 to 1.1.19
Bumps [terser](https://github.com/ahorek/terser-ruby) from 1.1.18 to 1.1.19.
- [Release notes](https://github.com/ahorek/terser-ruby/releases)
- [Changelog](https://github.com/ahorek/terser-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ahorek/terser-ruby/compare/1.1.18...1.1.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 10:46:05 +02:00
dependabot[bot]
6791e1742f Bump rails-erb-loader from 1698444 to 1b747ad
Bumps [rails-erb-loader](https://github.com/usabilityhub/rails-erb-loader) from `1698444` to `1b747ad`.
- [Commits](1698444e97...1b747ad182)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 12:50:10 +02:00