75c6dfd20b
Rename actioncable integration (deprecation warning)
2022-12-06 15:26:50 +01:00
15878f500c
Switch order of unloading the autosave timer
...
Hypothesis: When unloadAutoSave was called, we first saved (causing this.autosaveTimer to become null) and then tried to clearTimeout on this variable (= on null). This probably never worked?
Hopefully closes CODEOCEAN-B5
2022-11-16 23:26:25 +01:00
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
fb494dabbd
Re-init Sorttable on turbolinks page load
2022-11-16 20:13:37 +01:00
f17718f69f
CSP: Extract JavaScript from layout to assets
...
Fixes CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
a9c642a116
CSP: Extract RfC JS from view to assets
...
Relates to CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
58548555a5
Shell: Add file system browser to retrieve arbitrary files
2022-10-29 18:49:18 +02: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
f53c6cb3ee
Shell: Add toggle to execute command as root
2022-10-04 16:06:58 +02:00
b4ab807ef0
Open Render in new Tab with timeout (to resolve issue with Safari)
2022-09-23 21:35:23 +02:00
150df3d219
Open linked resources in a new browsing context
2022-09-23 21:35:22 +02:00
16c00ec136
Add support for signed URLs used by the render_file function
2022-09-23 21:35:22 +02:00
ac3dc8d30f
Allow platform admins and internal users to switch their current study group
2022-09-22 19:24:26 +02:00
2f622174fa
Handle undefined this.websocket
when stopping code
...
Fixes CODEOCEAN-CJ
2022-09-22 19:24:26 +02:00
80419db868
[CSP] Prevent use of unsafe-inline for links
...
* Also update all <a> tags in locals
2022-09-07 21:42:07 +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
0de213b8c7
Pagedown: Use default sanitizer for preview
2022-09-03 22:50:30 +02:00
60dc8c3b7e
Apply line-based coloring for output
2022-09-02 16:56:18 +02:00
ffd7a0351a
Improve display of images for code output
2022-08-25 20:13:22 +02:00
cb0f30768f
Change HTTP links to HTTPS
2022-08-17 01:29:27 +02:00
0b68f1309d
Fix FontAwesome class after FA v6 upgrade
2022-08-15 23:25:24 +02:00
7d0c3aef4f
Show current submission for exercise statistics
2022-08-15 23:24:15 +02:00
a56b61d4bc
Migrate sorttable to NPM package
2022-08-13 00:38:53 +02:00
6dd64b2a74
Remove outdated URL polyfill
2022-08-13 00:37:21 +02:00
02e5a0490c
Remove Modernizr, as it is no longer used
2022-08-12 23:50:11 +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
4096abf89f
Update visjs to new fork, reduce bundle size
2022-08-12 14:11:18 +02:00
8a055a0d68
Update Bootstrap from v4 to v5
2022-08-12 11:45:32 +02:00
627927bb54
Remove console.log
2022-08-12 10:22:55 +02:00
eb175b3b40
Fix Webpack-imported modules
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
727f85841d
Bump i18n-js from 3.9.2 to 4.0.0
...
Bumps [i18n-js](https://github.com/fnando/i18n-js ) from 3.9.2 to 4.0.0.
- [Release notes](https://github.com/fnando/i18n-js/releases )
- [Changelog](https://github.com/fnando/i18n-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fnando/i18n-js/compare/v3.9.2...v4.0.0 )
---
updated-dependencies:
- dependency-name: i18n-js
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-09 10:11:36 +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
df9fb50c7d
Re-allow Carriage Return in Output
2022-04-11 19:45:04 +02:00
692cb1107e
Remove non-printable characters from console
2022-04-07 18:17:27 +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
18daa1c998
Enable image preview in STDOUT
2022-03-02 11:44:48 +01:00
3dc8265292
Toggle editor buttons when jumping to a source line
2021-12-21 13:26:06 +01:00
416135daf0
Change order of autosave and clearing of editors when submitting code
2021-12-16 11:54:31 +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