Sebastian Serth
1013903fef
ACE Editor: Restore custom annotations
...
This is a regression introduced by the recent ACE editor update to 1.2.0 and 1.2.9. We should consider this change when working https://github.com/openHPI/codeocean/issues/250 .
2023-09-12 19:27:52 +02:00
Sebastian Serth
60656443e2
Update ACE Editor to version 1.2.9
...
The new ACE editor introduces full support for emojis (and, thereby, UTF-16 characters with high- and low-surrogates). Hence, we can remove our custom fix.
Further, this update will allow emojis to be used in pair programming sessions.
2023-09-12 18:54:04 +02:00
Sebastian Serth
13bd68d760
Fix consumer in page context of programming group
2023-09-12 18:48:59 +02:00
kiragrammel
f37ba34389
Synchronize resetCode for pair programming
2023-09-12 18:47:06 +02:00
Sebastian Serth
cc90861bd5
Generate Session ID on server for synchronized editor
...
This change allows us to use the session ID immediately for the connection_change and connection_status methods. Hence, we can identify different browser sessions of the same user.
2023-09-12 18:47:06 +02:00
kiragrammel
914adeed42
Insert text written after last autosave in pp session
2023-09-12 18:47:06 +02:00
kiragrammel
6e0dc9d7bc
Replaces compareDeltaObjects with editor.curOp
2023-09-12 18:47:06 +02:00
Sebastian Serth
735a74901f
Update ACE Editor to version 1.2.0
...
Previously, we were at an ACE editor published between 1.1.8 and 1.1.9. This caused multiple issues and was especially a problem for the upcoming pair programming feature. Further, updating ace is a long-time priority, see https://github.com/openHPI/codeocean/issues/250 .
Now, we are not yet updating to the latest version, but rather to the next minor version. This already contains breaking changes, and we are currently interested to keep the number of changes as low as possible. Further updating ACE might be still a future task.
The new ACE version 1.2.0 is taken from this tag: https://github.com/ajaxorg/ace-builds/releases/tag/v1.2.0 .
We are using the src build (not minified, not in the noconflict version), since the same was used before as well.
Further, we need to change our migration for storing editor events. Since the table is not yet used (in production), we also update the enum.
2023-09-12 16:41:33 +02:00
kiragrammel
a7fa9b5b04
Improve layout for programming groups
2023-09-11 14:43:00 +02:00
kiragrammel
5da871a0e9
Add info modal for pair programming
2023-09-11 14:43:00 +02:00
kiragrammel
883169121c
Provide current-contributor application-wide
...
* This change allows us to reuse the current user in multiple places.
2023-09-11 14:43:00 +02:00
Sebastian Serth
c29256aa81
Fix Rubocop offenses
2023-09-11 14:10:16 +02:00
Sebastian Serth
a542985edd
Bundle update
2023-09-11 14:09:20 +02:00
dependabot[bot]
580011f44e
Bump rails from 7.0.7.2 to 7.0.8
...
Bumps [rails](https://github.com/rails/rails ) from 7.0.7.2 to 7.0.8.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](https://github.com/rails/rails/compare/v7.0.7.2...v7.0.8 )
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 04:05:35 +00:00
dependabot[bot]
e26b12e6a3
Bump i18n-js from 4.3.0 to 4.3.2
...
Bumps [i18n-js](https://github.com/fnando/i18n ) from 4.3.0 to 4.3.2.
- [Changelog](https://github.com/fnando/i18n/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fnando/i18n/compare/v4.3.0...v4.3.2 )
---
updated-dependencies:
- dependency-name: i18n-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 03:22:16 +00:00
dependabot[bot]
9cf9977f8a
Bump @babel/core from 7.22.15 to 7.22.17
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.22.15 to 7.22.17.
- [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.17/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-11 03:22:05 +00:00
Sebastian Serth
5f99e7ee54
Store Session ID for Event::SynchronizedEditor
2023-09-08 11:48:53 +02:00
kiragrammel
02e50e9921
Correct connection status if user used multiple windows
2023-09-08 11:48:53 +02:00
kiragrammel
930d532fb6
Add third question in pp exercise feedback
2023-09-08 11:48:53 +02:00
Sebastian Serth
b43441f85e
Set lastDeltaObject per file
...
* This change will potentially resolve a race condition that could occur when the same change was simultaneously performed in two different files.
2023-09-08 11:48:53 +02:00
Sebastian Serth
f7c2fbebd6
Simplify comparison of delta objects
2023-09-08 11:48:53 +02:00
Sebastian Serth
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
Sebastian Serth
c42fb8fc09
Fix typo in German feedback for pair programming
2023-09-08 11:48:53 +02:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
c6461f6bdd
Only log runs not stopped by a client to Sentry
2023-09-08 00:05:50 +02:00
Sebastian Serth
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
Sebastian Serth
6d6851a27a
Check for Sentry span before appending header for WebSocket
...
Fix CODEOCEAN-FRONTEND-2X
2023-09-07 22:50:14 +02:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
3ad946537b
Log terminated_by_client
to Sentry
2023-09-06 23:49:48 +02:00
Sebastian Serth
80b457a0c9
Add Sentry exception to Runner::Error in SubmissionsController
2023-09-06 23:05:56 +02:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Sebastian Serth
8dd157e346
Only send LTI score for external users
2023-09-06 00:28:34 +02:00
Sebastian Serth
9f37034d0b
Prevent multiple unsubscribe calls for ActionCable
2023-09-06 00:00:27 +02:00
kiragrammel
4b90a2a3c5
Add exercise feedback page for pair programming study
2023-09-05 22:56:51 +02:00
kiragrammel
79422225a8
Add events for pair programming study
2023-09-05 22:56:51 +02:00
kiragrammel
d1d5b0df6f
Etherpad link for pair programming feedback
2023-09-05 22:56:51 +02:00
kiragrammel
056a8e5107
Show if partner is online
2023-09-05 22:56:51 +02:00
kiragrammel
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
kiragrammel
0e4a239960
Unsubscribe from channel when redirecting
...
fixes CODEOCEAN-FRONTEND-2S
2023-09-05 22:56:51 +02:00
kiragrammel
23a95d315d
Synchronized editor for multiple files
2023-09-05 22:56:51 +02:00
kiragrammel
7df37078f4
Add etherpad to exchange user IDs
2023-09-05 22:56:51 +02:00
kiragrammel
e3bf14efe1
Add button to start (video) chat with programming group
2023-09-05 22:56:50 +02:00
kiragrammel
0b42bba988
Assign users into A/B groups
2023-09-05 22:56:50 +02:00
kiragrammel
125215ea35
Show in statusbar on implement route if pair programming session
2023-09-05 19:41:52 +02:00