Commit Graph

5089 Commits

Author SHA1 Message Date
df723e7cf6 Merge pull request #1582 from openHPI/dependabot/npm_and_yarn/vis-data-7.1.6 2023-03-23 04:07:23 +00:00
551ff882ee Merge pull request #1583 from openHPI/dependabot/npm_and_yarn/webpack-5.76.3 2023-03-23 04:07:14 +00:00
e37a017df9 Bump webpack from 5.76.2 to 5.76.3
Bumps [webpack](https://github.com/webpack/webpack) from 5.76.2 to 5.76.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3)

---
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-23 03:57:47 +00:00
c602f79716 Bump vis-data from 7.1.5 to 7.1.6
Bumps [vis-data](https://github.com/visjs/vis-data) from 7.1.5 to 7.1.6.
- [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.5...v7.1.6)

---
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-03-23 03:57:14 +00:00
2a7e7c62e1 Merge pull request #1580 from openHPI/dependabot/npm_and_yarn/vis-data-7.1.5 2023-03-22 04:18:13 +00:00
cde5dc24ed Bump vis-data from 7.1.4 to 7.1.5
Bumps [vis-data](https://github.com/visjs/vis-data) from 7.1.4 to 7.1.5.
- [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.4...v7.1.5)

---
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-03-22 04:08:38 +00:00
0feb9e57e5 Merge pull request #1579 from openHPI/dependabot/npm_and_yarn/vis-timeline-7.7.1 2023-03-22 04:06:59 +00:00
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
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
7af7484f7a Improve performance of the FlowrController 2023-03-20 23:52:55 +01:00
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
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