Commit Graph

264 Commits

Author SHA1 Message Date
Sebastian Serth
207cf1084b Fix duplication of code when navigation back and forth 2020-03-06 15:34:43 +01:00
Sebastian Serth
3839704e77 Prevent autosave on window load 2020-03-05 17:10:48 +01:00
Sebastian Serth
bf6a343e2b Set onError binding to underscore's no-op 2020-03-05 14:53:46 +01:00
Sebastian Serth
427ee3e2e7 Stringify error messages for Sentry 2020-03-05 13:03:47 +01:00
Sebastian Serth
f50e26095a Beautify error messages in JavaScript when scoring submissions 2020-03-05 11:04:03 +01:00
Sebastian Serth
74d99df070 Add JavaScript sentry 2020-03-05 10:30:57 +01:00
Sebastian Serth
99e4aec1cb Render submit button once results are available 2020-03-04 17:58:16 +01:00
Sebastian Serth
ca82e4000a Always render "browser not supported" alert and disable it for supported browsers 2020-03-03 18:13:30 +01:00
MrSerth
a598816925 Merge pull request #487 from openHPI/reenable_rfc_timelimit
Reenable rfc timelimit
2020-02-07 10:50:09 +01:00
Sebastian Serth
f07cad4da5 Disable reset active file for user defined files 2020-02-02 12:36:20 +01:00
Sebastian Serth
75fe6e5b68 Add file name to reset this file action 2020-01-30 19:27:16 +01:00
Sebastian Serth
d0eceac440 Upgrade font-awesome and add option reset only active file 2020-01-29 10:55:15 +01:00
Sebastian Serth
007b31afd0 Re-enable RfC time limit 2020-01-27 14:44:07 +01:00
Sebastian Serth
6fbb5b3b1a Allow direct RfC creation. 2020-01-27 14:43:31 +01:00
Sebastian Serth
b51be3edb3 Add option to add multiple entry points which could be executed similar to the Main File 2020-01-16 11:14:59 +01:00
Sebastian Serth
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
Sebastian Serth
1323619425 Fix CodeOcean event publishing mechanism 2019-12-20 16:16:23 +01:00
Sebastian Serth
fa229a581e Ensure output is shown even if no test command is given 2019-12-16 14:53:17 +01:00
Sebastian Serth
263b167da4 Set Tomorrow theme for Python (via Hack) 2019-12-02 10:13:32 +01:00
Sebastian Serth
d45a68a123 Minor: Fix spelling in comment 2018-12-13 12:57:49 +01:00
Sebastian Serth
a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
Sebastian Serth
1833435268 Use CodeOceanEditor.active_file to access file selected in JSFileTree 2018-12-05 13:46:44 +01:00
rteusner
8dfcef3e45 Merge pull request #235 from openHPI/remove_old_hints
Completely remove old hints connected to the execution environment
2018-11-30 15:41:01 +01:00
Sebastian Serth
64d5a0f9b2 Fix caret to show down (collapsed state) after initial load 2018-11-28 22:54:40 +01:00
Sebastian Serth
212867f300 Fix flowr output to work with Bootstrap 4 2018-11-28 15:22:21 +01:00
Maximilian Grundke
b9dce854c4 Merge remote-tracking branch 'origin/master' into flowr
# Conflicts:
#	app/assets/javascripts/editor/evaluation.js
#	app/assets/javascripts/editor/participantsupport.js
#	app/views/exercises/_editor_output.html.slim
#	config/code_ocean.yml.example
#	config/routes.rb
2018-11-28 13:14:21 +01:00
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
Sebastian Serth
16a5345a71 Migrate jQuery function use for ajax in case of success or failure
Deprecation Notice:

The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks will be deprecated in jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.
2018-11-26 12:23:30 +01:00
Ralf Teusner
0fbbe97ae4 revert 8acd77d9c4 2018-11-16 10:38:36 +01:00
Ralf Teusner
8acd77d9c4 temporary changes to render pictures again. 2018-11-13 13:07:49 +01:00
Sebastian Serth
cc48361a15 Remove unused scrollbars in /implement 2018-11-06 16:49:44 +01:00
Sebastian Serth
c44478783a Fix bootstrap CSS issues in Safari and Chrome 2018-11-06 16:49:44 +01:00
Sebastian Serth
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
Sebastian Serth
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
rteusner
772f4ad204 Merge pull request #223 from openHPI/jg/fix-editor-active-file
Jg/fix editor active file
2018-10-19 15:45:34 +02:00
rteusner
17d20e2f5b Merge pull request #219 from jgraichen/fix/dot
Fix missing dot (fixes #218)
2018-10-19 15:32:45 +02:00
Ralf Teusner
574e870bd1 fix reset for user created files (where therefore no original file is available) 2018-10-19 15:27:14 +02:00
Ralf Teusner
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
Jan Graichen
629c925e77 Fix setting active file in editor
The file select hook did construct an active_file but did not
assign it to the actual variables. This commit changes the hook to
use the existing setActiveFile helper function.
2018-10-19 12:34:12 +02:00
Jan Graichen
db9557108c Fix missing dot
Actually call replace on the filename.
2018-10-18 21:03:46 +02:00
Ralf Teusner
131f610116 call text() again to prevent execution of javascript 2018-10-16 17:20:58 +02:00
Maximilian Grundke
ebea8da341 Open StackOverflow links in a new tab 2018-10-10 10:58:54 +02:00
Maximilian Grundke
46fd76f1aa Set default value for answers_per_query config 2018-10-10 10:58:34 +02:00
Maximilian Grundke
a07d440e02 Translate button 2018-10-05 15:03:27 +02:00
Maximilian Grundke
174db96081 Move magic number to config instead 2018-10-05 14:55:22 +02:00
Maximilian Grundke
fad97e36c1 Fix building stackoverflow query 2018-10-05 14:48:09 +02:00
Maximilian Grundke
dd48cc6d10 Create events on user interaction 2018-09-18 17:22:01 +02:00
Maximilian Grundke
b19402ba99 Implement client-side querying of stackoverflow 2018-09-18 15:14:17 +02:00
Maximilian Grundke
16533e2d89 Work around messy architecture 2018-08-14 21:48:16 +02:00
Maximilian Grundke
f73de94f4d Allow file_id to be captured 2018-08-14 21:36:24 +02:00