Commit Graph

343 Commits

Author SHA1 Message Date
19bd742bc9 Show a localized message if the program was killed.
* This will most likely happen by the OOM killer, thus we inform the user about the memory restriction.
2022-04-15 21:29:55 +02:00
9d9570b26b Update intervention locale and add explanation 2022-04-15 14:23:05 +02:00
df9fb50c7d Re-allow Carriage Return in Output 2022-04-11 19:45:04 +02:00
692cb1107e Remove non-printable characters from console 2022-04-07 18:17:27 +02:00
5f68baba75 Fix typo for TipsIntervention in JS 2022-04-06 19:51:28 +02:00
d1d628a090 Increase time for intervention and RfC tooltip 2022-04-06 19:50:25 +02:00
18daa1c998 Enable image preview in STDOUT 2022-03-02 11:44:48 +01:00
3dc8265292 Toggle editor buttons when jumping to a source line 2021-12-21 13:26:06 +01:00
416135daf0 Change order of autosave and clearing of editors when submitting code 2021-12-16 11:54:31 +01:00
d543ac76ae Fix Java RegEx for relative files 2021-12-15 00:52:31 +01:00
e84276e1f5 Allow ACE resizing with different theme
Fixes CODEOCEAN-6E
2021-12-15 00:52:30 +01:00
5189ec8249 Fix resetting active file if filetree is disabled 2021-12-15 00:52:30 +01:00
5b09722c20 Set minTimeIntervention to 30 min for Java 2021-11-30 21:35:14 +01:00
3572f5fbda Introduce REQUEST_TOOLTIP_DELAY 2021-11-24 09:16:06 +01:00
da4e10b990 Add CommunitySolution
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00
9079a0b15a Implement Tips Intervention 2021-11-23 01:38:10 +01:00
18f05db138 Always show CSRF error message for Ajax 2021-11-23 01:37:50 +01:00
991fdef8bc Handle depleted containers for submit 2021-11-14 22:45:12 +01:00
6ff14d6fc7 Connection Buffer: Replace \r in run and score output with \n 2021-11-01 17:13:14 +01:00
3c8017f23e JS: Ensure to print status messages for score
* If only one response is available, no array will be passed (but rather an Object). The impact of this has been tackled with the changes included
2021-11-01 17:13:11 +01:00
541afa92f3 Remove ws_client_protocol option
* The correct setting will be determined automatically
2021-11-01 17:13:06 +01:00
f896d041f8 Restructure submissions_controller and remove outdated copy_comments method 2021-11-01 17:12:58 +01:00
858ccd128f Add callback handler for clear command during execution 2021-08-29 14:56:59 +02:00
237c225732 Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +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
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
1e5a9b0825 Remove unused SubmissionsController#stop action 2021-04-07 17:45:38 +02:00
a174d75a47 Debug CSRF issues temporarily 2021-03-10 13:51:29 +01:00
293f7f6df7 Unload autosave on turbolinks page render.
We cannot use turbolinks:request-start because this will duplicate code (if a page is first requested by turbolinks and afterwards by a full page reload)
2021-03-10 13:51:29 +01:00
ad09230c50 Show UTC info for deadline 2021-03-03 14:25:16 +01:00
41ae6c2880 Update deadline string shown to users 2021-02-09 00:20:05 +01:00
6db37f0360 Enable HTML links in Linter output and augmented trace 2021-02-08 22:46:39 +01:00
4c7b5a5d23 Show line breaks in score run and HTML tags in output 2021-02-06 13:34:11 +01:00
c1f187693a Escape HTML from test results 2021-02-03 17:00:50 +01:00
4bf2171fee Prevent filetree from disappearing when clicking outside 2021-01-23 12:19:15 +01:00
4bb2c5f7c7 Switch shortcut keycode to work for Firefox 2021-01-18 23:43:30 +01:00
6c5052ed84 Prevent printing empty lines in output 2020-11-24 00:22:56 +01:00
afcc4d94cd Use same style for single and multiple errors in populateCard 2020-11-18 10:07:26 +01:00
be9cc8790c Check for result before trying to populate score card 2020-11-14 00:26:36 +01:00
3cedcf5736 Check for null and undefined before accessing stderr and stdout 2020-11-14 00:19:39 +01:00
307bc9bd7b Check for output before accessing stderr or stdout 2020-11-13 22:53:56 +01:00
08278fa4e9 Check for connection state before sending flush character 2020-11-11 18:16:07 +01:00
6868102071 Use full name for selectFileInJsTree in order to prevent bind referring to undefined 2020-11-11 18:15:54 +01:00
804a22e680 Remove deprecated access to global var event 2020-11-11 18:07:17 +01:00
88a2558039 Check for this.active_frame.data() before accessing 2020-11-11 17:46:02 +01:00
2ba6cd7b32 Prevent duplication of content in ACE. 2020-11-10 02:20:18 +01:00
fd788cc51d Populate score card with custom details and add link to line 2020-11-10 00:45:31 +01:00
ffcf4dbbce Prevent access to file_role if no valid response was received 2020-11-09 21:20:01 +01:00