From f8030aef14d021d0bad6fa531cd9a85ac185f683 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Thu, 21 Nov 2019 23:07:13 +0900 Subject: [PATCH] Add ability to configure http signatures and activity expiration settings --- src/views/settings/components/Http.vue | 10 ++++++++++ src/views/settings/components/Inputs.vue | 4 ++-- src/views/settings/components/JobQueue.vue | 9 +++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/views/settings/components/Http.vue b/src/views/settings/components/Http.vue index 0e129f00..ec33f695 100644 --- a/src/views/settings/components/Http.vue +++ b/src/views/settings/components/Http.vue @@ -8,6 +8,10 @@
+ + + +
@@ -47,6 +51,12 @@ export default { httpSecurityData() { return this.settings.settings.pleroma[':http_security'] }, + httpSignatures() { + return this.settings.description.find(setting => setting.group === ':http_signatures') + }, + httpSignaturesData() { + return this.settings.settings.http_signatures + }, isMobile() { return this.$store.state.app.device === 'mobile' }, diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index 58ca5a5f..95a3e555 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -19,7 +19,7 @@ @change="updateSetting($event, settingGroup.key, setting.key)"/> + + + Submit @@ -24,6 +27,12 @@ export default { ...mapGetters([ 'settings' ]), + activityExpiration() { + return this.settings.description.find(setting => setting.key === 'Pleroma.ActivityExpiration') + }, + activityExpirationData() { + return this.settings.settings.pleroma['Pleroma.ActivityExpiration'] + }, isMobile() { return this.$store.state.app.device === 'mobile' },