Commit Graph

275 Commits

Author SHA1 Message Date
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
Ralf Teusner
181578ca87 change call to retrieve relative_url_root 2016-10-28 17:13:21 +02:00
Ralf Teusner
accf0550d7 reworked the exercise edit dialog. Moved javascript part from editor_edit.js.erb to exercises.js.erb.
Manipulated some further javascript as necessary. It is not super elegant, but this is due to the former structure of the code which uses cloned dummy forms.
Integrating the ace editor made some strange calls necessary.
Also fixed toggling the input area and the file upload dialog
2016-10-12 16:35:21 +02:00
Ralf Teusner
4cf192d0f3 fix wrong link in refactor, since "this" is no longer available in javascript calls. 2016-10-12 14:37:09 +02:00
Ralf Teusner
1dfd6f61dc some more relative url roots in editor_edit, removed javascript uglifying for staging, added debug message for docker websocket connection url.
added doku for setting up docker daemon for codeocean
2016-10-07 14:16:24 +02:00
Ralf Teusner
59119e43d5 added relative_url_root to some more javascript calls (ace file path, file template path). 2016-10-06 16:32:20 +02:00
Ralf Teusner
58dac37d77 added relative_url_root to URL for websocket call, needed for staging server 2016-10-06 16:14:51 +02:00
Ralf Teusner
d26a0fa6a4 Enhance codeocean events with user agent and external-id if present 2016-09-27 17:56:16 +02:00
Alexander Kastius
31c4f4b608 FIxed typo. 2016-09-09 18:10:08 +02:00
Alexander Kastius
70040b3c6b Reordered everything again. 2016-09-09 18:08:41 +02:00
Alexander Kastius
87d1b2388d Moved codepilot into dedicated file.
Renamed prompt.js
Moved requestComments out of flowr.js
2016-09-09 17:24:04 +02:00
Alexander Kastius
493bf98850 Removed unused functions. 2016-09-09 17:17:54 +02:00
Alexander Kastius
3fd43fdee2 Sending command 'client_kill' on stop button click now.
Killing a container only if command client_kill was send.
Moved propmpt to prompt.js
2016-09-09 16:41:20 +02:00
Ralf Teusner
2b621e2de6 some more code cleanup and UI optimizations 2016-09-09 16:10:43 +02:00
Ralf Teusner
542ec78076 remove some more tab code not used any longer. 2016-09-09 15:43:50 +02:00
Ralf Teusner
46cb071503 remove code that showed tabs and leftovers of serversend events (runmode) 2016-09-09 15:40:53 +02:00
Ralf Teusner
77452e6c2b move progress into sidebar 2016-09-09 15:40:09 +02:00
Ralf Teusner
3cd224c57e re-applied changes for redirect to request for comments 2016-09-09 14:19:47 +02:00
Ralf Teusner
d2dab21292 some changes to resizing 2016-09-09 14:04:51 +02:00
Alexander Kastius
bac86cd466 Made editor-resizing possible. 2016-09-09 13:42:51 +02:00
Ralf Teusner
8f499b72da Feature: Auto-Completion in Source Code
+ allow flags for exercises
2016-09-07 17:34:20 +02:00
Ralf Teusner
b8da4dea17 Merge branch 'master' into editor-frontend-refactor
Conflicts:
	app/assets/javascripts/editor.js.erb
	app/views/exercises/implement.html.slim
2016-09-02 15:04:18 +02:00
Alexander Kastius
f170fee6a9 Replaced hr with enforced margin. 2016-09-01 17:49:59 +02:00
Alexander Kastius
1670839ecf Fixed part of prompt. 2016-09-01 17:41:00 +02:00
Ralf Teusner
bbd372916a Merge branch 'editor-frontend-refactor' of https://github.com/openHPI/codeocean into editor-frontend-refactor 2016-09-01 17:32:11 +02:00
Ralf Teusner
eacaa665f6 make websocket flush accessible. 2016-09-01 17:31:46 +02:00
Alexander Kastius
11d284b166 Disabled file tree and collapsed sidebar when filetree should be disabled. 2016-09-01 17:31:18 +02:00
Alexander Kastius
9ec9f01257 Added handler for exit command. 2016-09-01 17:03:28 +02:00
Alexander Kastius
333a72c996 Added url param. 2016-09-01 16:50:10 +02:00
Ralf Teusner
1f159ce0bd some cleanup,
reducing size of questions sidebar
2016-09-01 16:48:55 +02:00
Alexander Kastius
e42330cf1b Added tooltip to request-comments button.
Added locale for all new texts.
2016-09-01 16:27:40 +02:00