Commit Graph

5594 Commits

Author SHA1 Message Date
c2995c96f0 Remove clear_lti_session_data as it is no longer needed
* no lti session data anymore included in the function
* decided not to delete the pg_id here as it is handled in create_through_lti and implement
* the function is only called once without an exercise id so the values are now directly deleted there
2023-08-24 19:32:06 +02:00
dddebcca67 Prevent new programming groups in case of existing submission for study group 2023-08-24 19:32:06 +02:00
3f674d3687 Prevent accessing another exercise during a programming group session 2023-08-24 19:32:06 +02:00
01accdae58 Use author_in_programming_group? policy for files & RfCs
* Allow all members of a programming group to list and solve RfCs
* Also adjust policy specs to respect programming groups
2023-08-24 19:32:06 +02:00
9d1be1eeff Migrate AnomalyNotification to contributor
* Also, this commit aims to fix the (broken) anomaly notifications.
2023-08-24 19:32:06 +02:00
a1941336d9 Fix Runner access for programming groups
* We also rename the corresponding columns in the Runner model, so that for polymorphic association gets clear.
2023-08-24 19:32:06 +02:00
977fa4539e Check polymorphic type in validations
* Previously, some models had "duplicated" `belongs_to` associations, which were now removed (and replaced by the `include Creation`).
2023-08-24 19:32:06 +02:00
be4f2b790d Add user to testrun
* We want to identify a user that has triggered a testrun. Previously (in regular operation), only submission author who were regular users were able to start a testrun. Now, we want to prepare a future where submission authors are programming groups. Still, a testrun is triggered by an individual user and not a group.
* Further, this commit fixes some missing foreign key constrains.
2023-08-24 19:32:06 +02:00
e3603758ef Refactor LTI parameters and add study group
* This change also requires that submissions in our test need to have a valid study group.
2023-08-24 19:32:06 +02:00
e2baa2ee55 Send score for all members of a programming group 2023-08-24 19:32:06 +02:00
2fb8def1d0 Add PairProgrammingStudy
* Later used to create the A/B groups
2023-08-24 19:32:06 +02:00
319c3ab3b4 Add ProgrammingGroup & ProgrammingGroupMembership
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00
0234414bae Rename user to contributor in submission 2023-08-24 19:32:06 +02:00
97138288f4 Delete unused LTI params from session 2023-08-24 19:32:06 +02:00
56b9bb2680 Add missing translations for score causes
Fix CODEOCEAN-SE
2023-08-24 13:15:10 +02:00
13d34c7859 Slightly adjust German translation for RfC comment 2023-08-24 11:51:00 +02:00
3d4c870ad1 Bump mnemosyne-ruby from 1.14.0 to 1.15.0
Bumps [mnemosyne-ruby](https://github.com/jgraichen/mnemosyne-ruby) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/jgraichen/mnemosyne-ruby/releases)
- [Changelog](https://github.com/mnemosyne-mon/mnemosyne-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jgraichen/mnemosyne-ruby/compare/v1.14.0...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-24 07:13:05 +02:00
245c3dba8c Update from proforma to proformaxml 2023-08-24 00:14:41 +02:00
41e75ca385 Bundle update 2023-08-23 00:04:55 +02:00
d357cf85ca Bundle update 2023-08-22 00:20:18 +02:00
269f135812 Fix Errno::ECONNRESET error for Tubesock
* We must not close the socket manually (with `client_socket.close`), as this would close it twice. Compare: 2c83794b85/lib/tubesock.rb (L92)
* When the socket is closed twice, nginx registers a `Connection reset by peer` error: `recv() failed (104: Connection reset by peer) while proxying upgraded connection`
* Tubesock automatically closes the socket when the `hijack` block ends and otherwise ignores `Errno::ECONNRESET`: 2c83794b85/lib/tubesock.rb (L161-L162)
2023-08-22 00:20:02 +02:00
2f0cf615d0 Retry file conversion in case of DB connection issues
Fix CODEOCEAN-RZ
2023-08-21 13:34:11 +02:00
fdcb416997 Bundle update 2023-08-21 11:40:35 +02:00
a55fbf849a Bump carrierwave from 3.0.2 to 3.0.3
Bumps [carrierwave](https://github.com/carrierwaveuploader/carrierwave) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/carrierwaveuploader/carrierwave/releases)
- [Changelog](https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md)
- [Commits](https://github.com/carrierwaveuploader/carrierwave/compare/v3.0.2...v3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 03:49:02 +00:00
3d7ace173e Bump sass from 1.66.0 to 1.66.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.66.0 to 1.66.1.
- [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.66.0...1.66.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 03:18:08 +00:00
4fc38c7208 Enable Sentry browser profiling 2023-08-18 09:52:52 +02:00
36f0e5cc24 Bundle update 2023-08-18 09:39:29 +02:00
1e4d4d67d5 Bump sass from 1.65.1 to 1.66.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.65.1 to 1.66.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.65.1...1.66.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 09:31:11 +02:00
b4f40bff9d Bump puma from 6.3.0 to 6.3.1
Bumps [puma](https://github.com/puma/puma) from 6.3.0 to 6.3.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.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 03:38:25 +00:00
2b45dcae7e Bundle update 2023-08-17 00:34:23 +02:00
494d32982b Fix wrong variable access for missing consumer check
Amends 57ff38c2
2023-08-17 00:27:16 +02:00
de5bbea4a8 Refactor RfC creation to prevent users from navigating 2023-08-17 00:25:51 +02:00
08a1eb6201 Ignore errors with missing Sentry Transaction
Fix CODEOCEAN-FRONTEND-1D
2023-08-17 00:14:39 +02:00
730e6f85eb Migrate color-mode-picker to work with Turbolinks
Fix CODEOCEAN-FRONTEND-2D
2023-08-16 23:49:50 +02:00
71acb0cf3d Check for presence of RfC Modal before hiding
Fix CODEOCEAN-FRONTEND-E
2023-08-16 23:11:12 +02:00
57ff38c2b1 Check for invalid consumer in user views
Fix CODEOCEAN-S4
2023-08-16 23:05:07 +02:00
87a75ce2bf Update proforma and dachsfisch gems 2023-08-16 22:38:57 +02:00
3b4fc0a5ec Fix ActionCable load error due to custom inflection for middleware 2023-08-16 17:11:23 +02:00
92cebbe4f1 Bump rails-i18n from 7.0.7 to 7.0.8
Bumps [rails-i18n](https://github.com/svenfuchs/rails-i18n) from 7.0.7 to 7.0.8.
- [Changelog](https://github.com/svenfuchs/rails-i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/rails-i18n/compare/v7.0.7...v7.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 03:30:35 +00:00
5f21f99f55 Refactor conversion of files JSON for download
Tries fixing CODEOCEAN-RQ
2023-08-15 23:04:03 +02:00
365f32930d Bump @sentry/integrations from 7.63.0 to 7.64.0
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 7.63.0 to 7.64.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.63.0...7.64.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-08-15 09:19:22 +02:00
7cd9c75c9f Bump @sentry/core from 7.63.0 to 7.64.0
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript) from 7.63.0 to 7.64.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.63.0...7.64.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 08:20:41 +02:00
4045415e5b Bump shakapacker from 7.0.2 to 7.0.3
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 7.0.2 to 7.0.3.
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/compare/v7.0.2...v7.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 08:24:57 +02:00
d9d44be129 Bump shakapacker from 7.0.2 to 7.0.3
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 7.0.2 to 7.0.3.
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/compare/v7.0.2...v7.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 08:24:46 +02:00
8d5a17eaa9 Bump rubocop-performance from 1.18.0 to 1.19.0
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.18.0 to 1.19.0.
- [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.18.0...v1.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 08:23:31 +02:00
6c1890376f Bump nokogiri from 1.15.3 to 1.15.4
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.15.3 to 1.15.4.
- [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.15.3...v1.15.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 03:17:01 +00:00
17a17a2c77 update proforma to newest version, add dachsfisch dependency 2023-08-11 14:09:20 +02:00
b9f408d179 Bump @sentry/core from 7.62.0 to 7.63.0
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript) from 7.62.0 to 7.63.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.62.0...7.63.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 09:02:51 +02:00
eb071587cd Bump @sentry/integrations from 7.62.0 to 7.63.0
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 7.62.0 to 7.63.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.62.0...7.63.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-08-11 08:46:26 +02:00
12d50cf651 Bundle update 2023-08-10 09:21:44 +02:00