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
2853752937
Make each admin page specify is own layout. Closes #2584
2023-01-15 23:12:38 -08:00
Gabe Kangas
6fbd6cbbcf
Lazy load every instance of using ant icons. Closes #2583
2023-01-15 22:31:36 -08:00
André Rusakow
b8016eaa90
fix scroll on mobile ( #2585 )
...
* fix scrolling issues on mobile
* resolve conflict
2023-01-15 18:37:21 -08:00
Gabe Kangas
82848bf68a
Fix link
2023-01-13 14:21:27 -08:00
Gabe Kangas
aadf721808
Move the contributor comment to end of source
2023-01-11 23:50:26 -08:00
Gabe Kangas
c7e12643e9
Point link to genera admin settings page
2023-01-11 22:44:55 -08:00
Gabe Kangas
2ff4316ee6
Fix admin subpages not having a layout
2023-01-11 22:44:15 -08:00
Gabe Kangas
9cc7b1cf2d
Add a little comment for those viewing HTML source that we could use contributors
2023-01-11 18:26:54 -08:00
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build
2023-01-10 16:39:20 -08:00
Gabe Kangas
37cd19c567
Inline some CSS upfront for performance. #2167
2023-01-10 00:37:12 -08:00
Gabe Kangas
cfaeda94b0
Lazy load more components. #2167
2023-01-10 00:37:12 -08:00
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling
2023-01-10 00:37:11 -08:00
Gabe Kangas
29882f1291
Lazy load tooltip
2023-01-10 00:37:11 -08:00
Gabe Kangas
c542dc10da
Fix some components being rendered as pages
2023-01-10 00:37:10 -08:00
Gabe Kangas
c05a20a460
Use built-in Next layout support + lazy load
...
Instead of doing manual layout switching use the Nextjs nested layout
support. Also add some additional lazy loading of components. This is to
work on performance score re: #2167 .
2023-01-09 01:08:24 -08:00
Michael David Kuckuk
2f2300db8d
Add initiallyMuted
query parameter to embed player ( #2539 )
...
* Add query param to initially mute embed player
* Add stories for embed player
* Improve VideoJS typing
2022-12-31 16:08:54 -08:00
Gabe Kangas
a88da10c74
Rework some of the css var state to fix flaky customization UI. Fixes #2505
2022-12-28 13:05:35 -08:00
Gabe Kangas
5a41f4a1ea
Reorganize admin pages and consolidate some sections. For #1904
2022-12-27 18:51:13 -08:00
Gabe Kangas
c9768bd8f8
Add appearance setting for rounded corners. Closes #2471
2022-12-20 23:55:07 -08:00
Meisam
8f29acb7dd
properly detect lowestVariant for system health ( #2455 )
2022-12-19 23:19:21 -08:00
Gabe Kangas
58e4a118a6
Add custom document in order to support lang attr on html. Closes #2445
2022-12-19 18:38:05 -08:00
Gabe Kangas
f0953a957a
Fix exception with appearance reset. Closes #2459
2022-12-16 21:13:29 -08:00
Gabe Kangas
0ebb968074
Handle subdirectories of emoji in copying, fetching and deleting. For #1916
2022-12-16 20:23:58 -08:00
Gabe Kangas
b75ef37952
Fix text color. Closes #2447
2022-12-15 22:00:15 -08:00
Gabe Kangas
7d2e2537cf
Fix default protocol validation list
2022-12-14 23:54:46 -08:00
Gabe Kangas
11c4d80e28
Export new url validation functions
2022-12-14 11:52:11 -08:00
Philipp
dc54dfe363
Feature: emoji editor ( #2411 )
...
* Custom emoji editor: implement backend
This reuses the logo upload code
* Implement emoji edit admin interface
Again reuse base64 logic from the logo upload
* Allow toggling between uploaded and default emojis
* Add route that always serves uploaded emojis
This is needed for the admin emoji interface,
as otherwise the emojis will 404 if custom emojis are disabled
* Fix linter warnings
* Remove custom/uploaded emoji logic
* Reset timer after emoji deletion
* Setup: copy built-in emojis to emoji directory
2022-12-12 08:40:43 -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
Philipp
1b4a88392e
Edit external actions ( #2391 )
...
* Initial action editing
* Set previous values in form when editing
* Show previous values when editing an action
* Fix typo
2022-11-29 14:14:11 -08:00
Gabe Kangas
aaabc57a15
Add scrollbar color var
2022-11-13 13:17:26 -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
Matthew Heller
8320f282d8
More renames from 'visible' to 'open'. ( #2290 )
2022-11-01 14:50:23 -07:00
Gabe Kangas
6564fc69bf
Support web vitals attribution
2022-10-28 12:19:39 -07:00
Gabe Kangas
a526decef4
Refactor use of antd tab component. Closes #2098
2022-10-10 17:54:03 -07:00
Gabe Kangas
80a012a3c7
Add current user object that holds user session values instead of standalone getters. Closes #2050
2022-10-10 16:40:13 -07:00
Gabe Kangas
4c13c3618d
Remove admin stylesheets from loading with app. Closes #2183
2022-10-10 13:31:37 -07:00
Gabe Kangas
6c2e25e597
Update the offline banner. Filed #2179 to discuss text
2022-10-08 15:05:52 -07:00
Gabe Kangas
215a3096db
Do not allow enabling federation features on if not port 443. Closes #2008
2022-10-03 22:24:12 -07:00
Gabe Kangas
88919efde9
Add read-write chat embed. Closes #1906
2022-09-10 21:19:35 -07:00
Gabe Kangas
8d02f4068d
Polish up the initial loading experience
2022-09-10 18:08:56 -07:00
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>
2022-09-07 00:00:28 -07:00
Gabe Kangas
c61bea29ee
Add read-only chat embed page. Closes #1905
2022-09-04 21:53:04 -07:00
James Young
5ebbbb8bf2
refactor(stories): co-locate stories with components ( #2078 )
...
* refactor: move ActionButton component
* refactor: move BanUserButton component
* refactor: move ChatActionMessage component
* refactor: move ChatContainer component
* refactor: move AuthModal component
* refactor: move BrowserNotifyModal component
* refactor: move ChatUserMessage component
* refactor: move ChatJoinMessage component
* refactor: move ChatTextField component
* refactor: move ChatUserBadge component
* refactor: move FollowerCollection and SingleFollower components
* fix: bad import path
* refactor: move FollowModal component
* refactor: move Modal component
* refactor: move ContentHeader component
* refactor: move ChatSystemMessage component
* refactor: move Header component
* refactor: move Footer component
* refactor: move StatusBar component
* refactor: move OfflineBanner component
* refactor: move OwncastPlayer component
* refactor: move IndieAuthModal component
* refactor: move SocialLinks component
* refactor: move VideoPoster component
* refactor: move FollowModal component
* refactor: move FediAuthModal.tsx component
* refactor: move UserDropdown component
* refactor: move ChatSocialMessage component
* refactor: move Logo component
* refactor: move NotifyReminderPopup component
* refactor: move NameChangeModal component
* refactor: move FatalErrorStateModal component
* refactor: move ChatModeratorNotification component
* refactor: move ChatModerationActionMenu and ChatModerationDetailsModal components
* refactor: move CustomPageContent component
* refactor: move storybook Introduction file
* refactor: update storybook story import path
* refactor: move storybook preview styles
* refactor: move storybook doc pages
* refactor: move Color and ImageAsset components
* fix: bad import path
* fix: bad import path in story file
2022-09-03 11:38:52 -07:00
t1enne
e6cc3a39d1
Added moderator menu to messages and some other styling.
...
created new ant overrides file.
Ignore the static directory
2022-07-01 22:53:56 +02:00
Gabe Kangas
bf7319db9a
Install service worker at launch
2022-05-29 21:51:00 -07:00
Gabe Kangas
db184c74dd
Comment out the old ant overrides and try to make colors match design
2022-05-26 22:25:44 -07:00
Gabe Kangas
da0a2f5f5d
Fix play button z-index + add basic player theme
2022-05-26 21:44:54 -07:00
Gabe Kangas
f041727f07
Add first pass for offline banner component
2022-05-25 22:52:27 -07:00
Gabe Kangas
7b1667bf6a
Refactor app state to be a state machine with access selectors
2022-05-25 21:47:09 -07:00
Gabe Kangas
8d7a5d6d6e
Add placeholder embed pages
2022-05-16 22:55:22 -07:00
Gabe Kangas
72c01e1b9a
Fix web project build errors
2022-05-11 23:31:31 -07:00
Gabe Kangas
448c23d097
Use some style values so it looks like this page is making progress
2022-05-07 10:25:04 -07:00
Gabe Kangas
f7a03705a8
Use the generated style variables
2022-05-07 00:36:57 -07:00
Gabe Kangas
e0c073171d
Rename layout files
2022-04-28 12:57:51 -07:00
Gabe Kangas
e2e21d915b
Initial api requests + stores + basic layout
2022-04-25 23:10:07 -07:00
Gabe Kangas
79bfa0145f
Moved admin to /admin and created blank placeholder for v2 frontend
2022-04-25 15:54:37 -07:00
Gabe Kangas
be441ae530
Add inter font to project
2022-04-25 15:52:39 -07:00
Gabe Kangas
3ce6fd4cb3
Add support for less variables and using a custom theme
2022-04-25 15:52:38 -07:00
Gabe Kangas
55ce0c0869
Add some basic validation logic for form. Closes https://github.com/owncast/owncast/issues/1847
2022-04-24 18:44:32 -07:00
Gabe Kangas
29ae557c0f
Tweak some stream health text
2022-04-24 16:48:46 -07:00
funkyhippo
8cead20b60
Generate proper StatusStates for errors from backend. ( #469 )
2022-04-23 13:52:04 -07:00
Gabe Kangas
d78e28fd47
Add link to notification documentation
2022-04-22 17:32:25 -07:00
Gabe Kangas
2621665f54
Layout updates to stream health stats and messages
2022-04-09 23:05:10 -07:00
Gabe Kangas
4ba6822b33
Round hardware usage values. Closes https://github.com/owncast/owncast/issues/1815
2022-04-04 14:16:00 -07:00
Gabe Kangas
9f235bcaa5
Remove viewers label from Y axis. Closes https://github.com/owncast/owncast/issues/1816
2022-04-04 14:07:07 -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
58acc7a449
Fix only one bitrate drawing on health graph. Tweak text.
2022-03-24 16:44:34 -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
dd392e34db
Expand upon playback metrics
2022-03-16 22:49:38 -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
c360b943db
Use paginated followers result
2022-03-07 14:41:54 -08: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
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
b97f805850
Display windowed time series viewer metrics ( #454 )
...
* WIP displaying windowed time series viewer metrics. Closes https://github.com/owncast/owncast/issues/1478
* Remove unused import
2022-03-06 19:49:42 -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
6cd1687916
Paginated actions & followers API usage ( #446 )
...
* Hide social config if disabled
* Use paginated APIs. For https://github.com/owncast/owncast/issues/1654
2022-03-06 17:24:01 -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
06a6377075
Hide followers pagination control on single page
2022-01-25 13:16:09 -08:00
Gabe Kangas
892189a25a
Tweak phrasing refering to a fediverse user. Closes https://github.com/owncast/owncast/issues/1674
2022-01-18 17:08:21 -08:00
Gabe Kangas
5a4553367d
Add focus to server URL requirement. Closes https://github.com/owncast/owncast/issues/1673
2022-01-17 19:55:53 -08:00
Aaron Ogle
0d23bdf1e1
Update link to external actions doc ( #422 )
...
* Update link to external actions doc
* Prettified Code!
2022-01-13 15:17:09 -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
Gabe Kangas
62daceaa9b
Cleanup to support next update
2021-12-06 18:01:30 -08:00
Gabe Kangas
bbd90ff6fe
Specify that S3 storage is for streaming.
2021-11-27 18:12:20 -08:00
Gabe Kangas
6de509f723
Split up user lists into tabs
2021-11-12 21:28:29 -08:00
Gabe Kangas
1cde33ca03
Add user count to user table headings
2021-11-12 16:47:31 -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
Joshua T
4661cb67aa
Move offline-notice
component to components dir ( #331 )
2021-10-13 18:44:07 -07:00
Meisam
9589c8e11a
rename the "Disable chat" switch to a simple "Chat" ( #286 )
...
* change chat config lable
* reverse the chat enable UI
* add reversed to toggle switch props
2021-09-10 15:08:15 -07:00
Meisam
f7d0bd1b1f
fix chat message pagination ( #278 )
2021-08-14 12:22:05 -07:00
Gabe Kangas
1e436bdb67
Only show online client count if we are online. closes https://github.com/owncast/owncast/issues/1306
2021-08-12 23:51:13 -07:00
Gabe Kangas
6ce927a854
Update the "Forbidden usernames" UI ( #259 )
...
* Add new component for adding/removing forbidden name strings. Closes https://github.com/owncast/owncast/issues/1230
* make editing string styling shareable and consistent with tag editor
* Prettified Code!
Co-authored-by: gingervitis <omqmail@gmail.com>
Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
2021-07-25 22:12:50 -07:00
Gabe Kangas
3e5f99cf19
Display client count in title. Closes https://github.com/owncast/owncast/issues/1242
2021-07-22 15:18:20 -07:00
Gabe Kangas
f8521d33d5
Cleanup
2021-07-21 17:28:56 -07:00
Gabe Kangas
06793078f6
Remove the chat client table from the viewers page since that all exists on the chat page now
2021-07-21 17:13:04 -07:00
Gabe Kangas
4a5badcd1f
Set initialValue for welcome mesage. Closes https://github.com/owncast/owncast/issues/1236
2021-07-21 16:05:29 -07:00