Commit Graph

398 Commits

Author SHA1 Message Date
60078701f5 Editor: Allow file retrieval after code run 2022-10-29 18:49:18 +02:00
fb9672c7a4 FileTree: Allow output as hash, convert to JSON separately 2022-10-29 18:49:18 +02:00
dba3aac800 Merge branch 'master' into refactor_proforma_import_export 2022-09-13 22:47:50 +02:00
a2bb2844b4 Add a Content Security Policy 2022-09-06 11:20:57 +02:00
60dc8c3b7e Apply line-based coloring for output 2022-09-02 16:56:18 +02:00
5ace779d0c fix and add specs 2022-08-31 20:51:58 +02:00
b3f9a1ec90 Allow line breaks in feedback texts 2022-08-25 00:31:32 +02:00
6dcccd324b Show feedback without rendering Markdown
* We do not instruct learners how to write Markdown, this might yield to an unexpected rendering
2022-08-25 00:23:08 +02:00
50b81df742 proforma upgrade and small fixes 2022-08-23 21:12:03 +02:00
3effdbe600 merge master 2022-08-20 22:20:52 +02:00
166aa3cc6f Remove Ransack from Exercise edit for tags
* Also improve Ransack usage of attributes and associations
2022-08-20 01:33:00 +02:00
0e96bc79c4 Conditionally show file tree 2022-08-16 23:27:39 +02:00
f38052d235 Allow fa-spin to spin, actually
When using `display: inline;`, many browsers won't rotate the icon.
2022-08-12 18:01:47 +02:00
4d569475c9 Fix access to external_user_statistics
Amends #1304
https://github.com/openHPI/codeocean/pull/1304
2022-08-12 17:33:45 +02:00
8a055a0d68 Update Bootstrap from v4 to v5 2022-08-12 11:45:32 +02:00
d223abfb5e Update from webpacker v5 to shakapacker v6.0.0.rc13
Using a two-step process is recommended:
332e25186a/docs/v6_upgrade.md
2022-08-12 10:22:55 +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
d93e71dc28 Rename v5 FontAwesome icons to match 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/whats-changed#icons-renamed-in-version-6
2022-08-09 14:17:32 +02:00
d4c567c722 Remove @submissions variable for external_user_statistics 2022-07-22 13:19:22 +02:00
66d9a2b22a added logic to hide the show/hide autosaves feature for users without permission to view detailed_statistics 2022-07-20 17:18:36 +02:00
a83bff80ed added a button to toggle autosave submissions as well as a label to indicate current toggle status 2022-07-20 17:18:36 +02:00
4ef7da839d Use TestrunMessages instead of Testrun.output when displaying output 2022-04-29 22:44:35 +02:00
19bd742bc9 Show a localized message if the program was killed.
* This will most likely happen by the OOM killer, thus we inform the user about the memory restriction.
2022-04-15 21:29:55 +02:00
9d9570b26b Update intervention locale and add explanation 2022-04-15 14:23:05 +02:00
2f86b18fd6 Fix run and score statistics for internal and external users 2022-01-21 13:13:52 +01:00
ba11adb966 Fix working time statistics for internal and external users 2022-01-20 23:41:32 +01:00
c5c47715b3 Merge branch 'master' into refactor_proforma_import_export
# Conflicts:
#	spec/controllers/exercises_controller_spec.rb
2022-01-11 22:20:18 +01:00
3260d8f82f tiny refactor from exercise_found to task_found 2022-01-11 22:17:09 +01:00
0c1a10959c Use file name with file path as identifier 2021-12-15 00:52:31 +01:00
da4e10b990 Add CommunitySolution
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00
9079a0b15a Implement Tips Intervention 2021-11-23 01:38:10 +01:00
21185ea4b3 Make empty submissions not clickable 2021-11-16 13:32:51 +01:00
571be87879 Fix range slider for external user statistics 2021-11-16 12:02:52 +01:00
f15bbe2c29 Fix links for external user statistics 2021-11-16 11:57:43 +01:00
aa49731e49 Remove submissions without visible files from statistic view 2021-11-16 11:43:23 +01:00
e224e41564 Exercise view: Re-use @execution_environments 2021-11-08 22:39:10 +01:00
f9a7e73719 Remove usage of safe_html in renderings 2021-10-12 11:23:22 +02:00
649bb01249 Refactor h1 and inline button for exercise show 2021-06-08 09:00:25 +02:00
f32661ad78 Rework left sidebar
* Move Buttons from left sidebar to JSTree
* Use light style for collapse sidebar buttons
2021-05-28 17:49:59 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
40d83dbb1d Fix access to exercise-specific RfC listing 2021-04-07 14:06:32 +02:00
36ac8b63cb Use regular file as default for new exercise file roles 2021-03-17 14:33:40 +01:00
6900d4ef2c Add collapse_exercise_description LTI parameter 2021-01-29 13:54:47 +01:00
aed9a3121f Hide filename if not available 2021-01-20 23:12:04 +01:00
2c99c2db62 Show filename and sort by it for statistic page 2021-01-19 12:37:05 +01:00
4ea3cb29d3 Fix download for binary files 2021-01-11 15:10:41 +01:00
9fba70cde2 Always show file upload box when editing exercises 2020-12-16 18:00:47 +01:00
c32e7586cd Remove consumer_id from session
* Each external (and also internal) user has a consumer attached. We don't need that information twice.
2020-11-25 21:19:18 +01:00
a9008d2a26 Improve numbering format for tips 2020-10-25 17:24:25 +01:00