Some broadcasting software (e.g., Prism Live Studio) strips special
characters from stream keys, making Owncast-generated keys incompatible.
Changes:
- Create separate STREAM_KEY_COMPLEXITY_RULES without special char requirement
- Update generateRndKey() to only use alphanumeric characters
- Keep PASSWORD_COMPLEXITY_RULES unchanged for admin password security
- Update tooltip text to reflect new requirements
- Add comprehensive tests for stream key generation
Fixes#4690
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* asterisk copy fix for #3460
* rename text to keys for consistency + linting fix
* make onCopy spawn an antd message directly, remove redundant copyText function
---------
Co-authored-by: Muaz Ahmad <mahmad2000@protonmail.com>
* 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>