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/app
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
..
assets FIX: Deleting a for_topic bookmark caused JS error (#14781) 2021-11-01 13:31:17 +10:00
controllers FIX: Allow S3Helper.ensure_cors! to apply more than one rule 2021-11-01 16:04:33 +10:00
helpers DEV: Allow actions to change the manifest endpoint (#14522) 2021-10-06 15:41:52 -05:00
jobs FEATURE: Pull hotlinked images in user bios (#14726) 2021-10-29 17:58:05 +03:00
mailers FIX: Do not show recipient user in email participants list (#14642) 2021-10-19 15:26:22 +10:00
models FIX: allowed_theme_ids should not be persisted in GlobalSettings (#14756) 2021-10-29 11:46:52 -04:00
serializers DEV: Remove code that is no longer valid. (#14657) 2021-10-21 10:47:22 +08:00
services FIX: Allow S3Helper.ensure_cors! to apply more than one rule 2021-11-01 16:04:33 +10:00
views FIX: improvements for download local dates (#14588) 2021-10-14 09:22:44 +11:00