Commit Graph

130 Commits

Author SHA1 Message Date
Sebastian Serth
cc48361a15 Remove unused scrollbars in /implement 2018-11-06 16:49:44 +01:00
Sebastian Serth
c44478783a Fix bootstrap CSS issues in Safari and Chrome 2018-11-06 16:49:44 +01:00
Sebastian Serth
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
Ralf Teusner
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
Jan Graichen
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
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
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
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
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
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
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
Thomas Hille
5d2eb6f381 fixed search in firefox 2017-03-21 10:31:33 +01:00
Thomas Hille
5b50deb70d split intervention modal into 2 separate modals 2017-03-21 10:31:33 +01:00
Thomas Hille
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
Thomas Hille
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
Thomas Hille
9c4b981bcb removed unnecessary stuff in Ajax 2017-03-21 10:31:33 +01:00
Thomas Hille
904868394a added interventions being saved once they are fired 2017-03-21 10:31:33 +01:00
Thomas Hille
bfc96328c4 added interventions back to code. added post method to be able to save interventions 2017-03-21 10:31:33 +01:00
Thomas Hille
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
Thomas Hille
b82018dd8f changed some variable names 2017-03-21 10:31:32 +01:00
Thomas Hille
2caf4b123e added intervention modals back into editor.js and html 2017-03-21 10:31:32 +01:00
Ralf Teusner
a52b27bb59 render html and or markdown for feedback messages 2017-02-08 16:19:41 +01:00
Ralf Teusner
2d5125dfa2 resize ace editors on toggle of description text 2017-02-03 13:53:32 +01:00
Ralf Teusner
a03d604861 fix points rounding in results view, clear results view on new scoring attempt. 2016-12-19 18:29:33 +01:00
Ralf Teusner
5b00f41c10 Fix request for comments. Scope of the function call was incorrect, and the correct cause was not passed to the rails and the database afterwards. This is both fixed now. 2016-12-02 15:25:54 +01:00