usbarmory / interlock

INTERLOCK - file encryption and HSM front-end
Other
295 stars 46 forks source link

added view option for plain text files, addressed Daniele's comments #10

Closed crmulliner closed 9 years ago

crmulliner commented 9 years ago

this will allow you to view a plain text file within the Interlock web UI without needing to download the to the box running the web browser. Need to make sure somehow that the content is not cached on disk by the browser.

danbia commented 9 years ago

Thank you very much Colin!

danbia commented 9 years ago

In my latest commit d0a1bdcd942db2e85080eccafac95d79c2a098e6 I've moved the download functionality implemented in the getFileContents() inside the fileDownloadViewCallback(). The code has been simplified by using the JQuery $.get()