Commit graph

8 commits

Author SHA1 Message Date
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
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
ca050d7990 Fallback to displaying full user-agent string if a pretty version cannot be determined 2021-07-22 15:18:38 -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
gingervitis
1d30530afd other TS cleanup 2020-12-29 15:35:54 -08:00
gingervitis
12201d0088 addressing type warnings; account for no-messages returned 2020-12-29 14:59:43 -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
Renamed from web/pages/utils/format.ts (Browse further)