Sebastian Serth
7aeca0078f
Reduce N+1 queries for ExercisesController#feedback
...
Fixes CODEOCEAN-TF
2023-08-30 18:46:09 +02:00
Sebastian Serth
094aba096c
Fix feedback page by accessing the contributor
...
Fixes CODEOCEAN-TE
2023-08-30 18:16:47 +02:00
dependabot[bot]
a2d6b67a88
Bump rubocop from 1.56.1 to 1.56.2
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.56.1 to 1.56.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.56.1...v1.56.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-08-30 03:43:47 +00:00
dependabot[bot]
52fa986094
Bump webmock from 3.19.0 to 3.19.1
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.19.0 to 3.19.1.
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.19.0...v3.19.1 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-30 03:42:55 +00:00
dependabot[bot]
a9871b6fcf
Bump @sentry/core from 7.64.0 to 7.65.0
...
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript ) from 7.64.0 to 7.65.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.64.0...7.65.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-29 08:31:25 +02:00
dependabot[bot]
3f0b789bd6
Bump @sentry/integrations from 7.64.0 to 7.65.0
...
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript ) from 7.64.0 to 7.65.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.64.0...7.65.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-29 08:02:22 +02:00
dependabot[bot]
d67754b935
Bump jquery from 3.7.0 to 3.7.1
...
Bumps [jquery](https://github.com/jquery/jquery ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/jquery/jquery/releases )
- [Commits](https://github.com/jquery/jquery/compare/3.7.0...3.7.1 )
---
updated-dependencies:
- dependency-name: jquery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-29 03:17:12 +00:00
Sebastian Serth
6eed794aa0
Retry store_lti_session_data
...
We need to store or update the LTI parameters. However, this operation is not atomic and multiple requests can interfere with our database operation. Therefore, we need to retry in case the record is not unique.
Fixes CODEOCEAN-TC
2023-08-28 22:20:46 +02:00
dependabot[bot]
f61bf81ca9
Bump webmock from 3.18.1 to 3.19.0
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.18.1 to 3.19.0.
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.18.1...v3.19.0 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-28 07:50:35 +02:00
Sebastian Serth
235bf771fe
Always use user object instead of ID and Type
2023-08-26 00:39:47 +02:00
kiragrammel
8ba5d5a984
Allow enabling pair programming study through env
2023-08-26 00:38:58 +02:00
kiragrammel
89afb599e4
Apply changes from team members in own editor
2023-08-26 00:38:58 +02:00
dependabot[bot]
69ba7270dd
Bump mnemosyne-ruby from 1.15.0 to 1.16.0
...
Bumps [mnemosyne-ruby](https://github.com/jgraichen/mnemosyne-ruby ) from 1.15.0 to 1.16.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.15.0...v1.16.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-25 08:55:21 +02:00
dependabot[bot]
37618ac342
Bump @babel/core from 7.22.10 to 7.22.11
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.22.10 to 7.22.11.
- [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.22.11/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-08-25 04:17:52 +00:00
dependabot[bot]
51415c11e0
Bump @babel/runtime from 7.22.10 to 7.22.11
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.22.10 to 7.22.11.
- [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.22.11/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-08-25 04:04:44 +00:00
kiragrammel
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
Sebastian Serth
dddebcca67
Prevent new programming groups in case of existing submission for study group
2023-08-24 19:32:06 +02:00
Sebastian Serth
3f674d3687
Prevent accessing another exercise during a programming group session
2023-08-24 19:32:06 +02:00
kiragrammel
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
Sebastian Serth
9d1be1eeff
Migrate AnomalyNotification to contributor
...
* Also, this commit aims to fix the (broken) anomaly notifications.
2023-08-24 19:32:06 +02:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
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
kiragrammel
e2baa2ee55
Send score for all members of a programming group
2023-08-24 19:32:06 +02:00
kiragrammel
2fb8def1d0
Add PairProgrammingStudy
...
* Later used to create the A/B groups
2023-08-24 19:32:06 +02:00
kiragrammel
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
kiragrammel
0234414bae
Rename user to contributor in submission
2023-08-24 19:32:06 +02:00
kiragrammel
97138288f4
Delete unused LTI params from session
2023-08-24 19:32:06 +02:00
Sebastian Serth
56b9bb2680
Add missing translations for score causes
...
Fix CODEOCEAN-SE
2023-08-24 13:15:10 +02:00
Sebastian Serth
13d34c7859
Slightly adjust German translation for RfC comment
2023-08-24 11:51:00 +02:00
dependabot[bot]
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
Sebastian Serth
245c3dba8c
Update from proforma to proformaxml
2023-08-24 00:14:41 +02:00
Sebastian Serth
41e75ca385
Bundle update
2023-08-23 00:04:55 +02:00
Sebastian Serth
d357cf85ca
Bundle update
2023-08-22 00:20:18 +02:00
Sebastian Serth
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
Sebastian Serth
2f0cf615d0
Retry file conversion in case of DB connection issues
...
Fix CODEOCEAN-RZ
2023-08-21 13:34:11 +02:00
Sebastian Serth
fdcb416997
Bundle update
2023-08-21 11:40:35 +02:00
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
4fc38c7208
Enable Sentry browser profiling
2023-08-18 09:52:52 +02:00
Sebastian Serth
36f0e5cc24
Bundle update
2023-08-18 09:39:29 +02:00
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
2b45dcae7e
Bundle update
2023-08-17 00:34:23 +02:00
Sebastian Serth
494d32982b
Fix wrong variable access for missing consumer check
...
Amends 57ff38c2
2023-08-17 00:27:16 +02:00
Sebastian Serth
de5bbea4a8
Refactor RfC creation to prevent users from navigating
2023-08-17 00:25:51 +02:00
Sebastian Serth
08a1eb6201
Ignore errors with missing Sentry Transaction
...
Fix CODEOCEAN-FRONTEND-1D
2023-08-17 00:14:39 +02:00
Sebastian Serth
730e6f85eb
Migrate color-mode-picker to work with Turbolinks
...
Fix CODEOCEAN-FRONTEND-2D
2023-08-16 23:49:50 +02:00
Sebastian Serth
71acb0cf3d
Check for presence of RfC Modal before hiding
...
Fix CODEOCEAN-FRONTEND-E
2023-08-16 23:11:12 +02:00