Commit graph

51 commits

Author SHA1 Message Date
Gabe Kangas
1a7b6b99d5
feat(storage): support a object storage custom path prefix 2023-08-11 22:18:45 -07:00
Gabe Kangas
cd458630ec
Support using the custom video serving endpoint even if you don't use object storage (#2924)
* feat(video): refactor video serving endpoint

It can now be used without an object storage provider. Closes #2785

* fix: remove debug log
2023-05-30 14:05:24 -07:00
Gabe Kangas
15dc718e61
feat: add support for robots.txt disabling search indexing (#2929)
* feat: add support for robots.txt

Can toggle disabling search engine indexing. Closes #2684

* fix: unexport ts const
2023-05-30 11:09:51 -07:00
Gabe Kangas
e50b23d081
Cleanup unused Javascript (#3027)
* chore(js): be stricter about dead code warnings

* chore(js): remove dead code and unused exports

* rebase

* chore: remove unused files

* chore(deps): remove unused prop-types dep

* chore(js): remove unused function

* chore(deps): remove + check unused deps

* chore(js): remove unused exports. Closes #3036
2023-05-20 21:15:25 -07:00
Pranav Joglekar
b1f8ee5f94
feat: show a friendlier error msg in admin panel when unable to connect to Owncast Service (#2786)
* feat: handle 'failed to fetch' error and set error state

* feat: display alert error to user if failed to connect to backend
2023-03-11 11:38:29 -08:00
Gabe Kangas
23a721857f
Do not support stream key UI or any persisted stream keys when overridden via cli flag. Closes #2749 2023-02-27 17:08:52 -08:00
Dhanu Saputra
0a653aaba7
Remove usage of the PropTypes dependency (#2723)
* Remove usage of the PropTypes dependency

* Prettified Code!

---------

Co-authored-by: dhanusaputra <dhanusaputra@users.noreply.github.com>
2023-02-22 09:21:00 -08:00
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604 2023-01-18 22:38:24 -08:00
Michael David Kuckuk
59e5cfefd4
Remove twitter notification configuration (#2598) 2023-01-17 13:20:29 -08:00
Gabe Kangas
d503c8a2e0 Updates to the admin to reflect new stream keys and admin password split 2022-11-29 16:05:44 -08:00
Gabe Kangas
813f8692f0
Support color customization from the admin (#2338)
* Add user-customizable theming. Closes #1915

* Prettified Code!

* Add user-customizable theming. Closes #1915

* Add explicit color for page content background

* Prettified Code!

Co-authored-by: gabek <gabek@users.noreply.github.com>
2022-11-12 20:26:55 -08:00
Gabe Kangas
a521ba21d8
Add admin field for setting offline message. Closes #1901 2022-08-16 21:48:06 -07:00
Gabe Kangas
b08393295f
Add option to hide viewer count. Closes #1939 2022-06-26 00:46:55 -07:00
Gabe Kangas
299b7ff6de Display the representation % of players in metrics 2022-03-27 16:28:14 -07:00
Gabe Kangas
65efdb91b9 Add stream health overview component 2022-03-24 23:21:57 -07:00
Gabe Kangas
8ad2240247 Mange outbound notification settings (#458)
* ActivityPub admin pages for configuration

* Fix dev build

* Add support for requiring follow approval. Closes https://github.com/owncast/owncast/issues/1208

* Point at admin version of followers endpoint

* Add setting for toggling displaying fediverse engagement in admin. https://github.com/owncast/owncast/issues/1404

* Add instance URL textfield to federation config and disable federation if it is empty

* If instance URL is not https disable federation

* Tweak federation toggle text. Make go live message optional

* Add federation info modal. Closes https://github.com/owncast/owncast/issues/1544

* Add support for blocked federated domains. For https://github.com/owncast/owncast/issues/1209

* Simplify fediverse post input

* Add placeholder Fediverse icon

* Tweak federation logo in admin menu. Closes https://github.com/owncast/owncast/issues/1603

* Add global button for composing a fediverse post.

Closes https://github.com/owncast/owncast/issues/1610

* Federation -> Social

* Add page for listing federated actions. Closes https://github.com/owncast/owncast/issues/1573

* Auto-close social post modal after success

* Make user modal action buttons look nicer

* Center and reduce width and center count column. Closes https://github.com/owncast/owncast/issues/1580

* Update the followers table to be clearer

* Fix exception thrown when passing undefined

* Disable federation settings if feature is disabled

* Update enable social modal. For https://github.com/owncast/owncast/issues/1594

* Fix type props

* Quiet, linter

* Move compose button to the left

* Add tooltip for compose button

* Add NSFW toggle to federation config. Closes https://github.com/owncast/owncast/issues/1628

* Add support for blocking/removing followers. For https://github.com/owncast/owncast/issues/1630

* Allow editing the server url field even when federation is disabled

* Continue to update the copy around the social features

* Use relative path to action images. Fixes https://github.com/owncast/owncast/issues/1646

* Link IRIs and make action verbse present tense

* Update caniuse

* Notifications configuration UI

* Remove twilio add email notifications

* WIP email support

* Add support for managing twitter notifications

* Mark fields as passwords

* Continued WIP

* Post merge cleanup

* Cleanup

* Remove email config. Handle disabled notifications state

* Remove email related components

* Remove email related settings properties
2022-03-23 08:57:09 -07:00
Gabe Kangas
181a7c3431 Add admin support for established user mode. https://github.com/owncast/owncast/issues/1587 (#430) 2022-03-07 00:06:07 -08:00
Gabe Kangas
6f1ece7894 Add support for setting a socket override. https://github.com/owncast/owncast/issues/1378 (#431) 2022-03-06 17:12:37 -08:00
Gabe Kangas
ff3cda97f3 Add support to disable chat join messages. Closes https://github.com/owncast/owncast/issues/1582 (#452) 2022-03-05 22:36:38 -08:00
Gabe Kangas
084a01fb02 Admin social features (#408)
* ActivityPub admin pages for configuration

* Fix dev build

* Add support for requiring follow approval. Closes https://github.com/owncast/owncast/issues/1208

* Point at admin version of followers endpoint

* Add setting for toggling displaying fediverse engagement in admin. https://github.com/owncast/owncast/issues/1404

* Add instance URL textfield to federation config and disable federation if it is empty

* If instance URL is not https disable federation

* Tweak federation toggle text. Make go live message optional

* Add federation info modal. Closes https://github.com/owncast/owncast/issues/1544

* Add support for blocked federated domains. For https://github.com/owncast/owncast/issues/1209

* Simplify fediverse post input

* Add placeholder Fediverse icon

* Tweak federation logo in admin menu. Closes https://github.com/owncast/owncast/issues/1603

* Add global button for composing a fediverse post.

Closes https://github.com/owncast/owncast/issues/1610

* Federation -> Social

* Add page for listing federated actions. Closes https://github.com/owncast/owncast/issues/1573

* Auto-close social post modal after success

* Make user modal action buttons look nicer

* Center and reduce width and center count column. Closes https://github.com/owncast/owncast/issues/1580

* Update the followers table to be clearer

* Fix exception thrown when passing undefined

* Disable federation settings if feature is disabled

* Update enable social modal. For https://github.com/owncast/owncast/issues/1594

* Fix type props

* Quiet, linter

* Move compose button to the left

* Add tooltip for compose button

* Add NSFW toggle to federation config. Closes https://github.com/owncast/owncast/issues/1628

* Add support for blocking/removing followers. For https://github.com/owncast/owncast/issues/1630

* Allow editing the server url field even when federation is disabled

* Continue to update the copy around the social features

* Use relative path to action images. Fixes https://github.com/owncast/owncast/issues/1646

* Link IRIs and make action verbse present tense

* Update caniuse
2022-01-12 13:52:37 -08:00
Jannik
030b936f05 feat: add option to save custom username suggestions (#415)
* 💄 add option to save custom username suggestions that shall be used instead of the docker style usernames.

* 🚸 add minimum of 10 usernames / update wording

* Prettified Code!

* 🚸 add message for the default name generator / indicate that no further action is required

Co-authored-by: jeyemwey <jeyemwey@users.noreply.github.com>
2022-01-12 10:17:14 -08:00
Artur Angiel
9b7835e71e #1495 Path-style S3 compatibile URLs implemented (#346)
* #1495 Path-style S3 compatibile URLs implemented

https://github.com/owncast/owncast/issues/1495

It gives ability to use S3 compatibile providers that doesn't
support virtual-host-style URLs (i.e. Oracle Cloud Object Storage)

* https://github.com/owncast/owncast/issues/1495 Renaming rest of 'pathBased' to 'forcePathStyle'
2021-10-28 17:33:32 -07:00
Gabe Kangas
b10ba1dcc2 Admin support for managing users (#245)
* First pass at displaying user data in admin

* Hide chat blurb on home page if chat is disabled

* Hide sidebar chat section if chat is disabled

* Block/unblock user interface for https://github.com/owncast/owncast/issues/1096

* Simplify past display name handling

* Updates to reflect the api access token change

* Update paths

* Clean up the new access token page

* Fix linter

* Update linter workflow action

* Cleanup

* Fix exception rendering table row

* Commit next-env file that seems to be required with next 11

* chat refactor - admin adjustments (#250)

* add useragent parser; clean up some html;

* some ui changes
- use modal instead of popover to confirm block/unblock user
- update styles, table styles for consistency
- rename some user/chat labels in nav and content

* format user info modal a bit

* add some sort of mild treatment and delay while processing ban of users

* rename button to 'ban'

* add some notes

* Prettified Code!

* fix disableChat toggle for nav bar

* Support sorting the disabled user list

* Fix linter error around table sorting

* No longer restoring messages on unban so change message prompt

* Standardize on forbiddenUsername terminology

* The linter broke the webhooks page. Fixed it. Linter is probably pissed.

* Move chat welcome message to chat config

* Other submenus don't have icons so remove these ones

Co-authored-by: gingervitis <omqmail@gmail.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2021-07-19 22:02:02 -07:00
Gabe Kangas
caa170e4ef Start new chat config sections 2021-06-21 20:19:20 -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
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
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
ed80ac13b5 Remove disable upgrade check bool 2021-02-03 19:14:25 -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
Gabe Kangas
0c111c2c0b Replace presets with cpu usage levels 2021-01-30 22:53:28 -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
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
Gabe Kangas
dc41b21b92 Display video passthrough values properly + some tweaks 2020-11-19 22:02:44 -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
2211572ba1 clean up of home section; now with styling 2020-11-13 03:43:28 -08:00