6cffac3ef1
Bump sass from 1.77.4 to 1.77.5
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.77.4 to 1.77.5.
- [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.77.4...1.77.5 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-12 04:02:16 +00:00
6e20b1a2f5
Bump terser from 1.2.2 to 1.2.3
...
Bumps [terser](https://github.com/ahorek/terser-ruby ) from 1.2.2 to 1.2.3.
- [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.2.2...1.2.3 )
---
updated-dependencies:
- dependency-name: terser
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-12 03:17:06 +00:00
f73712d778
Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group
...
Bumps the npm_and_yarn group with 1 update: [braces](https://github.com/micromatch/braces ).
Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-11 09:07:31 +00:00
e8c4d3da21
Bump uuid from 9.0.1 to 10.0.0
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 9.0.1 to 10.0.0.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v10.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-11 10:53:25 +02:00
c06072d302
Bump sprockets-rails from 3.5.0 to 3.5.1
...
Bumps [sprockets-rails](https://github.com/rails/sprockets-rails ) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/rails/sprockets-rails/releases )
- [Commits](https://github.com/rails/sprockets-rails/compare/v3.5.0...v3.5.1 )
---
updated-dependencies:
- dependency-name: sprockets-rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 04:07:40 +00:00
8ec145ca63
Bump @sentry/browser from 8.7.0 to 8.8.0
...
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript ) from 8.7.0 to 8.8.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/8.7.0...8.8.0 )
---
updated-dependencies:
- dependency-name: "@sentry/browser"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 03:34:50 +00:00
4a054dbd5f
Bump sprockets-rails from 3.4.2 to 3.5.0
...
Bumps [sprockets-rails](https://github.com/rails/sprockets-rails ) from 3.4.2 to 3.5.0.
- [Release notes](https://github.com/rails/sprockets-rails/releases )
- [Commits](https://github.com/rails/sprockets-rails/compare/v3.4.2...v3.5.0 )
---
updated-dependencies:
- dependency-name: sprockets-rails
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-07 04:05:09 +00:00
a55b630aa4
Bump @babel/preset-env from 7.24.6 to 7.24.7
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.24.6 to 7.24.7.
- [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.24.7/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 >
2024-06-06 04:20:15 +00:00
b860a8ca2d
Bump @babel/runtime from 7.24.6 to 7.24.7
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.24.6 to 7.24.7.
- [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.24.7/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 >
2024-06-06 04:07:06 +00:00
d83cc9b835
Bump @babel/core from 7.24.6 to 7.24.7
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.24.6 to 7.24.7.
- [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.24.7/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 >
2024-06-06 04:06:53 +00:00
3ff325f827
Bump faraday from 2.9.0 to 2.9.1
...
Bumps [faraday](https://github.com/lostisland/faraday ) from 2.9.0 to 2.9.1.
- [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.9.0...v2.9.1 )
---
updated-dependencies:
- dependency-name: faraday
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-06 03:59:26 +00:00
22f770f5cc
Bump @babel/plugin-transform-runtime from 7.24.6 to 7.24.7
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.24.6 to 7.24.7.
- [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.24.7/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 >
2024-06-06 03:54:02 +00:00
2e45c04dd9
Bump rails from 7.1.3.3 to 7.1.3.4
...
Bumps [rails](https://github.com/rails/rails ) from 7.1.3.3 to 7.1.3.4.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](https://github.com/rails/rails/compare/v7.1.3.3...v7.1.3.4 )
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-05 11:53:52 +02:00
ba21071265
Bump net-imap from 0.4.11 to 0.4.12
...
Bumps [net-imap](https://github.com/ruby/net-imap ) from 0.4.11 to 0.4.12.
- [Release notes](https://github.com/ruby/net-imap/releases )
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.11...v0.4.12 )
---
updated-dependencies:
- dependency-name: net-imap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-03 03:29:21 +00:00
f229f24c84
Bump sass from 1.77.3 to 1.77.4
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.77.3 to 1.77.4.
- [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.77.3...1.77.4 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-31 03:30:16 +00:00
5b101c1b6a
Bump json_schemer from 2.2.1 to 2.3.0
...
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer ) from 2.2.1 to 2.3.0.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v2.2.1...v2.3.0 )
---
updated-dependencies:
- dependency-name: json_schemer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-31 03:28:15 +00:00
68f3eea9bf
Bump @sentry/browser from 8.5.0 to 8.7.0
...
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript ) from 8.5.0 to 8.7.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/8.5.0...8.7.0 )
---
updated-dependencies:
- dependency-name: "@sentry/browser"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-30 07:04:37 +00:00
27e4f7a6f6
Bump sass from 1.77.2 to 1.77.3
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.77.2 to 1.77.3.
- [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.77.2...1.77.3 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-30 03:31:20 +00:00
a99d86068a
Refactor newSentryTransaction
to use improved API
...
This change is based on a suggestion by Sentry staff. It requires SDK version > 8.4.0
https://github.com/getsentry/sentry-javascript/issues/12116#issuecomment-2132812315
https://github.com/getsentry/sentry-javascript/pull/12138
2024-05-28 15:08:47 +02:00
016971f4c2
Bump @sentry/browser to 8.5.0
2024-05-28 15:08:47 +02:00
03ef0b52ae
Bump ace-builds from 1.34.1 to 1.34.2
...
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds ) from 1.34.1 to 1.34.2.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases )
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.34.1...v1.34.2 )
---
updated-dependencies:
- dependency-name: ace-builds
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 03:57:27 +00:00
e20ee45464
Prevent duplicate error handling for WebSocket events
2024-05-27 09:43:41 +02:00
c5b774f752
Convert errors captured with Sentry to JSON
2024-05-26 10:28:26 +02:00
0b1cb3affa
Fix removal of event listeners for runSocket
...
The code previously used was only working with the patched Sentry method, not when Sentry was inactive. Since a Websocket is inheriting from EventTarget, the method signature usually requires two arguments.
See https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener
2024-05-26 10:28:16 +02:00
c5518bb592
Bump @babel/runtime from 7.24.5 to 7.24.6
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.24.5 to 7.24.6.
- [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.24.6/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 >
2024-05-24 13:46:57 +00:00
8beb741f92
Bump @babel/plugin-transform-runtime from 7.24.3 to 7.24.6
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.24.3 to 7.24.6.
- [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.24.6/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 >
2024-05-24 13:33:36 +00:00
d0fcb6d695
Explicitly state permissions for CommunitySolutionPolicy
2024-05-24 15:21:11 +02:00
2ab4877bd5
Bump @babel/preset-env from 7.24.5 to 7.24.6
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.24.5 to 7.24.6.
- [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.24.6/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 >
2024-05-24 13:19:47 +00:00
7e20a14809
Bump ace-builds from 1.34.0 to 1.34.1
...
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds ) from 1.34.0 to 1.34.1.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases )
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.34.0...v1.34.1 )
---
updated-dependencies:
- dependency-name: ace-builds
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-24 13:06:39 +00:00
6d66577b05
Bump @babel/core from 7.24.5 to 7.24.6
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.24.5 to 7.24.6.
- [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.24.6/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 >
2024-05-24 13:06:12 +00:00
2edb430216
Bump webmock from 3.23.0 to 3.23.1
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.23.0 to 3.23.1.
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.23.0...v3.23.1 )
---
updated-dependencies:
- dependency-name: webmock
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-24 13:06:06 +00:00
94404370c4
Upgrade Sentry to v8 and remove custom Dependabot grouping
...
As part of the upgrade process, we need to rework the tracing instrumentation. Now, we are just wrapping all async functions in a new sentry transaction, which will automatically end once the function returns.
Further, the structure of the Sentry packages got reworked, so that we only need a single package by now. This removes the need to group dependabot updates.
Co-authored-by: Jan Graichen <jgraichen@altimos.de >
2024-05-24 14:52:14 +02:00
86c67f3c9a
Refactor code execution to use async functions
...
This refactoring is required for Sentry tracing. It ensures that the respective functions only return as soon as a code execution finished. With this approach, we can then instrument the duration of the functions, so that Sentry spans are created as desired.
Co-authored-by: Jan Graichen <jgraichen@altimos.de >
2024-05-24 14:52:14 +02:00
c8609e5392
Remove leftovers from CommunitySubmission code
...
This code was unintentionally copied over and was never useful (since we won't execute code when submitting a community solution).
Co-authored-by: Jan Graichen <jgraichen@altimos.de >
2024-05-24 14:52:14 +02:00
1feb93c17c
Bump ace-builds from 1.33.3 to 1.34.0
...
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds ) from 1.33.3 to 1.34.0.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases )
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.33.3...v1.34.0 )
---
updated-dependencies:
- dependency-name: ace-builds
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-23 03:46:50 +00:00
618ec251f4
Bump css-loader from 7.1.1 to 7.1.2
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v7.1.1...v7.1.2 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-23 03:46:22 +00:00
376ce26405
---
...
updated-dependencies:
- dependency-name: ace-builds
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-22 04:03:22 +00:00
61513cc5bc
Revert "Fix race condition on JavaScript initializer"
...
This reverts commit 88c6be88
, since it is no longer needed after fixing the root cause in a076da41.
2024-05-21 21:56:31 +02:00
619291c647
Specify the order of JavaScript assets loaded.
...
Previously, we could face (a rare) race condition with the wrong order. This was caused by Turbolinks and our usage of "components" (e.g., the CodeOceanEditor).
It could happen that Turbolinks fired the `turbolinks:load` event, as all XHR requests finished. In the event handler, we sometimes referred to other components. However, those components weren't initialized yet, potentially. This is due to Sprockets concatenating files in alphabetical order, ignoring our component dependencies.
With this commit, we try to specify the required order and thus aim to implement a permanent fix.
Fixes CODEOCEAN-FRONTEND-7W
Fixes CODEOCEAN-FRONTEND-7D
2024-05-21 21:56:31 +02:00
65416934ea
Explicitly specify depend_on relationship between assets and config
2024-05-21 21:56:31 +02:00
336519b21d
Refactor CodeOcean::Config class
...
The new architecture memorizes settings (which we mostly did after reading the config so far) and also exposes the resulting file path as well as further settings.
This change is a prerequisite to define a dependency with Sprockets.
2024-05-21 21:56:31 +02:00
dcaedfa9fe
Remove url_helpers from editor.js.erb
...
- Rather than using a Rails helper, we rely on JsRoutes to provide the route.
- There is no need to remove the events_path if sending events is disabled, so we drop that.
2024-05-21 21:56:31 +02:00
8c506cd47c
Add AuthenticationToken to UserMailer.exercise_anomaly_detected
2024-05-21 20:10:00 +02:00
0a379721a1
Add AuthenticationToken to UserMailer.exercise_anomaly_needs_feedback
2024-05-21 20:10:00 +02:00
e1d87b51e9
Fix AnomalyDetection broken after recent changes
2024-05-21 20:10:00 +02:00
90bcdcfb7e
Fix missing comma in German locale
2024-05-21 19:56:58 +02:00
d68b91daa0
Fix double spaces in locales
2024-05-21 19:56:58 +02:00
707f249ef0
Fix formal language in German
2024-05-21 19:56:58 +02:00
ed69da10da
Prefer gender-neutral language for German
2024-05-21 19:56:58 +02:00
f8330b39fb
Replace manual activerecord translations with helpers
2024-05-21 19:42:26 +02:00