Commit graph

886 commits

Author SHA1 Message Date
Gabe Kangas
71703f2245
fix(chat): fix bot status not showing. Closes #3046 2023-05-31 13:54:03 -07:00
Gabe Kangas
cd458630ec
Support using the custom video serving endpoint even if you don't use object storage (#2924)
* feat(video): refactor video serving endpoint

It can now be used without an object storage provider. Closes #2785

* fix: remove debug log
2023-05-30 14:05:24 -07:00
Gabe Kangas
15dc718e61
feat: add support for robots.txt disabling search indexing (#2929)
* feat: add support for robots.txt

Can toggle disabling search engine indexing. Closes #2684

* fix: unexport ts const
2023-05-30 11:09:51 -07:00
Gabe Kangas
15e06b9b2b
fix(mobile): remove extra 20px of padding 2023-05-25 08:20:03 -07:00
Gabe Kangas
432a348deb
fix(ui): move id to menu button instead of wrapper div 2023-05-23 16:51:48 -07:00
gingervitis
29041e6d76
Address chat modal button issues (#3042)
* don't display chat button or modal if isModal is true. dont display the show/hide chat option in the userdropedown for tablet sizes either. tweak chat button styles and make chat button bg the same as the chat component bg color.

* only show chat button if online

* fix(chat): chat should be available through 5min buffer period. Fixes #3044

* fix(test): update mobile test

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-05-23 16:32:35 -07:00
Gabe Kangas
69f217f758
Refactor mobile chat into modal (#3038)
* feat(mobile): refactor mobile chat into modal

- Make page always scrollable
- Move mobile chat into a standalone modal

* fix(test): split out mobile browser test specs

* fix(mobile): force chat button to render on top of footer

* fix: some small updates from review

* fix: hide/show hide chat menu option based on width

* fix: chat button icon getting cut off

* chore(tests): add browser tests for mobile chat modal

* chore(tests): add story for ChatModal component

* fix(test): quiet shellcheck

* fix: remove unused import

* fix(tests): silence storybook linting warning

* fix(ui): reposition chat modal button icon with transform
2023-05-22 18:56:44 -07:00
gingervitis
4703a64878
address doublescroll #3028 (#3035)
* quick fix for mobile menu button overlap

* - use new dynamic vh css prop to handle ios safari double scrolling
- only force tabs height when online

* cleanup

* add comment
2023-05-21 14:11:53 -07:00
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
acab4e5c85
fix(ui): hard code the colors of the chat moderation menu button 2023-05-20 14:59:02 -07:00
Gabe Kangas
4e1da3fa23
fix(ui): do not add extra spacing to every ant row. Closes #3031 (#3033) 2023-05-19 17:34:23 -07:00
Gabe Kangas
77eb491943
fix(header): change border to outline to resolve logo rendering. Closes #3000 2023-05-18 18:13:23 -07:00
Gabe Kangas
b8ca46a5a3
fix(ui): notify reminder popover positioning. Closes #3025 2023-05-18 15:24:09 -07:00
Gabe Kangas
1f1f48acb0
fix(chat): fix chat input placeholder positioning. Closes #2991 2023-05-18 14:07:11 -07:00
gingervitis
c2a0295a0c
Address some layout issues with odd content spacing on mobile, and footer position (#3022)
* - set vars for player container height and status bar height
- use them to calculate mobile top spacing to adjust for tab content positioning

* give main content section a min height, place footer absolutely at bottom; rm all the fixed footer styling

* cleanup; restructure tabbed display logic and css a bit

* Prettified Code!

* cleanup

* fix(story): footer story needs to be wrapped in RecoilRoot if it is to use Recoil

* revert adding footer to mobile about section

* prevent double scrolling

---------

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-05-18 12:13:26 -07:00
Gabe Kangas
9cb566681e
fix(ui): tweak footer padding and animation speed 2023-05-12 15:41:18 -07:00
Nathan
3bd45d09f3
feat: floating fading footer (#3008)
Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-05-12 14:52:54 -07:00
Gabe Kangas
e694d76ad2
fix(mobile): toggle tablet content layout based on online state. Closes #3003 (#3007) 2023-05-12 07:00:04 -07:00
Gabe Kangas
d900da8cab
fix(metrics): increase max valid latency reporting time. Troubleshooting 2023-05-11 22:17:33 -07:00
Gabe Kangas
cfdfdf5f49
fix(chat): add slight spacing via margin below bottom chat message 2023-05-08 19:29:00 -07:00
Gabe Kangas
fadb9def83
fix(chat): allow system chat messages to fill width. Closes #2998 2023-05-08 18:49:34 -07:00
Gabe Kangas
722d11307a
feat(ui): add id to scroll to bottom button 2023-05-08 09:44:39 -07:00
Gabe Kangas
085c9dceff
feat(ui): add id to social links container 2023-05-08 08:56:14 -07:00
Gabe Kangas
a9a2ad5487
fix(chat): tweak auto scrolling on message logic to reduce scroll to bottom button showing 2023-05-07 20:29:29 -07:00
Gabe Kangas
321217651d
fix(footer): override link colors in footer 2023-05-07 10:35:01 -07:00
Gabe Kangas
84fdbecec3
fix(player): fix incorrect icon being rendered from vjs font after update 2023-05-07 09:42:58 -07:00
Gabe Kangas
23d29ac2ae
fix(ui): use showChat selector for dynamicPadding logic 2023-05-06 20:36:17 -07:00
Gabe Kangas
4fa960be8b
fix(ui): fix dynamic padding not taking disabled chat state into account 2023-05-06 20:06:39 -07:00
Gabe Kangas
933656c3a7
fix(player): fix vjs throwing warning about accessing tech 2023-05-06 20:06:13 -07:00
Gabe Kangas
be60d94045
chore(deps): update video.js to the 8.x release 2023-05-06 18:37:12 -07:00
Gabe Kangas
630a5bf782
fix(mobile): support a dynamic mobile browser theme color 2023-05-06 17:06:14 -07:00
Gabe Kangas
a1a2bf1a47
fix(mobile): fix offline banner overflow due to hard-coded height
Closes #2990
2023-05-06 16:30:52 -07:00
Gabe Kangas
3616717ceb
fix(chat): strip p tags from outgoing chat messages to fix markdown rendering 2023-05-06 16:00:48 -07:00
Gabe Kangas
f5657d9fdc
fix: provide fallback empty object for appearance variables 2023-05-06 14:11:21 -07:00
Gabe Kangas
afa6c8fd23
fix(chat): increase font weight of chat name change messages 2023-05-06 11:01:14 -07:00
Gabe Kangas
6d55c42282
fix(chat): increase font weight of chat join messages 2023-05-06 10:49:00 -07:00
Gabe Kangas
646c5616da
fix(footer): add dynamic right padding to fix footer overflowing. Closes #2988 2023-05-05 14:37:01 -07:00
Gabe Kangas
b41bb31473
fix(footer): allow overriding text color in the footer 2023-05-05 14:36:27 -07:00
Gabe Kangas
14d95a69f3
fix(ui): do not use hard-coded colors for text 2023-05-05 12:20:50 -07:00
Nathan
04848c1d8c
fix:#2954-player-gets-cut-off-vertically (#2987)
* fix:#2954-player-gets-cut-off-vertically

* Use header-height variable everywhere

---------

Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-05-05 11:10:28 -07:00
Gabe Kangas
9e19af636e
fix(mobile): adjust padding for bottom mobile content. Closes #2986 2023-05-04 21:48:09 -07:00
Gabe Kangas
6982ce54b7
fix: increase line height of headers in page content 2023-05-04 21:40:53 -07:00
Gabe Kangas
c79834a752
fix(mobile): do not show action menu if there are no actions. Closes #2985 2023-05-04 21:37:52 -07:00
Gabe Kangas
4325c64205
fix(chat): limit image size within a chat message 2023-05-04 21:23:01 -07:00
Gabe Kangas
7d6fa8d1ac
fix(ui): add margin under page content. Closes #2963 2023-05-04 18:11:06 -07:00
Gabe Kangas
7261b1d49f
fix(embed): allow flexible player sizes for embeds. Closes #2984 2023-05-04 11:29:48 -07:00
Gabe Kangas
7aca27cb08
feat: add support for markdown in offline message. Closes #2921 (#2977) 2023-05-01 19:45:27 -07:00
Gabe Kangas
ea902520ff
fix(ui): reduce empty vertical space between action buttons and content header 2023-04-30 13:34:37 -07:00
Gabe Kangas
b225cd9dc7
feat(footer): use simpler version string 2023-04-28 20:47:32 -07:00
Gabe Kangas
9bef5730d9
fix(admin): make panel header text not so large 2023-04-28 20:47:31 -07:00
Gabe Kangas
02ac697bcf
fix(mobile): request to disable mobile web auto scaling. Closes #2970 2023-04-28 13:57:43 -07:00
Nathan
cd74c42967
fix: #2957 Portrait Buttons Make Action Buttons Wrap (#2965)
Co-authored-by: thisProjects <wibbet@wobbet.com>
2023-04-28 12:09:00 -07:00
Gabe Kangas
8c26137791
fix(mobile): remove footer on mobile. Closes #2962 2023-04-27 15:35:21 -07:00
Gabe Kangas
fbffb58c0c
fix(ui): vh->vw for content margin 2023-04-26 21:42:30 -07:00
Gabe Kangas
97fb5a80d0
fix(ui): restore page margin and background color. Closes #2959 2023-04-26 21:27:35 -07:00
Gabe Kangas
12d321b097
fix(mobile): remove extra margin around tabbed content 2023-04-26 21:24:31 -07:00
Gabe Kangas
a50f1fe7bb
fix(ui): allow dynamic tigher spacing of action buttons. fixes #2957 2023-04-26 16:52:12 -07:00
Gabe Kangas
913cc4aae2
fix(ui): remove default border on mobile action button menu 2023-04-26 16:50:08 -07:00
Gabe Kangas
d2afeef0e4
fix(embed): fix post-pr #2863 merge offline banner text color 2023-04-26 15:39:58 -07:00
Nathan
32c3f6a9b6
fix: #2668 Page Vertical Spacing Issues (#2863)
* fix: #2668 Page Vertical Spacing Issues

* Update test to reflect mobile work

* chore: refactor action buttons

---------

Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-04-26 15:31:23 -07:00
Gabe Kangas
bb9cc28596
fix(embed): change text color of offline banner. Closes #2953 2023-04-26 09:40:17 -07:00
Gabe Kangas
5279eefb8e
fix(ui): increase left/right content header padding 2023-04-25 21:48:34 -07:00
Gabe Kangas
04107ba0fe
feat(header): give logo a slight border 2023-04-25 20:43:04 -07:00
Gabe Kangas
0f04e1d305
fix(header): remove padding from header avatar 2023-04-25 20:33:03 -07:00
gingervitis
44483a45d3
some webv2 UI polish (#2940)
* style tweaks for Action Button, UserMenu, Modal

* a bunch of misc polish; some around chat

* Prettified Code!

* cleanup

* fix formatting

* Reduce content padding a bit

* some stylesheet cleanup

* fix action button sizing

* Remove action button height completely

---------

Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-04-24 10:58:57 -07:00
Gabe Kangas
90d2739afd
fix(mobile): fix action bar button not appearing. Closes #2938 2023-04-22 19:57:24 -07:00
Gabe Kangas
70e4d84c42
feat(header): use instance logo for header image 2023-04-22 11:50:11 -07:00
Dev Gupta
1a63880d01
adding tests for generateRndKey (#2932)
changing jest.config.js
transform option  from -
transform: { '^.+\\.ts?$': 'ts-jest' },
to
  transform: {   '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }], },
2023-04-17 15:33:30 -07:00
Gabe Kangas
b3ac4e1a15
fix(js): consolidate url and account validators 2023-04-16 14:32:18 -07:00
Gabe Kangas
6774f049f7
fix(followers): more followers style tweaks 2023-04-15 22:33:02 -07:00
Gabe Kangas
014acc1663
fix(followers): improve layout of single follower. Closes #2926 2023-04-15 22:00:42 -07:00
Gabe Kangas
dde512fa14
fix(notifications): do not support browser notifications for local servers 2023-04-15 20:20:42 -07:00
Gabe Kangas
74bdab81a3
fix(web): remove extra spacing above headers in modals 2023-04-15 19:59:22 -07:00
Gabe Kangas
c41742dc86
fix(chat): give social chat messages added spacing 2023-04-15 19:14:06 -07:00
Gabe Kangas
057b93b1b2
fix(web): improve spacing in custom bottom section with headers 2023-04-15 17:50:52 -07:00
Gabe Kangas
228d787bf9
fix(web): set document title via dom instead of javascript. Closes #2918 2023-04-15 14:22:14 -07:00
Bennett B Madavana
49420822f5
Fixed #2758 (#2914)
* Fixed #2758

* Prettified Code!

* Merge branch 'develop' of https://github.com/bennett1412/owncast into issue-#2758-fix

* Fixed prop value in chart component

* Prettified Code!

* Updated chart download button position

* Fixed linting errors

---------

Co-authored-by: bennett1412 <bennett1412@users.noreply.github.com>
2023-04-15 11:31:20 -07:00
Pranav Joglekar
cbdf0bd401
fix: Prevent storybook from making websocket connections (#2896)
* feat: mock window.WebSocket to prevent WS calls from Main layout story

* Prettified Code!

---------

Co-authored-by: Pranav2612000 <Pranav2612000@users.noreply.github.com>
2023-04-14 14:39:05 -07:00
Gabe Kangas
a37e40ab27
Change the info message shown when changing admin password. Closes #2905 2023-04-12 18:43:46 -07:00
Gabe Kangas
79b6e56cd7
Use the same fake user in test 2023-04-05 20:21:07 -07:00
Gabe Kangas
7ec7e1704c
Add bool option to player to fill container for embeds. Closes #2884 2023-04-05 20:05:22 -07:00
Dev Gupta
1eac2a1632
FIX : Admin custom CSS area forces entire page to scroll #2886 (#2892)
* Update EditPageContent.tsx

Adding Scroll to codemirror

* Prettified Code!

* Fixing CSS- code mirror scroll issue

Removing excess code
and fixing CSS code mirror

* Prettified Code!

* Prettified Code!

---------

Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2023-04-03 21:03:44 -07:00
Dev Gupta
f1bf06b8cd
FIX #2897 Admin: "Copy" button for stream keys copy asterisks if key is hidden (#2901)
* Update StreamKeys.tsx

* Prettified Code!

---------

Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
2023-04-03 20:49:48 -07:00
Gabe Kangas
13c32bd6bd
Fixing formatting of PR #2903 2023-04-03 18:44:45 -07:00
Gabe Kangas
d346485f94
Revert "FIX : Chat: words containing one or more dots are turned into links #2898 (#2903)"
This reverts commit 11a3a79032.
2023-04-03 18:28:25 -07:00
gabek
1cd4efaf72 Prettified Code! 2023-04-04 01:04:18 +00:00
Dev Gupta
11a3a79032
FIX : Chat: words containing one or more dots are turned into links #2898 (#2903)
* FIX: Chat: words containing one or more dots are turned into links #2898

Making validateTLD to true and also adding a parameter of customTLDs

* Update ChatUserMessage.tsx

* Prettified Code!

---------

Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
2023-04-03 18:00:21 -07:00
Gabe Kangas
cff37eaf83
Correctly show lowest CPU usage for video table. Closes #2800 2023-04-03 14:56:08 -07:00
Gabe Kangas
d7301d2d8d
Fix paragraphs not having spacing. Closes #2891 2023-03-31 22:21:52 -07:00
Gabe Kangas
e86caad06f
Return hideViewerCount in config and set the admin switch correctly. Closes #2887 2023-03-31 22:15:28 -07:00
Gabe Kangas
00ea1cae5b
Use correct color in content header description. Closes #2889 2023-03-31 22:02:28 -07:00
Gabe Kangas
597281bbb2
Guard against duplicate websocket connections. Closes #2773 2023-03-31 21:01:16 -07:00
Gabe Kangas
2b19f9272e
Fix auto-generated keys not saving. Closes #2874 2023-03-27 21:34:54 -07:00
Gabe Kangas
3d302b7dbd
Fix text overlaping. Closes #2866 2023-03-23 19:11:13 -07:00
Gabe Kangas
13868e8b6a
Allow dynamic corner radius of badges 2023-03-23 19:11:13 -07:00
Gabe Kangas
78fe01d049
Rework loading followers and pagination a bit. Closes #2835 2023-03-22 14:54:41 -07:00
Dhanu Saputra
2b41113211
Loose div in Utilities > Stream health screen (#2844) 2023-03-21 13:06:16 -07:00
Gabe Kangas
7e4d147940
Fix exception thrown with zero links. Closes #2833 2023-03-18 11:49:20 -07:00
Gabe Kangas
3b8982089d
Fix pagination parameters. Closes #2835 2023-03-17 21:11:01 -07:00
Gabe Kangas
453d9ab41f
Reword the error message 2023-03-16 12:58:03 -07:00
Dhanu Saputra
b9fd5e6210
Menu state in admin not saved after page refresh (#2829)
* Menu state in admin not saved after page refresh

* fix openKey

* retry ci

* retry ci

* retry ci
2023-03-16 12:06:00 -07:00
Gabe Kangas
6973c3d8df
Update styling of video settings admin page. Closes #2803 2023-03-14 21:34:37 -07:00
Gabe Kangas
cb22147ddb
Use simpler example for ErrorBoundary 2023-03-14 21:34:36 -07:00
Gabe Kangas
0dc126e94d
Tell the chart not to clip the visibility of the contents. For #2806 2023-03-13 17:01:39 -07:00
Gabe Kangas
3ada7182f5
Update viewers chart y axis to make more sense. Closes #2806 2023-03-13 15:58:16 -07:00
Gabe Kangas
0f58f8c0fe
Banned and chat disconnected states will hide chat. Closes #2764 2023-03-13 15:25:05 -07:00
Gabe Kangas
7e7be00b12
Guard against mobile exception. Closes #2793 2023-03-13 13:08:57 -07:00
Gabe Kangas
7400033bee
Add missing rel to indieauth link. Closes #2791 2023-03-13 12:58:36 -07:00
Gabe Kangas
59a3d5886c
Add password/key complexity rules in input fields. 2023-03-13 12:37:16 -07:00
Gabe Kangas
7adae0e9d5
Fix circular dependency issue breaking build 2023-03-13 12:36:25 -07:00
Gabe Kangas
4009af8d3c
Add note about error boundaries 2023-03-13 00:00:40 -07:00
Gabe Kangas
1055b1c42d
Fix var shadowing 2023-03-12 23:12:39 -07:00
Gabe Kangas
cd0f92f496
Add error boundary to DesktopContent. For #2811 2023-03-12 23:11:20 -07:00
Gabe Kangas
7cb5773a97
Add error boundary to ChatModerationDetailsModal. For #2811 2023-03-12 23:11:19 -07:00
Gabe Kangas
9162386495
Add error boundary to system Modal. For #2811 2023-03-12 23:11:18 -07:00
Gabe Kangas
02ca54d810
Add error boundary to UserDropdown. For #2811 2023-03-12 23:11:18 -07:00
Gabe Kangas
170a3ecde1
Add error boundary to BrowserNotifyModal. For #2811 2023-03-12 23:11:17 -07:00
Gabe Kangas
02e937c351
Add error boundary to FollowersCollection. For #2811 2023-03-12 23:11:16 -07:00
Gabe Kangas
274aeb8be6
Add error boundary to ClientConfigStore modal. For #2811 2023-03-12 23:11:16 -07:00
Gabe Kangas
85d54926ee
Add error boundary to Auth modal. For #2811 2023-03-12 23:11:15 -07:00
Gabe Kangas
11a11e64ad
Add error boundary to player. For #2811 2023-03-12 23:11:14 -07:00
Gabe Kangas
2489a6520f
Increase diffThreshold for test. Closes #2812 2023-03-12 22:10:28 -07:00
Gabe Kangas
4192482a4c
Add error boundary to chat. For #2811 2023-03-12 21:57:04 -07:00
Gabe Kangas
593a7faa36
Add error boundaries to MobileContent. For #2811 2023-03-12 21:53:17 -07:00
Gabe Kangas
eaa6418e1c
Add ComponentError UI for #2811 2023-03-12 21:53:15 -07:00
Nathan
17afdb1997
fix: #2755 clicking more details on un-registered chat user throws exception (#2809)
Co-authored-by: thisProjects <wibbet@wobbet.com>
2023-03-12 19:40:39 -07:00
Nathan
84a0c2f169
fix: #1904 CSS Improvements on Admin Page (#2790)
* fix: #1904 CSS Improvements on Admin Page

* Prettified Code!

---------

Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: thisprojects <thisprojects@users.noreply.github.com>
2023-03-11 12:16:35 -08:00
Pranav Joglekar
b1f8ee5f94
feat: show a friendlier error msg in admin panel when unable to connect to Owncast Service (#2786)
* feat: handle 'failed to fetch' error and set error state

* feat: display alert error to user if failed to connect to backend
2023-03-11 11:38:29 -08:00
Nathan
32f8c06390
fix: #2779 - strip trailing slash on s3 endpoint (#2788)
Co-authored-by: thisProjects <wibbet@wobbet.com>
2023-03-10 14:05:54 -08:00
Gabe Kangas
a3e10152c8
Additional difThreshold tweaks for UI tests comparison 2023-03-09 02:40:18 -08:00
Dhanu Saputra
7e7d655615
Corner radius slider no longer slides (#2784)
* Corner radius slider no longer slides

* revert

* add optional chaining
2023-03-08 15:00:10 -08:00
Gabe Kangas
b5cc183a3c
Continue to bump diff threshold so UI tests do not register as changed 2023-03-08 14:49:50 -08:00
Pranav Joglekar
e80db09ab1
fix: Prevent color selector from closing on choosing a color (#2783)
* improv: wrap ColorPicker in memo to prevent unnecessary rerenders

* improv appearance: wrap updateColor in useCallback to prevent unnecessary rerenders due to changing reference to the func

* improv: define ColorCollection Component as top level, and modify it to prevent unnecessary rerenders
2023-03-08 12:13:57 -08:00
Pranav Joglekar
f6a2e8d3a2
UI: Make the Admin menu sidebar colors on hover consistent (#2778)
* ui: overwrite default antd menu-item hover colors for consistency

* ui fix: make the hover color of icon and text consistent in admin sidebar

* fix: make the 'followers'  menuitem icon consistent with other sidebar icons
2023-03-05 20:46:31 -08:00
Gabe Kangas
aa05ad6369
Fix loading state when chat is disabled in mobile. Closes #2753 2023-03-05 17:47:59 -08:00
Dhanu Saputra
ccd78c3c4d
Chat join message for users with moderator flag is misaligned (#2774) 2023-03-05 15:59:31 -08:00
Gabe Kangas
c4f057eded
Make testing for moderator state centralized in User class 2023-03-03 21:55:02 -08:00
Gabe Kangas
1536e4a04d
Show moderator message mid-chat session. Closes #2762 2023-03-03 19:49:58 -08:00
Naz
3629f318e8
removed timers from component in favor of css transition (#2769)
* removed timers from component in favor of css transition

* removed semibold text

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-03-03 15:25:22 -08:00
Gabe Kangas
5b1f36c314
Revert "Add the Client-side Input Validators for Stream Keys and the Admin Password (#2619)"
This reverts commit 3653db3a6a.
2023-03-03 14:43:56 -08:00
Jambaldorj Ochirpurev
3653db3a6a
Add the Client-side Input Validators for Stream Keys and the Admin Password (#2619)
* add the minimum stream key complexity rules on the client side

* add an admin password validator

* merge TextField and TextFieldAdmin components

* update Input Validators for Streak Keys and Admin Password

* fix a small regex typo

* code cleanup

* update Textfield and TextFieldWithSubmit

* Prettified Code!

* update the TextFieldWithSubmit component

* correct the admin password endpoind API

* refactor the Admin Password Input field and add a new boolean field for it

* refactor the Form Input field name from adminPassword to InputFieldPassword

* put password regex rules into config-constants.tsx

* regex constant typo fix

* change the boolean variable isAdminPwdField to hasComplexityRequirements

* fix a merge conflict

* Prettified Code!

---------

Co-authored-by: dorj222 <dorj222@users.noreply.github.com>
2023-03-02 21:20:53 -08:00
Gabe Kangas
4a0476b237
Add support for disabled chat state in the chat input field. Closes #2761 2023-03-01 16:22:10 -08:00
dorj222
c3ed3c1eed Prettified Code! 2023-03-01 13:12:39 +00:00
Jambaldorj Ochirpurev
cb807f70cf
Merge branch 'develop' into fix/ImplementPasswordRules 2023-03-01 14:11:50 +01:00
dorj222
f06325c11c fix a merge conflict 2023-03-01 13:58:07 +01:00
Gabe Kangas
38a52c501c
Do not show custom page content sections if it is empty. Closes #2752 2023-02-27 17:39:53 -08:00
Gabe Kangas
23a721857f
Do not support stream key UI or any persisted stream keys when overridden via cli flag. Closes #2749 2023-02-27 17:08:52 -08:00
Gabe Kangas
b7132eeaa5
Remove marquee tag as it throws off the UI tests 2023-02-27 15:45:45 -08:00
Gabe Kangas
ed2dc00345
Remove unused imports 2023-02-26 18:12:44 -08:00
Bennett B Madavana
5e155179ef
Fixed #2734 (#2742)
* Fixed #2734

* Prettified Code!

---------

Co-authored-by: bennett1412 <bennett1412@users.noreply.github.com>
2023-02-26 18:09:24 -08:00