Gabe Kangas
2853752937
Make each admin page specify is own layout. Closes #2584
3 years ago
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling
3 years ago
Gabe Kangas
a526decef4
Refactor use of antd tab component. Closes #2098
3 years ago
James Young
d1f3fffe2f
reafctor: normalize component formatting ( #2082 )
...
* refactor: move/rename BanUserButton file
* refactor: move/rename Chart file
* refactor: update generic component filenames to PascalCase
* refactor: update config component filenames to PascalCase
* refactor: update AdminLayout component filename to PascalCase
* refactor: update/move VideoJS component
* chore(eslint): disable bad react/require-default-props rule
* refactor: normalize ActionButton component
* refactor: normalize ActionButtonRow component
* refactor: normalize FollowButton component
* refactor: normalize NotifyButton component
* refactor: normalize ChatActionMessage component
* refactor: normalize ChatContainer component
* refactor: normalize ChatJoinMessage component
* refactor: normalize ChatModerationActionMenu component
* refactor: normalize ChatModerationDetailsModal component
* refactor: normalize ChatModeratorNotification component
* refactor: normalize ChatSocialMessage component
* refactor: normalize ChatSystemMessage component
* refactor: normalize ChatTextField component
* refactor: normalize ChatUserBadge component
* refactor: normalize ChatUserMessage component
* refactor: normalize ContentHeader component
* refactor: normalize OwncastLogo component
* refactor: normalize UserDropdown component
* chore(eslint): modify react/function-component-definition rule
* refactor: normalize CodecSelector component
* refactor: update a bunch of functional components using eslint
* refactor: update a bunch of functional components using eslint, pt2
* refactor: update a bunch of functional components using eslint, pt3
* refactor: replace all component->component default imports with named imports
* refactor: replace all component-stories->component default imports with named imports
* refactor: remove default exports from most components
* chore(eslint): add eslint config files for the components and pages dirs
* fix: use-before-define error in ChatContainer
* Fix ChatContainer import
* Only process .tsx files in Next builds
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
3 years ago
Gabe Kangas
79bfa0145f
Moved admin to /admin and created blank placeholder for v2 frontend
3 years ago
Gabe Kangas
301e149a67
Add support for managing IP-based bans. For https://github.com/owncast/owncast/issues/1534 ( #434 )
3 years ago
Gabe Kangas
62daceaa9b
Cleanup to support next update
4 years ago
Gabe Kangas
6de509f723
Split up user lists into tabs
4 years ago
Gabe Kangas
1cde33ca03
Add user count to user table headings
4 years ago
Gabe Kangas
b0541f0e66
List moderators in users page. Closes https://github.com/owncast/owncast/issues/1511
4 years ago
Gabe Kangas
1e436bdb67
Only show online client count if we are online. closes https://github.com/owncast/owncast/issues/1306
4 years ago
Gabe Kangas
3e5f99cf19
Display client count in title. Closes https://github.com/owncast/owncast/issues/1242
4 years ago
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>
4 years ago
Gabe Kangas
caa170e4ef
Start new chat config sections
4 years ago
Gabe Kangas
aefe884daf
Stop leaking instances via links. Closes https://github.com/owncast/owncast/issues/822
4 years ago
Gabe Kangas
174a4891fd
Fix typo
4 years ago
Gabe Kangas
4232ff52b0
Fix text style breaking build
4 years ago
gabek
5ff5665652
Prettified Code!
4 years ago
Gabe Kangas
582b234528
Add a link to adding geo details about viewers
4 years ago
gingervitis
dd1cfb64db
- add <Col>s to areas with <Row>s for consitency
...
- give main content a fixed width so really wide forms dont look that funny
- fix to make markdown editor preview text black to address https://github.com/owncast/owncast/issues/726
5 years ago
gingervitis
8d5411a0d6
hella cleanup - index page items; use more Row/Cols to reduce custom css layout
5 years ago
gingervitis
d55e4dfe29
misc cleanup
5 years ago
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>
5 years ago
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.
5 years ago
nebunez
7425e71d08
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.
5 years ago
gingervitis
67c160afdb
some prettifying ✨
5 years ago
Sean Heintz
f31a2deb82
Implement sorting by "Connected Time"
5 years ago
Gabe Kangas
69f8efba94
Use unique clientID as the row key. Closes https://github.com/owncast/owncast/issues/452
5 years ago
Gabe Kangas
d86ee96a0d
Show a dash when geoip data is not available in the admin. Closes https://github.com/owncast/owncast/issues/427
5 years ago
gingervitis
3eeb6eaece
linty things
5 years ago
gingervitis
3822e49591
fix chart margins
5 years ago
Gabe Kangas
c3a51cbfe0
Replace recharts with Chartkick + remove all the d3 utils
5 years ago
Gabe Kangas
475170f381
Fix left aligned statistic items
5 years ago
gingervitis
72d9ff4edb
assorted cleanup
5 years ago
Gabe Kangas
99cefa19c8
Remove random semicolons
5 years ago
Gabe Kangas
6cafb29a8f
Customize legend titles. Hide empty graph lines. Update colors.
5 years ago
Gabe Kangas
f2499ebb5d
Fix typescript errors
5 years ago
Gabe Kangas
c4351a53bf
Replace broadcaster API call with generic server status call. Add upgrade check bool
5 years ago
gingervitis
112cc3af14
add a hook to track window resize so we can dynamically size charts; default highlight Home link in nav; some typescript fixes
5 years ago
Gabe Kangas
7795a295c0
Add stream duration to layout header
5 years ago
Gabe Kangas
9b89955bb7
It builds
5 years ago
Gabe Kangas
df14a55429
Componentize a bit and consolidate some data
5 years ago
gingervitis
87d69e1665
sme typescripty formatting changes
5 years ago
Gabe Kangas
9e12d87edd
Some progress on charts
5 years ago
Gabe Kangas
6d357857a7
WIP server config display page
5 years ago
Ginger Wong
00fd087fde
some cleanup
5 years ago
Ginger Wong
a062856726
a bit of refactor, use context for overall broacast status; move files around for routing
5 years ago
Ginger Wong
81e25d3540
tables
5 years ago
Ginger Wong
654f70dcf9
initial line chart setup with d3 help
5 years ago
Ginger Wong
98ae9c43d3
add notes; remove victory charts, try recharts
5 years ago