mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:43:44 +08:00
0388653a4d
* Add uploads:sync_s3_acls rake task to ensure the ACLs in S3 are the correct (public-read or private) setting based on upload security * Improved uploads:disable_secure_media to be more efficient and provide better messages to the user. * Rename uploads:ensure_correct_acl task to uploads:secure_upload_analyse_and_update as it does more than check the ACL * Many improvements to uploads:secure_upload_analyse_and_update * Make sure that upload.access_control_post is unscoped so deleted posts are still fetched, because they still affect the security of the upload. * Add escape hatch for capture_stdout in the form of RAILS_ENABLE_TEST_STDOUT. If provided the capture_stdout code will be ignored, so you can see the output if you need. |
||
---|---|---|
.. | ||
bookmarks_spec.rb | ||
incoming_emails_spec.rb | ||
posts_spec.rb | ||
redis_spec.rb | ||
uploads_spec.rb |