Commit Graph

5233 Commits

Author SHA1 Message Date
dependabot[bot]
0feb9e57e5 Merge pull request #1579 from openHPI/dependabot/npm_and_yarn/vis-timeline-7.7.1 2023-03-22 04:06:59 +00:00
dependabot[bot]
6a670f6b02 Bump vis-timeline from 7.7.0 to 7.7.1
Bumps [vis-timeline](https://github.com/visjs/vis-timeline) from 7.7.0 to 7.7.1.
- [Release notes](https://github.com/visjs/vis-timeline/releases)
- [Changelog](https://github.com/visjs/vis-timeline/blob/master/HISTORY.md)
- [Commits](https://github.com/visjs/vis-timeline/compare/v7.7.0...v7.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-22 03:56:55 +00:00
Sebastian Serth
e8a21ea319 Further optimize extracting errors
The previous solution worked, but always queried all ErrorTemplateAttributes, even if there was no match of the ErrorTemplate. This solution resolves this issue and still benefits from less SQL queries.
2023-03-21 07:34:31 +01:00
Sebastian Serth
7af7484f7a Improve performance of the FlowrController 2023-03-20 23:52:55 +01:00
Sebastian Serth
09809cc12e Preload error template attributes in SubmissionsController
The join operation is okay, since a similar one is otherwise performed automatically by Rails
2023-03-20 23:52:34 +01:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
baa62276fe Bundle update 2023-03-20 14:03:12 +01:00
Sebastian Serth
cd0306cf00 Add Cache-Control header for Webpack-Dev-Server 2023-03-20 14:02:57 +01:00
Sebastian Serth
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
dependabot[bot]
118eaa17f4 Merge pull request #1577 from openHPI/dependabot/npm_and_yarn/sass-loader-13.2.1 2023-03-20 04:10:26 +00:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
fb65b5976d Merge pull request #1574 from openHPI/dependabot/npm_and_yarn/webpack-5.76.2 2023-03-16 04:06:48 +00:00
dependabot[bot]
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
Sebastian Serth
6d3587e813 Rescue network-related issues in transmitting LTI scores
Fixes CODEOCEAN-JS
2023-03-15 13:05:46 +01:00
dependabot[bot]
fe90a7fb65 Merge pull request #1573 from openHPI/dependabot/npm_and_yarn/sass-1.59.3 2023-03-15 04:07:17 +00:00
dependabot[bot]
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
Sebastian Serth
a7cd85507e Reduce SQL queries in the exercise controller
Fixes CODEOCEAN-JK
2023-03-14 20:58:21 +01:00
Sebastian Serth
d410c67473 Bundle update 2023-03-14 20:00:11 +01:00
Sebastian Serth
236d4d59f2 Fix typo on view for error templates 2023-03-14 19:57:20 +01:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
1c5eb09138 Safely join new parameters when switching the language
Fixes CODEOCEAN-JY
2023-03-14 16:36:29 +01:00
Sebastian Serth
5ddad9e83d Rescue network-related issues in transmitting LTI scores
Fixes CODEOCEAN-JT
2023-03-14 15:34:28 +01:00
Sebastian Serth
417ead3d3f Reduce SQL queries to find a unsolved recommended RfC
Fixes CODEOCEAN-JQ
2023-03-14 13:56:23 +01:00
Sebastian Serth
939b31967f Reduce SQL queries for score runs
Fixes CODEOCEAN-JR
2023-03-14 13:56:23 +01:00
dependabot[bot]
4a28d4c5a3 Merge pull request #1572 from openHPI/dependabot/npm_and_yarn/style-loader-3.3.2 2023-03-14 04:09:41 +00:00
dependabot[bot]
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
Sebastian Serth
3f5ef1caf2 Mock health check for Runner management 2023-03-13 23:52:59 +01:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
7f0f2a64d1 Fix rubocop offenses 2023-03-13 13:34:02 +01:00
Sebastian Serth
e57a0e61d6 Bundle update 2023-03-13 13:33:52 +01:00
dependabot[bot]
c0ed761c70 Merge pull request #1569 from openHPI/dependabot/bundler/database_cleaner-2.0.2 2023-03-13 04:07:08 +00:00
dependabot[bot]
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
dependabot[bot]
7ca1ac4655 Merge pull request #1565 from openHPI/dependabot/npm_and_yarn/jquery-3.6.4 2023-03-09 04:09:42 +00:00
dependabot[bot]
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
dependabot[bot]
2cd5bce4bd Merge pull request #1564 from openHPI/dependabot/bundler/js-routes-2.2.5 2023-03-09 04:05:49 +00:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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