5dd6df9418
Synchronized Editor: Store all events and allow multiple tabs
...
* This commit refactors the table used to store events.
* We also use a UUID as session identifier in the synchronized editor to support multiple concurrent tabs opened by the same user.
* Further, we renamed some methods to make them easier to distinguish.
2023-09-08 11:48:53 +02:00
c42fb8fc09
Fix typo in German feedback for pair programming
2023-09-08 11:48:53 +02:00
33aa0cecba
Provide current-user application-wide
...
* This change allows us to reuse the current user in multiple places.
* Sentry still receives the same information as before.
2023-09-08 11:48:53 +02:00
50a4707f65
Prevent duplicated WebSocket close for client_kill
...
Our investigation in CODEOCEAN-TV showed that we might attempt to close the WebSocket connection twice, if learners press the stop button. With this commit, we fix that issue.
2023-09-08 00:16:12 +02:00
c6461f6bdd
Only log runs not stopped by a client to Sentry
2023-09-08 00:05:50 +02:00
f47e29fae9
Fix missing sentry breadcrumb for websocket connection
...
It seems like we are still not setting the Sentry hub correctly. Therefore, we just use the hub passed with the span to add the breadcrumbs.
2023-09-08 00:01:20 +02:00
6d6851a27a
Check for Sentry span before appending header for WebSocket
...
Fix CODEOCEAN-FRONTEND-2X
2023-09-07 22:50:14 +02:00
aaf1162cf8
Bump sentry-ruby and sentry-rails
...
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby ) and [sentry-rails](https://github.com/getsentry/sentry-ruby ). These dependencies needed to be updated together.
Updates `sentry-ruby` from 5.10.0 to 5.11.0
- [Release notes](https://github.com/getsentry/sentry-ruby/releases )
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.10.0...5.11.0 )
Updates `sentry-rails` from 5.10.0 to 5.11.0
- [Release notes](https://github.com/getsentry/sentry-ruby/releases )
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.10.0...5.11.0 )
---
updated-dependencies:
- dependency-name: sentry-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: sentry-rails
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-07 14:16:10 +02:00
8584437d0e
Bump @sentry/core from 7.67.0 to 7.68.0
...
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript ) from 7.67.0 to 7.68.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.67.0...7.68.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-09-07 13:29:20 +02:00
d4084f3b3f
Bump @sentry/integrations from 7.67.0 to 7.68.0
...
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript ) from 7.67.0 to 7.68.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.67.0...7.68.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-09-07 11:59:23 +02:00
3ad946537b
Log terminated_by_client
to Sentry
2023-09-06 23:49:48 +02:00
80b457a0c9
Add Sentry exception to Runner::Error in SubmissionsController
2023-09-06 23:05:56 +02:00
5114a27e18
Bump @sentry/core from 7.66.0 to 7.67.0
...
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript ) from 7.66.0 to 7.67.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.66.0...7.67.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-09-06 08:11:07 +02:00
c7043610d4
Bump @sentry/integrations from 7.66.0 to 7.67.0
...
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript ) from 7.66.0 to 7.67.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.66.0...7.67.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-09-06 07:56:35 +02:00
eb907ca27b
Bump web-console from 4.2.0 to 4.2.1
...
Bumps [web-console](https://github.com/rails/web-console ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/rails/web-console/releases )
- [Changelog](https://github.com/rails/web-console/blob/main/CHANGELOG.markdown )
- [Commits](https://github.com/rails/web-console/compare/v4.2.0...v4.2.1 )
---
updated-dependencies:
- dependency-name: web-console
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-06 03:23:26 +00:00
df3e503754
Bump terser from 1.1.17 to 1.1.18
...
Bumps [terser](https://github.com/ahorek/terser-ruby ) from 1.1.17 to 1.1.18.
- [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.17...1.1.18 )
---
updated-dependencies:
- dependency-name: terser
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-06 03:23:10 +00:00
8dd157e346
Only send LTI score for external users
2023-09-06 00:28:34 +02:00
9f37034d0b
Prevent multiple unsubscribe calls for ActionCable
2023-09-06 00:00:27 +02:00
4b90a2a3c5
Add exercise feedback page for pair programming study
2023-09-05 22:56:51 +02:00
79422225a8
Add events for pair programming study
2023-09-05 22:56:51 +02:00
d1d5b0df6f
Etherpad link for pair programming feedback
2023-09-05 22:56:51 +02:00
056a8e5107
Show if partner is online
2023-09-05 22:56:51 +02:00
97764bd02e
Limit programming groups to two people
...
* adapt text on programming_groups/new site
* in German change from 'Sie' to 'du'
2023-09-05 22:56:51 +02:00
0e4a239960
Unsubscribe from channel when redirecting
...
fixes CODEOCEAN-FRONTEND-2S
2023-09-05 22:56:51 +02:00
23a95d315d
Synchronized editor for multiple files
2023-09-05 22:56:51 +02:00
7df37078f4
Add etherpad to exchange user IDs
2023-09-05 22:56:51 +02:00
e3bf14efe1
Add button to start (video) chat with programming group
2023-09-05 22:56:50 +02:00
0b42bba988
Assign users into A/B groups
2023-09-05 22:56:50 +02:00
125215ea35
Show in statusbar on implement route if pair programming session
2023-09-05 19:41:52 +02:00
f36f3cdc64
Rename user to contributor in exercise statistics
...
Fixes CODEOCEAN-TN
2023-09-05 18:44:20 +02:00
4b3f5d152b
Set study group for current user during LTI launch
2023-09-05 16:00:03 +02:00
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
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
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
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
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
05a5a52c8e
Require user for InternalUsersController
...
Fixes CODEOCEAN-TG
2023-09-01 22:18:03 +02:00
ac92385dd7
Rename remaining occurrences of webpacker to shakapacker
2023-09-01 19:39:51 +02:00
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
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
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
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
7aeca0078f
Reduce N+1 queries for ExercisesController#feedback
...
Fixes CODEOCEAN-TF
2023-08-30 18:46:09 +02:00
094aba096c
Fix feedback page by accessing the contributor
...
Fixes CODEOCEAN-TE
2023-08-30 18:16:47 +02:00
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
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
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
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
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
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