e9a00353ab
Fix: Allow admins to list internal users
2022-10-11 20:21:38 +02:00
d80a8dd64f
Fix Submissions index page
...
Closes CODEOCEAN-BJ
2022-10-11 20:21:13 +02:00
f89501f3dd
Merge pull request #1396 from openHPI/dependabot/npm_and_yarn/babel/runtime-7.19.4
2022-10-11 03:13:03 +00:00
79b72b1207
Merge pull request #1397 from openHPI/dependabot/npm_and_yarn/babel/preset-env-7.19.4
2022-10-11 03:11:53 +00:00
2dcaa0494d
Bump @babel/preset-env from 7.19.3 to 7.19.4
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.19.3 to 7.19.4.
- [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.4/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-10-11 03:02:11 +00:00
ac47e06473
Bump @babel/runtime from 7.19.0 to 7.19.4
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.19.0 to 7.19.4.
- [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.4/packages/babel-runtime )
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-11 03:01:49 +00:00
297cb76407
Bump sass-loader from 13.0.2 to 13.1.0
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 13.0.2 to 13.1.0.
- [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.0.2...v13.1.0 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-08 15:21:57 +02:00
fe949d2a9d
Merge pull request #1393 from openHPI/dependabot/npm_and_yarn/css-minimizer-webpack-plugin-4.2.1
2022-10-07 03:10:08 +00:00
cd361b4b61
Bump css-minimizer-webpack-plugin from 4.2.0 to 4.2.1
...
Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin ) from 4.2.0 to 4.2.1.
- [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.0...v4.2.1 )
---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-07 03:01:34 +00:00
a9b215be6c
Update dependencies
2022-10-06 00:46:05 +02:00
a9c85c0a1f
Fix Rubocop offenses
2022-10-06 00:45:06 +02:00
065f93f79c
Return empty programming language if no ACE mode is set
2022-10-06 00:25:22 +02:00
9e1f2da02e
Fallback to default height if editor offset cannot be determined
...
Fixes CODEOCEAN-B6, Fixes CODEOCEAN-E1, Fixes CODEOCEAN-BZ
2022-10-06 00:24:23 +02:00
df384ebf0d
Disallow protected upload paths for non-native files
...
Fixes CODEOCEAN-E0
2022-10-06 00:11:27 +02:00
61e3cfcac5
Handle deleted files in CodeOcean::FilesController
...
Fixes CODEOCEAN-E2
2022-10-06 00:10:52 +02:00
97ee38082c
Handle deleted exercise in FilePolicy
...
Fixes CODEOCEAN-DZ
2022-10-06 00:10:25 +02:00
f7515362a1
Set Content-Type to fixed value for all download actions
2022-10-05 21:46:17 +02:00
42688ed1c9
Prefer authentication token for session if present
2022-10-05 21:34:19 +02:00
4f5f71840a
Change order of tests to execute linter checks first
2022-10-05 19:38:38 +02:00
cb94bc3de6
Strategy: Allow privileged_execution: keyword even if not used
2022-10-05 19:19:12 +02:00
a5da7d1f84
Remove outdated HTTP status codes
...
See https://github.com/openHPI/codeocean/pull/1349#pullrequestreview-1091652523
2022-10-05 13:11:43 +02:00
ba821bd18b
Change HTTP status codes for Poseidon in accordance with recent changes.
...
See https://github.com/openHPI/poseidon/pull/159
2022-10-05 13:11:43 +02:00
5f0229029c
Merge pull request #1390 from openHPI/dependabot/bundler/sorcery-0.16.4
2022-10-05 03:10:16 +00:00
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