• Martin Brennan's avatar
    FIX: Allow secure uploads if global s3 setting active and enable_s3_uploads validations (#8373) · 02cb0140
    Martin Brennan authored
    The secure media functionality relied on `SiteSetting.enable_s3_uploads?` which, as we found in dev, did not take into account global S3 settings via `GlobalSetting.use_s3?`. We now use `SiteSetting.Upload.enable_s3_uploads` instead to be more consistent.
    
    Also, we now validate `enable_s3_uploads` changes, because if `GlobalSetting.use_s3?` is true users should NOT be enabling S3 uploads manually.
    02cb0140
Name
Last commit
Last update
..
assets Loading commit data...
controllers Loading commit data...
helpers Loading commit data...
jobs Loading commit data...
mailers Loading commit data...
models Loading commit data...
serializers Loading commit data...
services Loading commit data...
views Loading commit data...