pleroma/priv/static/adminfe/static/js/chunk-5e57.7313703a.js

1 line
212 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5e57"],{"+qaP":function(t,e,a){"use strict";var i=a("60OA");a.n(i).a},"2q6O":function(t,e,a){"use strict";var i=a("Scsy");a.n(i).a},"4NUT":function(t,e,a){},"4b9x":function(t,e,a){"use strict";var i=a("wgcy");a.n(i).a},"60OA":function(t,e,a){},"9p49":function(t,e,a){},DPt0:function(t,e,a){"use strict";var i=a("x6RV");a.n(i).a},Dd5M:function(t,e,a){},FCne:function(t,e,a){"use strict";var i=a("OCuP");a.n(i).a},KFE3:function(t,e,a){"use strict";var i=a("mSK5");a.n(i).a},NyLv:function(t,e,a){"use strict";var i=a("Rh6R");a.n(i).a},OCuP:function(t,e,a){},PYLh:function(t,e,a){},Px65:function(t,e,a){},PygS:function(t,e,a){"use strict";var i=a("TtMh");a.n(i).a},RTtG:function(t,e,a){"use strict";var i=a("Zgs2");a.n(i).a},Rh6R:function(t,e,a){},Scsy:function(t,e,a){},TOIk:function(t,e,a){},TRR9:function(t,e,a){},TtMh:function(t,e,a){},TudB:function(t,e,a){},"UbP/":function(t,e,a){},UdS4:function(t,e,a){"use strict";var i=a("WwJU");a.n(i).a},V9mB:function(t,e,a){"use strict";var i=a("Dd5M");a.n(i).a},"WvM+":function(t,e,a){"use strict";var i=a("TRR9");a.n(i).a},WwJU:function(t,e,a){},YcIK:function(t,e,a){"use strict";a.r(e);var i=a("lSNA"),s=a.n(i),n=a("MVZn"),l=a.n(n),r=a("L2JU"),o=a("mSNy"),u={name:"ActivityPub",computed:l()({},Object(r.b)(["activityPubConfig","userConfig"]),{activityPub:function(){return this.activityPubConfig},isMobile:function(){return"mobile"===this.$store.state.app.device},labelWidth:function(){return this.isMobile?"100px":"210px"},user:function(){return this.userConfig}}),methods:{updateSetting:function(t,e,a){this.$store.dispatch("UpdateSettings",{tab:e,data:s()({},a,t)})},onSubmit:function(){this.$store.dispatch("SubmitChanges"),this.$message({type:"success",message:o.a.t("settings.success")})}}},c=(a("qEST"),a("KHd+")),p=Object(c.a)(u,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-form",{ref:"activityPub",attrs:{model:t.activityPub,"label-width":t.labelWidth}},[a("el-form-item",{attrs:{label:"Accept blocks"}},[a("el-switch",{attrs:{value:t.activityPub.accept_blocks},on:{change:function(e){return t.updateSetting(e,"activitypub","accept_blocks")}}}),t._v(" "),a("p",{staticClass:"expl"},[t._v("Whether to accept incoming block activities from other instances")])],1),t._v(" "),a("el-form-item",{attrs:{label:"Unfollow blocked"}},[a("el-switch",{attrs:{value:t.activityPub.unfollow_blocked},on:{change:function(e){return t.updateSetting(e,"activitypub","unfollow_blocked")}}}),t._v(" "),a("p",{staticClass:"expl"},[t._v("Whether blocks result in people getting unfollowed")])],1),t._v(" "),a("el-form-item",{attrs:{label:"Outgoing blocks"}},[a("el-switch",{attrs:{value:t.activityPub.outgoing_blocks},on:{change:function(e){return t.updateSetting(e,"activitypub","outgoing_blocks")}}}),t._v(" "),a("p",{staticClass:"expl"},[t._v("Whether to federate blocks to other instances")])],1),t._v(" "),a("el-form-item",{attrs:{label:"Follow handshake timeout"}},[a("el-input-number",{staticClass:"top-margin",attrs:{value:t.activityPub.follow_handshake_timeout,step:100,min:0,size:"large"},on:{change:function(e){return t.updateSetting(e,"activitypub","follow_handshake_timeout")}}})],1),t._v(" "),a("el-form-item",{attrs:{label:"Sign object fetches"}},[a("el-switch",{attrs:{value:t.activityPub.sign_object_fetches},on:{change:function(e){return t.updateSetting(e,"activitypub","sign_object_fetches")}}}),t._v(" "),a("p",{staticClass:"expl"},[t._v("Sign object fetches with HTTP signatures")])],1)],1),t._v(" "),a("el-form",{ref:"user",attrs:{model:t.user,"label-width":t.labelWidth}},[a("el-form-item",{attrs:{label:"Deny follow blocked"}},[a("el-switch",{attrs:{value:t.user.deny_follow_blocked},on:{change:function(e){return t.updateSetting(e,"user","deny_follow_blocked")}}}),t._v(" "),a("p",{staticClass:"expl"},[t._v("Whether to disallow following an account that has blocked the user in question")])],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("Submit")])],1)],1)],1)},[],!1,null,null,null);p.option