This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/spec/multisite
Martin Brennan ac12948e8d
FIX: Allow S3Helper.ensure_cors! to apply more than one rule
The ensure_cors! function needs to be able to add CORS
rules for the S3 bucket for 3 things now:

* assets
* direct S3 backups
* direct S3 uploads

As it is, only one rule can be applied, which is generally
the assets rule as it is called first. This commit changes
the ensure_cors! method to be able to apply new rules as
well as the existing ones.

Also in this commit we are calling ensure_cors! when creating
presigned PUT and multipart uploads when uploading direct to
S3, so the rules definitely exist to avoid errors in the process.
2021-11-01 16:04:33 +10:00
..
distributed_cache_spec.rb DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
jobs_spec.rb DEV: Prevents rate limits for new feature checks on multisite (#12053) 2021-02-12 08:52:59 -05:00
pausable_multisite_spec.rb DEV: Isolate multisite specs (#13634) 2021-07-07 18:57:42 +02:00
pausable_spec.rb DEV: Isolate multisite specs (#13634) 2021-07-07 18:57:42 +02:00
post_spec.rb DEV: Clean up S3 specs, stubs, and helpers 2020-09-28 12:02:25 +01:00
s3_store_spec.rb FIX: Allow S3Helper.ensure_cors! to apply more than one rule 2021-11-01 16:04:33 +10:00
site_settings_spec.rb FEATURE: Add English (UK) as locale (#11768) 2021-01-20 21:32:22 +01:00