Sebastian Serth
36ac8b63cb
Use regular file as default for new exercise file roles
2021-03-17 14:33:40 +01:00
Sebastian Serth
799e37f9ae
Add new style for linter and allow 0 points
2020-10-15 16:22:37 +02:00
Sebastian Serth
be3ec82bd4
Add new file role teacher_defined_linter
2020-10-15 00:43:57 +02:00
Sebastian Serth
dec557da55
Readd collapse for editing an exercise
2020-05-05 16:52:29 +02:00
Sebastian Serth
2b326b4ff7
Apply various updates and add reminder for collapse
2020-05-04 16:46:12 +02:00
Sebastian Serth
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
Sebastian Serth
7bdb962616
Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites
2018-11-06 16:49:41 +01:00
Maximilian Grundke
293277df6a
Delete files via ajax request instead to enhance flow when editing exercises
2018-06-05 16:51:58 +02:00
Maximilian Grundke
b88280bc6c
Link to destroy action of the file object
2018-06-05 13:46:57 +02:00
Maximilian Grundke
d5aed4f7b6
Don't rely on parameter; use non-existing file name as indicator instead
2017-09-21 17:15:01 +02:00
Maximilian Grundke
10600045f4
Auto-expand new files
2017-09-21 17:09:27 +02:00
Maximilian Grundke
bbf94859eb
Enable expanding multiple files at the same time
2017-09-21 16:31:30 +02:00
Maximilian Grundke
acf2bfb28e
Collapse files by default
2017-09-21 16:24: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
21699952ff
some renaming
2016-08-29 13:00:12 +02:00
yqbk
e17782b18d
done
2016-08-26 13:16:38 +02:00
yqbk
cba44680ef
save properly
2016-08-26 11:38:17 +02:00
yqbk
f757737606
fields for instead form for (solved problem with sibmission button)
2016-08-26 11:37:57 +02:00
yqbk
7bead2c473
implementation ready for testing
2016-08-17 15:53:16 +02:00
yqbk
6a6ed9f453
separate editor for each file
2016-08-15 16:06:15 +02:00
yqbk
aa254366db
adjustments in file form
2016-08-15 15:39:42 +02:00
yqbk
31b0c3ba25
Ace editor for each file form
2016-08-12 15:29:06 +02:00
yqbk
eb03ef1e50
pass file to form
2016-08-03 16:22:35 +02:00
yqbk
284ab22228
cleanup3
2016-08-02 16:23:44 +02:00
yqbk
de866d00ca
ace with files
2016-08-02 15:02:02 +02:00
yqbk
f7eaa24a1d
revert mistakes
2016-08-02 12:47:11 +02:00
yqbk
e86a8f538e
comments
2016-07-27 17:15:07 +02:00
yqbk
9b66d61998
tests
2016-07-25 18:41:52 +02:00
yqbk
70c5f9c3ad
test2
2016-07-11 16:54:19 +02:00
yqbk
29889bc455
test
2016-07-11 15:52:48 +02:00
yqbk
625ec68e5a
change log_level
2016-07-11 15:28:34 +02:00
yqbk
4b6ec8c79c
file.id = 34 before .frame, after it is nil...
2016-07-06 14:59:52 +02:00
yqbk
43f23f5a06
remove some code
2016-07-06 14:34:02 +02:00
yqbk
6050d80060
first try...
2016-07-05 17:12:15 +02:00
Ralf Teusner
6e7c250ad1
revert collapsed file forms in edit mode, this caused too much trouble. Added some comments concerning that.
2016-06-29 15:38:53 +02:00
Ralf Teusner
a2d92f1521
file ordering in show of exercises, collapse behavior
2016-06-24 16:41:51 +02:00
yqbk
d26d859df1
resolve confilts
2016-05-12 18:45:14 +02:00
yqbk
e2f4991e54
change collapsing style
2016-05-12 17:09:13 +02:00
Maximilian Grundke
7477376457
Collapse files in exercise edit view
2016-03-10 16:30:45 +01:00
Hauke Klement
cd09e19d24
hide fields from the file form if not matching the file's role
2015-03-12 17:04:47 +01:00
Hauke Klement
0c47337d5a
added the ability to discard files when creating a new exercise
2015-03-10 10:48:53 +01:00
Hauke Klement
4cbf9970b1
transferred Code Ocean from original repository to GitHub
2015-01-22 10:01:32 +01:00