mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:54:23 +08:00
02cb01406e
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. |
||
---|---|---|
.. | ||
db_provider.rb | ||
defaults_provider.rb | ||
deprecated_settings.rb | ||
local_process_provider.rb | ||
type_supervisor.rb | ||
validations.rb | ||
yaml_loader.rb |