19 Commits

Author SHA1 Message Date
4f8d313da4 Use webpack to deliver newest ACE editor
With this commit, we change the delivery method for the ACE editor from manually copied files to using yarn and webpack. As a side-change, we also modify how the mode is selected through JavaScript instead of Ruby.

Through webpack, the `modePath`, `themePath`, and `workerPath` are automatically determined and working as expected.

Closes #250
2024-03-25 10:00:04 +01:00
60dad19ea5 Rename .js.erb files .js
Since we switched to more I18n-JS and JsRoute functions with f5739a33 and 2f03061f, we don't have the need to use a template engine for those files any longer.
2024-01-19 11:06:40 +01:00
237c225732 Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +02:00
6a11702910 Start slider for submission statistics on newest change and increase speed 2020-01-30 19:27:44 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
8ddc41b852 Fix slider 2015-12-17 11:56:06 +01:00
4cd8a501b1 Switch to fontawesome icons 2015-12-16 16:34:13 +01:00
d36e6fd991 Implement play button behavior 2015-12-16 16:14:28 +01:00
0f61a46764 Select the same file if possible 2015-12-10 15:54:51 +01:00
53330fbdc5 Make timeline entries clickable 2015-12-10 14:03:23 +01:00
842907f1fa Make use of file types for highlighting and tabs 2015-12-10 13:48:31 +01:00
79e7f7b7e8 Apply some styling and add timeline 2015-12-10 12:49:36 +01:00
b7b0bf826e Use only one editor to reduce complexity 2015-12-03 14:52:33 +01:00
efe3895894 Enable switching between files of a submission 2015-12-03 13:52:18 +01:00
5c5769bab2 Change file tree when changing submission 2015-12-02 17:01:31 +01:00
c0b4c17de6 Use custom lightweight editor and file-tree 2015-12-02 15:39:13 +01:00
72b5fa3b8c Cleanup code 2015-11-26 17:04:37 +01:00
baf33419cf Update editor content on submission selection 2015-11-26 16:25:59 +01:00