Commit Graph
18 Commits
Author SHA1 Message Date
397ec95d9b fix: remove special character requirement from stream keys (#4754)
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>
2026-01-28 11:51:57 -08:00
de8bc8d41b Fix for copying stream key without revealing it only copies asterisks (#3663)
* 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>
2024-04-10 13:15:53 -07:00
Gabe Kangas 1d6877d3ef fix(admin): fix error displaying and do not allow deleting of the last stream key. Closes #3114 2023-06-27 16:08:07 -07:00
Dev GuptaandGitHub 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
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 2b19f9272e Fix auto-generated keys not saving. Closes #2874 2023-03-27 21:34:54 -07:00
dorj222andGitHub Action c3ed3c1eed Prettified Code! 2023-03-01 13:12:39 +00:00
Jambaldorj OchirpurevandGitHub 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
Jambaldorj OchirpurevandGitHub 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
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
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 52a720f2f8 add the minimum stream key complexity rules on the client side 2023-01-17 12:29:16 +01:00
Gabe Kangas 6fbd6cbbcf Lazy load every instance of using ant icons. Closes #2583 2023-01-15 22:31:36 -08:00
Gabe Kangas 7392ae8a54 Reorganize admin components to help bundling 2023-01-10 00:37:11 -08:00