Commit Graph

610 Commits

Author SHA1 Message Date
Sebastian Serth
6c5052ed84 Prevent printing empty lines in output 2020-11-24 00:22:56 +01:00
Sebastian Serth
daeda6f610 Allow line breaks in RfC question 2020-11-23 23:36:34 +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
be9cc8790c Check for result before trying to populate score card 2020-11-14 00:26:36 +01:00
Sebastian Serth
3cedcf5736 Check for null and undefined before accessing stderr and stdout 2020-11-14 00:19:39 +01:00
Sebastian Serth
307bc9bd7b Check for output before accessing stderr or stdout 2020-11-13 22:53:56 +01:00
Sebastian Serth
08278fa4e9 Check for connection state before sending flush character 2020-11-11 18:16:07 +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
664dadf404 Check for coords before using it 2020-11-11 17:35:06 +01:00
Sebastian Serth
24c0a8ce50 Convert unsafe comparison to safe variant in turtle.js 2020-11-11 17:25:20 +01:00
Sebastian Serth
406aeef461 Use includes instead of endsWith (due to query parameters) 2020-11-10 02:26:21 +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
ffcf4dbbce Prevent access to file_role if no valid response was received 2020-11-09 21:20:01 +01:00
Sebastian Serth
e958b890cf Prevent code duplication when changing from implement view 2020-11-09 00:01:44 +01:00
Sebastian Serth
fc511ba796 Clear Timeout before leaving implement route 2020-10-29 13:48:29 +01:00
Sebastian Serth
c93e47277a Refactor key binding for turtle and forward key presses if websocket connection is closed. 2020-10-29 13:48:13 +01:00
Sebastian Serth
7758d39970 Replace JS comparison with safe variant 2020-10-29 13:47:36 +01:00
Sebastian Serth
1a20c70c41 Send WebSocket messages only if connected 2020-10-29 12:45:40 +01:00
Sebastian Serth
51188eb72a Stop code prior to new run attempt 2020-10-29 12:39:01 +01:00
Sebastian Serth
ab9673757f Check for undefined in isActiveFileRenderable 2020-10-29 12:35:31 +01:00
Sebastian Serth
695b6ff373 Stop code execution before starting score 2020-10-29 12:29:24 +01:00
Sebastian Serth
d20692d3e8 Log more infos on websocket error 2020-10-29 12:21:55 +01:00
Sebastian Serth
e5aeb8597b Prevent submission creation if url is undefined 2020-10-29 11:53:07 +01:00
Sebastian Serth
c19f8b9abe Add spiek for line width support in turtle 2020-10-28 23:50:13 +01:00
Sebastian Serth
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
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
23a045c630 [Cosmetic] Add newline to end of file 2020-10-14 14:34:27 +02:00
Sebastian Serth
f3904c5e85 Close Exercise Collection modal and clear input 2020-10-14 14:34:27 +02:00
Sebastian Serth
2678d9ecdf Add admin UI to assign tips to exercises 2020-10-14 14:34:27 +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
03d731c88e Fix HTML for Flowr template 2020-10-14 14:34:25 +02:00
Sebastian Serth
398bd67e1c Fix Flowr support and generic event framework 2020-10-14 14:34:25 +02:00
Sebastian Serth
6a192761b0 Fix help modal for execution environments 2020-07-16 18:04:18 +02:00
Sebastian Serth
fece760132 Update bundle and move jquery_ujs 2020-05-12 17:51:11 +02:00
Sebastian Serth
8aaf93af6b Remove JS debugger statement 2020-05-12 17:51:06 +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
914eeb6035 Add submission deadline to exercises and allow teachers to view their submissions 2020-05-07 21:23:27 +02:00
Sebastian Serth
854d1dd032 Improve form filter style 2020-05-05 16:52:29 +02:00
Sebastian Serth
d07b4f436e Add more actions to show exercise 2020-05-05 16:52:28 +02:00
Sebastian Serth
8e8404dffa Add search for external users 2020-05-05 16:52:28 +02:00
Sebastian Serth
7154bafb7e augmentStacktraceInOutput no longer duplicates results 2020-05-05 16:52:28 +02:00
Sebastian Serth
737e99e710 Print both: stout and stderr 2020-04-18 00:38:10 +02:00