Commit graph

36 commits

Author SHA1 Message Date
Gabe Kangas
15becc5121
Connect to websocket and start accepting messages 2022-05-02 22:13:36 -07:00
Gabe Kangas
a0354d6d49
Handle centralized app state and registration + chat history 2022-05-02 17:45:22 -07:00
Gabe Kangas
1ce2ee398c Admin UI for playback metrics. For https://github.com/owncast/owncast/issues/793 (#462) 2022-03-16 17:54:34 -07:00
Gabe Kangas
301e149a67 Add support for managing IP-based bans. For https://github.com/owncast/owncast/issues/1534 (#434) 2022-03-06 20:39:36 -08:00
Gabe Kangas
17eca14be4 Add viewer details table. Closes https://github.com/owncast/owncast/issues/1477 (#453) 2022-03-06 17:39:52 -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
Gabe Kangas
b0541f0e66 List moderators in users page. Closes https://github.com/owncast/owncast/issues/1511 2021-11-08 00:51:17 -08:00
Gabe Kangas
24cb1ed0f1 Add ability to set a user as a moderator via the admin (#355)
* Add moderators

* Remove passing unused prop

* Fix linter not running
2021-11-02 17:06:46 -07:00
Gabe Kangas
f8521d33d5 Cleanup 2021-07-21 17:28:56 -07:00
Gabe Kangas
a839d7250b Update url route to specify it is chat clients being returned 2021-07-21 17:19:31 -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
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
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
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
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
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
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
Gabe Kangas
f3d4d095ae Throw error if one exists so the UI can respond 2021-01-20 21:36:15 -08:00
Gabe Kangas
7b6fd6a93d Change integration API paths 2021-01-14 11:41:07 -08:00
Gabe Kangas
19cc73ff3f Merge branch 'external-integrations' into gek/access-tokens 2021-01-06 21:37:55 -08:00
Gabe Kangas
ae1e8c5e74 New webhooks management admin page 2021-01-05 16:39:12 -08:00
Gabe Kangas
dd78f7c12b First pass at access token creation page 2021-01-04 17:49:45 -08:00
Gabe Kangas
55ca050575 This seems to build? 2020-12-29 15:50:47 -08:00
gingervitis
1d30530afd other TS cleanup 2020-12-29 15:35:54 -08:00
Gabe Kangas
5345c124aa Use auth'ed admin chat messages endpoint to get history 2020-12-26 17:36:46 -08:00
gingervitis
6cb8cee8b7 call update message api on toggle switch and update ui state 2020-12-25 11:03:18 -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
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
Gabe Kangas
3eb7b8b84a Support API calls without auth and without cors 2020-11-07 16:44:11 -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
9b89955bb7 It builds 2020-11-01 00:46:20 -07:00
Renamed from web/pages/utils/apis.ts (Browse further)