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
6f084afe1c
Increase transition speed for sidebars
2021-05-14 22:24:27 +02:00
91a0e4a7d5
Align files_attributes in remote evaluation with structure of normal submission
2021-04-30 12:06:12 +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
265f1ba498
Prevent accessing file templates if not available in exercise
2021-03-10 13:51:29 +01:00
ad09230c50
Show UTC info for deadline
2021-03-03 14:25:16 +01:00
4022c5268f
Enable static favicon URL for use in external systems
2021-02-17 10:51:06 +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
b78c535671
Prevent access to undefined turtle element
2021-01-25 11:27:00 +01:00
4bf2171fee
Prevent filetree from disappearing when clicking outside
2021-01-23 12:19:15 +01:00
cae6721c9d
Prevent last line from being deleted when editing exercises
2021-01-20 23:11:52 +01:00
4bb2c5f7c7
Switch shortcut keycode to work for Firefox
2021-01-18 23:43:30 +01:00
028fc2989a
#18 Add sql index for unpublished exercises
...
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
d547ae2c5a
Migrate to d3 v6
2020-12-14 13:04:27 +01:00
bf9b90ab92
Update CSRF token after each page load
2020-11-25 01:41:43 +01:00
6c5052ed84
Prevent printing empty lines in output
2020-11-24 00:22:56 +01:00
daeda6f610
Allow line breaks in RfC question
2020-11-23 23:36:34 +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
664dadf404
Check for coords before using it
2020-11-11 17:35:06 +01:00
24c0a8ce50
Convert unsafe comparison to safe variant in turtle.js
2020-11-11 17:25:20 +01:00
406aeef461
Use includes instead of endsWith (due to query parameters)
2020-11-10 02:26:21 +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
e958b890cf
Prevent code duplication when changing from implement view
2020-11-09 00:01:44 +01:00
fc511ba796
Clear Timeout before leaving implement route
2020-10-29 13:48:29 +01:00
c93e47277a
Refactor key binding for turtle and forward key presses if websocket connection is closed.
2020-10-29 13:48:13 +01:00
7758d39970
Replace JS comparison with safe variant
2020-10-29 13:47:36 +01:00
1a20c70c41
Send WebSocket messages only if connected
2020-10-29 12:45:40 +01:00
51188eb72a
Stop code prior to new run attempt
2020-10-29 12:39:01 +01:00
ab9673757f
Check for undefined in isActiveFileRenderable
2020-10-29 12:35:31 +01:00
695b6ff373
Stop code execution before starting score
2020-10-29 12:29:24 +01:00
d20692d3e8
Log more infos on websocket error
2020-10-29 12:21:55 +01:00
e5aeb8597b
Prevent submission creation if url is undefined
2020-10-29 11:53:07 +01:00