From 1e6e006f14970004c2e9cec4f72af8f902187f22 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Fri, 10 Jul 2020 18:03:10 +0300 Subject: [PATCH 1/2] Add ability to configure S3 settings --- src/views/settings/components/Upload.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) 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' From 55cf52f4de63ea03b80a56aa0a7257ddab0aa4dd Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Fri, 10 Jul 2020 18:04:34 +0300 Subject: [PATCH 2/2] Update Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c498ac34..64ec5c92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Support pagination of local emoji packs and files - Add MRF Activity Expiration setting - Add ability to disable multi-factor authentication for a user +- Ability to configure S3 settings on Upload tab ### Changed