Commit Graph

5028 Commits

Author SHA1 Message Date
e3e6fc3af1 Add foreign keys and an index to StructuredError(Attributes)
These changes will ensure a better data consistency and faster access. We further ensure that records should be deleted properly.
2023-03-20 23:50:12 +01:00
5a36e57b9f Reuse ActiveRecord object after creating StructuredErrorAttributes
With these changes, the newly created StructuredError will have all StructuredErrorAttributes preloaded, thus speeding up further access to this association.
2023-03-20 23:43:53 +01:00
baa62276fe Bundle update 2023-03-20 14:03:12 +01:00
cd0306cf00 Add Cache-Control header for Webpack-Dev-Server 2023-03-20 14:02:57 +01:00
bdcef4d183 Stop Code before redirecting after submit
Usually, this should not be needed, but users can first submit code and simultaneously request comments.

Fixes CODEOCEAN-KM
2023-03-20 14:02:20 +01:00
118eaa17f4 Merge pull request #1577 from openHPI/dependabot/npm_and_yarn/sass-loader-13.2.1 2023-03-20 04:10:26 +00:00
e91bc3ba23 Merge pull request #1578 from openHPI/dependabot/npm_and_yarn/webpack-dev-server-4.13.1 2023-03-20 04:10:17 +00:00
8245de5ba1 Bump webpack-dev-server from 4.12.0 to 4.13.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.12.0 to 4.13.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.12.0...v4.13.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 03:57:19 +00:00
1e7598790c Bump sass-loader from 13.2.0 to 13.2.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v13.2.0...v13.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 03:57:08 +00:00
d4e9fca568 Merge pull request #1576 from openHPI/dependabot/npm_and_yarn/mini-css-extract-plugin-2.7.5 2023-03-17 04:08:40 +00:00
779035d780 Bump mini-css-extract-plugin from 2.7.3 to 2.7.5
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.3 to 2.7.5.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.7.3...v2.7.5)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 03:57:07 +00:00
6a8ea4640f Bump rails-erb-loader from cdf2d5e to 1698444
Bumps [rails-erb-loader](https://github.com/usabilityhub/rails-erb-loader) from `cdf2d5e` to `1698444`.
- [Release notes](https://github.com/usabilityhub/rails-erb-loader/releases)
- [Commits](cdf2d5e9b8...1698444e97)

---
updated-dependencies:
- dependency-name: rails-erb-loader
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 13:44:28 +01:00
fb65b5976d Merge pull request #1574 from openHPI/dependabot/npm_and_yarn/webpack-5.76.2 2023-03-16 04:06:48 +00:00
11db2e8067 Bump webpack from 5.76.1 to 5.76.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.76.1 to 5.76.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 03:57:03 +00:00
6d3587e813 Rescue network-related issues in transmitting LTI scores
Fixes CODEOCEAN-JS
2023-03-15 13:05:46 +01:00
fe90a7fb65 Merge pull request #1573 from openHPI/dependabot/npm_and_yarn/sass-1.59.3 2023-03-15 04:07:17 +00:00
368841a39f Bump sass from 1.59.2 to 1.59.3
Bumps [sass](https://github.com/sass/dart-sass) from 1.59.2 to 1.59.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.59.2...1.59.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 03:57:21 +00:00
a7cd85507e Reduce SQL queries in the exercise controller
Fixes CODEOCEAN-JK
2023-03-14 20:58:21 +01:00
d410c67473 Bundle update 2023-03-14 20:00:11 +01:00
236d4d59f2 Fix typo on view for error templates 2023-03-14 19:57:20 +01:00
bb9e0d4825 Fix undefined error for Turtle update
Even though the error occurs not very frequent, we want to resolve it. Sentry identified that the former error still occurs and we try once more to fix it.

Fixes CODEOCEAN-JH
2023-03-14 19:31:51 +01:00
d015e1536c Refactor tooltip for run button
Even though not reproducible locally, we had some errors captured through Sentry where the Tooltip was opened on the (already hidden) run button. This resulted in an error by the Bootstrap library. Most likely, the issue was caused by some race condition.

Fixes CODEOCEAN-BA
2023-03-14 19:19:06 +01:00
a99da79550 Disable sorttable on tables without rows
Otherwise, the first element of the table body is being fetched which might result in an error for empty tables.

Fixes CODEOCEAN-JZ
2023-03-14 18:27:38 +01:00
1c5eb09138 Safely join new parameters when switching the language
Fixes CODEOCEAN-JY
2023-03-14 16:36:29 +01:00
5ddad9e83d Rescue network-related issues in transmitting LTI scores
Fixes CODEOCEAN-JT
2023-03-14 15:34:28 +01:00
417ead3d3f Reduce SQL queries to find a unsolved recommended RfC
Fixes CODEOCEAN-JQ
2023-03-14 13:56:23 +01:00
939b31967f Reduce SQL queries for score runs
Fixes CODEOCEAN-JR
2023-03-14 13:56:23 +01:00
4a28d4c5a3 Merge pull request #1572 from openHPI/dependabot/npm_and_yarn/style-loader-3.3.2 2023-03-14 04:09:41 +00:00
aaf622e0ad Bump style-loader from 3.3.1 to 3.3.2
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v3.3.1...v3.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 03:57:24 +00:00
3f5ef1caf2 Mock health check for Runner management 2023-03-13 23:52:59 +01:00
0dd931fba1 Add runner management health check for /ping
Even though we can check the health of the runner management, we would like to ensure an external health check validates the availability of all required services.
2023-03-13 22:54:14 +01:00
0643bc8c0c Redirect health check monitoring to /ping
We previously optimized the SQL queries, so that anonymous users without any cookie sent no longer result in a database query. This is generally awesome, but it also allows our health check monitoring to pass even when no database connection can be established.
2023-03-13 22:11:53 +01:00
7f0f2a64d1 Fix rubocop offenses 2023-03-13 13:34:02 +01:00
e57a0e61d6 Bundle update 2023-03-13 13:33:52 +01:00
c0ed761c70 Merge pull request #1569 from openHPI/dependabot/bundler/database_cleaner-2.0.2 2023-03-13 04:07:08 +00:00
0c7950622d Bump database_cleaner from 2.0.1 to 2.0.2
Bumps [database_cleaner](https://github.com/DatabaseCleaner/database_cleaner) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/DatabaseCleaner/database_cleaner/releases)
- [Changelog](https://github.com/DatabaseCleaner/database_cleaner/blob/main/History.rdoc)
- [Commits](https://github.com/DatabaseCleaner/database_cleaner/compare/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 03:57:06 +00:00
7ca1ac4655 Merge pull request #1565 from openHPI/dependabot/npm_and_yarn/jquery-3.6.4 2023-03-09 04:09:42 +00:00
6282ea5a0c Merge pull request #1567 from openHPI/dependabot/npm_and_yarn/terser-webpack-plugin-5.3.7 2023-03-09 04:07:32 +00:00
2cd5bce4bd Merge pull request #1564 from openHPI/dependabot/bundler/js-routes-2.2.5 2023-03-09 04:05:49 +00:00
f76e0f64b6 Bump terser-webpack-plugin from 5.3.6 to 5.3.7
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.3.6 to 5.3.7.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.3.6...v5.3.7)

---
updated-dependencies:
- dependency-name: terser-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 03:57:25 +00:00
8353910e5f Bump jquery from 3.6.3 to 3.6.4
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.3...3.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 03:57:04 +00:00
d69e8e695f Bump js-routes from 2.2.4 to 2.2.5
Bumps [js-routes](https://github.com/railsware/js-routes) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/railsware/js-routes/releases)
- [Changelog](https://github.com/railsware/js-routes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/railsware/js-routes/compare/v2.2.4...v2.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 03:56:56 +00:00
b24d0846e3 Merge pull request #1561 from openHPI/dependabot/npm_and_yarn/mini-css-extract-plugin-2.7.3 2023-03-08 04:07:00 +00:00
2112b9944b Bump mini-css-extract-plugin from 2.7.2 to 2.7.3
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.7.2...v2.7.3)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 03:57:25 +00:00
8c9478776b Bump rubocop from 1.47.0 to 1.48.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.47.0 to 1.48.0.
- [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.47.0...v1.48.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 17:26:30 +01:00
a12d8f46c4 Bump rails-erb-loader from e95d10e to cdf2d5e
Bumps [rails-erb-loader](https://github.com/usabilityhub/rails-erb-loader) from `e95d10e` to `cdf2d5e`.
- [Release notes](https://github.com/usabilityhub/rails-erb-loader/releases)
- [Commits](e95d10e6d6...cdf2d5e9b8)

---
updated-dependencies:
- dependency-name: rails-erb-loader
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 17:26:18 +01:00
585c78bb18 Merge pull request #1558 from openHPI/dependabot/npm_and_yarn/i18n-js-4.2.3 2023-03-06 04:10:34 +00:00
59d5683978 Bump i18n-js from 4.2.2 to 4.2.3
Bumps [i18n-js](https://github.com/fnando/i18n) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/fnando/i18n/releases)
- [Changelog](https://github.com/fnando/i18n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fnando/i18n/compare/v4.2.2...v4.2.3)

---
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-03-06 03:56:57 +00:00
025fa355d2 Improve loop for Turtle#update 2023-03-03 14:09:46 +01:00
9508369b98 Bundle update 2023-03-03 13:23:52 +01:00