Commit Graph

4750 Commits

Author SHA1 Message Date
a20c3b4433 Bump sorcery from 0.16.3 to 0.16.4
Bumps [sorcery](https://github.com/Sorcery/sorcery) from 0.16.3 to 0.16.4.
- [Release notes](https://github.com/Sorcery/sorcery/releases)
- [Changelog](https://github.com/Sorcery/sorcery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Sorcery/sorcery/compare/v0.16.3...v0.16.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 03:02:05 +00:00
2d95a737f6 Assume failed code execution if no status was received 2022-10-04 16:08:10 +02:00
b3d8d82a3c Fix file regex in routes, once again.
* We take everything after the well-known path as a filename, and hence allow everything.
2022-10-04 16:07:00 +02:00
42a7bf9983 Remove outdated enums for testrun_message
These enums are not present in the database.
2022-10-04 16:07:00 +02:00
b8b7cd99bd SubmissionsController: Allow JS to be "rendered"
We skip verifying the authenticity token for the action, to prevent raising a `ActionController::InvalidCrossOriginRequest` exception.
2022-10-04 16:06:59 +02:00
ca13ea03c8 SubmissionsController: Send Content-Length if possible 2022-10-04 16:06:59 +02:00
c3daa51c8c SubmissionsController: Remove outdated ActionController::Live mixin
The mixin was previously used for Server-Sent-Events, which were removed from CodeOcean a long time ago.
After the mixin is removed, we can also fix the cookie send mechanism (this was erroneous with the mixin).
2022-10-04 16:06:58 +02:00
f53c6cb3ee Shell: Add toggle to execute command as root 2022-10-04 16:06:58 +02:00
f22e3b56f1 AuthenticatedUrlHelper: Rescue URI::InvalidURIError
This error should usually nto happen, but we catch it just to be safe.
2022-10-04 16:06:28 +02:00
53db7e80d0 AuthenticatedUrlHelper: Fix extraction of parameters
* Previously, all parameters were removed
2022-10-04 16:06:28 +02:00
b4bac35fdc Bump faraday from 2.5.2 to 2.6.0
Bumps [faraday](https://github.com/lostisland/faraday) from 2.5.2 to 2.6.0.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v2.5.2...v2.6.0)

---
updated-dependencies:
- dependency-name: faraday
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 10:12:49 +02:00
de8607b66a Bump sentry-ruby from 5.4.2 to 5.5.0
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby) from 5.4.2 to 5.5.0.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.4.2...5.5.0)

---
updated-dependencies:
- dependency-name: sentry-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 10:11:06 +02:00
14fc77f754 Merge pull request #1387 from openHPI/dependabot/npm_and_yarn/bootstrap-5.2.2 2022-10-04 03:09:34 +00:00
b11eab6034 Bump bootstrap from 5.2.1 to 5.2.2
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.2.1...v5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 03:01:37 +00:00
f17e3e7667 Bundle update 2022-09-30 21:20:06 +02:00
8941a2f7e2 Merge pull request #1382 from openHPI/dependabot/bundler/net-smtp-0.3.2 2022-09-29 03:17:47 +00:00
948eda914a Bump net-smtp from 0.3.1 to 0.3.2
Bumps [net-smtp](https://github.com/ruby/net-smtp) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/ruby/net-smtp/releases)
- [Changelog](https://github.com/ruby/net-smtp/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/net-smtp/compare/v0.3.1...v0.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 03:09:50 +00:00
a943fbbeaa Merge pull request #1383 from openHPI/dependabot/bundler/net-pop-0.1.2 2022-09-29 03:08:58 +00:00
c8d222e20a Bump net-pop from 0.1.1 to 0.1.2
Bumps [net-pop](https://github.com/ruby/net-pop) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/ruby/net-pop/releases)
- [Commits](https://github.com/ruby/net-pop/compare/v0.1.1...v0.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 03:01:45 +00:00
3263d4f838 Respect subpath for (render_)protected_upload_path 2022-09-28 11:06:15 +02:00
0b374491ac Link to protected_upload_path in file render 2022-09-28 11:06:15 +02:00
c5e3254213 Merge pull request #1379 from openHPI/dependabot/npm_and_yarn/babel/core-7.19.3 2022-09-28 03:19:47 +00:00
02f2c8c256 Bump @babel/core from 7.19.1 to 7.19.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.19.1 to 7.19.3.
- [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.19.3/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-28 03:11:20 +00:00
72405790f3 Merge pull request #1378 from openHPI/dependabot/npm_and_yarn/babel/preset-env-7.19.3 2022-09-28 03:10:00 +00:00
8a429c75e8 Bump @babel/preset-env from 7.19.1 to 7.19.3
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.1 to 7.19.3.
- [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.19.3/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-28 03:01:11 +00:00
d6cd06550d add default values to meta_data
fix specs
2022-09-26 20:46:40 +02:00
46a6c3f3b6 Add new Linter translation for non-default arguments
FIXES CODEOCEAN-DP
2022-09-26 18:03:22 +02:00
9dbe5ae8aa Allow space in filename 2022-09-26 17:52:20 +02:00
4b00eb1e8c Allow internal users to switch their current study group 2022-09-26 16:30:54 +02:00
89c0f52ff3 Bundle update 2022-09-25 01:20:47 +02:00
f73917313d Add reminder about path validation for protected download and render 2022-09-25 01:12:48 +02:00
4e2dbae2da Allow dash (-) in file names 2022-09-25 01:12:10 +02:00
eb188dcd71 Add privilegedExecution flag to database and Poseidon Strategy 2022-09-24 22:32:41 +02:00
b866221353 rename route 2022-09-24 21:08:18 +02:00
77999f75df set proglang based on exenv
try to guess exenv based on proglang
2022-09-24 15:24:12 +02:00
dffeca27de Fix null: false error in earlier migration 2022-09-24 00:05:21 +02:00
b4ab807ef0 Open Render in new Tab with timeout (to resolve issue with Safari) 2022-09-23 21:35:23 +02:00
150df3d219 Open linked resources in a new browsing context 2022-09-23 21:35:22 +02:00
16c00ec136 Add support for signed URLs used by the render_file function 2022-09-23 21:35:22 +02:00
5881795d5f Memorize config options instead of reading them from file over and over again 2022-09-23 21:35:22 +02:00
c2c8cf4ae6 Merge pull request #1376 from openHPI/dependabot/bundler/rubocop-rspec-2.13.2 2022-09-23 03:09:44 +00:00
16d0dc0932 Bump rubocop-rspec from 2.13.1 to 2.13.2
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.13.1...v2.13.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 03:01:24 +00:00
0e7c38657f Allow teachers to access internal users and manage them in their study groups 2022-09-22 19:24:26 +02:00
e3018c1847 Refactor consumer factory 2022-09-22 19:24:26 +02:00
6ad5274e67 Fix seeds for execution environment import and study group membership 2022-09-22 19:24:26 +02:00
5e90a93f9d Add script to migrate duplicated study groups 2022-09-22 19:24:26 +02:00
ac3dc8d30f Allow platform admins and internal users to switch their current study group 2022-09-22 19:24:26 +02:00
2e3480a068 Display study_groups in the show view of internal and external users 2022-09-22 19:24:26 +02:00
4d2fe22daf Allow assignment of study groups for internal users 2022-09-22 19:24:26 +02:00
998a12e6bc Adjust filter for platform_admin user search and update views 2022-09-22 19:24:26 +02:00