0

Update admin

This commit is contained in:
Gabe Kangas 2021-10-13 19:53:10 -07:00
parent e42b0c5f2e
commit 95211f51b3
32 changed files with 26 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,b,d,o,h,g,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,e,t,i,f,b,"static/chunks/pages/index-3ba269b54a8f308320fd.js"],"/_error":["static/chunks/pages/_error-ea939aab753d9e9db3bd.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-9bc1c9dd3309a3ec4f21.js"],"/actions":[s,a,"static/chunks/pages/actions-877d508e9ce23f852ac6.js"],"/chat/messages":[d,s,c,a,f,o,"static/chunks/pages/chat/messages-7ee04cd432c0e9a41c62.js"],"/chat/users":[d,s,c,a,f,o,"static/chunks/pages/chat/users-3e30c33f945e12103605.js"],"/config-chat":["static/chunks/pages/config-chat-9e64011c5142bb4cde30.js"],"/config-public-details":[s,a,n,"static/css/daab8d18100466477c6d.css","static/chunks/361-11c54fbc23b235ad7af7.js","static/chunks/pages/config-public-details-3c26a3ed0000b5440538.js"],"/config-server-details":[h,"static/chunks/pages/config-server-details-d708db0714de42812fbd.js"],"/config-social-items":[s,a,"static/chunks/pages/config-social-items-a7f65f614734b1284dc5.js"],"/config-storage":["static/chunks/pages/config-storage-376cc500207ec51ed7bd.js"],"/config-video":[s,a,h,"static/chunks/364-d398b818a027a7a7eb4e.js","static/chunks/pages/config-video-d4c8ac1f1f5e2b10a1b2.js"],"/hardware-info":[g,c,e,i,n,u,"static/chunks/pages/hardware-info-f9651667f386dc8adc51.js"],"/help":[e,"static/chunks/334-7b22cd3bdbdd9b073ddd.js","static/chunks/pages/help-addeb25f330508a229ad.js"],"/logs":[s,c,t,"static/chunks/pages/logs-80d875f16adc4edd0cec.js"],"/offline-notice":[s,c,e,t,b,"static/chunks/pages/offline-notice-220dfaa8eb4b5d8a1ef0.js"],"/upgrade":[s,"static/chunks/840-e2546e86a9f097d6f20f.js","static/chunks/pages/upgrade-c5fdf5dc1f90cc34e241.js"],"/viewer-info":[g,c,e,i,n,u,"static/chunks/pages/viewer-info-99bf5368ac1c24732e47.js"],"/webhooks":[s,a,"static/chunks/pages/webhooks-927f6b527b4234d4fa06.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","/offline-notice","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/23-f55205d707e591f0168c.js","static/chunks/924-f83c6a5efb63742cec73.js","static/chunks/614-1e74c3ac41cdd8da7cad.js","static/chunks/689-35f2a306e6434b0319fd.js","static/chunks/835-4646cc28de3139d4e0d8.js","static/chunks/277-523d880908ae13758a1f.js","static/chunks/354-90541e85108fb0b393fd.js","static/chunks/74-ef23b34310205aa6b8db.js","static/chunks/676-8018048eb217f2a19212.js","static/chunks/29107295-62449f6ab50432c0efef.js","static/chunks/821-a0eee837a5aa58606b12.js","static/chunks/701-f32a6ed8ba8f13456f21.js","static/chunks/36bcf0ca-afaab5d8fc9855302fe5.js","static/chunks/937-6948bcb00194f10fdf0a.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],{24887:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return N},default:function(){return k}});var r=t(15861),s=t(87757),a=t.n(s),c=t(67294),o=t(4525),i=t(60293),u=t(94853),d=t(58416),l=t(2023),f=t(8354),m=t(99382),p=t(90978),h=t(9431),g=t(85893);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,g.jsx)(m.Z,{user:n,connectionInfo:t,children:(0,g.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,h.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,g.jsx)(p.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,g.jsx)(l.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}var v=o.Z.Title,N=1e4;function k(){var e=((0,c.useContext)(i.aC)||{}).online,n=(0,c.useState)([]),t=n[0],s=n[1],o=(0,c.useState)([]),l=o[0],f=o[1],m=function(){var e=(0,r.Z)(a().mark((function e(){var n,t;return a().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,s(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,f(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]])})));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){var e;return m(),e=setInterval(m,N),function(){clearInterval(e)}}),[e]);var p=e?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(x,{data:l}),(0,g.jsxs)("p",{className:"description",children:["Visit the"," ",(0,g.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,g.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(v,{children:["Connected Chat Participants ",e?"(".concat(l.length,")"):null]}),p,(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)(v,{children:"Banned Users"}),(0,g.jsx)(d.Z,{data:t})]})}},22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(24887)}])}},function(e){e.O(0,[662,23,924,614,354,821,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],{24887:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return N},default:function(){return k}});var r=t(15861),s=t(87757),a=t.n(s),c=t(67294),o=t(4525),i=t(60293),u=t(94853),d=t(58416),l=t(2023),f=t(8354),m=t(99382),p=t(90978),h=t(9431),g=t(85893);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,g.jsx)(m.Z,{user:n,connectionInfo:t,children:(0,g.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,h.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,g.jsx)(p.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,g.jsx)(l.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}var v=o.Z.Title,N=1e4;function k(){var e=((0,c.useContext)(i.aC)||{}).online,n=(0,c.useState)([]),t=n[0],s=n[1],o=(0,c.useState)([]),l=o[0],f=o[1],m=function(){var e=(0,r.Z)(a().mark((function e(){var n,t;return a().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,s(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,f(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]])})));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){var e;return m(),e=setInterval(m,N),function(){clearInterval(e)}}),[e]);var p=e?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(x,{data:l}),(0,g.jsxs)("p",{className:"description",children:["Visit the"," ",(0,g.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,g.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(v,{children:["Connected Chat Participants ",e?"(".concat(l.length,")"):null]}),p,(0,g.jsx)("br",{}),(0,g.jsx)("br",{}),(0,g.jsx)(v,{children:"Banned Users"}),(0,g.jsx)(d.Z,{data:t})]})}},22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(24887)}])}},function(e){e.O(0,[662,23,614,924,354,821,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

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,d,b,h,o,g){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,a,e,t,i,n,"static/chunks/598-7437ece12e3424a4109f.js","static/chunks/pages/index-23d5b2a721a8436d4fdd.js"],"/_error":["static/chunks/pages/_error-ea939aab753d9e9db3bd.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-105b570d7d09787e404c.js"],"/actions":[s,c,"static/chunks/pages/actions-877d508e9ce23f852ac6.js"],"/chat/messages":[d,s,c,a,i,b,"static/chunks/pages/chat/messages-fc5df5bade849ef7b755.js"],"/chat/users":[d,s,c,a,i,b,"static/chunks/pages/chat/users-99e2a8b6dbdf04af921c.js"],"/config-chat":["static/chunks/pages/config-chat-9e64011c5142bb4cde30.js"],"/config-public-details":[s,c,f,"static/css/daab8d18100466477c6d.css","static/chunks/361-11c54fbc23b235ad7af7.js","static/chunks/pages/config-public-details-3c26a3ed0000b5440538.js"],"/config-server-details":[h,"static/chunks/pages/config-server-details-d708db0714de42812fbd.js"],"/config-social-items":[s,c,"static/chunks/pages/config-social-items-a7f65f614734b1284dc5.js"],"/config-storage":["static/chunks/pages/config-storage-376cc500207ec51ed7bd.js"],"/config-video":[s,c,h,"static/chunks/364-d398b818a027a7a7eb4e.js","static/chunks/pages/config-video-d4c8ac1f1f5e2b10a1b2.js"],"/hardware-info":[o,a,e,t,f,g,"static/chunks/pages/hardware-info-f9651667f386dc8adc51.js"],"/help":[e,"static/chunks/334-7b22cd3bdbdd9b073ddd.js","static/chunks/pages/help-addeb25f330508a229ad.js"],"/logs":[s,a,n,"static/chunks/pages/logs-80d875f16adc4edd0cec.js"],"/upgrade":[s,"static/chunks/840-e2546e86a9f097d6f20f.js","static/chunks/pages/upgrade-c5fdf5dc1f90cc34e241.js"],"/viewer-info":[o,a,e,t,f,g,"static/chunks/pages/viewer-info-99bf5368ac1c24732e47.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-927f6b527b4234d4fa06.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/23-f55205d707e591f0168c.js","static/chunks/614-1e74c3ac41cdd8da7cad.js","static/chunks/924-f83c6a5efb63742cec73.js","static/chunks/689-35f2a306e6434b0319fd.js","static/chunks/277-523d880908ae13758a1f.js","static/chunks/354-90541e85108fb0b393fd.js","static/chunks/74-ef23b34310205aa6b8db.js","static/chunks/835-4646cc28de3139d4e0d8.js","static/chunks/29107295-62449f6ab50432c0efef.js","static/chunks/821-a0eee837a5aa58606b12.js","static/chunks/701-f32a6ed8ba8f13456f21.js","static/chunks/36bcf0ca-afaab5d8fc9855302fe5.js","static/chunks/937-6948bcb00194f10fdf0a.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

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