Gabe Kangas
7adae0e9d5
Fix circular dependency issue breaking build
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
63e25fae3f
change the boolean variable isAdminPwdField to hasComplexityRequirements
2 years ago
dorj222
aa2504b354
put password regex rules into config-constants.tsx
2 years ago
dorj222
3711588909
refactor the Form Input field name from adminPassword to InputFieldPassword
2 years ago
dorj222
170f367538
refactor the Admin Password Input field and add a new boolean field for it
2 years ago
dorj222
d5132cf2c1
update Textfield and TextFieldWithSubmit
3 years ago
dorj222
7920ec17a9
code cleanup
3 years ago
dorj222
1993eebc9f
fix a small regex typo
3 years ago
dorj222
a5dfc2e03b
update Input Validators for Streak Keys and Admin Password
3 years ago
dorj222
dd9f41fef6
merge TextField and TextFieldAdmin components
3 years ago
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling
3 years ago
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>
3 years ago
Gabe Kangas
1f4493aaf9
Fix linter warnings
3 years ago
Meisam
7a1f9dcd9a
Don't allow people to set their instance name to an empty string (or only whitespace) ( #240 )
...
* make server name required
* prevent space-only instance name
* add useTrimLead to TextFieldProps
4 years ago
gingervitis
d0eb1446f3
fixes for various admin issues ( #181 )
...
* up max char count for variant name to fix https://github.com/owncast/owncast/issues/1037
* max widthing the line chart canvas size so it scales with the page.
fixes
- https://github.com/owncast/owncast/issues/842
- https://github.com/owncast/owncast/issues/1024
* A fix to make Storage Endpoint URL validation have better feedback.
- give the field a type of "url"
- give the field a pattern to check
- have native browser handle the validation
- if the field is invalid, use :invalid selector to turn the text red on blur.
fixes: https://github.com/owncast/owncast/issues/1000
* a fix for https://github.com/owncast/owncast/issues/874
* - fixes for https://github.com/owncast/owncast/issues/972
Add optional prop to text field to trim() whitespaces from field. Apply logic to mostly url fields.
- move textfield blur if invalid turn red to globaal
* - a fix for bug: https://github.com/owncast/owncast/issues/998
don't return null if platform name not found because its custom.
- clean up react key problem on socialhandles table
* fix react key issue on Actions table
* fix for https://github.com/owncast/owncast/issues/1008 to display 'other' field when editing an item not in predefined social list
* clean up other potential react key warnings
* Prettified Code!
Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
4 years ago
gingervitis
a122ee6c42
Admin css overhaul pt2 ( #19 )
...
* tweaks to offline state in admin viewers page
If stream is offline, hide current viewers statistic and viewers table.
Also, change wording for describing max viewers.
* take out ant dark stylesheet, organize ant color overrides
* remove ant dark css; cleanup ant overrides; format public-detail page
* combine toggleswitch component style with textfield so layout can be shared
* fix toggleswitch status message placement
* - update styles for modals, collapses
- move reset dir into its own component
- assorted style cleanups ans consistencies
* hide entire advanced section for resetyp if no yp
* temp adjustments to video modal
* temp comment out toggle switch use for later'
* address PR comments
* lint
* update type
* allow warnings during lint
Co-authored-by: nebunez <uoj2y7wak869@opayq.net>
5 years ago
nebunez
a123967645
move components folder and fix build errors ( #18 )
...
* move components folder and fix build errors
Fixes https://github.com/owncast/owncast/issues/689
* Prettified Code!
Co-authored-by: nebunez <nebunez@users.noreply.github.com>
5 years ago
gingervitis
3488a259bd
rename status file for clarity; temp style fix for streamkey actions
5 years ago
gingervitis
b26b8abb9b
finalize layout of textfields; add field status component
5 years ago
gingervitis
037e8f25a7
initial temp fixes on form fields
5 years ago
gingervitis
67c160afdb
some prettifying ✨
5 years ago
gingervitis
ba65aa2406
add regular form field comp with no submit button
5 years ago
gingervitis
c255b81093
rename formfield files for clarity
5 years ago
nebunez
438161b373
Add random streamkey generation and copy key
...
closes #616
5 years ago
gingervitis
97b2e00eee
ts cleanup on some config components
5 years ago
gingervitis
5f70c77458
refactor forms to not use ant Form component; split server and instance details forms into their own components
5 years ago
gingervitis
ff51c168ff
reorganize styles and pages (wip); update readme
5 years ago
Gabe Kangas
d2adda123c
Throw a stream title input on the dashboard
5 years ago
gingervitis
5ed73d7f6f
start video variant page; setup video variant table for modals wip; use dark theme as default
5 years ago
gingervitis
e7e89556e7
apply config form flow to edit content page
5 years ago
gingervitis
f19dba31da
clean up and extra fields
5 years ago
gingervitis
f385233109
add number checking
5 years ago
gingervitis
5f0d7480bb
clean up and style tweaks
5 years ago
gingervitis
19ae6205c5
have forms call predefine post function
5 years ago
gingervitis
c6e978f182
- start a README to document config admin later
...
- update constants
- add instanceUrl field to public details; if empty, then turn off yp.enabled.
- edit YP/Directory settings; hide if instanceUrl is empty
- update toggleswitch logic
5 years ago
gingervitis
c93aefa05d
edit tags section
5 years ago
gingervitis
624ab72eb3
start organizing nav; start on Tags editing
5 years ago
gingervitis
f9b7a0d8e0
cleanup and styling , wip
5 years ago
gingervitis
78db81a8eb
pass field resetter and initial values as props down to custom input element
5 years ago
gingervitis
f0e5bbae1f
- create default values for starter fields
...
- add starter api urls
- try and add TS types for initial components and objects
- cleanup status indicator on layout header
- create custom textfield for config form editing
5 years ago
gingervitis
f63fe9ea7b
wip
5 years ago
gingervitis
f446385a7e
continue initial setup
5 years ago