Commit Graph

4941 Commits

Author SHA1 Message Date
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
e96eda69d7 Bulk insert LinterCheckRuns
Similar to TestrunMessages, we insert all linter check runs through a bulk operation, potentially reducing time.
2023-02-16 10:50:01 +01:00
b375aed543 Bulk insert TestrunMessages
With Sentry, we identified that all TestrunMessages are created one-by-one (besides passing them all in an array to #create!). Therefore, we now do the validations on our own first and then store all once, dramatically reducing the required time.

Fixes CODEOCEAN-HP
2023-02-16 10:50:01 +01:00
a558a6df3b Shorten message name for sentry hub cloning 2023-02-16 10:47:58 +01:00
91c2e14fe8 Fix error handling during Runner::Connection close
Closes CODEOCEAN-HQ
2023-02-16 10:47:28 +01:00
596a04b9da Handle ReadTimeouts for LTI consumer properly 2023-02-16 10:12:05 +01:00
339d1b3760 Vagrant provision: Update comment about NVM 2023-02-16 10:12:05 +01:00
7bf78013e9 Merge pull request #1544 from openHPI/dependabot/bundler/rubocop-capybara-2.17.1 2023-02-16 04:06:26 +00:00
57a3de0143 Bump rubocop-capybara from 2.17.0 to 2.17.1
Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/rubocop/rubocop-capybara/releases)
- [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-capybara/compare/v2.17.0...v2.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 03:57:22 +00:00
744eead83f Fix typos in local setup guides 2023-02-16 00:29:56 +01:00
f49262cc1a Update Native Setup and Vagrant Setup 2023-02-15 19:34:14 +01:00
359539ffd7 Update configuration examples for seamless start 2023-02-15 19:18:05 +01:00
0e4cd91ef7 Seeds: Set all environments to use a privileged execution
While we generally discourage the use of the privileged executions for production usage, the existing setup with the outdated execution environments broke. Therefore, we should switch our seed data to feature the latest Docker images.
2023-02-15 19:13:26 +01:00
4b4942ef08 Seeds: Increase memory limit for Java 8 environment 2023-02-15 19:11:48 +01:00
223e97f13a Bundle update 2023-02-14 15:51:33 +01:00
1ece879804 Merge pull request #1540 from openHPI/dependabot/npm_and_yarn/sass-1.58.1 2023-02-14 04:06:17 +00:00
f5858a7e4b Merge pull request #1541 from openHPI/dependabot/bundler/nokogiri-1.14.2 2023-02-14 04:05:29 +00:00
a97cede9d3 Bump nokogiri from 1.14.1 to 1.14.2
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.1...v1.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 03:57:00 +00:00
f67f4d68d1 Bump sass from 1.58.0 to 1.58.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.58.0 to 1.58.1.
- [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.0...1.58.1)

---
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-14 03:56:53 +00:00
890c99fa07 Update bundle and Puma
sd_notify has been integrated into Puma 6.1, no need to include it manually
2023-02-13 17:11:17 +01:00
4a8653040c Use deep merge for Runner::Connection headers 2023-02-12 14:08:54 +01:00
b1372e880c Enable Sentry instrumentation for WebSocket connection 2023-02-12 13:51:10 +01:00
99372464aa Lock "sudo" switch for shell with root environments 2023-02-11 00:44:47 +01:00