owncast/utils
armadi1809 3019995a6f
Fix geo details for viewers not showing on CDN connection (#3359)
* Added extraction of first IP address from X-FORWARDED-FOR header

* Added tests to the GetIPAddressFromRequest util method

---------

Co-authored-by: Aziz Rmadi <azizrmadi@Azizs-MacBook-Air.local>
2023-10-15 15:43:07 -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 Fix geo details for viewers not showing on CDN connection (#3359) 2023-10-15 15:43:07 -07:00
clientId_test.go Fix geo details for viewers not showing on CDN connection (#3359) 2023-10-15 15:43:07 -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 chore(go): run betteralign and gofumpt on codebase 2023-10-08 14:22:28 -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 Block Private URLs at serverurl API endpoint (#3295) 2023-09-06 20:28:15 -07:00
utils_test.go Support server-rendered index.html for all clients. Closes #1871 2022-06-19 16:35:55 -07:00