Update admin

This commit is contained in:
Gabe Kangas 2021-11-02 18:02:03 -07:00
parent b43c5e674e
commit 4a52ba9f35
27 changed files with 24 additions and 24 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,b,d,h,o,g,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,a,e,t,i,n,"static/chunks/59-da212da3479fcc5e.js","static/chunks/pages/index-b6825d050b90fbbb.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-92de6fb33bdfea96.js"],"/actions":[s,c,"static/chunks/pages/actions-3b789faaf393dffa.js"],"/chat/messages":[b,s,c,a,i,d,"static/chunks/pages/chat/messages-c5419d599870dd6f.js"],"/chat/users":[b,s,c,a,i,d,"static/chunks/pages/chat/users-d10bc6217707e895.js"],"/config-chat":["static/chunks/pages/config-chat-e8b1a7dd790e5a8d.js"],"/config-public-details":[s,c,f,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",h,"static/chunks/pages/config-public-details-eeb7d80c5f69e20e.js"],"/config-server-details":[o,"static/chunks/pages/config-server-details-914c078432cbb9f1.js"],"/config-social-items":[s,c,h,"static/chunks/pages/config-social-items-9aef6dc9dea4f124.js"],"/config-storage":["static/chunks/473-075b4496c35e1e97.js","static/chunks/pages/config-storage-c94f81b19aab8a8c.js"],"/config-video":[s,c,o,"static/chunks/556-07bc7b53ece182fa.js","static/chunks/pages/config-video-a07db841bb87463a.js"],"/hardware-info":[g,a,e,t,f,u,"static/chunks/pages/hardware-info-0f1386b3bc31e012.js"],"/help":[e,"static/chunks/132-2ea3ee091068ce0b.js","static/chunks/pages/help-38a04438279b0440.js"],"/logs":[s,a,n,"static/chunks/pages/logs-41018e1911f0e447.js"],"/upgrade":[s,"static/chunks/357-b33aaf36873656ac.js","static/chunks/pages/upgrade-522eb38d331b0984.js"],"/viewer-info":[g,a,e,t,f,u,"static/chunks/pages/viewer-info-dd9e590f328f1926.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-8e191e85c49c7a66.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/206-7944cda3fa249468.js","static/chunks/697-d8f51bf274f309e1.js","static/chunks/91-84434c9e4b8fc58f.js","static/chunks/274-40e17359826979be.js","static/chunks/763-f08c00455c707280.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-0ca6e225838aa5dc.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/659-95253c759fdc23a4.js","static/chunks/17-b021436c3e9075d1.js","static/chunks/578-c6676383a8e008eb.js","static/chunks/36bcf0ca-f48a13ba32e9b52e.js","static/chunks/958-03dc425f90ca3e62.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
self.__BUILD_MANIFEST=function(s,c,e,a,t,i,n,f,d,h,o,b,g,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,e,a,t,i,f,"static/chunks/59-da212da3479fcc5e.js","static/chunks/pages/index-b6825d050b90fbbb.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,e,"static/chunks/pages/access-tokens-92de6fb33bdfea96.js"],"/actions":[s,c,"static/chunks/pages/actions-3b789faaf393dffa.js"],"/chat/messages":[d,s,c,e,i,h,"static/chunks/pages/chat/messages-e6961fba76ef4829.js"],"/chat/users":[d,s,c,e,i,h,"static/chunks/pages/chat/users-c76a694fe62c6a73.js"],"/config-chat":["static/chunks/pages/config-chat-e8b1a7dd790e5a8d.js"],"/config-public-details":[s,c,n,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",o,"static/chunks/pages/config-public-details-eeb7d80c5f69e20e.js"],"/config-server-details":[b,"static/chunks/pages/config-server-details-914c078432cbb9f1.js"],"/config-social-items":[s,c,o,"static/chunks/pages/config-social-items-9aef6dc9dea4f124.js"],"/config-storage":["static/chunks/473-075b4496c35e1e97.js","static/chunks/pages/config-storage-c94f81b19aab8a8c.js"],"/config-video":[s,c,b,"static/chunks/556-07bc7b53ece182fa.js","static/chunks/pages/config-video-a07db841bb87463a.js"],"/hardware-info":[g,e,a,t,n,u,"static/chunks/pages/hardware-info-0f1386b3bc31e012.js"],"/help":[a,"static/chunks/132-2ea3ee091068ce0b.js","static/chunks/pages/help-38a04438279b0440.js"],"/logs":[s,e,f,"static/chunks/pages/logs-41018e1911f0e447.js"],"/upgrade":[s,"static/chunks/357-b33aaf36873656ac.js","static/chunks/pages/upgrade-522eb38d331b0984.js"],"/viewer-info":[g,e,a,t,n,u,"static/chunks/pages/viewer-info-dd9e590f328f1926.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-8e191e85c49c7a66.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/206-7944cda3fa249468.js","static/chunks/697-d8f51bf274f309e1.js","static/chunks/91-84434c9e4b8fc58f.js","static/chunks/274-40e17359826979be.js","static/chunks/763-f08c00455c707280.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-0ca6e225838aa5dc.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/371-87100aa8da226dee.js","static/chunks/17-b021436c3e9075d1.js","static/chunks/578-c6676383a8e008eb.js","static/chunks/36bcf0ca-f48a13ba32e9b52e.js","static/chunks/958-03dc425f90ca3e62.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

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

View file

@ -1 +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 w},default:function(){return y}});var r=t(35666),s=t.n(r),a=t(85893),c=t(67294),o=t(17256),i=t(35159),u=t(58827),d=t(20643),l=t(44206),f=t(85533),m=t(77894),h=t(30238),p=t(2766);function g(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,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)(h.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 x=o.Z.Title,w=1e4;function y(){var e,n=((0,c.useContext)(i.aC)||{}).online,t=(0,c.useState)([]),r=t[0],o=t[1],l=(0,c.useState)([]),f=l[0],m=l[1],h=(e=s().mark((function e(){var n,t;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,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,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:case"end":return e.stop()}}),e,null,[[0,7],[10,17]])})),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 h(),e=setInterval(h,w),function(){clearInterval(e)}}),[n]);var p=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{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)(a.Fragment,{children:[(0,a.jsxs)(x,{children:["Connected Chat Participants ",n?"(".concat(f.length,")"):null]}),p,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(x,{children:"Banned Users"}),(0,a.jsx)(d.Z,{data:r})]})}}},function(e){e.O(0,[662,206,697,91,533,659,774,888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
(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 w},default:function(){return y}});var r=t(35666),s=t.n(r),a=t(85893),c=t(67294),o=t(17256),i=t(35159),u=t(58827),d=t(20643),l=t(44206),f=t(85533),m=t(85584),h=t(66192),p=t(2766);function g(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,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)(h.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 x=o.Z.Title,w=1e4;function y(){var e,n=((0,c.useContext)(i.aC)||{}).online,t=(0,c.useState)([]),r=t[0],o=t[1],l=(0,c.useState)([]),f=l[0],m=l[1],h=(e=s().mark((function e(){var n,t;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,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,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:case"end":return e.stop()}}),e,null,[[0,7],[10,17]])})),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 h(),e=setInterval(h,w),function(){clearInterval(e)}}),[n]);var p=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{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)(a.Fragment,{children:[(0,a.jsxs)(x,{children:["Connected Chat Participants ",n?"(".concat(f.length,")"):null]}),p,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(x,{children:"Banned Users"}),(0,a.jsx)(d.Z,{data:r})]})}}},function(e){e.O(0,[662,206,697,91,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