Martin Brennan 0388653a4d
DEV: Upload and secure media retroactive rake task improvements (#9027)
* 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.
2020-03-03 10:03:58 +11:00
..
2019-11-19 10:21:06 +00:00
2019-11-29 15:49:08 +00:00
2020-01-15 11:21:58 +01:00
2019-10-21 12:08:20 +01:00
2020-01-27 15:28:56 +01:00
2019-10-21 12:08:20 +01:00
2019-05-13 15:24:24 +01:00
2019-10-21 12:08:20 +01:00
2019-12-04 13:33:51 -05:00
2020-01-21 19:23:08 +02:00
2019-05-29 14:26:24 +10:00
2019-10-21 12:08:20 +01:00
2020-01-27 15:28:56 +01:00
2020-01-27 15:28:56 +01:00
2019-10-17 16:58:22 +11:00