owncast/utils
John Regan 3f65099910
Name change: better unicode handling (#3164)
* Name change: better unicode handling

Client-side:

* Changes the NameChangeModal to show text "Over limit" when a proposed display
name is too long.

* Allows names to go over limit to prevent splitting graphemes on input.

Server-side:

* Changes the MakeSafeStringOfLength to count number of unicode code points
instead of string bytes.

* name modal: check that newName is defined before iterating
2023-07-11 10:44:09 -07:00
..
accessTokens.go Support CSP nonce for webv2. Closes #2127 2022-12-12 17:04:00 -08:00
accessTokens_test.go style fix for error checking (#1170) 2021-07-09 11:16:44 -07:00
backup.go Add support for IP-based bans (#1703) 2022-03-06 20:34:49 -08:00
clientId.go Using the full IP address for ClientID. 2021-08-07 12:35:02 -07:00
emojiMigration.go Move custom emoji dir if it exists. Closes #2379 2022-12-09 19:56:55 -08:00
nulltime.go Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
performanceTimer.go Expand upon playback metrics 2022-03-16 22:49:27 -07:00
phraseGenerator.go feat: add custom username suggestions pool (#1644) 2022-01-12 10:18:08 -08:00
restendpointhelper.go Adjust error messages to conform to Go best practices (#1400) 2021-09-13 14:08:10 -07:00
restendpointhelper_test.go Feature/oc 1316 add support for system message to single user (#1351) 2021-09-13 01:26:28 -07:00
strings.go Name change: better unicode handling (#3164) 2023-07-11 10:44:09 -07:00
strings_test.go Sanitize+truncate display names on registration+change. For #2527 2022-12-29 14:13:22 -08:00
utils.go fix(lint): remove naked returns 2023-06-02 12:22:00 -07:00
utils_test.go Support server-rendered index.html for all clients. Closes #1871 2022-06-19 16:35:55 -07:00