Commit Graph

305 Commits

Author SHA1 Message Date
rteusner
ec1be437de Merge pull request #120 from openHPI/minor-fixes
Close flash messages
2017-06-26 13:36:23 +02:00
Ralf Teusner
6c353d611d make output scroll again! 2017-06-19 13:35:03 +02:00
Maximilian Grundke
ff9fb8d491 Remove unnecessary js.coffee file 2017-06-14 13:57:51 +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
rteusner
f10af1f45b Merge pull request #93 from ThommyH/fixing_searches
search is now saved asynchron and without a form
2017-03-22 10:10:44 +01:00
Thomas Hille
7c986f2de7 fixed problem that no new files could be added to an exercise 2017-03-21 17:35:46 +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
dec45880b9 fix edge compatibility in docker config file (wss:// --> wss: ). also clean up hash removal of url and add docker.yml to the files to be deployed by capistrano 2017-03-07 18:09:31 +01:00
Ralf Teusner
a52b27bb59 render html and or markdown for feedback messages 2017-02-08 16:19:41 +01:00
Ralf Teusner
0ddcf3a5bb remove # from socket url... 2017-02-03 18:29:22 +01:00
Ralf Teusner
2d5125dfa2 resize ace editors on toggle of description text 2017-02-03 13:53:32 +01:00
Ralf Teusner
252a6ba5d8 strip # from filename if it is there by error. 2017-02-02 12:04:22 +01:00
Tom Staubitz
a53e884cea refined previous commit 2017-01-21 10:02:34 +01:00
Tom Staubitz
0daf31e5ad removed un-i18n-ed text extension.
At least in case of Python the output is wrong anyway in quite a lot of cases.
2017-01-21 09:56:28 +01:00
Tom Staubitz
4badd82d58 fixed broken test 2017-01-19 14:34:49 +01:00
Tom Staubitz
95f90def8a fix previous 2017-01-18 13:51:46 +01:00
Tom Staubitz
de79508efb repLACED STRING WITH URL 2017-01-18 13:45:30 +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
Ralf Teusner
40b386662c made loading of config values more fault tolerant. 2016-11-24 11:56:53 +01:00
Ralf Teusner
84b9b4a622 only send learning analytics events when specified in config. 2016-11-23 17:06:14 +01:00
Ralf Teusner
d9cc9d17cf remove already merged files. All content is now in participantsupport.js.erb 2016-11-23 16:26:17 +01:00
Ralf Teusner
f65b1b3991 remove old comment... 2016-11-23 16:19:20 +01:00
Ralf Teusner
b0ceeea650 fix retrieval of relative_url_root also for other calls. 2016-10-28 17:22:31 +02:00