Commit Graph

6090 Commits

Author SHA1 Message Date
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
e551c8a699 Reorder translations and add missing prefixes
- files should be prefixed with code_ocean/
- the markdown editor is part of the application (helper)
2024-05-21 19:42:26 +02:00
1589c9472b Fix missing and unused i18n translations 2024-05-21 19:42:26 +02:00
f6041af4c3 Add i18n-tasks with adapted config from CodeHarbor 2024-05-21 19:42:26 +02:00
09fe592714 Migrate shakapacker from 7.2.3 to 8.0.0
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 7.2.3 to 8.0.0.
- [Changelog](https://github.com/shakacode/shakapacker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/compare/v7.2.3...v8.0.0)

---
updated-dependencies:
- dependency-name: shakapacker
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 14:06:06 +02:00
db65562b57 Bump lcollins/checkstyle-github-action from 2.0.0 to 3.0.0
Bumps [lcollins/checkstyle-github-action](https://github.com/lcollins/checkstyle-github-action) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/lcollins/checkstyle-github-action/releases)
- [Commits](https://github.com/lcollins/checkstyle-github-action/compare/v2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: lcollins/checkstyle-github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 13:59:06 +02:00
4fd812c296 Bump css-minimizer-webpack-plugin from 6.0.0 to 7.0.0
Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 13:34:27 +02:00
ef732ec031 Fix permission issue for slim-lint CI on forks
Forked repos may not have any write permissions, and thus may not write
status checks for PRs. Therefore, we disable uploading slim-lint results
to GitHub checks for forks. The pass/fail information is still displayed.
2024-05-21 11:57:27 +02:00
029efd7904 Fix JavaScript error for ExternalUserStatistics
Previously, an exercise without visible files was used. While this worked for the test, it was semantically problematic, since the resulting submissions also lacked files.
2024-05-21 11:56:54 +02:00
c6d077ecfe Add missing parentheses to external user statistics slider
Previously, no space was present for the `- 1`, changing the semantics. After linting with 9a9efd5c, a space was added, which requires parentheses.
2024-05-21 11:56:54 +02:00
189f9e28d7 Fix margin for "Administration" menu on small screens 2024-05-21 11:52:58 +02:00
9aac842459 Bump rails from 7.1.3.2 to 7.1.3.3
Bumps [rails](https://github.com/rails/rails) from 7.1.3.2 to 7.1.3.3.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v7.1.3.2...v7.1.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-17 11:11:49 +02:00
529a4edb9e Bump selenium-webdriver from 4.20.1 to 4.21.1
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.20.1 to 4.21.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-17 03:38:02 +00:00
b6a355afcb Bump sass from 1.77.1 to 1.77.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.77.1 to 1.77.2.
- [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.1...1.77.2)

---
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-17 03:30:53 +00:00
fff2a3cf12 Bump rexml from 3.2.6 to 3.2.8 in the bundler group
Bumps the bundler group with 1 update: [rexml](https://github.com/ruby/rexml).


Updates `rexml` from 3.2.6 to 3.2.8
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 21:20:52 +00:00
0c7f63c22f Bump ace-builds from 1.33.1 to 1.33.2
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.33.1 to 1.33.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.33.1...v1.33.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-14 03:41:04 +00:00
0fea45fa86 Bump nokogiri from 1.16.4 to 1.16.5 in the bundler group
Bumps the bundler group with 1 update: [nokogiri](https://github.com/sparklemotion/nokogiri).


Updates `nokogiri` from 1.16.4 to 1.16.5
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.4...v1.16.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 23:58:41 +00:00
37595adce5 Bump sass from 1.77.0 to 1.77.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.77.0 to 1.77.1.
- [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.0...1.77.1)

---
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-13 04:13:34 +00:00
073300669a Bump the sentry-javascript group with 3 updates
Bumps the sentry-javascript group with 3 updates: [@sentry/core](https://github.com/getsentry/sentry-javascript), [@sentry/integrations](https://github.com/getsentry/sentry-javascript) and [@sentry/utils](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/core` from 7.113.0 to 7.114.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.114.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0)

Updates `@sentry/integrations` from 7.113.0 to 7.114.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.114.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0)

Updates `@sentry/utils` from 7.113.0 to 7.114.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.114.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0)

---
updated-dependencies:
- dependency-name: "@sentry/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
- dependency-name: "@sentry/integrations"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
- dependency-name: "@sentry/utils"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 06:06:26 +02:00
6e1d7ac24f Bump net-imap from 0.4.10 to 0.4.11
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.4.10...v0.4.11)

---
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-05-09 03:53:34 +00:00
b3a7784fce Bump pundit from 2.3.1 to 2.3.2
Bumps [pundit](https://github.com/varvet/pundit) from 2.3.1 to 2.3.2.
- [Changelog](https://github.com/varvet/pundit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/compare/v2.3.1...v2.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 03:53:21 +00:00
7d5883acc4 Bump sass from 1.76.0 to 1.77.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.76.0 to 1.77.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.76.0...1.77.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 03:50:49 +00:00
7fcfab24ee Bump the sentry-javascript group with 3 updates
Bumps the sentry-javascript group with 3 updates: [@sentry/core](https://github.com/getsentry/sentry-javascript), [@sentry/integrations](https://github.com/getsentry/sentry-javascript) and [@sentry/utils](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/core` from 7.112.2 to 7.113.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.113.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0)

Updates `@sentry/integrations` from 7.112.2 to 7.113.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.113.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0)

Updates `@sentry/utils` from 7.112.2 to 7.113.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.113.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0)

---
updated-dependencies:
- dependency-name: "@sentry/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
- dependency-name: "@sentry/integrations"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
- dependency-name: "@sentry/utils"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry-javascript
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 05:44:12 +02:00
1c98f786bd Bump sass from 1.75.0 to 1.76.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.75.0 to 1.76.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.75.0...1.76.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 03:22:11 +00:00
c3fb0ade58 Bump @babel/runtime from 7.24.4 to 7.24.5
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.24.4 to 7.24.5.
- [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.5/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-04-30 04:20:35 +00:00