diff --git a/CHANGELOG.md b/CHANGELOG.md index a846a285..83e2c90b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add ability to disable multi-factor authentication for a user - Add ability to manually evict and ban URLs from the Pleroma MediaProxy cache - Add Invalidation settings on MediaProxy tab +- Ability to configure S3 settings on Upload tab ### Changed diff --git a/src/views/settings/components/Upload.vue b/src/views/settings/components/Upload.vue index 019f9a5f..124de255 100644 --- a/src/views/settings/components/Upload.vue +++ b/src/views/settings/components/Upload.vue @@ -8,6 +8,10 @@ + + + + @@ -62,6 +66,12 @@ export default { loading() { return this.settings.loading }, + s3() { + return this.settings.description.find(setting => setting.key === ':s3') + }, + s3Data() { + return _.get(this.settings.settings, [':ex_aws', ':s3']) || {} + }, showUploadersS3() { const uploader = _.get(this.settings.settings, [':pleroma', 'Pleroma.Upload', ':uploader']) return uploader === 'Pleroma.Uploaders.S3'