Luke Towers
e87184d2bd
Fix for installs that don't use the cloud drivers
2019-05-31 01:03:07 -06:00
Luke Towers
ef4f1e49ee
Added temporaryUrlTTL
configuration option, switched is_a() to instanceof
2019-05-31 00:53:27 -06:00
Luke Towers
aea4857eba
Use temporaryUrls for protected files if the storage driver in use supports them
2019-05-30 17:47:01 -06:00
Luke Towers
cc84c7cf7a
Revert back to output() and outputThumb() methods
...
Adds a default false flag to enable the new behaviour of returning responses instead.
2019-01-16 12:27:07 -06:00
Luke Towers
743c74643a
Switched to getHttpResonse() instead of output()
2019-01-15 15:58:45 -06:00
Luke Towers
2fb44fdbee
Return backend 404 from files controller
2019-01-15 15:05:57 -06:00
Luke Towers
f056e8dcb2
Retrieve protected files using the defined file model
...
Adds support to retrieve protected files using the class they are defined to be using if that class differs from the default System\Models\File class. This makes it possible to use a custom class extending the base file model class that does output processing on the file data (for example, an EncryptedFile class that has to decrypt the file contents before they can be output to the browser).
2018-03-09 23:07:53 -06:00
Quezler
cc17b679f1
Code dusting ( #2826 )
...
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges
c2c14e707f
Added backend route for protected thumbs, Fixes #1218 , thanks @jBOKA
...
Improved the FileUpload widget code to no longer rely on "pathOverride"
2015-06-20 11:27:03 +10:00
Samuel Georges
87644166ad
Adds internal download link for protected files
2015-04-25 12:53:54 +10:00