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
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
Gabe Kangas
a37e40ab27
Change the info message shown when changing admin password. Closes #2905
2023-04-12 18:43:46 -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
cff37eaf83
Correctly show lowest CPU usage for video table. Closes #2800
2023-04-03 14:56:08 -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
2b19f9272e
Fix auto-generated keys not saving. Closes #2874
2023-03-27 21:34:54 -07:00
Dhanu Saputra
2b41113211
Loose div in Utilities > Stream health screen ( #2844 )
2023-03-21 13:06:16 -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
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
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
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
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
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
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
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
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
701e57a580
Fix CPU usage descripting mapping. Fixes #2682
2023-02-22 21:56:55 -08:00
Dhanu Saputra
0a653aaba7
Remove usage of the PropTypes dependency ( #2723 )
...
* Remove usage of the PropTypes dependency
* Prettified Code!
---------
Co-authored-by: dhanusaputra <dhanusaputra@users.noreply.github.com>
2023-02-22 09:21:00 -08:00
dorj222
63e25fae3f
change the boolean variable isAdminPwdField to hasComplexityRequirements
2023-02-21 16:10:38 +01:00
Gabe Kangas
10400e1252
Update sidebar styling and chat always being highlighted. Closes #2651
2023-02-10 15:27:35 -08:00
Gabe Kangas
8592fb87ba
Update copy refering to Javascript. Closes #2694
2023-02-08 20:47:50 -08:00
Jambaldorj Ochirpurev
b75c6a886a
Random Stream Key Generator ( #2690 )
...
* add a new random stream key generator
* fix a typo
2023-02-07 17:17:04 -08:00
dorj222
aa2504b354
put password regex rules into config-constants.tsx
2023-02-07 17:22:52 +01:00
dorj222
3711588909
refactor the Form Input field name from adminPassword to InputFieldPassword
2023-02-07 11:53:23 +01:00
dorj222
170f367538
refactor the Admin Password Input field and add a new boolean field for it
2023-02-07 11:41:51 +01:00
Gabe Kangas
642782a36c
Remove admin password generation+copy button. Add auto-generating stream keys. Closes #2683 and #2631
2023-02-05 20:09:50 -08:00
Jambaldorj Ochirpurev
f94e61b14d
Merge branch 'develop' into fix/ImplementPasswordRules
2023-02-05 11:12:05 +01:00
Gabe Kangas
d9e4731764
Update charting library and how it is used. Closes #2658
2023-02-02 14:58:39 -08:00
Philipp
4aaabaac07
Admin UI: Fix broken links ( #2660 )
2023-02-01 10:39:48 -08:00
dorj222
ad40981668
update the TextFieldWithSubmit component
2023-02-01 10:19:29 +01:00
Jambaldorj Ochirpurev
dd936b6605
Merge branch 'webv2' into fix/ImplementPasswordRules
2023-01-29 11:31:36 +01:00
dorj222
d5132cf2c1
update Textfield and TextFieldWithSubmit
2023-01-28 16:38:33 +01:00
Gabe Kangas
544ef6bd37
Fix broken image in offline admin
2023-01-27 13:46:33 -08:00
Gabe Kangas
c91d85a118
Fix upgrade link in admin sidebar. Closes #2612
2023-01-27 11:11:12 -08:00
dorj222
7920ec17a9
code cleanup
2023-01-25 17:06:39 +01:00
dorj222
1993eebc9f
fix a small regex typo
2023-01-24 15:10:11 +01:00
dorj222
a5dfc2e03b
update Input Validators for Streak Keys and Admin Password
2023-01-24 14:33:56 +01:00
dorj222
dd9f41fef6
merge TextField and TextFieldAdmin components
2023-01-23 15:34:59 +01:00