Gabe Kangas
57ff30c894
fix(admin): hopefully fix an exception that is being thrown in develop. Closes #3373
2 years ago
Vishal Sharma
1917b15b0a
Update ClientTable.tsx ( #3342 )
...
* Update ClientTable.tsx
solves: #3339
## Changes
changed owncast/web/components/admin/ClientTable.tsx line 44 `value={selectedKeys[0]})` to `value={selectedKeys[0].toString()} // Convert selectedKeys[0] to string
` as the value attribute expects a value of type string | number | readonly string[]` but previously it was assigned bigint.
* Update ClientTable.tsx
solves: #3339
## Changes
changed owncast/web/components/admin/ClientTable.tsx line 44 `value={selectedKeys[0]})` to `value={selectedKeys[0].toString()} // Convert selectedKeys[0] to string
` as the value attribute expects a value of type `string | number | readonly string[]` but previously it was assigned bigint.
2 years ago
Gabe Kangas
5ac0d5bbca
feat(admin): add explicit directory info agreement modal. Closes #3258
2 years ago
Gabe Kangas
1a7b6b99d5
feat(storage): support a object storage custom path prefix
2 years ago
Gabe Kangas
243156b307
chore: address linter warnings
2 years ago
Gabe Kangas
d43c2be44a
fix(admin): display year for user tables if not current year. Closes #3175
2 years ago
Gabe Kangas
4790880c19
fix(admin): save appearanceVariables to admin global config state. Fixes #3170
2 years ago
Gabe Kangas
f1bde962cc
feat(admin): auto-expand news item if there is only one
2 years ago
Gabe Kangas
1d6877d3ef
fix(admin): fix error displaying and do not allow deleting of the last stream key. Closes #3114
2 years ago
Tung Bui (Leo)
6976b0ddb8
fix(admin): Broken link to the stream health page ( #3064 )
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Gabe Kangas
7aca27cb08
feat: add support for markdown in offline message. Closes #2921 ( #2977 )
2 years ago
Gabe Kangas
9bef5730d9
fix(admin): make panel header text not so large
2 years ago
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'] }], },
2 years ago
Gabe Kangas
b3ac4e1a15
fix(js): consolidate url and account validators
2 years ago
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>
2 years ago
Gabe Kangas
a37e40ab27
Change the info message shown when changing admin password. Closes #2905
2 years ago
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>
2 years ago
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>
2 years ago
Gabe Kangas
cff37eaf83
Correctly show lowest CPU usage for video table. Closes #2800
2 years ago
Gabe Kangas
e86caad06f
Return hideViewerCount in config and set the admin switch correctly. Closes #2887
2 years ago
Gabe Kangas
2b19f9272e
Fix auto-generated keys not saving. Closes #2874
2 years ago
Dhanu Saputra
2b41113211
Loose div in Utilities > Stream health screen ( #2844 )
2 years ago
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
2 years ago
Gabe Kangas
6973c3d8df
Update styling of video settings admin page. Closes #2803
2 years ago
Gabe Kangas
0dc126e94d
Tell the chart not to clip the visibility of the contents. For #2806
2 years ago
Gabe Kangas
3ada7182f5
Update viewers chart y axis to make more sense. Closes #2806
2 years ago
Gabe Kangas
7adae0e9d5
Fix circular dependency issue breaking build
2 years ago
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>
2 years ago
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
2 years ago
Nathan
32f8c06390
fix : #2779 - strip trailing slash on s3 endpoint ( #2788 )
...
Co-authored-by: thisProjects <wibbet@wobbet.com>
2 years ago
Dhanu Saputra
7e7d655615
Corner radius slider no longer slides ( #2784 )
...
* Corner radius slider no longer slides
* revert
* add optional chaining
2 years ago
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
2 years ago
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
2 years ago
Gabe Kangas
5b1f36c314
Revert "Add the Client-side Input Validators for Stream Keys and the Admin Password ( #2619 )"
...
This reverts commit 3653db3a6a
.
2 years ago
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>
2 years ago
dorj222
c3ed3c1eed
Prettified Code!
2 years ago
dorj222
f06325c11c
fix a merge conflict
2 years ago
Gabe Kangas
23a721857f
Do not support stream key UI or any persisted stream keys when overridden via cli flag. Closes #2749
2 years ago
Gabe Kangas
701e57a580
Fix CPU usage descripting mapping. Fixes #2682
2 years ago
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>
2 years ago
dorj222
63e25fae3f
change the boolean variable isAdminPwdField to hasComplexityRequirements
2 years ago
Gabe Kangas
10400e1252
Update sidebar styling and chat always being highlighted. Closes #2651
3 years ago
Gabe Kangas
8592fb87ba
Update copy refering to Javascript. Closes #2694
3 years ago
Jambaldorj Ochirpurev
b75c6a886a
Random Stream Key Generator ( #2690 )
...
* add a new random stream key generator
* fix a typo
3 years ago
dorj222
aa2504b354
put password regex rules into config-constants.tsx
3 years ago
dorj222
3711588909
refactor the Form Input field name from adminPassword to InputFieldPassword
3 years ago
dorj222
170f367538
refactor the Admin Password Input field and add a new boolean field for it
3 years ago