Commit graph

388 commits

Author SHA1 Message Date
Gabe Kangas
250acbf6e9 Update webhook text 2021-02-10 00:27:02 -08:00
Gabe Kangas
8484baac28 Make access token and webhooks buttons look correct 2021-02-10 00:17:16 -08:00
nebunez
a123967645 move components folder and fix build errors (#18)
* move components folder and fix build errors

Fixes https://github.com/owncast/owncast/issues/689

* Prettified Code!

Co-authored-by: nebunez <nebunez@users.noreply.github.com>
2021-02-06 19:38:58 -08:00
nebunez
fa9f27edca tweaks to offline state in admin viewers page (#17)
If stream is offline, hide current viewers statistic and viewers table.
Also, change wording for describing max viewers.
2021-02-06 14:52:54 -08:00
Gabe Kangas
d46d954a29 Add some context and instructions around latency levels 2021-02-05 17:24:19 -08:00
Gabe Kangas
a2ed01b088 Remove last used column for webhooks as it does not really make sense to have it 2021-02-04 19:23:41 -08:00
gingervitis
d36ee58b0e Merge branch '0.0.6' of github.com:owncast/owncast-admin into 0.0.6 2021-02-04 14:51:23 -08:00
gingervitis
6d89fdf6c3 a fix for https://github.com/owncast/owncast/issues/691 (and some linting) 2021-02-04 14:50:03 -08:00
Gabe Kangas
5c99b124aa Continue to add doc links, update copy, and tweak alert messages 2021-02-04 12:41:35 -08:00
gingervitis
5dd4d49118 Merge branch 'admin-css-overhaul' into 0.0.6 2021-02-04 09:21:36 -08:00
gingervitis
c65c97df85 prettify some files 2021-02-04 09:19:16 -08:00
gingervitis
7786c7e113 separate out styles for markdowneditor; convert mainlayout style module styles to just sass; add style to stream title editor in header; 2021-02-04 09:17:20 -08:00
gingervitis
6e43870d41 cleanup some forms; break out major config styles into their own files 2021-02-04 08:04:00 -08:00
Gabe Kangas
50b7425a03 Some missing renames when standardizing on the single name property 2021-02-03 23:51:38 -08:00
Gabe Kangas
e8c24fd2d4 Add alert message for global notifications 2021-02-03 23:24:12 -08:00
Gabe Kangas
e142fa9e7c Typescript: limit tag to be a string not a number 2021-02-03 21:08:47 -08:00
Gabe Kangas
ed80ac13b5 Remove disable upgrade check bool 2021-02-03 19:14:25 -08:00
Gabe Kangas
3790aba34f Move latency buffer setting under the output variants 2021-02-03 16:23:06 -08:00
Gabe Kangas
e3ea0e8f43 Move tags into the general settings page 2021-02-03 16:16:05 -08:00
Gabe Kangas
2e2e1fd2e7 Continuing to tweak naming of sections and organizing of config items. WIP 2021-02-03 16:06:54 -08:00
Gabe Kangas
38a20d022d Add support for some specific placeholders for correct social urls 2021-02-03 15:16:33 -08:00
Gabe Kangas
53cf80282e Fix issue where you cannot re-enable storage after disabling it 2021-02-03 12:20:03 -08:00
Gabe Kangas
5e2c1a42b0 Set some actual values in admin video forms 2021-02-03 10:26:46 -08:00
Gabe Kangas
5038992513 Allow deleting any variant as long as there is more than one 2021-02-03 10:11:11 -08:00
Gabe Kangas
59871401d6 Custom page content -> Page Content 2021-02-03 00:00:20 -08:00
Gabe Kangas
7cc194bb2a Remove username as a property. Simplify field names 2021-02-02 23:59:33 -08:00
gingervitis
103a47bc45 add message viz toggle component to be able to toggle one chat message at a time; address https://github.com/owncast/owncast/issues/568 2021-02-02 11:02:36 -08:00
Gabe Kangas
590811663a Move streamTitle to status so it can be updated via status polls in the background 2021-02-01 22:20:59 -08:00
Gabe Kangas
25766003d7 At least for the time being hide the audio configuration, nobody uses it 2021-02-01 18:55:06 -08:00
Gabe Kangas
fc100cec35 Show warning after changing storage 2021-02-01 18:19:13 -08:00
Gabe Kangas
838f34d0d0 Allow saving when toggling enabled 2021-02-01 16:21:58 -08:00
Gabe Kangas
66f15ceaff Add some info and directions to storage screen 2021-02-01 15:20:26 -08:00
Gabe Kangas
d557788434 Put stream title input in the global header 2021-02-01 14:51:08 -08:00
gingervitis
3db97f1bec streamkey field style update 2021-02-01 14:12:26 -08:00
gingervitis
3488a259bd rename status file for clarity; temp style fix for streamkey actions 2021-02-01 00:36:27 -08:00
gingervitis
a69cfd7abf move storage form to config for consistency 2021-02-01 00:05:09 -08:00
gingervitis
cd8d877a59 fix styles; update storage validation checker 2021-02-01 00:01:38 -08:00
gingervitis
7501cfc548 revise Storage forms, and add basic validation to it; misc field cleanup 2021-01-31 23:40:39 -08:00
gingervitis
05167f77e5 adjust other status info areas 2021-01-31 22:07:00 -08:00
gingervitis
a8d515724c Merge branch 'gw/20201226-admin-formfields' into css-overhaul 2021-01-31 21:36:52 -08:00
gingervitis
b26b8abb9b finalize layout of textfields; add field status component 2021-01-31 21:36:14 -08:00
Gabe Kangas
5fc955d2a1 storage form 2021-01-31 19:45:26 -08:00
gingervitis
037e8f25a7 initial temp fixes on form fields 2021-01-31 10:13:35 -08:00
gingervitis
add2f1329b cleanup 2021-01-31 01:55:19 -08:00
gingervitis
67c160afdb some prettifying 2021-01-31 01:38:20 -08:00
gingervitis
d01c2f081f Merge branch 'formfield-v2' into gw/20201226-admin-formfields 2021-01-31 01:00:28 -08:00
gingervitis
ba65aa2406 add regular form field comp with no submit button 2021-01-31 00:58:27 -08:00
gingervitis
c255b81093 rename formfield files for clarity 2021-01-31 00:48:39 -08:00
Gabe Kangas
0c111c2c0b Replace presets with cpu usage levels 2021-01-30 22:53:28 -08:00
gingervitis
0cc72b0d4c Merge branch 'gw/20201226-admin-formfields' into formfield-v2 2021-01-30 19:33:38 -08:00
nebunez
438161b373 Add random streamkey generation and copy key
closes #616
2021-01-30 22:25:44 -05:00
gingervitis
579a0a8838 make basic form field wit no submit, so a submit text field can compose it 2021-01-30 12:27:07 -08:00
Gabe Kangas
29e598d248 Guard against null broadcaster. Hopefully addresses #635 2021-01-30 12:02:03 -08:00
gingervitis
b37b57feda fix streamtitle change field on index 2021-01-30 01:39:58 -08:00
gingervitis
70dabb87d4 Merge branch 'gw/20201226-admin-formfields' of github.com:owncast/owncast-admin into gw/20201226-admin-formfields 2021-01-29 10:27:02 -08:00
gingervitis
97b2e00eee ts cleanup on some config components 2021-01-29 10:26:55 -08:00
Gabe Kangas
81392ee2cf Try to get the stream title text field working. Failing. 2021-01-28 12:46:19 -08:00
gingervitis
84f001c344 update readme 2021-01-28 03:23:42 -08:00
gingervitis
5f70c77458 refactor forms to not use ant Form component; split server and instance details forms into their own components 2021-01-28 03:08:57 -08:00
gingervitis
04926d53e1 update todo list 2021-01-27 10:37:00 -08:00
gingervitis
0e04905086 Merge branch 'gw/20201226-admin-formfields' of github.com:owncast/owncast-admin into gw/20201226-admin-formfields 2021-01-27 10:32:03 -08:00
gingervitis
c92871278c update readme. EVERYTHING ELSE IS WIP 2021-01-27 10:31:53 -08:00
gingervitis
ff51c168ff reorganize styles and pages (wip); update readme 2021-01-27 01:46:08 -08:00
Gabe Kangas
e8ca1d9eea Add advanced options to s3 table so all the data is available for the new form 2021-01-26 21:13:07 -08:00
Gabe Kangas
8ddd780281 Disable social ok button if URL is not valid 2021-01-24 13:16:33 -08:00
Gabe Kangas
fbffa732d4 Post-merge fixes 2021-01-24 13:09:59 -08:00
gingervitis
9ea5518503 notes 2021-01-24 13:06:26 -08:00
gingervitis
9ad9791931 edit and update social links in modal 2021-01-24 13:06:26 -08:00
gingervitis
c3547f189d edit social handles in modal, wip 2021-01-24 13:06:26 -08:00
Gabe Kangas
d2adda123c Throw a stream title input on the dashboard 2021-01-24 13:06:26 -08:00
Gabe Kangas
82a16c7d05 Use new current broadcast info for admin dashboard data 2021-01-24 13:06:26 -08:00
Gabe Kangas
7822860f2c Remove stream key from admin dashboard. Closes https://github.com/owncast/owncast/issues/615 2021-01-24 13:06:26 -08:00
gingervitis
d1cc0dfd97 start on social links editing, wip 2021-01-24 13:06:25 -08:00
gingervitis
015f93ea56 rename form 2021-01-24 13:06:05 -08:00
gingervitis
573d21d7e7 update segments editor to use new latency api 2021-01-24 13:06:05 -08:00
gingervitis
5b4178b667 cleanup 2021-01-24 13:06:05 -08:00
gingervitis
93fa75df2e add delete variant button 2021-01-24 13:06:05 -08:00
gingervitis
73dd084672 add segement slider editor 2021-01-24 13:06:05 -08:00
gingervitis
2ddce9b75a get variant modal to submit to api and update values 2021-01-24 13:06:05 -08:00
gingervitis
4efc644955 update variant default source 2021-01-24 13:06:05 -08:00
gingervitis
0bdcd0fbf6 edit side nav 2021-01-24 13:06:05 -08:00
Gabe Kangas
fb48b5008a Add page content editor to sidebar 2021-01-24 13:06:05 -08:00
gingervitis
8458849d88 form fields for video config modal 2021-01-24 13:05:43 -08:00
gingervitis
61e172908a update layout colors to be consistently dark 2021-01-24 13:05:43 -08:00
gingervitis
5ed73d7f6f start video variant page; setup video variant table for modals wip; use dark theme as default 2021-01-24 13:05:43 -08:00
gingervitis
e7e89556e7 apply config form flow to edit content page 2021-01-24 13:05:43 -08:00
Gabe Kangas
2772a8e5ec First pass at page content editor 2021-01-24 13:05:43 -08:00
gingervitis
f19dba31da clean up and extra fields 2021-01-24 13:05:43 -08:00
gingervitis
f385233109 add number checking 2021-01-24 13:05:43 -08:00
gingervitis
c34aba2f5c initial video settings setup 2021-01-24 13:05:43 -08:00
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