Update admin to c8a31ade5e5f88d25f272f491afcbc83ee9ecd45
This commit is contained in:
File diff suppressed because one or more lines are too long
1
static/admin/_next/static/chunks/pages/chat/messages-bb4b61d9f9f8bdff.js
vendored
Normal file
1
static/admin/_next/static/chunks/pages/chat/messages-bb4b61d9f9f8bdff.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/admin/_next/static/chunks/pages/chat/users-ddb206bdf674cf61.js
vendored
Normal file
1
static/admin/_next/static/chunks/pages/chat/users-ddb206bdf674cf61.js
vendored
Normal 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 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(44206),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,206,697,91,903,533,371,774,888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
||||
@@ -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 w},default:function(){return j}});var r=t(28520),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),h=t(85584),m=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)(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 x(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 v=o.Z.Title,w=1e4;function j(){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],h=l[1],m=(0,c.useState)([]),p=m[0],j=m[1],k=(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,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,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:r=e.sent,j(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){x(a,r,s,c,o,"next",e)}function o(e){x(a,r,s,c,o,"throw",e)}c(void 0)}))});(0,c.useEffect)((function(){var e;return k(),e=setInterval(k,w),function(){clearInterval(e)}}),[n]);var y=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)(v,{children:["Connected Chat Participants ",n?"(".concat(f.length,")"):null]}),y,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsxs)(v,{children:["Banned Users ",n?"(".concat(r.length,")"):null]}),(0,a.jsx)(d.Z,{data:r}),(0,a.jsxs)(v,{children:["Moderators ",n?"(".concat(p.length,")"):null]}),(0,a.jsx)(d.Z,{data:p})]})}}},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
@@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[233],{44156:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/help",function(){return t(54712)}])},54712:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return y}});var r=t(85893),o=t(25968),s=t(6226),i=t(33859),l=t(71577),a=t(27049),c=t(45274),d=t(89281),h=t(11700),x=t(90543),u=t(29158),j=t(38958),p=t(17502),f=t(65987),g=t(99767),w=t(30925),Z=t(80869),m=t(43439),b=t(99906);t(67294);function y(){var e=[{icon:(0,r.jsx)(x.Z,{style:{fontSize:"24px"}}),title:"I want to configure my owncast instance",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/configuration/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(j.Z,{style:{fontSize:"24px"}}),title:"Help configuring my broadcasting software",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(p.Z,{style:{fontSize:"24px"}}),title:"I want to embed my stream into another site",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/embed/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(f.Z,{style:{fontSize:"24px"}}),title:"I want to customize my website",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/website/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(g.Z,{style:{fontSize:"24px"}}),title:"I want to tweak my video output",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/encoding/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(w.Z,{style:{fontSize:"24px"}}),title:"I want to use an external storage provider",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/storage/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})}],n=[{icon:(0,r.jsx)(Z.Z,{style:{fontSize:"24px"}}),title:"I found a bug",content:(0,r.jsxs)("div",{children:["If you found a bug, then please",(0,r.jsxs)("a",{href:"https://github.com/owncast/owncast/issues/new/choose",target:"_blank",rel:"noopener noreferrer",children:[" ","let us know"]})]})},{icon:(0,r.jsx)(m.Z,{style:{fontSize:"24px"}}),title:"I have a general question",content:(0,r.jsxs)("div",{children:["Most general questions are answered in our",(0,r.jsxs)("a",{href:"https://owncast.online/docs/faq/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[" ","FAQ"]})," ","or exist in our"," ",(0,r.jsx)("a",{href:"https://github.com/owncast/owncast/discussions",target:"_blank",rel:"noopener noreferrer",children:"discussions"})]})},{icon:(0,r.jsx)(b.Z,{style:{fontSize:"24px"}}),title:"I want to build add-ons for Owncast",content:(0,r.jsxs)("div",{children:["You can build your own bots, overlays, tools and add-ons with our",(0,r.jsx)("a",{href:"https://owncast.online/thirdparty?source=admin",target:"_blank",rel:"noopener noreferrer",children:"\xa0developer APIs.\xa0"})]})}];return(0,r.jsxs)("div",{className:"help-page",children:[(0,r.jsx)(h.Z,{style:{textAlign:"center"},children:"How can we help you?"}),(0,r.jsxs)(o.Z,{gutter:[16,16],justify:"space-around",align:"middle",children:[(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"500"}),(0,r.jsx)(h.Z,{level:2,children:"Troubleshooting"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs/troubleshooting/?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Fix your problems"})]}),(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"404"}),(0,r.jsx)(h.Z,{level:2,children:"Documentation"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Read the Docs"})]})]}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Common tasks"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:e.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Other"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:n.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))})]})}}},function(e){e.O(0,[274,132,774,888,179],(function(){return n=44156,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[233],{44156:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/help",function(){return t(54712)}])},54712:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return y}});var r=t(85893),o=t(25968),s=t(6226),i=t(33859),l=t(71577),a=t(27049),c=t(97751),d=t(89281),h=t(11700),x=t(90543),u=t(29158),j=t(38958),p=t(17502),f=t(65987),g=t(99767),w=t(30925),Z=t(80869),m=t(43439),b=t(99906);t(67294);function y(){var e=[{icon:(0,r.jsx)(x.Z,{style:{fontSize:"24px"}}),title:"I want to configure my owncast instance",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/configuration/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(j.Z,{style:{fontSize:"24px"}}),title:"Help configuring my broadcasting software",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(p.Z,{style:{fontSize:"24px"}}),title:"I want to embed my stream into another site",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/embed/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(f.Z,{style:{fontSize:"24px"}}),title:"I want to customize my website",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/website/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(g.Z,{style:{fontSize:"24px"}}),title:"I want to tweak my video output",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/encoding/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(w.Z,{style:{fontSize:"24px"}}),title:"I want to use an external storage provider",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/storage/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})}],n=[{icon:(0,r.jsx)(Z.Z,{style:{fontSize:"24px"}}),title:"I found a bug",content:(0,r.jsxs)("div",{children:["If you found a bug, then please",(0,r.jsxs)("a",{href:"https://github.com/owncast/owncast/issues/new/choose",target:"_blank",rel:"noopener noreferrer",children:[" ","let us know"]})]})},{icon:(0,r.jsx)(m.Z,{style:{fontSize:"24px"}}),title:"I have a general question",content:(0,r.jsxs)("div",{children:["Most general questions are answered in our",(0,r.jsxs)("a",{href:"https://owncast.online/docs/faq/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[" ","FAQ"]})," ","or exist in our"," ",(0,r.jsx)("a",{href:"https://github.com/owncast/owncast/discussions",target:"_blank",rel:"noopener noreferrer",children:"discussions"})]})},{icon:(0,r.jsx)(b.Z,{style:{fontSize:"24px"}}),title:"I want to build add-ons for Owncast",content:(0,r.jsxs)("div",{children:["You can build your own bots, overlays, tools and add-ons with our",(0,r.jsx)("a",{href:"https://owncast.online/thirdparty?source=admin",target:"_blank",rel:"noopener noreferrer",children:"\xa0developer APIs.\xa0"})]})}];return(0,r.jsxs)("div",{className:"help-page",children:[(0,r.jsx)(h.Z,{style:{textAlign:"center"},children:"How can we help you?"}),(0,r.jsxs)(o.Z,{gutter:[16,16],justify:"space-around",align:"middle",children:[(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"500"}),(0,r.jsx)(h.Z,{level:2,children:"Troubleshooting"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs/troubleshooting/?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Fix your problems"})]}),(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"404"}),(0,r.jsx)(h.Z,{level:2,children:"Documentation"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Read the Docs"})]})]}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Common tasks"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:e.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Other"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:n.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))})]})}}},function(e){e.O(0,[903,693,774,888,179],(function(){return n=44156,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
Reference in New Issue
Block a user