Commit graph

71 commits

Author SHA1 Message Date
Gabe Kangas
45b9d4fcfb CPU Usage -> Hardware usage 2021-04-13 13:54:58 -07:00
Gabe Kangas
f04f385f2b Start codec selection in admin 2021-04-13 13:54:57 -07:00
gingervitis
0efc09bb72 add textarea field for custom css (#113)
* add textarea field for custom css

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-04-12 00:07:08 -07:00
Gabe Kangas
8751dd5e91 Explicity send no referrer headers to external requests for privacy 2021-04-04 20:18:31 -07:00
gingervitis
2c86fa34fd add news feed (#99)
* add news feed

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-04-03 21:25:21 -07:00
Gabe Kangas
ea1ed11e72 Changing server url was resetting other updated fields (#86)
* changing url was resetting other fields. Closes https://github.com/owncast/owncast/issues/854

* specify config path for various instanceDetails fields instead

* fix react warning

Co-authored-by: gingervitis <omqmail@gmail.com>
2021-03-24 14:12:22 -07:00
nebunez
3031f8144e Upload logo (#54)
* add upload component for logo

* - move upload logo functionlity to its own component
- style upload logo component
- display current logo from server
- implement submit button on logo updater, to submit new logo to api after update
- add some submit status indicator

* update edit-logo component

Logo now posts correctly to owncast api endpoint. This update includes file type
validation and removes the submit button, since the ant.d Upload component
already handles the post logic.

* remove submit-button style for logo upload

Co-authored-by: gingervitis <omqmail@gmail.com>
2021-03-21 19:07:12 -04:00
Gabe Kangas
195ac23bb2 Admin support for creating 3rd party external link actions (#72)
* WIP external actions

* Add comment

* Add support for external actions icons and colors
2021-03-15 15:27:19 -07:00
nebunez
b1256bcd08 implement custom welcome message (#65) 2021-03-14 21:55:01 -07:00
Gabe Kangas
8bac350f61 Add server setting to disable chat (#61)
* Add server setting to disable chat

* Prettified Code!

Co-authored-by: gabek <gabek@users.noreply.github.com>
2021-03-14 11:39:07 -07:00
Gabe Kangas
6669d9e425 Support setting a custom name for a stream output variant (#64)
* Display+set video stream output variant names

* Merge in admin updates

* Prettified Code!

* Fix build

* Prettified Code!

Co-authored-by: gabek <gabek@users.noreply.github.com>
2021-03-11 13:39:36 -08:00
gingervitis
49269dd175 Gw/videovariantfixes (#53)
* A fix for issue https://github.com/owncast/owncast/issues/770
- merge CPU slider functionality into main video variant form
- move slider constants into contants file for consistency and to reduce clutter on variant form file

* disable other forms and add a notice about vieo passthrough enabling

* Prettified Code!

* Tweak message text

* Prettified Code!

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2021-02-26 23:44:13 -08:00
Gabe Kangas
1e22371968 Tweak some wording about the directory 2021-02-17 11:39:52 -08:00
Gabe Kangas
8bd7c77a11 Fix linter suggestions 2021-02-16 11:41:24 -08:00
Gabe Kangas
ea965847dc Change how URLs are validated. Closes https://github.com/owncast/owncast/issues/728 2021-02-16 11:24:54 -08:00
gingervitis
a122ee6c42 Admin css overhaul pt2 (#19)
* tweaks to offline state in admin viewers page

If stream is offline, hide current viewers statistic and viewers table.
Also, change wording for describing max viewers.

* take out ant dark stylesheet, organize ant color overrides

* remove ant dark css; cleanup ant overrides; format public-detail page

* combine toggleswitch component style with textfield so layout can be shared

* fix toggleswitch status message placement

* - update styles for modals, collapses
- move reset dir into its own component
- assorted style cleanups ans consistencies

* hide entire advanced section for resetyp if no yp

* temp adjustments to video modal

* temp comment out toggle switch use for later'

* address PR comments

* lint

* update type

* allow warnings during lint

Co-authored-by: nebunez <uoj2y7wak869@opayq.net>
2021-02-12 23:55:59 -08:00
Gabe Kangas
64b41c4a57 Update description to mention where the new logo is stored, data dir 2021-02-07 21:33:11 -08:00
Gabe Kangas
8ea0daab69 Add width+height resizing to variant settings. Closes https://github.com/owncast/owncast/issues/700 2021-02-07 17:03:02 -08:00
Gabe Kangas
26bbd48d4d Add reset YP setting. Closes https://github.com/owncast/owncast/issues/701 2021-02-07 15:51:11 -08:00
Gabe Kangas
0c4a10d2a3 Make url validation case insensitive. Fixes https://github.com/owncast/owncast/issues/698 2021-02-06 20:07:01 -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
Gabe Kangas
745ee8cced Return the error message instead of the http status code 2021-02-05 14:23:18 -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
gingervitis
6e43870d41 cleanup some forms; break out major config styles into their own files 2021-02-04 08:04:00 -08:00
Gabe Kangas
e8c24fd2d4 Add alert message for global notifications 2021-02-03 23:24:12 -08:00
Gabe Kangas
ed80ac13b5 Remove disable upgrade check bool 2021-02-03 19:14:25 -08:00
Gabe Kangas
63649e9022 Tweak url validation pattern 2021-02-03 15:46:56 -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
gingervitis
7501cfc548 revise Storage forms, and add basic validation to it; misc field cleanup 2021-01-31 23:40:39 -08:00
gingervitis
b26b8abb9b finalize layout of textfields; add field status component 2021-01-31 21:36:14 -08:00
gingervitis
037e8f25a7 initial temp fixes on form fields 2021-01-31 10:13:35 -08:00
gingervitis
d01c2f081f Merge branch 'formfield-v2' into gw/20201226-admin-formfields 2021-01-31 01:00:28 -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
dfa3d28b55 add input status utils 2021-01-30 19:33:01 -08:00
gingervitis
97b2e00eee ts cleanup on some config components 2021-01-29 10:26:55 -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
ff51c168ff reorganize styles and pages (wip); update readme 2021-01-27 01:46:08 -08:00
Gabe Kangas
fbffa732d4 Post-merge fixes 2021-01-24 13:09:59 -08:00
gingervitis
d1cc0dfd97 start on social links editing, wip 2021-01-24 13:06:25 -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
73dd084672 add segement slider editor 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
e7e89556e7 apply config form flow to edit content page 2021-01-24 13:05:43 -08:00
gingervitis
5f0d7480bb clean up and style tweaks 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
624ab72eb3 start organizing nav; start on Tags editing 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
f446385a7e continue initial setup 2021-01-24 13:04:59 -08:00