Skip to content
Snippets Groups Projects
Commit 05cd0cc7 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Remove :fed_sockets settings

parent aa2b9102
No related branches found
No related tags found
1 merge request!186Add Pleroma.Web.Endpoint.MetricsExporter settings
Pipeline #33476 passed
......@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Move `:restrict_unauthenticated` settings from Authentication tab to Instance tab
- Replace regular inputs with textareas for setting welcome messages in the Settings section
- Update rendering Moderation Log Messages so that all usernames are links to the pages of the corresponding users in Admin-FE
- Remove Websocket based federation settings
### Fixed
......
......@@ -11,14 +11,10 @@
<el-form :model="httpSecurityData" :label-position="labelPosition" :label-width="labelWidth">
<setting :setting-group="httpSecurity" :data="httpSecurityData"/>
</el-form>
<el-divider v-if="httpSecurity" class="divider thick-line"/>
<el-divider v-if="webCacheTtl" class="divider thick-line"/>
<el-form :model="webCacheTtlData" :label-position="labelPosition" :label-width="labelWidth">
<setting :setting-group="webCacheTtl" :data="webCacheTtlData"/>
</el-form>
<el-divider v-if="fedSockets" class="divider thick-line"/>
<el-form :model="fedSocketsData" :label-position="labelPosition" :label-width="labelWidth">
<setting :setting-group="fedSockets" :data="fedSocketsData"/>
</el-form>
<div class="submit-button-container">
<el-button class="submit-button" type="primary" @click="onSubmit">Submit</el-button>
</div>
......@@ -44,12 +40,6 @@ export default {
corsPlugData() {
return _.get(this.settings.settings, [':cors_plug']) || {}
},
fedSockets() {
return this.settings.description.find(setting => setting.key === ':fed_sockets')
},
fedSocketsData() {
return _.get(this.settings.settings, [':pleroma', ':fed_sockets']) || {}
},
http() {
return this.settings.description.find(setting => setting.key === ':http')
},
......
......@@ -26,7 +26,7 @@ export const tabs = description => {
},
'http': {
label: 'settings.http',
settings: [':cors_plug', ':http', ':fed_sockets', ':http_security', ':web_cache_ttl']
settings: [':cors_plug', ':http', ':http_security', ':web_cache_ttl']
},
'instance': {
label: 'settings.instance',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment