Commit Graph

17 Commits

Author SHA1 Message Date
9512fe4a79 add check_uuid_url to codeharbor_link 2019-10-20 16:20:04 +02:00
7e7be4721a wip multi-step export 2019-10-20 11:02:57 +02:00
4ab78c170e add uuid check 2019-10-16 19:19:28 +02:00
87798212ad add unpublished to views 2019-10-11 16:28:50 +02:00
b94289f36f Fix adding files to exercises (as admin)
Prevent hidden selection field from being removed after cloning the dummy. Also ensure the caret looks nice and add the file extension if possible
2018-11-29 22:32:12 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
293277df6a Delete files via ajax request instead to enhance flow when editing exercises 2018-06-05 16:51:58 +02:00
7c986f2de7 fixed problem that no new files could be added to an exercise 2017-03-21 17:35:46 +01:00
b0ceeea650 fix retrieval of relative_url_root also for other calls. 2016-10-28 17:22:31 +02:00
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
59119e43d5 added relative_url_root to some more javascript calls (ace file path, file template path). 2016-10-06 16:32:20 +02:00
58dac37d77 added relative_url_root to URL for websocket call, needed for staging server 2016-10-06 16:14:51 +02:00
f1de18141a refactored JavaScript code not to use inline Ruby evaluation 2015-03-12 09:13:38 +01:00
ff81b27fc0 removed code duplication 2015-03-10 18:27:05 +01:00
3ae749bfc5 extended execution environments by a default file type that is used as the default for associated exercises' files 2015-03-10 18:14:26 +01:00
8ef0e92914 infer file type from uploaded file 2015-03-10 11:20:48 +01:00