Commit graph

348 commits

Author SHA1 Message Date
gingervitis
5f0d7480bb clean up and style tweaks 2021-01-24 13:05:43 -08:00
gingervitis
19ae6205c5 have forms call predefine post function 2021-01-24 13:05:43 -08:00
gingervitis
c61e7e9c14 - start a README to document config admin later - update constants - add instanceUrl field to public details; if empty, then turn off yp.enabled. - edit YP/Directory settings; hide if instanceUrl is empty - update toggleswitch logic 2021-01-24 13:05:43 -08:00
gingervitis
c6e978f182 - start a README to document config admin later
- update constants
- add instanceUrl field to public details; if empty, then turn off yp.enabled.
- edit YP/Directory settings; hide if instanceUrl is empty
- update toggleswitch logic
2021-01-24 13:05:43 -08:00
gingervitis
c93aefa05d edit tags section 2021-01-24 13:05:43 -08:00
gingervitis
624ab72eb3 start organizing nav; start on Tags editing 2021-01-24 13:05:43 -08:00
gingervitis
f9b7a0d8e0 cleanup and styling , wip 2021-01-24 13:05:43 -08:00
gingervitis
78db81a8eb pass field resetter and initial values as props down to custom input element 2021-01-24 13:05:43 -08:00
gingervitis
f0e5bbae1f - create default values for starter fields
- add starter api urls
- try and add TS types for initial components and objects
- cleanup status indicator on layout header
- create custom textfield for config form editing
2021-01-24 13:05:41 -08:00
gingervitis
f63fe9ea7b wip 2021-01-24 13:04:59 -08:00
gingervitis
f446385a7e continue initial setup 2021-01-24 13:04:59 -08:00
gingervitis
48aea8024e notes 2021-01-24 13:04:57 -08:00
Gabe Kangas
98b122f8c5 Add select all button to modals 2021-01-20 22:05:16 -08:00
Gabe Kangas
cb5b1aec0e Link webhooks and access token pages to documentation 2021-01-18 19:13:04 -08:00
Gabe Kangas
d4d08a8307 Add HAS_ADMIN_ACCESS scope 2021-01-18 17:00:28 -08:00
Gabe Kangas
e0f6f73f05 Add some simple validation to access token and webhook forms 2021-01-17 11:11:58 -08:00
Gabe Kangas
7e07c7d5ce Add integrations to the sidebar nav 2021-01-13 16:28:05 -08:00
Gabe Kangas
19cc73ff3f Merge branch 'external-integrations' into gek/access-tokens 2021-01-06 21:37:55 -08:00
Gabe Kangas
8e7e6c1c08 Add tooltip and tag colors 2021-01-05 16:59:55 -08:00
Gabe Kangas
a74dc31dd4 Centralize available scopes 2021-01-05 16:51:57 -08:00
Gabe Kangas
0012fbb4d1 push -> concat 2021-01-05 16:43:33 -08:00
Gabe Kangas
ae1e8c5e74 New webhooks management admin page 2021-01-05 16:39:12 -08:00
Gabe Kangas
cd9fead87a Add single new token to list on save 2021-01-05 12:49:19 -08:00
Gabe Kangas
45337d0bea Cleanup 2021-01-05 11:35:02 -08:00
Gabe Kangas
a6cd3a1a5f Fix build error 2021-01-04 20:46:27 -08:00
Gabe Kangas
dd78f7c12b First pass at access token creation page 2021-01-04 17:49:45 -08:00
Gabe Kangas
cdd3525e4e Link to new help page from offline notice 2021-01-04 12:28:09 -08:00
Gabe Kangas
611b5dd9a2 Merge pull request #10 from thilobillerbeck/master
Add help section to admin (see owncast/owncast#541)
2021-01-04 02:34:54 -08:00
Thilo Billerbeck
82bcff444a changed some code formatting spaces for text formatting to nbsp 2021-01-03 13:58:56 +01:00
Jannik
fe4f578d60 add chatReloadInterval 2021-01-02 14:08:17 +01:00
Thilo Billerbeck
f7a6e75708 Merge branch 'master' of github.com:thilobillerbeck/owncast-admin 2020-12-31 15:14:36 +01:00
Thilo Billerbeck
470d987551 added basic responsiveness 2020-12-31 15:14:25 +01:00
Thilo Billerbeck
074f75b305 Merge branch 'master' into master 2020-12-30 14:47:19 +01:00
Thilo Billerbeck
5a345e1d52 open button links in new tab 2020-12-30 14:41:29 +01:00
Thilo Billerbeck
fbff547bae fixed links 2020-12-30 14:31:20 +01:00
Gabe Kangas
03b013c548 Merge pull request #7 from owncast/gw/20201221-rm-chatmessages
chat moderation - admin side
2020-12-29 16:04:37 -08:00
gingervitis
12201d0088 addressing type warnings; account for no-messages returned 2020-12-29 14:59:43 -08:00
Thilo Billerbeck
1f41441765 changed help graphics 2020-12-29 22:39:32 +01:00
Thilo Billerbeck
14c6b3bed2 updated layout 2020-12-29 17:59:30 +01:00
Thilo Billerbeck
2dfebd7915 created help page, added help page to nav 2020-12-29 15:54:05 +01:00
Sean Heintz
f31a2deb82 Implement sorting by "Connected Time" 2020-12-29 02:13:39 -07:00
gingervitis
422f37c477 move chat to its own menu in sidenav 2020-12-27 01:20:09 -08:00
gingervitis
2e3737646c style update 2020-12-27 01:15:17 -08:00
gingervitis
3e959fe2d4 render message in cell 2020-12-26 21:46:40 -08:00
gingervitis
f6814565de rmeove switches;update styles; 2020-12-26 21:36:48 -08:00
Gabe Kangas
5345c124aa Use auth'ed admin chat messages endpoint to get history 2020-12-26 17:36:46 -08:00
gingervitis
71b91a7fe0 reset selected after processing 2020-12-26 01:01:51 -08:00
gingervitis
e6124f3d61 rename comp for clarity 2020-12-26 00:58:30 -08:00
gingervitis
e978789c8b send id as an array 2020-12-26 00:21:50 -08:00
gingervitis
7c06b74324 set up bulkprocessing states and ux 2020-12-25 23:14:27 -08:00
gingervitis
310c6573d3 make toggle a separate component so we can display an outcome icon beside it 2020-12-25 20:29:15 -08:00
gingervitis
6cb8cee8b7 call update message api on toggle switch and update ui state 2020-12-25 11:03:18 -08:00
gingervitis
88deced9f2 super basic table sorting and stylings 2020-12-22 23:15:37 -08:00
gingervitis
05b9634180 add nav item and page for chat; set up data table of messages 2020-12-22 22:05:17 -08:00
Gabe Kangas
94395ed182 Add link to support documentation on admin home page 2020-12-22 18:01:10 -08:00
Gabe Kangas
b89cc6fb26 Fine, use a string instead of date object 2020-12-15 19:52:01 -08:00
Gabe Kangas
59eb6eaa16 Do not format date, just pass raw date object to chart. Closes https://github.com/owncast/owncast/issues/459 2020-12-15 19:40:27 -08:00
Gabe Kangas
69f8efba94 Use unique clientID as the row key. Closes https://github.com/owncast/owncast/issues/452 2020-12-15 19:38:58 -08:00
Gabe Kangas
8782d54e49 Fix zero being shown for peak viewer count. Closes https://github.com/owncast/owncast/issues/445 2020-12-12 16:26:50 -08:00
Gabe Kangas
05e701df6f Make error log show up on home screen. Fix key. Closes https://github.com/owncast/owncast/issues/429 2020-12-06 01:05:49 -08:00
Gabe Kangas
3d80d37c8f Format log timestamps better 2020-12-06 00:49:55 -08:00
Gabe Kangas
d86ee96a0d Show a dash when geoip data is not available in the admin. Closes https://github.com/owncast/owncast/issues/427 2020-12-06 00:20:09 -08:00
gingervitis
9908896bfd fix for #418 2020-12-04 00:14:52 -08:00
gingervitis
cd1eadebc1 fix for #408 2020-12-03 22:55:04 -08:00
Gabe Kangas
f55901064c Use unkonwn fallback string for values not supplied by remote encoder.
Closes https://github.com/owncast/owncast/issues/403
2020-12-02 17:51:33 -08:00
Gabe Kangas
a56d5e47b9 Display remote encoder software in the admin 2020-12-02 17:34:05 -08:00
gingervitis
3eeb6eaece linty things 2020-11-28 19:45:52 -08:00
gingervitis
ced7a7ca82 cleanup 2020-11-28 19:27:48 -08:00
gingervitis
5a4f380009 update some home styles 2020-11-28 19:26:52 -08:00
gingervitis
1c40d2d428 fix react warnings on config page 2020-11-28 18:43:59 -08:00
gingervitis
3822e49591 fix chart margins 2020-11-28 18:14:08 -08:00
gingervitis
f691678105 edit side nav so viewers is not in a section 2020-11-28 18:07:19 -08:00
gingervitis
3cd552cba8 fixed side nav 2020-11-28 17:59:09 -08:00
Gabe Kangas
e3d6c2872e Cleanup and linting 2020-11-28 15:28:39 -08:00
Gabe Kangas
c41aa73694 Move util function to top of file 2020-11-25 00:17:35 -08:00
Gabe Kangas
c3a51cbfe0 Replace recharts with Chartkick + remove all the d3 utils 2020-11-25 00:07:46 -08:00
Gabe Kangas
7b2106adce Pass chart data to lines not to the graph itself 2020-11-23 22:16:33 -08:00
Gabe Kangas
475170f381 Fix left aligned statistic items 2020-11-23 21:13:30 -08:00
Gabe Kangas
ac0b315262 Remove compact styles and support auto-dark themes 2020-11-21 00:14:51 -08:00
Gabe Kangas
dc41b21b92 Display video passthrough values properly + some tweaks 2020-11-19 22:02:44 -08:00
Gabe Kangas
ff955c7ac8 Make graph less smooth. Hide empty value. Closes https://github.com/owncast/owncast/issues/379 2020-11-17 22:54:57 -08:00
Gabe Kangas
8787e3421b Show framerate of inbound video stream 2020-11-17 22:48:03 -08:00
Gabe Kangas
08972dfb3a Give utilities a unique icon. Open all submenus by default. 2020-11-16 14:36:06 -08:00
Gabe Kangas
e0ce9a35ac Fix typescript build errors 2020-11-16 14:32:37 -08:00
Gabe Kangas
59f63e5438 Rename sidebar items. Give admin a title. Link to app favicon. 2020-11-16 14:19:15 -08:00
Gabe Kangas
17da98279a Add local storage message to storage config 2020-11-16 14:09:57 -08:00
gingervitis
e3c0265469 include server config fetch in serverstatus context hook so config data can be provided across multiple views 2020-11-13 04:43:27 -08:00
gingervitis
72d9ff4edb assorted cleanup 2020-11-13 03:57:57 -08:00
gingervitis
2211572ba1 clean up of home section; now with styling 2020-11-13 03:43:28 -08:00
gingervitis
3f1f96a768 Merge branch 'master' of github.com:owncast/owncast-admin 2020-11-12 22:39:18 -08:00
gingervitis
30e1858456 Merge branch 'master' of github.com:owncast/owncast-admin 2020-11-12 19:54:41 -08:00
Gabe Kangas
500e20281c Add popover with thumbnail 2020-11-11 22:54:27 -08:00
Gabe Kangas
d14743c396 Support centered and left-justified statistic views 2020-11-11 22:44:11 -08:00
Gabe Kangas
2fe1277cfa Cleanup debug views 2020-11-11 19:48:12 -08:00
Gabe Kangas
7316d512c6 Add support for multi-value tooltips 2020-11-11 19:39:57 -08:00
Gabe Kangas
d1dbe16796 Hide pagination on upgrade asset table 2020-11-11 19:20:46 -08:00
Gabe Kangas
99cefa19c8 Remove random semicolons 2020-11-11 19:18:01 -08:00
Gabe Kangas
6cafb29a8f Customize legend titles. Hide empty graph lines. Update colors. 2020-11-11 19:05:38 -08:00
Gabe Kangas
f2499ebb5d Fix typescript errors 2020-11-08 11:51:04 -08:00
Gabe Kangas
24d71cec58 Center without using center 2020-11-08 11:38:20 -08:00
Gabe Kangas
4ab6e5df51 Add more offline content to admin home page 2020-11-07 23:37:17 -08:00
Gabe Kangas
eaafe57bb3 Show warnings even when offline 2020-11-07 23:00:02 -08:00
Gabe Kangas
20d0596233 WIP for some additional statistic views 2020-11-07 20:01:45 -08:00
gingervitis
1a2dbd8d75 make offline view a sep componenet 2020-11-07 15:32:51 -08:00
Gabe Kangas
c4351a53bf Replace broadcaster API call with generic server status call. Add upgrade check bool 2020-11-05 18:30:14 -08:00
Gabe Kangas
940cc1da71 Show/hide upgrade sidebar item 2020-11-03 18:15:38 -08:00
Gabe Kangas
ac641ee7d6 Start some home screen instructions 2020-11-03 17:09:11 -08:00
Gabe Kangas
5f1519d722 Use logo in home page empty state 2020-11-03 00:03:40 -08:00
Gabe Kangas
0f06741309 Fix links 2020-11-02 21:38:56 -08:00
gingervitis
112cc3af14 add a hook to track window resize so we can dynamically size charts; default highlight Home link in nav; some typescript fixes 2020-11-02 20:49:52 -08:00
Gabe Kangas
9e4e6b2df3 Experiment with a new releases/upgrade page 2020-11-02 19:22:10 -08:00
Gabe Kangas
7795a295c0 Add stream duration to layout header 2020-11-02 17:23:32 -08:00
Gabe Kangas
9b89955bb7 It builds 2020-11-01 00:46:20 -07:00
gingervitis
27f4b8b158 Merge branch 'master' of github.com:owncast/owncast-admin 2020-10-31 23:17:55 -07:00
gingervitis
de44f8b99d small ts fixes 2020-10-31 23:17:44 -07:00
Gabe Kangas
09bcb54ba4 Tweak sidebar 2020-10-31 19:29:06 -07:00
Gabe Kangas
4acc58baf0 I dont know why javascript 2020-10-29 18:12:26 -07:00
Gabe Kangas
1f4169c45a Add logs 2020-10-29 18:01:38 -07:00
Gabe Kangas
6a1db77c53 Missing prop breaks build 2020-10-29 12:39:59 -07:00
Gabe Kangas
8e907eb8f3 Show local vs. external message on storage config page 2020-10-29 10:22:31 -07:00
Gabe Kangas
83de63b1e8 Split up config sections into pages 2020-10-29 10:16:13 -07:00
Gabe Kangas
34458c1676 Combine hardware graphs into a single graph 2020-10-28 19:28:52 -07:00
Gabe Kangas
9689f66d2e Add config values to home overview 2020-10-28 18:59:17 -07:00
Gabe Kangas
df14a55429 Componentize a bit and consolidate some data 2020-10-28 18:36:25 -07:00
gingervitis
87d69e1665 sme typescripty formatting changes 2020-10-28 00:53:24 -07:00
Gabe Kangas
9e12d87edd Some progress on charts 2020-10-26 23:53:04 -07:00
Gabe Kangas
87afef3b11 Support ipv4 loopback ip checking 2020-10-26 16:13:25 -07:00
Gabe Kangas
6d357857a7 WIP server config display page 2020-10-25 23:20:57 -07:00
Gabe Kangas
2444bea78a Use relative time for viewing duration 2020-10-25 19:05:40 -07:00
Gabe Kangas
049012485e Add server overview home page 2020-10-25 18:57:23 -07:00
gingervitis
0c52468827 quick edit to test git settings 2020-10-24 01:01:29 -07:00
Ginger Wong
00fd087fde some cleanup 2020-10-22 17:16:28 -07:00
Ginger Wong
a062856726 a bit of refactor, use context for overall broacast status; move files around for routing 2020-10-22 16:18:18 -07:00
Ginger Wong
2b278c45e1 adding a nicer layout frame, setting up for pages 2020-10-22 01:03:15 -07:00
Ginger Wong
81e25d3540 tables 2020-10-21 01:19:29 -07:00
Ginger Wong
654f70dcf9 initial line chart setup with d3 help 2020-10-11 21:46:56 -07:00
Ginger Wong
98ae9c43d3 add notes; remove victory charts, try recharts 2020-10-11 19:46:48 -07:00
Ginger Wong
f001904e35 eslint rule updates for typescript 2020-10-10 18:48:29 -07:00
Ginger Wong
e53ea1d6cf add proptypes 2020-10-10 18:25:21 -07:00
Ginger Wong
e554a2a877 add connectedclients endpoint 2020-10-08 00:26:24 -07:00
Ginger Wong
c6c14bf216 initial rough setup 2020-10-08 00:17:40 -07:00
Ginger Wong
c7dc2a4030 blah 2020-10-07 23:09:42 -07:00
Gabe Kangas
12487011d2 Handle auth + cors 2020-10-03 23:07:37 -07:00
Ginger Wong
43f861fcc0 initial files 2020-10-03 20:59:25 -07:00
Gabe Kangas
fe6c285b43 Add linting and code formatting 2020-09-30 18:47:18 -07:00
Gabe Kangas
429b29cbb0 Add sass support for styling 2020-09-30 15:39:30 -07:00
Gabe Kangas
0f74e1988f Bootstrap the admin project 2020-09-30 15:13:06 -07:00
Gabe Kangas
5b58ca8345 Initial commit from Create Next App 2020-09-30 15:13:06 -07:00