0

Update admin to dc55fbb7bf7103e847263b1f893983f3e78a5dfb

This commit is contained in:
Owncast 2021-12-07 02:03:56 +00:00
parent 8eacd05e12
commit ba77f8e4cf
24 changed files with 22 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
self.__BUILD_MANIFEST=function(s,c,e,a,t,i,n,f,d,h,o,g,u,b){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,e,a,t,i,f,"static/chunks/59-bb3486f7473684cf.js","static/chunks/pages/index-4d5ca370f5d2e820.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,e,"static/chunks/pages/access-tokens-8ab04343bdf73124.js"],"/actions":[s,c,"static/chunks/pages/actions-4e648761889c23e5.js"],"/chat/messages":[d,s,c,e,i,h,"static/chunks/pages/chat/messages-945377167eed396f.js"],"/chat/users":[d,s,c,e,a,i,h,"static/chunks/pages/chat/users-3fafc5c5ca06039f.js"],"/config-chat":["static/chunks/pages/config-chat-00377015dc5f7622.js"],"/config-public-details":[s,c,n,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",o,"static/chunks/pages/config-public-details-2e34343b51b52e4f.js"],"/config-server-details":[g,"static/chunks/pages/config-server-details-bf4e05a70deedfae.js"],"/config-social-items":[s,c,o,"static/chunks/pages/config-social-items-20e5d437c6559a00.js"],"/config-storage":["static/chunks/473-2f8a49a631089460.js","static/chunks/pages/config-storage-7ff1038872a3ca18.js"],"/config-video":[s,c,g,"static/chunks/556-bbfb134a84808c78.js","static/chunks/pages/config-video-32b520dff5444303.js"],"/hardware-info":[u,e,a,t,n,b,"static/chunks/pages/hardware-info-5c7933a2fc8e439b.js"],"/help":[a,"static/chunks/92-f84d47be5f8fbb10.js","static/chunks/pages/help-c7fc342e125a5d6b.js"],"/logs":[s,e,f,"static/chunks/pages/logs-992bb93ef15eb1c3.js"],"/upgrade":[s,"static/chunks/275-35d1a6aef8ecf26a.js","static/chunks/pages/upgrade-455b3ea722ce4dd6.js"],"/viewer-info":[u,e,a,t,n,b,"static/chunks/pages/viewer-info-2fd6ee53e3a146a5.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-347989374968ddba.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/355-ee12fd455f95ac1f.js","static/chunks/516-7e3214ec30e2dcd2.js","static/chunks/91-af53fa87313ffd15.js","static/chunks/903-44fc07da62e11585.js","static/chunks/102-3bc0d7c9186e3845.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-c94a1d68c52ddd4a.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/371-814cf16bf0e11916.js","static/chunks/17-a17fee5c4b40129f.js","static/chunks/578-243e65c094c02e3b.js","static/chunks/36bcf0ca-f04f40c3696051a5.js","static/chunks/958-45a95f3bc4c51636.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); self.__BUILD_MANIFEST=function(s,c,a,e,t,i,n,f,d,h,o,b,g,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,a,e,t,i,f,"static/chunks/59-bb3486f7473684cf.js","static/chunks/pages/index-4d5ca370f5d2e820.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-8ab04343bdf73124.js"],"/actions":[s,c,"static/chunks/pages/actions-4e648761889c23e5.js"],"/chat/messages":[d,s,c,a,i,h,"static/chunks/pages/chat/messages-945377167eed396f.js"],"/chat/users":[d,s,c,a,e,i,h,"static/chunks/pages/chat/users-14a7ed232b1cf6f1.js"],"/config-chat":["static/chunks/pages/config-chat-00377015dc5f7622.js"],"/config-public-details":[s,c,n,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",o,"static/chunks/pages/config-public-details-2e34343b51b52e4f.js"],"/config-server-details":[b,"static/chunks/pages/config-server-details-bf4e05a70deedfae.js"],"/config-social-items":[s,c,o,"static/chunks/pages/config-social-items-20e5d437c6559a00.js"],"/config-storage":["static/chunks/473-2f8a49a631089460.js","static/chunks/pages/config-storage-7ff1038872a3ca18.js"],"/config-video":[s,c,b,"static/chunks/556-bbfb134a84808c78.js","static/chunks/pages/config-video-af46f510261e570c.js"],"/hardware-info":[g,a,e,t,n,u,"static/chunks/pages/hardware-info-5c7933a2fc8e439b.js"],"/help":[e,"static/chunks/92-f84d47be5f8fbb10.js","static/chunks/pages/help-c7fc342e125a5d6b.js"],"/logs":[s,a,f,"static/chunks/pages/logs-992bb93ef15eb1c3.js"],"/upgrade":[s,"static/chunks/275-35d1a6aef8ecf26a.js","static/chunks/pages/upgrade-455b3ea722ce4dd6.js"],"/viewer-info":[g,a,e,t,n,u,"static/chunks/pages/viewer-info-2fd6ee53e3a146a5.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-347989374968ddba.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/355-ee12fd455f95ac1f.js","static/chunks/516-7e3214ec30e2dcd2.js","static/chunks/91-af53fa87313ffd15.js","static/chunks/903-44fc07da62e11585.js","static/chunks/102-3bc0d7c9186e3845.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-c94a1d68c52ddd4a.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/371-814cf16bf0e11916.js","static/chunks/17-a17fee5c4b40129f.js","static/chunks/578-243e65c094c02e3b.js","static/chunks/36bcf0ca-f04f40c3696051a5.js","static/chunks/958-45a95f3bc4c51636.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(20536)}])},20536:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return b},default:function(){return j}});var r=t(28520),s=t.n(r),a=t(85893),c=t(67294),o=t(87961),i=t(35159),u=t(58827),d=t(20643),l=t(25355),f=t(85533),h=t(85584),m=t(66192),p=t(2766);function x(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(h.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return e.user.displayName-n.user.displayName},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"]},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,f.Z)(new Date(e))},sorter:function(e,n){return new Date(e.connectedAt).getTime()-new Date(n.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,p.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(m.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(l.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}function v(e,n,t,r,s,a,c){try{var o=e[a](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,s)}var g=o.Z.TabPane,b=1e4;function j(){var e,n=((0,c.useContext)(i.aC)||{}).online,t=(0,c.useState)([]),r=t[0],l=t[1],f=(0,c.useState)([]),h=f[0],m=f[1],p=(0,c.useState)([]),j=p[0],w=p[1],y=(e=s().mark((function e(){var n,t,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.rQ)(u.qk);case 3:n=e.sent,l(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,u.rQ)(u.Kp);case 13:t=e.sent,m(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:return e.prev=20,e.next=23,(0,u.rQ)(u.GC);case 23:r=e.sent,w(r),e.next=30;break;case 27:e.prev=27,e.t2=e.catch(20),console.error("error fetching moderators",e.t2);case 30:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,27]])})),function(){var n=this,t=arguments;return new Promise((function(r,s){var a=e.apply(n,t);function c(e){v(a,r,s,c,o,"next",e)}function o(e){v(a,r,s,c,o,"throw",e)}c(void 0)}))});(0,c.useEffect)((function(){var e;return y(),e=setInterval(y,b),function(){clearInterval(e)}}),[n]);var k=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x,{data:h}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Connected ",n?"(".concat(h.length,")"):"(offline)"]}),children:k},"1"),(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Banned ",n?"(".concat(r.length,")"):null]}),children:(0,a.jsx)(d.Z,{data:r})},"2"),(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Moderators ",n?"(".concat(j.length,")"):null]}),children:(0,a.jsx)(d.Z,{data:j})},"3")]})}}},function(e){e.O(0,[662,355,516,91,903,533,371,774,888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

View File

@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(20536)}])},20536:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return j},default:function(){return w}});var r=t(28520),s=t.n(r),a=t(85893),c=t(67294),o=t(17256),i=t(87961),u=t(35159),d=t(58827),l=t(20643),f=t(25355),h=t(85533),m=t(85584),p=t(66192),x=t(2766);function v(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(m.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return e.user.displayName-n.user.displayName},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"]},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,h.Z)(new Date(e))},sorter:function(e,n){return new Date(e.connectedAt).getTime()-new Date(n.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,x.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(p.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(f.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}function g(e,n,t,r,s,a,c){try{var o=e[a](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,s)}o.Z.Title;var b=i.Z.TabPane,j=1e4;function w(){var e,n=((0,c.useContext)(u.aC)||{}).online,t=(0,c.useState)([]),r=t[0],o=t[1],f=(0,c.useState)([]),h=f[0],m=f[1],p=(0,c.useState)([]),x=p[0],w=p[1],y=(e=s().mark((function e(){var n,t,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,d.rQ)(d.qk);case 3:n=e.sent,o(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,d.rQ)(d.Kp);case 13:t=e.sent,m(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:return e.prev=20,e.next=23,(0,d.rQ)(d.GC);case 23:r=e.sent,w(r),e.next=30;break;case 27:e.prev=27,e.t2=e.catch(20),console.error("error fetching moderators",e.t2);case 30:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,27]])})),function(){var n=this,t=arguments;return new Promise((function(r,s){var a=e.apply(n,t);function c(e){g(a,r,s,c,o,"next",e)}function o(e){g(a,r,s,c,o,"throw",e)}c(void 0)}))});(0,c.useEffect)((function(){var e;return y(),e=setInterval(y,j),function(){clearInterval(e)}}),[n]);var k=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{data:h}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(i.Z,{defaultActiveKey:"1",children:[(0,a.jsx)(b,{tab:(0,a.jsxs)("span",{children:["Connected ",n?"(".concat(h.length,")"):"(offline)"]}),children:k},"1"),(0,a.jsx)(b,{tab:(0,a.jsxs)("span",{children:["Banned ",n?"(".concat(r.length,")"):null]}),children:(0,a.jsx)(l.Z,{data:r})},"2"),(0,a.jsx)(b,{tab:(0,a.jsxs)("span",{children:["Moderators ",n?"(".concat(x.length,")"):null]}),children:(0,a.jsx)(l.Z,{data:x})},"3")]})}}},function(e){e.O(0,[662,355,516,91,903,533,371,774,888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long