Commit Graph

5658 Commits

Author SHA1 Message Date
72009667a6 Fix Poseidon JSON schema
that included a wrong usage of the `required` attribute.

See #1914 and openHPI/poseidon#456.
2023-09-19 12:52:53 +02:00
f150c793d5 Add regression spec for message validation 2023-09-19 12:52:53 +02:00
8faab2d16a Study: Only test fixed enrolled users for external users 2023-09-19 11:54:39 +02:00
7deea1ddac Fix invalid timestamps for breadcrumbs in Sentry
See https://github.com/getsentry/sentry-ruby/issues/1874
2023-09-19 11:17:17 +02:00
8c3a24d8fc Bundle update 2023-09-19 10:13:45 +02:00
e8619ae5f5 Add safeguard for sentry_span in connection.rb 2023-09-19 10:13:45 +02:00
56b6380f4d Capture invalid JSON received from runner management
Related to https://github.com/openHPI/codeocean/issues/1914
2023-09-19 10:13:45 +02:00
f6975ac750 Downgrade json_schemer to re-enable timeout messages
See https://github.com/openHPI/codeocean/issues/1914
2023-09-19 10:13:26 +02:00
fca0fddcfc Bump @babel/core from 7.22.19 to 7.22.20
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.19 to 7.22.20.
- [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.20/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-18 03:31:33 +00:00
e4753edc3d Bump @babel/preset-env from 7.22.15 to 7.22.20
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.15 to 7.22.20.
- [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.20/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-18 03:17:00 +00:00
b24cd2ce55 Bump rubocop-performance from 1.19.0 to 1.19.1
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.19.0 to 1.19.1.
- [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.19.0...v1.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 03:15:13 +00:00
e767cff309 Fix flaky tests dependent on exercise.reload for files 2023-09-16 16:57:59 +02:00
1102db9f02 Fix wrong validation of main file count
Previously, we were always issuing a database query, so that only those files already stored in the database were counted.
2023-09-16 16:19:31 +02:00
cc4f1d2ace Fix wrong test result output for Julia adapter 2023-09-16 16:09:17 +02:00
4d727982af Bump vis-util from 5.0.3 to 5.0.4
Bumps [vis-util](https://github.com/visjs/vis-util) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/visjs/vis-util/releases)
- [Changelog](https://github.com/visjs/vis-util/blob/master/.releaserc.yml)
- [Commits](https://github.com/visjs/vis-util/compare/v5.0.3...v5.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 04:05:44 +00:00
1942c8bba9 Bump @babel/core from 7.22.17 to 7.22.19
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.17 to 7.22.19.
- [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.19/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-15 04:05:33 +00:00
4f6c33cd24 Bump bootstrap from 5.3.1 to 5.3.2
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.3.1...v5.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 04:04:43 +00:00
c56b90d82c Bump rubocop-rails from 2.21.0 to 2.21.1
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.21.0 to 2.21.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.21.0...v2.21.1)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 03:23:47 +00:00
dbd99dd484 Bump sass from 1.66.1 to 1.67.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.66.1 to 1.67.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.66.1...1.67.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-09-14 08:50:06 +02:00
640cb28464 Bump @sentry/core from 7.68.0 to 7.69.0
Bumps [@sentry/core](https://github.com/getsentry/sentry-javascript) from 7.68.0 to 7.69.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.68.0...7.69.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-14 08:49:33 +02:00
fa4c869918 Bump @sentry/integrations from 7.68.0 to 7.69.0
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 7.68.0 to 7.69.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.68.0...7.69.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-14 08:34:10 +02:00
b96c53b05d Bump vis-data from 7.1.6 to 7.1.7
Bumps [vis-data](https://github.com/visjs/vis-data) from 7.1.6 to 7.1.7.
- [Release notes](https://github.com/visjs/vis-data/releases)
- [Changelog](https://github.com/visjs/vis-data/blob/master/.releaserc.yml)
- [Commits](https://github.com/visjs/vis-data/compare/v7.1.6...v7.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 04:08:21 +00:00
49e3fa6176 Add events for current_content and connection_status 2023-09-13 17:50:19 +02:00
5ae306997b Remove pair programming session text from status bar 2023-09-13 17:50:19 +02:00
02de785f61 Change text for video chat button 2023-09-13 17:50:19 +02:00
65bf7b6e98 Add user name to etherpad pp feedback 2023-09-13 17:50:19 +02:00
22bdb71ecc Fix message after subscription confirmation for Async adapter
Amends 2c46ad2c
2023-09-13 17:28:14 +02:00
07458f4e2a Fix incomplete Pair Programming Feedbacks 2023-09-13 09:59:31 +02:00
92dbf404e0 Bump faraday from 2.7.10 to 2.7.11
Bumps [faraday](https://github.com/lostisland/faraday) from 2.7.10 to 2.7.11.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v2.7.10...v2.7.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 04:06:09 +00:00
59c81c03f1 Bump uuid from 9.0.0 to 9.0.1
Bumps [uuid](https://github.com/uuidjs/uuid) from 9.0.0 to 9.0.1.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 03:27:29 +00:00
b8f8d9dc60 Fix large spacing for solo programmers on /implement 2023-09-13 04:36:16 +02:00
bea2e02fa5 Show Pair Programming modal for new Programming Groups 2023-09-13 04:33:31 +02:00
2c46ad2c25 Wait for subscription confirmation before broadcasting 2023-09-13 04:17:36 +02:00
44618f6ac4 Add fixed enrolled users to PairProgramming23Study 2023-09-13 01:28:13 +02:00
70435a5d08 Disable concurrent ActionCable workers
Otherwise, the ACE events we receive might not be forwarded in the same order. For now, I am not aware of another mechanism to ensure the correct ordering, so that I decided to use this approach for now. Might need to be improved later.
2023-09-13 01:21:59 +02:00
410d2f79d3 Show link instead of Etherpad for new programming groups in Safari 2023-09-13 01:21:59 +02:00
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
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
13bd68d760 Fix consumer in page context of programming group 2023-09-12 18:48:59 +02:00
f37ba34389 Synchronize resetCode for pair programming 2023-09-12 18:47:06 +02:00
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
914adeed42 Insert text written after last autosave in pp session 2023-09-12 18:47:06 +02:00
6e0dc9d7bc Replaces compareDeltaObjects with editor.curOp 2023-09-12 18:47:06 +02:00
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
a7fa9b5b04 Improve layout for programming groups 2023-09-11 14:43:00 +02:00
5da871a0e9 Add info modal for pair programming 2023-09-11 14:43:00 +02:00
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
c29256aa81 Fix Rubocop offenses 2023-09-11 14:10:16 +02:00
a542985edd Bundle update 2023-09-11 14:09:20 +02:00
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