9dd3f94d04
Fix incorrect translation on exercise edit
2024-06-17 14:44:16 +02:00
e551c8a699
Reorder translations and add missing prefixes
...
- files should be prefixed with code_ocean/
- the markdown editor is part of the application (helper)
2024-05-21 19:42:26 +02:00
9a9efd5caa
Lint Slim files and fix offenses
...
The fixing was partially done manually and partially automatically.
2024-04-18 08:31:24 +02:00
605ce66d62
Move hidden feedback explanation closer to checkbox
2023-12-08 20:43:39 +01:00
ef89b20986
Improve explanation for hidden feedback messages in tests
2023-12-08 20:25:02 +01:00
db56a690c7
Add option to suppress feedback messages
...
This is used to dynamically exclude some test results from being shown to users, but still allows them to run in the background (e.g., for research).
2023-07-27 10:38:49 +02:00
8a055a0d68
Update Bootstrap from v4 to v5
2022-08-12 11:45:32 +02:00
b98c37ae64
Rename v4 FontAwesome icons to match v5/v6 name
...
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/upgrade-from-v4#icons-renamed-since-version-4
2022-08-09 14:17:32 +02:00
0c1a10959c
Use file name with file path as identifier
2021-12-15 00:52:31 +01:00
36ac8b63cb
Use regular file as default for new exercise file roles
2021-03-17 14:33:40 +01:00
799e37f9ae
Add new style for linter and allow 0 points
2020-10-15 16:22:37 +02:00
be3ec82bd4
Add new file role teacher_defined_linter
2020-10-15 00:43:57 +02:00
dec557da55
Readd collapse for editing an exercise
2020-05-05 16:52:29 +02:00
2b326b4ff7
Apply various updates and add reminder for collapse
2020-05-04 16:46:12 +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
293277df6a
Delete files via ajax request instead to enhance flow when editing exercises
2018-06-05 16:51:58 +02:00
b88280bc6c
Link to destroy action of the file object
2018-06-05 13:46:57 +02:00
d5aed4f7b6
Don't rely on parameter; use non-existing file name as indicator instead
2017-09-21 17:15:01 +02:00
10600045f4
Auto-expand new files
2017-09-21 17:09:27 +02:00
bbf94859eb
Enable expanding multiple files at the same time
2017-09-21 16:31:30 +02:00
acf2bfb28e
Collapse files by default
2017-09-21 16:24:21 +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
21699952ff
some renaming
2016-08-29 13:00:12 +02:00
e17782b18d
done
2016-08-26 13:16:38 +02:00
cba44680ef
save properly
2016-08-26 11:38:17 +02:00
f757737606
fields for instead form for (solved problem with sibmission button)
2016-08-26 11:37:57 +02:00
7bead2c473
implementation ready for testing
2016-08-17 15:53:16 +02:00
6a6ed9f453
separate editor for each file
2016-08-15 16:06:15 +02:00
aa254366db
adjustments in file form
2016-08-15 15:39:42 +02:00
31b0c3ba25
Ace editor for each file form
2016-08-12 15:29:06 +02:00
eb03ef1e50
pass file to form
2016-08-03 16:22:35 +02:00
284ab22228
cleanup3
2016-08-02 16:23:44 +02:00
de866d00ca
ace with files
2016-08-02 15:02:02 +02:00
f7eaa24a1d
revert mistakes
2016-08-02 12:47:11 +02:00
e86a8f538e
comments
2016-07-27 17:15:07 +02:00
9b66d61998
tests
2016-07-25 18:41:52 +02:00
70c5f9c3ad
test2
2016-07-11 16:54:19 +02:00
29889bc455
test
2016-07-11 15:52:48 +02:00
625ec68e5a
change log_level
2016-07-11 15:28:34 +02:00
4b6ec8c79c
file.id = 34 before .frame, after it is nil...
2016-07-06 14:59:52 +02:00
43f23f5a06
remove some code
2016-07-06 14:34:02 +02:00
6050d80060
first try...
2016-07-05 17:12:15 +02:00
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
a2d92f1521
file ordering in show of exercises, collapse behavior
2016-06-24 16:41:51 +02:00
d26d859df1
resolve confilts
2016-05-12 18:45:14 +02:00
e2f4991e54
change collapsing style
2016-05-12 17:09:13 +02:00
7477376457
Collapse files in exercise edit view
2016-03-10 16:30:45 +01:00
cd09e19d24
hide fields from the file form if not matching the file's role
2015-03-12 17:04:47 +01:00
0c47337d5a
added the ability to discard files when creating a new exercise
2015-03-10 10:48:53 +01:00