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
c19f8b9abe
Add spiek for line width support in turtle
2020-10-28 23:50:13 +01:00
5d7d8a7f68
Replace window.location with the full URL to prevent passing query parameters
...
* Example before:
location + '/mark_as_solved'
/request_for_comments/30885?locale=de/mark_as_solved
Now: //localhost:3333/request_for_comments/30885/mark_as_solved
Note: https or http will be added automatically by browsers
2020-10-28 13:41:41 +01:00
e8d274a4a4
Allow clicking on submit only once
2020-10-28 13:19:59 +01:00
ca9467bf3c
Merge branch 'linter_toggle'
...
# Conflicts:
# config/locales/de.yml
2020-10-15 18:33:19 +02:00
a49c01645b
Move tips to left sidebar and set width = 25%
2020-10-15 17:40:48 +02:00
799e37f9ae
Add new style for linter and allow 0 points
2020-10-15 16:22:37 +02:00
be3ec82bd4
Add new file role teacher_defined_linter
2020-10-15 00:43:57 +02:00
23a045c630
[Cosmetic] Add newline to end of file
2020-10-14 14:34:27 +02:00
f3904c5e85
Close Exercise Collection modal and clear input
2020-10-14 14:34:27 +02:00
2678d9ecdf
Add admin UI to assign tips to exercises
2020-10-14 14:34:27 +02:00
e550828c58
Add backend for tips and enable markdown support
2020-10-14 14:34:26 +02:00
edd8e3bb35
Store events for tip expanding and collapsing
2020-10-14 14:34:26 +02:00
03d731c88e
Fix HTML for Flowr template
2020-10-14 14:34:25 +02:00
398bd67e1c
Fix Flowr support and generic event framework
2020-10-14 14:34:25 +02:00
fece760132
Update bundle and move jquery_ujs
2020-05-12 17:51:11 +02:00
8aaf93af6b
Remove JS debugger statement
2020-05-12 17:51:06 +02:00
26b9edabb4
Add deadline information to submission page and some minor bugfixes
2020-05-08 15:07:02 +02:00
d07b4f436e
Add more actions to show exercise
2020-05-05 16:52:28 +02:00
7154bafb7e
augmentStacktraceInOutput no longer duplicates results
2020-05-05 16:52:28 +02:00
737e99e710
Print both: stout and stderr
2020-04-18 00:38:10 +02:00
4288417938
Allow failures to be printed to admin console
2020-04-18 00:36:14 +02:00
83ba0a3f4b
Allow new line characters in test results
2020-03-22 11:07:50 +01:00
64e6d01b9b
Allow multiline Assertion Errors for python
2020-03-21 18:36:48 +01:00
24b9148a42
Always use latest websocket connection for Turtle events
2020-03-07 23:24:33 +01:00
0b9cf0bd45
Hide Turtle Canvas during cleanup
2020-03-07 23:24:06 +01:00
3735d0b6cd
Replace vanilla JS redirects with Turbolinks
2020-03-07 11:53:44 +01:00
fe8aac4535
Resize ACE once transition finished
2020-03-07 11:53:44 +01:00
82e560cace
Add link to WebSocket test if WebSocket connection failed
2020-03-07 11:53:44 +01:00
2a8aabcf60
Check for output prior printing
2020-03-06 15:35:02 +01:00
207cf1084b
Fix duplication of code when navigation back and forth
2020-03-06 15:34:43 +01:00
3839704e77
Prevent autosave on window load
2020-03-05 17:10:48 +01:00
bf6a343e2b
Set onError binding to underscore's no-op
2020-03-05 14:53:46 +01:00
427ee3e2e7
Stringify error messages for Sentry
2020-03-05 13:03:47 +01:00
f50e26095a
Beautify error messages in JavaScript when scoring submissions
2020-03-05 11:04:03 +01:00
74d99df070
Add JavaScript sentry
2020-03-05 10:30:57 +01:00
99e4aec1cb
Render submit button once results are available
2020-03-04 17:58:16 +01:00
ca82e4000a
Always render "browser not supported" alert and disable it for supported browsers
2020-03-03 18:13:30 +01:00
3fa52ab2b6
Move clicks for Turtle to our grid
2020-02-13 16:17:39 +01:00
2d07afa109
Fix canvas size for reruns. Again.
2020-02-13 09:52:14 +01:00
8c1fd66b92
Fix canvas size for reruns.
2020-02-13 09:43:35 +01:00
8ecf1d48b7
Enable Retina graphics for Turtle
2020-02-13 00:32:15 +01:00
a598816925
Merge pull request #487 from openHPI/reenable_rfc_timelimit
...
Reenable rfc timelimit
2020-02-07 10:50:09 +01:00