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 99ec8eb6df
FIX: Capture S3 metadata when calling create_multipart (#14161)
The generate_presigned_put endpoint for direct external uploads
(such as the one for the uppy-image-uploader) records allowed
S3 metadata values on the uploaded object. We use this to store
the sha1-checksum generated by the UppyChecksum plugin, for later
comparison in ExternalUploadManager.

However, we were not doing this for the create_multipart endpoint,
so the checksum was never captured and compared correctly.

Also includes a fix to make sure UppyChecksum is the last preprocessor to run.
It is important that the UppyChecksum preprocessor is the last one to
be added; the preprocessors are run in order and since other preprocessors
may modify the file (e.g. the UppyMediaOptimization one), we need to
checksum once we are sure the file data has "settled".
2021-08-27 09:50:23 +10:00
..
assets FIX: Capture S3 metadata when calling create_multipart (#14161) 2021-08-27 09:50:23 +10:00
controllers FIX: Capture S3 metadata when calling create_multipart (#14161) 2021-08-27 09:50:23 +10:00
helpers DEV: Allow us to use Ember CLI assets in production 2021-08-05 08:32:33 -04:00
jobs FIX: Do not send emails to mailing_list_mode subscribers for PMs (#14159) 2021-08-26 15:16:35 +10:00
mailers UX: suspend forever time period messages (#13776) 2021-07-20 14:42:08 +04:00
models PERF: Remove redundant post_timings_summary index (#14164) 2021-08-26 10:50:34 -05:00
serializers UX: Add Styling step to wizard (#14132) 2021-08-25 17:10:12 -04:00
services DEV: Do not delete failed uploads from S3 in debug mode (#14143) 2021-08-25 15:35:55 +10:00
views DEV: adds server:after-body-open (#14106) 2021-08-24 14:35:44 +02:00