fe41d44548
Use SameSite strict for cookies
2022-09-06 11:20:56 +02:00
0a16f589e9
Use X-Sendfile to transmit native files and handle file uploads
2022-09-06 01:21:40 +02:00
dccc60b7ca
Remove renderWebsocketOutput
and use printWebsocketOutput
instead
...
* The `render` command is not used much
* Originally added with commit 898074be3f
* The `#render` anchor (see findOrCreateRenderElement) was the "Render" button above the editor, nothing was rendered at all if executing code and otherwise it would be included _within_ the button.
2022-09-04 23:12:46 +02:00
813c3f50af
Touch file location before setting a symlink in specs
2022-09-04 19:15:15 +02:00
e5d8db2796
Return propper error for anonymous users in exercises_controller
...
* not_authorized_for_exercise was not checking for a current_user
Fixes CODEOCEAN-C4
2022-09-04 19:13:08 +02:00
1581d658ea
Simplify user search for external teachers
2022-09-04 19:03:15 +02:00
fbe80ac557
Ensure min-height for left and right sidebar in editor
2022-09-04 11:48:53 +02:00
22cd202e9d
Refactor reject_illegal_file_attributes check
...
* Improve readability of method
* Add a new check for the author of a submission
2022-09-04 11:42:36 +02:00
b67daedfc9
Remove dead code from ProxyExercise
2022-09-04 00:05:38 +02:00
49f4f0e6c5
Refactor exercise_controller and move more checks to policy
...
* We introduce a custom handler for Pundit::NotAuthorizedError
2022-09-04 00:05:13 +02:00
0de213b8c7
Pagedown: Use default sanitizer for preview
2022-09-03 22:50:30 +02:00
87737e50a2
Fix Rubocop offenses
2022-09-03 00:10:11 +02:00
e00d1772ca
Disallow markup for RfC emails
2022-09-02 18:14:14 +02:00
9050f02b7a
Add additional test case for new CodeOcean::File#read method
2022-09-02 17:52:24 +02:00
b6837e9539
Refactor validity of token authentication
2022-09-02 16:56:19 +02:00
e77223e628
Refactor send_thank_you_note method and according specs
2022-09-02 16:56:19 +02:00
60dc8c3b7e
Apply line-based coloring for output
2022-09-02 16:56:18 +02:00
3ec5263c31
Bundle update
2022-09-02 10:16:37 +02:00
2e51bc5480
Merge pull request #1350 from openHPI/dependabot/npm_and_yarn/sass-1.54.8
2022-09-01 03:10:22 +00:00
8a6323a5ee
Bump sass from 1.54.7 to 1.54.8
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.54.7 to 1.54.8.
- [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.54.7...1.54.8 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-01 03:01:17 +00:00
d782a7214f
Bump @fortawesome/fontawesome-free from 6.1.2 to 6.2.0
...
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome ) from 6.1.2 to 6.2.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/commits )
---
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 >
2022-08-31 10:43:49 +02:00
fd179512f4
Merge pull request #1348 from openHPI/dependabot/npm_and_yarn/sass-1.54.7
2022-08-31 03:11:19 +00:00
1f009d2fd7
Bump sass from 1.54.6 to 1.54.7
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.54.6 to 1.54.7.
- [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.54.6...1.54.7 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-31 03:01:42 +00:00
71e2c4e8c6
Merge pull request #1344 from openHPI/dependabot/npm_and_yarn/terser-webpack-plugin-5.3.6
2022-08-30 03:10:49 +00:00
430054a07b
Merge pull request #1345 from openHPI/dependabot/npm_and_yarn/sass-1.54.6
2022-08-30 03:10:31 +00:00
80210a9804
Merge pull request #1346 from openHPI/dependabot/npm_and_yarn/webpack-dev-server-4.10.1
2022-08-30 03:09:21 +00:00
3c675010da
Bump webpack-dev-server from 4.10.0 to 4.10.1
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.10.0 to 4.10.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.10.0...v4.10.1 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-30 03:02:01 +00:00
8eec202dd8
Bump sass from 1.54.5 to 1.54.6
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.54.5 to 1.54.6.
- [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.54.5...1.54.6 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-30 03:01:51 +00:00
9dfdf9ec8d
Bump terser-webpack-plugin from 5.3.5 to 5.3.6
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 5.3.5 to 5.3.6.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.3.5...v5.3.6 )
---
updated-dependencies:
- dependency-name: terser-webpack-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-30 03:01:34 +00:00
b69c09952d
Merge pull request #1343 from openHPI/dependabot/npm_and_yarn/jquery-3.6.1
2022-08-29 03:09:33 +00:00
0b50c4a3f6
Bump jquery from 3.6.0 to 3.6.1
...
Bumps [jquery](https://github.com/jquery/jquery ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/jquery/jquery/releases )
- [Commits](https://github.com/jquery/jquery/compare/3.6.0...3.6.1 )
---
updated-dependencies:
- dependency-name: jquery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-29 03:01:12 +00:00
bd7ab53c3e
Bundle update
2022-08-26 15:36:59 +02:00
dbf2e63b83
Merge pull request #1342 from openHPI/dependabot/npm_and_yarn/i18n-js-4.1.1
2022-08-26 03:08:56 +00:00
0b294d988e
Merge pull request #1341 from openHPI/dependabot/bundler/i18n-js-4.0.1
2022-08-26 03:07:51 +00:00
7b6f3b7f0e
Bump i18n-js from 4.1.0 to 4.1.1
...
Bumps [i18n-js](https://github.com/fnando/i18n ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/fnando/i18n/releases )
- [Changelog](https://github.com/fnando/i18n/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fnando/i18n/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: i18n-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-26 03:01:37 +00:00
ad68ce8d7c
Bump i18n-js from 4.0.0 to 4.0.1
...
Bumps [i18n-js](https://github.com/fnando/i18n-js ) from 4.0.0 to 4.0.1.
- [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.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: i18n-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-26 03:01:35 +00:00
ffd7a0351a
Improve display of images for code output
2022-08-25 20:13:22 +02:00
4de77ca3f5
Improve get_quantiles method for exercise
2022-08-25 18:14:23 +02:00
bdebcf319e
Allow access to user statistics for teachers
...
Fixes CODEOCEAN-BV
2022-08-25 18:14:10 +02:00
b3f9a1ec90
Allow line breaks in feedback texts
2022-08-25 00:31:32 +02:00
6dcccd324b
Show feedback without rendering Markdown
...
* We do not instruct learners how to write Markdown, this might yield to an unexpected rendering
2022-08-25 00:23:08 +02:00
35dd745a29
Use final submission for exercise feedback
...
* Also, check for required permission
2022-08-24 23:56:34 +02:00
f4d350577a
Fix exercise search for teachers
2022-08-24 23:39:42 +02:00
7da08d2990
Fix typo for working_time_query
2022-08-24 23:29:49 +02:00
1e47f62472
Remove web_console setting from staging.rb
2022-08-24 13:18:09 +02:00
9686c912a8
Move gem web-console to development group
2022-08-24 13:13:23 +02:00
309956e472
Remove NULL byte before saving strings
2022-08-24 13:06:53 +02:00
ebf00eb475
Update staging environment
2022-08-24 13:06:33 +02:00
721a0817eb
Bundle update
2022-08-24 12:47:01 +02:00
c8c3a5bf95
Fix external user statistics for tags
2022-08-24 12:16:38 +02:00