0
owncast/utils
Logan Fick 3fc127ba34
Adjust CleanupDirectory function to support tmpfs mounts. (#3818)
* Refactored directory cleanup function to remove contents instead of recreating directory.

* Fixed regression by ensuring directory cleanup creates directory if it does not exist.

* Modified errors in directory cleanup function to provide more information.

* Resolved use of deprecated package in directory cleanup function.

* Reformatted directory cleanup function.
2024-07-19 13:07:45 -07:00
..
accessTokens_test.go style fix for error checking (#1170) 2021-07-09 11:16:44 -07:00
accessTokens.go Support CSP nonce for webv2. Closes #2127 2022-12-12 17:04:00 -08:00
backup.go Add support for IP-based bans (#1703) 2022-03-06 20:34:49 -08:00
clientId_test.go Refactored the GetIpddressFromRequest function to support ipv4 as well as ipv6 addresses (#3496) 2024-01-03 11:07:11 -08:00
clientId.go Refactored the GetIpddressFromRequest function to support ipv4 as well as ipv6 addresses (#3496) 2024-01-03 11:07:11 -08:00
db.go User repository (#3795) 2024-07-01 18:58:50 -07:00
emojiMigration.go Move custom emoji dir if it exists. Closes #2379 2022-12-09 19:56:55 -08:00
hashing.go Implement admin password hashing with bcrypt (#3754) 2024-06-26 21:20:22 -07:00
netutils_test.go fix: add additional validation before making remote requests (#3398) 2023-10-28 08:15:01 -07:00
netutils.go fix: add additional validation before making remote requests (#3398) 2023-10-28 08:15:01 -07: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 Rework utils/restendpointhelper to use the new chi router functionality (#3750) 2024-05-30 12:31:07 -07:00
strings_test.go Sanitize+truncate display names on registration+change. For #2527 2022-12-29 14:13:22 -08:00
strings.go Name change: better unicode handling (#3164) 2023-07-11 10:44:09 -07:00
utils_test.go Support server-rendered index.html for all clients. Closes #1871 2022-06-19 16:35:55 -07:00
utils.go Adjust CleanupDirectory function to support tmpfs mounts. (#3818) 2024-07-19 13:07:45 -07:00