Editor: Allow file retrieval after code run
This commit is contained in:

committed by
Sebastian Serth

parent
fb9672c7a4
commit
60078701f5
@ -385,6 +385,9 @@ de:
|
||||
disclaimer: Bei Fragen zu Deadlines wenden Sie sich bitte an das Teaching Team. Die hier angezeigte Abgabefrist dient nur zur Information und Angaben auf der jeweiligen Kursseite in der E-Learning-Plattform sollen immer Vorrang haben.
|
||||
editor_file_tree:
|
||||
file_root: Dateien
|
||||
download_file_tree:
|
||||
file_root: Erstellte Dateien
|
||||
gone: Die angeforderte Datei konnte nicht abgerufen werden. Erstellte Dateien werden nur kurzzeitig vorgehalten und dann gelöscht. Bitte führen Sie den Code erneut aus und versuchen Sie dann wieder den Download der Datei.
|
||||
import_codeharbor:
|
||||
import_errors:
|
||||
invalid: Fehlerhafte Aufgabe
|
||||
|
@ -385,6 +385,9 @@ en:
|
||||
disclaimer: If unsure about a deadline, please contact a course instructor. The deadline shown here is only informational and information from the e-learning platform should always take precedence.
|
||||
editor_file_tree:
|
||||
file_root: Files
|
||||
download_file_tree:
|
||||
file_root: Generated Files
|
||||
gone: The requested file could not be retrieved. Generated files are only held for a short time and are then deleted. Please run the code again and then try downloading the file a second time.
|
||||
import_codeharbor:
|
||||
import_errors:
|
||||
invalid: Invalid exercise
|
||||
|
@ -153,6 +153,7 @@ Rails.application.routes.draw do
|
||||
member do
|
||||
get 'download', as: :download, action: :download
|
||||
get 'download/:filename', as: :download_file, constraints: {filename: FILENAME_REGEXP}, action: :download_file
|
||||
get 'download_stream/:filename', as: :download_stream_file, constraints: {filename: FILENAME_REGEXP}, action: :download_submission_file, controller: 'live_streams'
|
||||
get 'render/:filename', as: :render, constraints: {filename: FILENAME_REGEXP}, action: :render_file
|
||||
get 'run/:filename', as: :run, constraints: {filename: FILENAME_REGEXP}, action: :run
|
||||
get :score
|
||||
|
Reference in New Issue
Block a user