Commit graph

362 commits

Author SHA1 Message Date
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