owncast/controllers
Gabe Kangas ca9d5de192
Embed static resources (#1466)
* Replace pkger with go:embed for bundling the admin. Closes #844

* Remove references to pkged.go

* Point tests to use an updated version of Go

* Add comment to new exported function

* Cleanup

* Add a dummy pkged.go to alert people to stop using it.

* Add simple browser test to make sure the admin is available and renders

* Don't panic

* Embed bot/scraper metadata template.

Add browser test to validate the rendering of this template.

* Use embedded offline.ts segment

* Remove placeholder thumbnail as its unnecessary

* Remove copying the static directory into the release

* Cleanup
2021-10-11 15:04:16 -07:00
..
admin Replace pkger with go:embed for bundling the admin. Closes #844 (#1464) 2021-10-11 14:56:00 -07:00
admin.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
chat.go do not pass http.ResponseWriter as pointer to EnableCors (#1440) 2021-10-01 12:40:13 -07:00
config.go do not pass http.ResponseWriter as pointer to EnableCors (#1440) 2021-10-01 12:40:13 -07:00
constants.go 0.0.6 -> Master (#731) 2021-02-18 23:05:52 -08:00
controllers.go 0.0.6 -> Master (#731) 2021-02-18 23:05:52 -08:00
embed.go Replaces redirect of /embed URLs to return content directly. (#1453) 2021-10-05 13:29:18 -07:00
emoji.go Move emoji directory definition to config (#1317) 2021-08-14 12:48:04 -07:00
hls.go do not pass http.ResponseWriter as pointer to EnableCors (#1440) 2021-10-01 12:40:13 -07:00
index.go Embed static resources (#1466) 2021-10-11 15:04:16 -07:00
logo.go Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
ping.go Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
status.go do not pass http.ResponseWriter as pointer to EnableCors (#1440) 2021-10-01 12:40:13 -07:00
video.go Sort after build variants index number, fix broken index for HLS path. (#1282) 2021-08-04 11:34:02 -07:00