Commit Graph

130 Commits

Author SHA1 Message Date
Sebastian Serth
237c225732 Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +02:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
6db37f0360 Enable HTML links in Linter output and augmented trace 2021-02-08 22:46:39 +01:00
Sebastian Serth
4c7b5a5d23 Show line breaks in score run and HTML tags in output 2021-02-06 13:34:11 +01:00
Sebastian Serth
c1f187693a Escape HTML from test results 2021-02-03 17:00:50 +01:00
Sebastian Serth
4bf2171fee Prevent filetree from disappearing when clicking outside 2021-01-23 12:19:15 +01:00
Sebastian Serth
4bb2c5f7c7 Switch shortcut keycode to work for Firefox 2021-01-18 23:43:30 +01:00
Sebastian Serth
afcc4d94cd Use same style for single and multiple errors in populateCard 2020-11-18 10:07:26 +01:00
Sebastian Serth
6868102071 Use full name for selectFileInJsTree in order to prevent bind referring to undefined 2020-11-11 18:15:54 +01:00
Sebastian Serth
804a22e680 Remove deprecated access to global var event 2020-11-11 18:07:17 +01:00
Sebastian Serth
88a2558039 Check for this.active_frame.data() before accessing 2020-11-11 17:46:02 +01:00
Sebastian Serth
2ba6cd7b32 Prevent duplication of content in ACE. 2020-11-10 02:20:18 +01:00
Sebastian Serth
fd788cc51d Populate score card with custom details and add link to line 2020-11-10 00:45:31 +01:00
Sebastian Serth
e958b890cf Prevent code duplication when changing from implement view 2020-11-09 00:01:44 +01:00
Sebastian Serth
ab9673757f Check for undefined in isActiveFileRenderable 2020-10-29 12:35:31 +01:00
Sebastian Serth
d20692d3e8 Log more infos on websocket error 2020-10-29 12:21:55 +01:00
Sebastian Serth
e8d274a4a4 Allow clicking on submit only once 2020-10-28 13:19:59 +01:00
Sebastian Serth
ca9467bf3c Merge branch 'linter_toggle'
# Conflicts:
#	config/locales/de.yml
2020-10-15 18:33:19 +02:00
Sebastian Serth
a49c01645b Move tips to left sidebar and set width = 25% 2020-10-15 17:40:48 +02:00
Sebastian Serth
799e37f9ae Add new style for linter and allow 0 points 2020-10-15 16:22:37 +02:00
Sebastian Serth
be3ec82bd4 Add new file role teacher_defined_linter 2020-10-15 00:43:57 +02:00
Sebastian Serth
e550828c58 Add backend for tips and enable markdown support 2020-10-14 14:34:26 +02:00
Sebastian Serth
edd8e3bb35 Store events for tip expanding and collapsing 2020-10-14 14:34:26 +02:00
Sebastian Serth
398bd67e1c Fix Flowr support and generic event framework 2020-10-14 14:34:25 +02:00
Sebastian Serth
26b9edabb4 Add deadline information to submission page and some minor bugfixes 2020-05-08 15:07:02 +02:00
Sebastian Serth
7154bafb7e augmentStacktraceInOutput no longer duplicates results 2020-05-05 16:52:28 +02:00
Sebastian Serth
83ba0a3f4b Allow new line characters in test results 2020-03-22 11:07:50 +01:00
Sebastian Serth
64e6d01b9b Allow multiline Assertion Errors for python 2020-03-21 18:36:48 +01:00
Sebastian Serth
fe8aac4535 Resize ACE once transition finished 2020-03-07 11:53:44 +01:00
Sebastian Serth
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
Sebastian Serth
207cf1084b Fix duplication of code when navigation back and forth 2020-03-06 15:34:43 +01:00
Sebastian Serth
3839704e77 Prevent autosave on window load 2020-03-05 17:10:48 +01:00
Sebastian Serth
427ee3e2e7 Stringify error messages for Sentry 2020-03-05 13:03:47 +01:00
Sebastian Serth
f50e26095a Beautify error messages in JavaScript when scoring submissions 2020-03-05 11:04:03 +01:00
Sebastian Serth
74d99df070 Add JavaScript sentry 2020-03-05 10:30:57 +01:00
Sebastian Serth
ca82e4000a Always render "browser not supported" alert and disable it for supported browsers 2020-03-03 18:13:30 +01:00
MrSerth
a598816925 Merge pull request #487 from openHPI/reenable_rfc_timelimit
Reenable rfc timelimit
2020-02-07 10:50:09 +01:00
Sebastian Serth
f07cad4da5 Disable reset active file for user defined files 2020-02-02 12:36:20 +01:00
Sebastian Serth
75fe6e5b68 Add file name to reset this file action 2020-01-30 19:27:16 +01:00
Sebastian Serth
d0eceac440 Upgrade font-awesome and add option reset only active file 2020-01-29 10:55:15 +01:00
Sebastian Serth
007b31afd0 Re-enable RfC time limit 2020-01-27 14:44:07 +01:00
Sebastian Serth
6fbb5b3b1a Allow direct RfC creation. 2020-01-27 14:43:31 +01:00
Sebastian Serth
b51be3edb3 Add option to add multiple entry points which could be executed similar to the Main File 2020-01-16 11:14:59 +01:00
Sebastian Serth
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
Sebastian Serth
1323619425 Fix CodeOcean event publishing mechanism 2019-12-20 16:16:23 +01:00
Sebastian Serth
263b167da4 Set Tomorrow theme for Python (via Hack) 2019-12-02 10:13:32 +01:00
Sebastian Serth
a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
Sebastian Serth
16a5345a71 Migrate jQuery function use for ajax in case of success or failure
Deprecation Notice:

The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks will be deprecated in jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.
2018-11-26 12:23:30 +01:00