7aaeac03d6
Remove outdated error for used_defined_tests
...
Previously, a user-defined test (those run with "Test" instead of "Run") would cause a flash message and a Sentry error if anything was printed to StdErr. As this might happen during user code execution (and therefore is no error), we remove this warning. All existing errors are already caught (compare with enum status in testrun.rb), so it's fine for now.
Fixes CODEOCEAN-BT
2022-11-16 22:41:07 +01:00
60078701f5
Editor: Allow file retrieval after code run
2022-10-29 18:49:18 +02:00
9e1f2da02e
Fallback to default height if editor offset cannot be determined
...
Fixes CODEOCEAN-B6, Fixes CODEOCEAN-E1, Fixes CODEOCEAN-BZ
2022-10-06 00:24:23 +02:00
ac3dc8d30f
Allow platform admins and internal users to switch their current study group
2022-09-22 19:24:26 +02:00
dccc60b7ca
Remove renderWebsocketOutput
and use printWebsocketOutput
instead
...
* The `render` command is not used much
* Originally added with commit 898074be3f
* The `#render` anchor (see findOrCreateRenderElement) was the "Render" button above the editor, nothing was rendered at all if executing code and otherwise it would be included _within_ the button.
2022-09-04 23:12:46 +02:00
60dc8c3b7e
Apply line-based coloring for output
2022-09-02 16:56:18 +02:00
0b68f1309d
Fix FontAwesome class after FA v6 upgrade
2022-08-15 23:25:24 +02:00
afd7ded734
Fix display of score and error messages after Bootstrap update
2022-08-12 18:02:02 +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
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
94891fa7f6
Always use full file path for CodeOceanEditor.active_file
2022-06-27 11:59:29 +02:00
ac170e8fd7
Allow images in augmentStacktraceInOutput
2022-06-17 00:04:05 +02:00
b364918cb6
Add link to Ralfs diss regarding interventions
2022-06-08 12:58:38 +02:00
ea02dff0e5
Extend storage of Testrun Messages and truncate long output
2022-04-29 22:44:34 +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
5f68baba75
Fix typo for TipsIntervention in JS
2022-04-06 19:51:28 +02:00
d1d628a090
Increase time for intervention and RfC tooltip
2022-04-06 19:50:25 +02:00
3dc8265292
Toggle editor buttons when jumping to a source line
2021-12-21 13:26:06 +01:00
d543ac76ae
Fix Java RegEx for relative files
2021-12-15 00:52:31 +01:00
e84276e1f5
Allow ACE resizing with different theme
...
Fixes CODEOCEAN-6E
2021-12-15 00:52:30 +01:00
5b09722c20
Set minTimeIntervention to 30 min for Java
2021-11-30 21:35:14 +01:00
3572f5fbda
Introduce REQUEST_TOOLTIP_DELAY
2021-11-24 09:16:06 +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
237c225732
Add support for running CodeOcean under a subpath
...
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +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
293f7f6df7
Unload autosave on turbolinks page render.
...
We cannot use turbolinks:request-start because this will duplicate code (if a page is first requested by turbolinks and afterwards by a full page reload)
2021-03-10 13:51:29 +01:00
6db37f0360
Enable HTML links in Linter output and augmented trace
2021-02-08 22:46:39 +01:00
4c7b5a5d23
Show line breaks in score run and HTML tags in output
2021-02-06 13:34:11 +01:00
c1f187693a
Escape HTML from test results
2021-02-03 17:00:50 +01:00
4bf2171fee
Prevent filetree from disappearing when clicking outside
2021-01-23 12:19:15 +01:00
4bb2c5f7c7
Switch shortcut keycode to work for Firefox
2021-01-18 23:43:30 +01:00
afcc4d94cd
Use same style for single and multiple errors in populateCard
2020-11-18 10:07:26 +01:00
6868102071
Use full name for selectFileInJsTree in order to prevent bind referring to undefined
2020-11-11 18:15:54 +01:00
804a22e680
Remove deprecated access to global var event
2020-11-11 18:07:17 +01:00
88a2558039
Check for this.active_frame.data() before accessing
2020-11-11 17:46:02 +01:00
2ba6cd7b32
Prevent duplication of content in ACE.
2020-11-10 02:20:18 +01:00
fd788cc51d
Populate score card with custom details and add link to line
2020-11-10 00:45:31 +01:00
e958b890cf
Prevent code duplication when changing from implement view
2020-11-09 00:01:44 +01:00
ab9673757f
Check for undefined in isActiveFileRenderable
2020-10-29 12:35:31 +01:00
d20692d3e8
Log more infos on websocket error
2020-10-29 12:21:55 +01:00
e8d274a4a4
Allow clicking on submit only once
2020-10-28 13:19:59 +01:00
ca9467bf3c
Merge branch 'linter_toggle'
...
# Conflicts:
# config/locales/de.yml
2020-10-15 18:33:19 +02:00
a49c01645b
Move tips to left sidebar and set width = 25%
2020-10-15 17:40:48 +02: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
e550828c58
Add backend for tips and enable markdown support
2020-10-14 14:34:26 +02:00
edd8e3bb35
Store events for tip expanding and collapsing
2020-10-14 14:34:26 +02:00