pleroma/priv/static/adminfe/static/js/chunk-2943.8ab5d0d9.js

2 lines
226 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2943"],{"+qaP":function(e,t,a){"use strict";var s=a("60OA");a.n(s).a},"2q6O":function(e,t,a){"use strict";var s=a("Scsy");a.n(s).a},"4NUT":function(e,t,a){},"4b9x":function(e,t,a){"use strict";var s=a("wgcy");a.n(s).a},"60OA":function(e,t,a){},"9p49":function(e,t,a){},DPt0:function(e,t,a){"use strict";var s=a("x6RV");a.n(s).a},Dd5M:function(e,t,a){},FCne:function(e,t,a){"use strict";var s=a("OCuP");a.n(s).a},KFE3:function(e,t,a){"use strict";var s=a("mSK5");a.n(s).a},NyLv:function(e,t,a){"use strict";var s=a("Rh6R");a.n(s).a},OCuP:function(e,t,a){},PYLh:function(e,t,a){},Px65:function(e,t,a){},PygS:function(e,t,a){"use strict";var s=a("TtMh");a.n(s).a},RTtG:function(e,t,a){"use strict";var s=a("Zgs2");a.n(s).a},Rh6R:function(e,t,a){},Scsy:function(e,t,a){},TOIk:function(e,t,a){},TRR9:function(e,t,a){},TtMh:function(e,t,a){},TudB:function(e,t,a){},"UbP/":function(e,t,a){},UdS4:function(e,t,a){"use strict";var s=a("WwJU");a.n(s).a},V9mB:function(e,t,a){"use strict";var s=a("Dd5M");a.n(s).a},"WvM+":function(e,t,a){"use strict";var s=a("TRR9");a.n(s).a},WwJU:function(e,t,a){},YcIK:function(e,t,a){"use strict";a.r(t);var s=a("o0o1"),n=a.n(s),i=a("yXPU"),l=a.n(i),r=a("lSNA"),o=a.n(r),u=a("MVZn"),c=a.n(u),p=a("L2JU"),m=a("mSNy"),d={name:"ActivityPub",computed:c()({},Object(p.b)(["activityPub","user"]),{isMobile:function(){return"mobile"===this.$store.state.app.device},labelWidth:function(){return this.isMobile?"100px":"210px"}}),methods:{updateSetting:function(e,t,a){this.$store.dispatch("UpdateSettings",{tab:t,data:o()({},a,e)})},onSubmit:function(){var e=l()(n.a.mark(function e(){return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$store.dispatch("SubmitChanges");case 3:e.next=8;break;case 5:return e.prev=5,e.t0=e.catch(0),e.abrupt("return");case 8:this.$message({type:"success",message:m.a.t("settings.success")});case 9:case"end":return e.stop()}},e,this,[[0,5]])}));return function(){return e.apply(this,arguments)}}()}},v=(a("qEST"),a("KHd+")),f=Object(v.a)(d,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"activityPub",attrs:{model:e.activityPub,"label-width":e.labelWidth}},[a("el-form-item",{attrs:{label:"Unfollow blocked"}},[a("el-switch",{attrs:{value:e.activityPub.unfollow_blocked},on:{change:function(t){return e.updateSetting(t,"activitypub","unfollow_blocked")}}}),e._v(" "),a("p",{staticClass:"expl"},[e._v("Whether blocks result in people getting unfollowed")])],1),e._v(" "),a("el-form-item",{attrs:{label:"Outgoing blocks"}},[a("el-switch",{attrs:{value:e.activityPub.outgoing_blocks},on:{change:function(t){return e.updateSetting(t,"activitypub","outgoing_blocks")}}}),e._v(" "),a("p",{staticClass:"expl"},[e._v("Whether to federate blocks to other instances")])],1),e._v(" "),a("el-form-item",{attrs:{label:"Follow handshake timeout"}},[a("el-input-number",{staticClass:"top-margin",attrs:{value:e.activityPub.follow_handshake_timeout,step:100,min:0,size:"large"},on:{change:function(t){return e.updateSetting(t,"activitypub","follow_handshake_timeout")}}})],1),e._v(" "),a("el-form-item",{attrs:{label:"Sign object fetches"}},[a("el-switch",{attrs:{value:e.activityPub.sign_object_fetches},on:{change:function(t){return e.updateSetting(t,"activitypub","sign_object_fetches")}}}),e._v(" "),a("p",{staticClass:"expl"},[e._v("Sign object fetches with HTTP signatures")])],1)],1),e._v(" "),a("el-form",{ref:"user",attrs:{model:e.user,"label-width":e.labelWidth}},[a("el-form-item",{attrs:{label:"Deny follow blocked"}},[a("el-switch",{attrs:{value:e.user.deny_follow_blocked},on:{change:function(t){return e.updateSetting(t,"user","deny_follow_blocked")}}}),e._v(" "),a("p",{staticClass:"expl"},[e._v("Whether to disallow following an account that has blocked the user in question")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("Submit")])],1)],1)],1)},[],!1,null,null,null);f.options.__file="ActivityPub.vue";var _=f.exports,h={name:"Authentication"
//# sourceMappingURL=chunk-2943.8ab5d0d9.js.map