Commit Graph

4963 Commits

Author SHA1 Message Date
a5d42f24f2 Bundle update 2023-02-27 11:09:13 +01:00
c9809b63f3 Merge pull request #1552 from openHPI/dependabot/bundler/terser-1.1.14 2023-02-27 04:08:09 +00:00
6bb5f46d80 Merge pull request #1554 from openHPI/dependabot/bundler/pg-1.4.6 2023-02-27 04:06:57 +00:00
348c7fc47a Bump pg from 1.4.5 to 1.4.6
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.5...v1.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 03:58:21 +00:00
4eb7437d9a Bump terser from 1.1.13 to 1.1.14
Bumps [terser](https://github.com/ahorek/terser-ruby) from 1.1.13 to 1.1.14.
- [Release notes](https://github.com/ahorek/terser-ruby/releases)
- [Changelog](https://github.com/ahorek/terser-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ahorek/terser-ruby/compare/1.1.13...1.1.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 03:56:59 +00:00
56414d8ad4 Update example of our render_host URL 2023-02-24 19:55:23 +01:00
5c98ec74f0 Add legal links to Help modal 2023-02-24 19:55:23 +01:00
f232ff634b Fix help modal not opening
The changed data attribute is required since updating to Bootstrap v5
2023-02-24 19:55:23 +01:00
9164c2286b Bundle update 2023-02-24 19:55:23 +01:00
efb23a96cf Bump rubocop from 1.45.1 to 1.46.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.45.1 to 1.46.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.45.1...v1.46.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-02-23 09:03:11 +01:00
d6c95dd383 Default to first page for RfC pages 2023-02-22 00:05:33 +01:00
3ccbee9318 Bundle update 2023-02-21 23:48:12 +01:00
2e825f2413 Fix pagination for RfCs 2023-02-21 23:44:34 +01:00
7fe0fc02e2 Set Sentry context for RailsAdmin 2023-02-21 11:35:29 +01:00
d57a4410dd Bundle update 2023-02-21 10:45:11 +01:00
af843231d9 Add user details to RemoteEvaluationsController 2023-02-21 10:45:00 +01:00
ddf041ac05 Check RfC visibility before redirecting users 2023-02-21 10:01:01 +01:00
d0e4fcfa20 Bump @babel/core from 7.20.12 to 7.21.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.12 to 7.21.0.
- [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.21.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 09:04:31 +01:00
8db75a52cd Bump @babel/plugin-transform-runtime from 7.19.6 to 7.21.0
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.19.6 to 7.21.0.
- [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.21.0/packages/babel-plugin-transform-runtime)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 08:54:49 +01:00
a723d46da4 Bump @babel/runtime from 7.20.13 to 7.21.0
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.20.13 to 7.21.0.
- [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.21.0/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 08:54:36 +01:00
d03f2c7bf4 Slightly improve Statistics Controller performance 2023-02-21 01:27:32 +01:00
d0b713ddcd Dramatically improve RfC query
While the code gets more complex, the new query will first filter all relevant RfCs and only use the `with_last_activity` scope for the current page.

Using `distinct` in the policy is not required (no duplicated RfCs), but causes issues for the ordering otherwise. Therefore, it is removed.

Fixes CODEOCEAN-J2
2023-02-21 01:27:32 +01:00
896f1dcbee Minimize test setup for RfC feature specs 2023-02-20 23:47:06 +01:00
34c387c6a1 Remove outdated methods from RequestForCommentPolicy 2023-02-20 23:47:06 +01:00
d0717fb178 Reduce SQL queries for RfC index actions
By using includes and carefully selecting objects through references, all required objects are only queried once.
2023-02-20 23:47:06 +01:00
76f592c88d Consider RfC visibility to view / change RfCs 2023-02-20 23:47:06 +01:00
9c3392b324 Add consumer-based RfC Visibility settings
This setting will be useful to increase data protection, where users might not be allowed to see RfCs from other contexts.
2023-02-20 23:47:06 +01:00
abede713f9 Bundle update 2023-02-20 09:42:10 +01:00
3a0b854311 Reintroduce binding_of_caller for Web Console 2023-02-20 09:40:17 +01:00
3b6848d89e Merge pull request #1547 from openHPI/dependabot/npm_and_yarn/jstree-3.3.15 2023-02-20 04:07:22 +00:00
de69e6413d Bump jstree from 3.3.14 to 3.3.15
Bumps [jstree](https://github.com/vakata/jstree) from 3.3.14 to 3.3.15.
- [Release notes](https://github.com/vakata/jstree/releases)
- [Commits](https://github.com/vakata/jstree/compare/3.3.14...3.3.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 03:57:10 +00:00
12fdbfbda9 Remove unused NODE_OPTIONS from CI 2023-02-18 21:11:12 +01:00
9ae6a1a79d Disable focus filter for rspec 2023-02-18 21:10:47 +01:00
04a69691e0 Disable debug output during testing 2023-02-18 20:48:55 +01:00
8a47310177 Fix selenium deprecations 2023-02-18 20:31:12 +01:00
5d7f19db94 Speed up CI by dropping requirement on Docker 2023-02-18 20:12:54 +01:00
5d7772825c Simplify Gemfile by removing unused Gems 2023-02-18 20:12:54 +01:00
1623951074 Bundle update 2023-02-18 19:49:36 +01:00
40c7a50834 Directly use ActiveRecord object instead of ID
This change will improve the performance by reducing unnecessary SELECT queries.
2023-02-18 19:28:26 +01:00
6465404ebe Set sentry context after logging in 2023-02-18 19:27:46 +01:00
9c3ec3c7ff Refactor submission scoring and testing
* Properly cancel code execution if running is prohibited
* Correctly monitor duration with Sentry
* Align methods with running submissions
2023-02-17 18:13:48 +01:00
a1ec4579fe Properly cancel code execution if running is prohibited 2023-02-17 18:13:48 +01:00
e632f95060 Prevent storing empty results
Fixes CODEOCEAN-HS
2023-02-17 18:13:48 +01:00
46bd9142c7 Merge pull request #1546 from openHPI/dependabot/npm_and_yarn/sass-1.58.2 2023-02-17 04:06:04 +00:00
00220eb042 Bump sass from 1.58.1 to 1.58.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.58.1 to 1.58.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.58.1...1.58.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 03:57:17 +00:00
6957452ffc Specify nodes_modules directory for webpack
Also align ./bin/webpacker-dev-server and ./bin/webpacker
2023-02-16 14:23:29 +01:00
a9382a915b Update Ruby version to 3.2.1 2023-02-16 11:56:06 +01:00
326b5fce51 Allow assigning tips during exercise create
Fixes CODEOCEAN-H6
2023-02-16 11:23:52 +01:00
ee63166af7 Sentry: Replace UUIDs with * in URLs 2023-02-16 10:50:01 +01:00
e9cf79085a Refactor listing files to be independent of exiting runners
Previously, we were always fetching files, even if not required (e.g., for score runs). Now, we reduce the number of file listings and use a dedicated callback.
2023-02-16 10:50:01 +01:00