Sebastian Serth
f36f3cdc64
Rename user to contributor in exercise statistics
...
Fixes CODEOCEAN-TN
2023-09-05 18:44:20 +02:00
Sebastian Serth
4b3f5d152b
Set study group for current user during LTI launch
2023-09-05 16:00:03 +02:00
dependabot[bot]
f23a1a95ba
Bump @babel/preset-env from 7.22.14 to 7.22.15
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.22.14 to 7.22.15.
- [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.15/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-05 06:19:45 +00:00
dependabot[bot]
2ebe032891
Bump @babel/core from 7.22.11 to 7.22.15
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.22.11 to 7.22.15.
- [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.15/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-09-05 04:07:00 +00:00
dependabot[bot]
5387152346
Bump @babel/plugin-transform-runtime from 7.22.10 to 7.22.15
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.22.10 to 7.22.15.
- [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.15/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-05 03:55:01 +00:00
dependabot[bot]
b516975822
Bump @babel/runtime from 7.22.11 to 7.22.15
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.22.11 to 7.22.15.
- [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.15/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-09-05 03:41:43 +00:00
dependabot[bot]
21f353107f
Bump pg from 1.5.3 to 1.5.4
...
Bumps [pg](https://github.com/ged/ruby-pg ) from 1.5.3 to 1.5.4.
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md )
- [Commits](https://github.com/ged/ruby-pg/compare/v1.5.3...v1.5.4 )
---
updated-dependencies:
- dependency-name: pg
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 03:51:00 +00:00
Sebastian Serth
05a5a52c8e
Require user for InternalUsersController
...
Fixes CODEOCEAN-TG
2023-09-01 22:18:03 +02:00
Sebastian Serth
ac92385dd7
Rename remaining occurrences of webpacker to shakapacker
2023-09-01 19:39:51 +02:00
dependabot[bot]
07201e7a29
Bump selenium-webdriver from 4.11.0 to 4.12.0
...
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium ) from 4.11.0 to 4.12.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.11.0...selenium-4.12.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-09-01 08:51:27 +02:00
dependabot[bot]
ec9be81942
Bump @sentry/core from 7.65.0 to 7.66.0
...
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript ) from 7.65.0 to 7.66.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.65.0...7.66.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-31 13:20:33 +02:00
dependabot[bot]
f968995030
Bump @sentry/integrations from 7.65.0 to 7.66.0
...
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript ) from 7.65.0 to 7.66.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.65.0...7.66.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-31 13:05:43 +02:00
dependabot[bot]
bbba8cbccb
Bump @babel/preset-env from 7.22.10 to 7.22.14
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.22.10 to 7.22.14.
- [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.14/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-31 03:35:57 +00:00
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