a97b56f36f
Allow removing all event handles in JavaScript
...
This is useful to remove any handlers, e.g., when submitting an exercise. Hopefully, we will see less Javascript errors due to cumbersome behavior with these changes...
Also, I am cleaning up unused event handlers. The `showOutput` method doesn't seem to be used, we should observe this in the future.
Closes CODEOCEAN-KQ
2023-04-02 18:15:24 +02:00
72ca8c57de
Reduce SQL queries for querying tips.
...
Closes CODEOCEAN-KY
2023-04-02 17:11:53 +02:00
0aa73d30e9
Reduce SQL queries for querying files when creating submissions
...
This is especially useful for the RemoteEvaluationsController.
Closes CODEOCEAN-KX
2023-04-02 17:05:22 +02:00
fb2a87144d
Use Codecov token and proceed when tests fail
2023-04-01 13:25:23 +02:00
d1edacca43
Add Codecov badge to Readme
...
We still have the new badge along with CodeClimate and will remove the duplication later on.
2023-03-31 16:49:18 +02:00
a4e9342fd2
Add Codecov to GitHub actions
2023-03-31 16:22:08 +02:00
289f98496f
Update Ruby and Bundler version
2023-03-30 22:42:15 +02:00
9f6661aa2e
Bump css-minimizer-webpack-plugin from 4.2.2 to 5.0.0
...
Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin ) from 4.2.2 to 5.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/v4.2.2...v5.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 >
2023-03-30 21:06:24 +02:00
3e38ed780c
Bundle update
2023-03-30 18:47:58 +02:00
885e93dc9b
Bump puma from 6.1.1 to 6.2.0
...
Bumps [puma](https://github.com/puma/puma ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v6.1.1...v6.2.0 )
---
updated-dependencies:
- dependency-name: puma
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-30 08:34:15 +02:00
e22d3cf590
Bump webpack from 5.76.3 to 5.77.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.76.3 to 5.77.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-30 08:33:55 +02:00
3b533425cd
Merge pull request #1595 from openHPI/dependabot/bundler/net-http-persistent-4.0.2
2023-03-30 04:07:58 +00:00
7196bf0154
Merge pull request #1597 from openHPI/dependabot/bundler/selenium-webdriver-4.8.6
2023-03-30 04:07:00 +00:00
55bd6eb5ee
Merge pull request #1593 from openHPI/dependabot/bundler/i18n-js-4.2.3
2023-03-30 04:06:35 +00:00
a0277d4a0f
Bump selenium-webdriver from 4.8.5 to 4.8.6
...
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium ) from 4.8.5 to 4.8.6.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-30 03:58:08 +00:00
a22940c163
Bump net-http-persistent from 4.0.1 to 4.0.2
...
Bumps [net-http-persistent](https://github.com/drbrain/net-http-persistent ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/drbrain/net-http-persistent/releases )
- [Changelog](https://github.com/drbrain/net-http-persistent/blob/master/History.txt )
- [Commits](https://github.com/drbrain/net-http-persistent/compare/v4.0.1...v4.0.2 )
---
updated-dependencies:
- dependency-name: net-http-persistent
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-30 03:57:19 +00:00
e1259c8d0e
Bump i18n-js from 4.2.2 to 4.2.3
...
Bumps [i18n-js](https://github.com/fnando/i18n-js ) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/fnando/i18n-js/releases )
- [Changelog](https://github.com/fnando/i18n-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fnando/i18n-js/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-30 03:56:52 +00:00
a37ac53deb
Bump sass from 1.59.3 to 1.60.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.59.3 to 1.60.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.59.3...1.60.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-29 08:27:43 +02:00
a79dc42a44
Bump @fortawesome/fontawesome-free from 6.3.0 to 6.4.0
...
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.3.0...6.4.0 )
---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-29 08:27:16 +02:00
cb4e9bcc84
Merge pull request #1592 from openHPI/dependabot/bundler/selenium-webdriver-4.8.5
2023-03-29 04:05:11 +00:00
481299981b
Bump selenium-webdriver from 4.8.3 to 4.8.5
...
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium ) from 4.8.3 to 4.8.5.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-29 03:56:48 +00:00
ad6462e77e
Merge pull request #1589 from openHPI/dependabot/npm_and_yarn/sass-loader-13.2.2
2023-03-28 04:09:10 +00:00
975935639f
Bump sass-loader from 13.2.1 to 13.2.2
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 13.2.1 to 13.2.2.
- [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.1...v13.2.2 )
---
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-28 03:57:04 +00:00
16133f473b
Merge pull request #1588 from openHPI/dependabot/npm_and_yarn/d3-7.8.3
2023-03-27 04:20:08 +00:00
4f4f8c28cc
Bump d3 from 7.8.2 to 7.8.3
...
Bumps [d3](https://github.com/d3/d3 ) from 7.8.2 to 7.8.3.
- [Release notes](https://github.com/d3/d3/releases )
- [Changelog](https://github.com/d3/d3/blob/main/CHANGES.md )
- [Commits](https://github.com/d3/d3/compare/v7.8.2...v7.8.3 )
---
updated-dependencies:
- dependency-name: d3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 04:10:09 +00:00
b32b0b5b99
Merge pull request #1586 from openHPI/dependabot/npm_and_yarn/popperjs/core-2.11.7
2023-03-27 04:07:05 +00:00
c72168e14c
Merge pull request #1587 from openHPI/dependabot/bundler/selenium-webdriver-4.8.3
2023-03-27 04:05:46 +00:00
16471aa503
Bump selenium-webdriver from 4.8.1 to 4.8.3
...
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium ) from 4.8.1 to 4.8.3.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 03:57:12 +00:00
202c2f0b1c
Bump @popperjs/core from 2.11.6 to 2.11.7
...
Bumps [@popperjs/core](https://github.com/popperjs/popper-core ) from 2.11.6 to 2.11.7.
- [Release notes](https://github.com/popperjs/popper-core/releases )
- [Commits](https://github.com/popperjs/popper-core/compare/v2.11.6...v2.11.7 )
---
updated-dependencies:
- dependency-name: "@popperjs/core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 03:57:05 +00:00
3f53c0736f
Merge pull request #1584 from openHPI/dependabot/bundler/rails_admin-3.1.2
2023-03-24 04:06:09 +00:00
a703b4d925
Bump rails_admin from 3.1.1 to 3.1.2
...
Bumps [rails_admin](https://github.com/sferik/rails_admin ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/sferik/rails_admin/releases )
- [Changelog](https://github.com/railsadminteam/rails_admin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sferik/rails_admin/compare/v3.1.1...v3.1.2 )
---
updated-dependencies:
- dependency-name: rails_admin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-24 03:56:53 +00:00
85523ad524
Merge pull request #1581 from openHPI/dependabot/npm_and_yarn/vis-timeline-7.7.2
2023-03-23 04:20:19 +00:00
d66b9cef4b
Bump vis-timeline from 7.7.1 to 7.7.2
...
Bumps [vis-timeline](https://github.com/visjs/vis-timeline ) from 7.7.1 to 7.7.2.
- [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.1...v7.7.2 )
---
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-23 04:10:14 +00:00
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