Commit Graph

1711 Commits

Author SHA1 Message Date
858ccd128f Add callback handler for clear command during execution 2021-08-29 14:56:59 +02:00
47888f1dbd Always use ActionController::Base.helpers to sanitize Markdown
Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
2021-08-05 23:17:06 +02:00
a170f7bfc2 Throw exception on any error within Concurrent::Future
Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
2021-08-05 23:17:06 +02:00
3840b45f8a Revert "Revert "Use switch_locale instead of I18n.with_locale directly""
This reverts commit 2c08e270e7.

Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
2021-08-05 23:17:06 +02:00
2c08e270e7 Revert "Use switch_locale instead of I18n.with_locale directly"
This reverts commit 125c342f35.
2021-08-05 11:55:54 +02:00
9751d5a5a1 Update render_markdown to work without html_safe 2021-07-29 00:12:18 +02:00
125c342f35 Use switch_locale instead of I18n.with_locale directly 2021-07-26 12:01:25 +02:00
448b5e4a7a Use current_locale for "not_graded" hint 2021-07-22 10:23:57 +02:00
671c2bd28b Allow changes to internal user when password is void 2021-07-12 13:27:41 +02:00
4926b33a5f Introduce new config option for JS-based Sentry
* Also update environment_variables.md
2021-07-08 20:15:29 +02:00
d5d58e5f1b Merge branch 'misc' 2021-07-07 21:05:54 +02:00
d7eb562389 Prevent underscores from being removed during command substitution 2021-07-07 20:42:59 +02:00
72e4026d6c Ensure that the current docker image is listed when editing an execution environment 2021-07-07 20:19:45 +02:00
038ffd4afb Fix alternative_input toggle text 2021-07-07 20:19:44 +02:00
237c225732 Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +02:00
7914608efe Add js-routes to use Route helpers in JavaScript 2021-07-06 16:54:27 +02:00
9696fcb06f Remove unnecessary require for zip download 2021-07-06 09:27:44 +02:00
110f1a5750 Fix rubocop offenses after bundle update 2021-06-30 09:13:25 +02:00
7010614a75 Re-enable translation of linter messages 2021-06-28 22:11:00 +02:00
d08707f62e Fix switch_locale to return the block result 2021-06-28 16:08:24 +02:00
4e8033f5d4 Show CO and DCP versions on admin dashboard 2021-06-25 21:57:17 +02:00
1b71163a77 Refactor locale with around method 2021-06-25 17:36:56 +02:00
e7cf4ef5db Apply automatic rubocop fixes 2021-06-25 14:41:49 +02:00
4b8e12e49a Disable turbolinks when switching the language.
This is required as code within the ACE editor would get duplicated if the switch forces a full pageload otherwise.
2021-06-16 14:25:33 +02:00
7b4a487530 Localize exercises.implement.not_graded 2021-06-11 22:23:09 +02:00
649bb01249 Refactor h1 and inline button for exercise show 2021-06-08 09:00:25 +02:00
08d7b89108 Merge pull request #930 from openHPI/own-project
Rebrush action sidebar for implement view
2021-06-01 17:38:55 +02:00
917e080ae4 highlight.js: Update theme reference 2021-05-31 10:03:28 +02:00
f32661ad78 Rework left sidebar
* Move Buttons from left sidebar to JSTree
* Use light style for collapse sidebar buttons
2021-05-28 17:49:59 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
a6c6b07a91 Detect encoding of uploaded files and convert to UTF-8. Finally. 2021-05-17 19:33:32 +02:00
6f084afe1c Increase transition speed for sidebars 2021-05-14 22:24:27 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
48904a19fd Fix test for new custom file 2021-05-14 17:35:37 +02:00
bf6ab4f114 Prevent custom files from being rejected 2021-05-14 17:15:55 +02:00
276423fd30 Replace deprecated update_attributes 2021-05-12 22:54:06 +02:00
11962a1d65 Upgrade to Rails 6.1 and apply new framework defaults 2021-05-12 16:49:14 +02:00
2b32829e60 Upgrade DatabaseCleaner strategy 2021-05-12 16:47:05 +02:00
3c7e9176a2 Daily Rubocop 2021-04-30 12:06:13 +02:00
4958f5b9a9 Add StudyGroup to RemoteEvaluationMapping 2021-04-30 12:06:12 +02:00
91a0e4a7d5 Align files_attributes in remote evaluation with structure of normal submission 2021-04-30 12:06:12 +02:00
36cacc2330 Pass exercise object instead of id to reject_illegal_file_attributes 2021-04-30 12:06:11 +02:00
b3c110cead Improve code style 👮 2021-04-30 12:06:11 +02:00
caaa52409e Avoid that files from other exercises can be created 2021-04-30 12:06:10 +02:00
1f3c9db537 Reject illegal file attributes in remote evaluation
Remove ! from reject illegal file parameters
2021-04-30 12:06:09 +02:00
54ec59aa8c Remove Sentry logging from ajaxError 2021-04-22 12:35:56 +02:00
78230f0d97 Add message for expired session 2021-04-22 11:32:12 +02:00
9a5514942e Remove CSRF debug features 2021-04-22 11:31:30 +02:00
1d5ceebd7b Fix RfC filter for unnamed study groups 2021-04-09 10:25:41 +02:00