Update admin to 272139611273be8e0976d6c5bbefad44527a0bff

This commit is contained in:
Owncast 2022-03-07 04:42:45 +00:00
parent 19b9a8bdf6
commit 0f0137a345
27 changed files with 25 additions and 25 deletions

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,r){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,f,"static/chunks/59-7fdae807cba004d7.js","static/chunks/pages/index-a29641f072fbdf05.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,"static/chunks/pages/access-tokens-8afe0156dede2f32.js"],"/actions":[s,"static/chunks/pages/actions-14768f08b97377a1.js"],"/chat/messages":[n,s,c,e,o,"static/chunks/pages/chat/messages-a1faa76f1e8205c6.js"],"/chat/users":[n,s,c,a,e,o,"static/chunks/pages/chat/users-c96f1f13330efa08.js"],"/config-chat":["static/chunks/pages/config-chat-a3cf0bc74e319b68.js"],"/config-federation":["static/chunks/829-d13a92a702516b11.js","static/chunks/pages/config-federation-726ead757495a90e.js"],"/config-public-details":[s,i,"static/css/e773f9ad06a56dc3.css","static/chunks/589-dee21eef75490d30.js",d,"static/chunks/pages/config-public-details-7c823f723b9356a8.js"],"/config-server-details":[h,"static/chunks/pages/config-server-details-e5bd6cc3840023d9.js"],"/config-social-items":[s,d,"static/chunks/pages/config-social-items-4f6a061c0a4c19b6.js"],"/config-storage":["static/chunks/473-071d0ccb4058336e.js","static/chunks/pages/config-storage-bde3d5d3a1f7c6a2.js"],"/config-video":[s,h,"static/chunks/556-e371537a5b08e653.js","static/chunks/pages/config-video-02f04c81da513e5c.js"],"/federation/actions":[s,c,"static/chunks/pages/federation/actions-f59afeb0516d91a7.js"],"/federation/followers":[s,c,a,"static/chunks/pages/federation/followers-b322ab871ff6a0bf.js"],"/hardware-info":[g,c,a,t,i,r,"static/chunks/pages/hardware-info-adf26cdfa8eebab7.js"],"/help":[a,"static/chunks/17-ac2e2ca5e63d3007.js","static/chunks/pages/help-5336bd99636e2dc3.js"],"/logs":[s,c,f,"static/chunks/pages/logs-9319e0de2ab17377.js"],"/upgrade":[s,"static/chunks/655-7d27b7c49ede8381.js","static/chunks/pages/upgrade-83190bb84a6d4904.js"],"/viewer-info":[g,s,c,a,e,t,i,r,"static/chunks/pages/viewer-info-d01e168cc6d70a75.js"],"/webhooks":[s,"static/chunks/pages/webhooks-d651dd7af05b93b9.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/406-7c15d121d8803c15.js","static/chunks/91-e5a929ca024e0e59.js","static/chunks/961-932002f6def24a76.js","static/chunks/308-b4f28049610db2e1.js","static/chunks/138-71c967507f314a8a.js","static/chunks/910-ed07ccf32f311d03.js","static/chunks/429-b916347815798eef.js","static/chunks/29107295-1494f237b9e407ad.js","static/chunks/464-2f77b4d35258d966.js","static/chunks/733-c29eb814813c0818.js","static/chunks/578-f63843553d757ffc.js","static/chunks/36bcf0ca-c1f70baa5cd8cbbf.js","static/chunks/80-979a39dd33b1f687.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,d,o,h,b,g){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,f,"static/chunks/59-7fdae807cba004d7.js","static/chunks/pages/index-a29641f072fbdf05.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,"static/chunks/pages/access-tokens-8afe0156dede2f32.js"],"/actions":[s,"static/chunks/pages/actions-14768f08b97377a1.js"],"/chat/messages":[n,s,c,e,d,"static/chunks/pages/chat/messages-a1faa76f1e8205c6.js"],"/chat/users":[n,s,c,a,e,d,"static/chunks/pages/chat/users-59fb6c38564fd878.js"],"/config-chat":["static/chunks/pages/config-chat-a3cf0bc74e319b68.js"],"/config-federation":["static/chunks/829-d13a92a702516b11.js","static/chunks/pages/config-federation-726ead757495a90e.js"],"/config-public-details":[s,i,"static/css/e773f9ad06a56dc3.css","static/chunks/589-dee21eef75490d30.js",o,"static/chunks/pages/config-public-details-7c823f723b9356a8.js"],"/config-server-details":[h,"static/chunks/pages/config-server-details-e5bd6cc3840023d9.js"],"/config-social-items":[s,o,"static/chunks/pages/config-social-items-4f6a061c0a4c19b6.js"],"/config-storage":["static/chunks/473-071d0ccb4058336e.js","static/chunks/pages/config-storage-bde3d5d3a1f7c6a2.js"],"/config-video":[s,h,"static/chunks/556-e371537a5b08e653.js","static/chunks/pages/config-video-02f04c81da513e5c.js"],"/federation/actions":[s,c,"static/chunks/pages/federation/actions-f59afeb0516d91a7.js"],"/federation/followers":[s,c,a,"static/chunks/pages/federation/followers-b322ab871ff6a0bf.js"],"/hardware-info":[b,c,a,t,i,g,"static/chunks/pages/hardware-info-adf26cdfa8eebab7.js"],"/help":[a,"static/chunks/17-ac2e2ca5e63d3007.js","static/chunks/pages/help-5336bd99636e2dc3.js"],"/logs":[s,c,f,"static/chunks/pages/logs-9319e0de2ab17377.js"],"/upgrade":[s,"static/chunks/655-7d27b7c49ede8381.js","static/chunks/pages/upgrade-83190bb84a6d4904.js"],"/viewer-info":[b,s,c,a,e,t,i,g,"static/chunks/pages/viewer-info-d01e168cc6d70a75.js"],"/webhooks":[s,"static/chunks/pages/webhooks-d651dd7af05b93b9.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/406-7c15d121d8803c15.js","static/chunks/91-e5a929ca024e0e59.js","static/chunks/961-932002f6def24a76.js","static/chunks/308-b4f28049610db2e1.js","static/chunks/138-71c967507f314a8a.js","static/chunks/910-ed07ccf32f311d03.js","static/chunks/429-b916347815798eef.js","static/chunks/29107295-1494f237b9e407ad.js","static/chunks/464-2f77b4d35258d966.js","static/chunks/733-c29eb814813c0818.js","static/chunks/578-f63843553d757ffc.js","static/chunks/36bcf0ca-c1f70baa5cd8cbbf.js","static/chunks/80-979a39dd33b1f687.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

File diff suppressed because one or more lines are too long

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 y},default:function(){return j}});var r=t(34051),s=t.n(r),a=t(85893),c=t(67294),o=t(87961),i=t(35159),u=t(58827),d=t(20643),l=t(77406),f=t(85533),h=t(31386),p=t(66192),m=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",width:"12%",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"],render:function(e){return(0,a.jsx)("div",{style:{textAlign:"center"},children:e})}},{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,m.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)(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,y=1e4;function j(){var e=((0,c.useContext)(i.aC)||{}).online,n=(0,c.useState)([]),t=n[0],r=n[1],l=(0,c.useState)([]),f=l[0],h=l[1],p=(0,c.useState)([]),m=p[0],j=p[1],w=function(){var e,n=(e=s().mark((function e(){var n,t,a;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,r(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,h(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:a=e.sent,j(a),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)}))});return function(){return n.apply(this,arguments)}}();(0,c.useEffect)((function(){var e;return w(),e=setInterval(w,y),function(){clearInterval(e)}}),[e]);var b=e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x,{data:f}),(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 ",e?"(".concat(f.length,")"):"(offline)"]}),children:b},"1"),(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Banned ",e?"(".concat(t.length,")"):null]}),children:(0,a.jsx)(d.Z,{data:t})},"2"),(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Moderators ",e?"(".concat(m.length,")"):null]}),children:(0,a.jsx)(d.Z,{data:m})},"3")]})}}},function(e){e.O(0,[662,406,91,961,308,464,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

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