diff --git a/CHANGELOG.md b/CHANGELOG.md index b868f4b6..2309c1bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - On Reports page add links to reported account and the author of the report - In Notes add link to the note author's profile page - In Moderation log add link to the actor's profile page +- Adds MRF Activity Expiration setting ### Changed @@ -22,6 +23,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Settings that can't be altered in Admin FE are removed: HTTP Signatures settings, Federation publisher modules and Oban Repo - When rendering user's profile, statuses, reports and notes check if required properties exist - Remove ability to moderate users that don't have valid nickname +- Displays both labels and description in the header of group of settiings +- Ability to add custom values in Pleroma.Upload.Filter.Mogrify setting ### Fixed diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index 3214485f..4b630ffe 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -327,8 +327,7 @@ export default { type.includes('module') || (type.includes('list') && type.includes('string')) || (type.includes('list') && type.includes('atom')) || - (type.includes('regex') && type.includes('string')) || - this.setting.key === ':args' + (type.includes('regex') && type.includes('string')) ) }, renderSingleSelect(type) { diff --git a/src/views/settings/components/MRF.vue b/src/views/settings/components/MRF.vue index 977d1582..062b6641 100644 --- a/src/views/settings/components/MRF.vue +++ b/src/views/settings/components/MRF.vue @@ -34,6 +34,10 @@ + + + + @@ -86,6 +90,12 @@ export default { modulesData() { return _.get(this.settings.settings, [':pleroma', ':modules']) || {} }, + mrfActivityExpiration() { + return this.settings.description.find(setting => setting.key === ':mrf_activity_expiration') + }, + mrfActivityExpirationData() { + return _.get(this.settings.settings, [':pleroma', ':mrf_activity_expiration']) || {} + }, mrfSimple() { return this.settings.description.find(setting => setting.key === ':mrf_simple') }, diff --git a/src/views/settings/components/Setting.vue b/src/views/settings/components/Setting.vue index 7bd28e09..28a68448 100644 --- a/src/views/settings/components/Setting.vue +++ b/src/views/settings/components/Setting.vue @@ -1,7 +1,8 @@