Commit Graph

82 Commits

Author SHA1 Message Date
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
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
cc48361a15 Remove unused scrollbars in /implement 2018-11-06 16:49:44 +01:00
c44478783a Fix bootstrap CSS issues in Safari and Chrome 2018-11-06 16:49:44 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
629c925e77 Fix setting active file in editor
The file select hook did construct an active_file but did not
assign it to the actual variables. This commit changes the hook to
use the existing setActiveFile helper function.
2018-10-19 12:34:12 +02:00
16533e2d89 Work around messy architecture 2018-08-14 21:48:16 +02:00
f73de94f4d Allow file_id to be captured 2018-08-14 21:36:24 +02:00
369b0c8908 Send paste events to CodeOcean events API instead of LearningAnalytics 2018-08-14 21:28:06 +02:00
11137fa5f6 Style exercise description as a card and display an additional (more obvious) toggle 2018-08-03 14:38:58 +02:00
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
7053544bcb Hide socket errors in Internet Explorer too 2018-06-05 11:31:08 +02:00
909d0de42e remove anchor test output 2018-06-03 16:57:57 +02:00
a92c13ed71 Mute "unknown error" messages in Edge which occur after the socket was closed successfully 2018-05-16 14:35:08 +02:00
ccdcc43431 Display hints in editor frontend 2018-03-08 16:20:07 +01:00
851beac4e7 removed == true in condition 2017-11-16 17:11:37 +01:00
f877cd675a move user-id for codeocean-events into in_context 2017-08-04 16:39:23 +02:00
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
6c353d611d make output scroll again! 2017-06-19 13:35:03 +02:00
341cd3a003 fix incomplete resizing of ace editors by triggering a resize event 2017-04-07 21:16:20 +02:00
cbaafa0383 stop intervention timer if user lost focus to the code ocean tab 2017-04-04 13:26:43 +02:00
cff46f963d added close button for requestForCommand-modal 2017-04-03 17:33:52 +02:00
a7effa7eb3 do now show intervention message for rfc modal if clicked on the button 2017-03-24 14:07:24 +01:00
7f6c433fe8 fixed time for interventions 2017-03-24 12:17:18 +01:00
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
028876da60 fix javascript for autosave on beginning 2017-03-23 14:08:37 +01:00
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
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
d1d948c71e replaced ticks with string concatenation. Ticks are not possible, since execjs can't handle them. 2017-03-21 11:48:05 +01:00
5729a3ba5e removed this.resizeAceEditors() since it was only a test 2017-03-21 11:34:57 +01:00
8b67a70546 commenting, improved readability 2017-03-21 10:31:45 +01:00
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
1eda266159 fixed calculation of time until intervention pops up 2017-03-21 10:31:45 +01:00
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
9761dd0a2a improved search bar and search button.
added button to collapsed sidebar
2017-03-21 10:31:33 +01:00
a481ec0da8 always show search on left side. placeholder in search input 2017-03-21 10:31:33 +01:00
eb0c79a043 added search bar to the side col 2017-03-21 10:31:33 +01:00
5d2eb6f381 fixed search in firefox 2017-03-21 10:31:33 +01:00
5b50deb70d split intervention modal into 2 separate modals 2017-03-21 10:31:33 +01:00
695b8946f6 added search intervention. search opens new tab with search in the java course (at least in chrome)
send only 3 interventions per exercise at maximum
2017-03-21 10:31:33 +01:00
17d09accb7 only show interventions if condition is met. right now, only show one intervention per user and exercise 2017-03-21 10:31:33 +01:00
9c4b981bcb removed unnecessary stuff in Ajax 2017-03-21 10:31:33 +01:00
904868394a added interventions being saved once they are fired 2017-03-21 10:31:33 +01:00
bfc96328c4 added interventions back to code. added post method to be able to save interventions 2017-03-21 10:31:33 +01:00
2456f46b2b changed name of intervention modal, timer in editor.js set text now. some time calculations in editor for interventions 2017-03-21 10:31:32 +01:00
b82018dd8f changed some variable names 2017-03-21 10:31:32 +01:00
2caf4b123e added intervention modals back into editor.js and html 2017-03-21 10:31:32 +01:00
a52b27bb59 render html and or markdown for feedback messages 2017-02-08 16:19:41 +01:00
2d5125dfa2 resize ace editors on toggle of description text 2017-02-03 13:53:32 +01:00