Commit Graph

221 Commits

Author SHA1 Message Date
Maximilian Grundke
a07d440e02 Translate button 2018-10-05 15:03:27 +02:00
Maximilian Grundke
174db96081 Move magic number to config instead 2018-10-05 14:55:22 +02:00
Maximilian Grundke
fad97e36c1 Fix building stackoverflow query 2018-10-05 14:48:09 +02:00
Maximilian Grundke
dd48cc6d10 Create events on user interaction 2018-09-18 17:22:01 +02:00
Maximilian Grundke
b19402ba99 Implement client-side querying of stackoverflow 2018-09-18 15:14:17 +02:00
Maximilian Grundke
16533e2d89 Work around messy architecture 2018-08-14 21:48:16 +02:00
Maximilian Grundke
f73de94f4d Allow file_id to be captured 2018-08-14 21:36:24 +02:00
Maximilian Grundke
369b0c8908 Send paste events to CodeOcean events API instead of LearningAnalytics 2018-08-14 21:28:06 +02:00
Maximilian Grundke
11137fa5f6 Style exercise description as a card and display an additional (more obvious) toggle 2018-08-03 14:38:58 +02:00
Maximilian Grundke
331d12be3c Fix the spelling mistake "wether" with "whether" 2018-08-02 08:08:52 +00:00
Ralf Teusner
39f1d3ec3a fix LED exercise part 2 2018-07-18 15:10:34 +02:00
Ralf Teusner
35243a544c dont call text for the moment to allow pictures being rendered. Quickfix for LED exercise. 2018-07-18 14:51:35 +02:00
Ralf Teusner
1627d10600 remove disabling of the RFC button after having posted an RFC 2018-07-18 09:33:29 +02:00
Ralf Teusner
927eaaeb85 fix raw output, prevent angle brackets < and > from beeing interpreted as html tags 2018-07-13 11:01:53 +02:00
rteusner
d948ded2a6 Merge pull request #179 from openHPI/remove-error-massage-from-panel
Remove error message from panel
2018-06-15 15:24:39 +02:00
Maximilian Grundke
7053544bcb Hide socket errors in Internet Explorer too 2018-06-05 11:31:08 +02:00
Ann Katrin Kuessner
909d0de42e remove anchor test output 2018-06-03 16:57:57 +02:00
rteusner
cb56a21951 Update execution.js.erb 2018-05-16 14:41:15 +02:00
Maximilian Grundke
e4525bca36 Cleanly close websocket 2018-05-16 14:37:13 +02:00
Maximilian Grundke
a92c13ed71 Mute "unknown error" messages in Edge which occur after the socket was closed successfully 2018-05-16 14:35:08 +02:00
Maximilian Grundke
8faab600b5 Fix nil config resulting in failing tests 2018-05-07 17:25:42 +02:00
Maximilian Grundke
bedaec76a8 Add missing semicolons 2018-05-07 16:40:22 +02:00
Maximilian Grundke
4440acec10 Ensure no malformed protocol definition 2018-05-07 16:38:26 +02:00
Maximilian Grundke
841a885711 Send hints when scoring 2018-03-13 14:52:40 +01:00
Maximilian Grundke
ccdcc43431 Display hints in editor frontend 2018-03-08 16:20:07 +01:00
Thomas Hille
851beac4e7 removed == true in condition 2017-11-16 17:11:37 +01:00
Ralf Teusner
194984a620 add cause to testruns
trigger run and assess on request_for_comment
2017-09-21 17:21:10 +02:00
Maximilian Grundke
653aefa2c7 Update "last saved at" label after all types of submissions, not only autosaves 2017-08-13 16:24:03 +02:00
Ralf Teusner
f877cd675a move user-id for codeocean-events into in_context 2017-08-04 16:39:23 +02:00
Ralf Teusner
ae04a5adc5 this should fix the "zombie file" bug. Turned out that the CodeOceanEditor object is not destroyed when navigating back and forth within the exercise context ( from an exercise back to the exercise index and forward to another exercise). Therefore, CodeOceanEditor.editors[] kept all "old" editors and added the new ones behind the old ones. On next autosave, they were persisted into a submission. 2017-07-03 14:57:08 +02:00
Ralf Teusner
56aa9f4495 tidy up the autosave timer when exiting the page 2017-07-03 14:54:51 +02:00
Ralf Teusner
6c353d611d make output scroll again! 2017-06-19 13:35:03 +02:00
Ralf Teusner
341cd3a003 fix incomplete resizing of ace editors by triggering a resize event 2017-04-07 21:16:20 +02:00
Thomas Hille
cbaafa0383 stop intervention timer if user lost focus to the code ocean tab 2017-04-04 13:26:43 +02:00
Thomas Hille
cff46f963d added close button for requestForCommand-modal 2017-04-03 17:33:52 +02:00
Thomas Hille
a7effa7eb3 do now show intervention message for rfc modal if clicked on the button 2017-03-24 14:07:24 +01:00
Thomas Hille
7f6c433fe8 fixed time for interventions 2017-03-24 12:17:18 +01:00
Thomas Hille
4798ffcfcf - added abc group separator class to split users into different groups for testing proxy exercises and interventions
- shows 2 interventions per user and exercise max now
- only show break or rfc intervention to user
2017-03-23 18:52:46 +01:00
Ralf Teusner
028876da60 fix javascript for autosave on beginning 2017-03-23 14:08:37 +01:00
Thomas Hille
c13c169657 creates an autosave submission on opening of the editor. otherwise we lose track of the time between opening the exercise and the first submission 2017-03-22 15:07:13 +01:00
Thomas Hille
b05bb27ed9 search is now saved asynchron and without a form which caused some redirection through searches_controller
added asynchronous save of search, removed searches_controller,
2017-03-21 14:37:32 +01:00
Ralf Teusner
d1d948c71e replaced ticks with string concatenation. Ticks are not possible, since execjs can't handle them. 2017-03-21 11:48:05 +01:00
Thomas Hille
5729a3ba5e removed this.resizeAceEditors() since it was only a test 2017-03-21 11:34:57 +01:00
Thomas Hille
8b67a70546 commenting, improved readability 2017-03-21 10:31:45 +01:00
Thomas Hille
12adfde6c2 search bar now searches in forum of the course from where the LTI request came from. alternatively searches in the java 2017 course.
show interventions only in the current java course
2017-03-21 10:31:45 +01:00
Thomas Hille
1eda266159 fixed calculation of time until intervention pops up 2017-03-21 10:31:45 +01:00
Thomas Hille
f1bf313280 changed times for rfc and break intervention to minimum 15 and 20 minutes. roc modal shows some additional text to the modal for less confusion 2017-03-21 10:31:33 +01:00
Thomas Hille
9761dd0a2a improved search bar and search button.
added button to collapsed sidebar
2017-03-21 10:31:33 +01:00
Thomas Hille
a481ec0da8 always show search on left side. placeholder in search input 2017-03-21 10:31:33 +01:00
Thomas Hille
eb0c79a043 added search bar to the side col 2017-03-21 10:31:33 +01:00