Commit graph

6966 commits

Author SHA1 Message Date
Gabe Kangas
934285c55b Move stats.json to data dir 2020-11-12 22:34:49 -08:00
gingervitis
30e1858456 Merge branch 'master' of github.com:owncast/owncast-admin 2020-11-12 19:54:41 -08:00
Gabe Kangas
6df6b97815 Log auth middleware failures as Debug. Closes #342 2020-11-12 15:37:20 -08:00
Christian Muehlhaeuser
2e1f8d29b5
Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
Christian Muehlhaeuser
8f921fbfde
Fix popular typos (#355) 2020-11-12 14:57:24 -08:00
Christian Muehlhaeuser
cfb031a15c
Make sure we close DB statements to release resources (#354) 2020-11-12 14:46:56 -08:00
Christian Muehlhaeuser
16e578e993
Use a golangci-lint workflow to check for common mistakes & problems (#353) 2020-11-12 14:42:39 -08:00
Christian Muehlhaeuser
3f9dd2870f
Explicitly ignore io.Copy's return values (#352)
We're probably ignoring any errors here, since we're writing to a memory
buffer here. Let's make it clear we didn't just forget to check, but
really want to ignore these values.
2020-11-12 14:42:01 -08:00
Christian Muehlhaeuser
2c504eb8be
Handle filepath.Walk errors (#351) 2020-11-12 14:29:17 -08:00
Christian Muehlhaeuser
00129c5942
Stick to the documented default bitrate of 1200 in case of config parsing issues (#350) 2020-11-12 14:23:52 -08:00
Christian Muehlhaeuser
21df28160a
Avoid unnecessary conversion (#349) 2020-11-12 14:18:32 -08:00
Christian Muehlhaeuser
cdcead1143
Use 'os' instead of the deprecated 'platform' in build matrix (#347) 2020-11-12 13:37:27 -08:00
Christian Muehlhaeuser
6976dffdfb
Build & test against Go 1.13 and latest Go (#346) 2020-11-12 13:29:38 -08:00
Christian Muehlhaeuser
8d9eb1e79f
Log potential errors returned by http.ListenAndServe (#345) 2020-11-12 12:42:18 -08:00
dependabot[bot]
e83cca9338
Bump github.com/aws/aws-sdk-go from 1.35.25 to 1.35.26 (#341)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.25 to 1.35.26.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.25...v1.35.26)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 00:25:56 -08:00
Gabe Kangas
500e20281c Add popover with thumbnail 2020-11-11 22:54:27 -08:00
Gabe Kangas
d14743c396 Support centered and left-justified statistic views 2020-11-11 22:44:11 -08:00
Gabe Kangas
55a81029e5 Update admin 2020-11-11 19:59:05 -08:00
Gabe Kangas
2fe1277cfa Cleanup debug views 2020-11-11 19:48:12 -08:00
Gabe Kangas
7316d512c6 Add support for multi-value tooltips 2020-11-11 19:39:57 -08:00
Gabe Kangas
d1dbe16796 Hide pagination on upgrade asset table 2020-11-11 19:20:46 -08:00
Gabe Kangas
99cefa19c8 Remove random semicolons 2020-11-11 19:18:01 -08:00
Gabe Kangas
6cafb29a8f Customize legend titles. Hide empty graph lines. Update colors. 2020-11-11 19:05:38 -08:00
Gabe Kangas
a9586b03fc Disable persistent http connections in transcoder 2020-11-11 00:28:01 -08:00
dependabot[bot]
6f90e8e46b
Bump github.com/aws/aws-sdk-go from 1.35.24 to 1.35.25 (#337)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.24 to 1.35.25.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.24...v1.35.25)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 22:49:11 -08:00
Gabe Kangas
e8f1d5ef3f
Typo 2020-11-10 15:05:33 -08:00
Gabe Kangas
7330722110
Link directly to new discussion post 2020-11-10 15:04:07 -08:00
Gabe Kangas
0a5ed6d942
Add link to Owncast discussions on Github 2020-11-10 15:03:21 -08:00
dependabot[bot]
134fa3a80f
Bump github.com/aws/aws-sdk-go from 1.35.22 to 1.35.24 (#333)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.22 to 1.35.24.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.22...v1.35.24)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-09 23:03:16 -08:00
Gabe Kangas
00b1e06840
Support admin paths with index.html (#332) 2020-11-09 19:52:43 -08:00
Gabe Kangas
73ec2126cc Do not perform ffmpeg location logic in defaults 2020-11-09 19:35:01 -08:00
Gabe Kangas
f679c9d1fe Do not continue if ffmpeg is not found. panic and die. 2020-11-09 16:56:31 -08:00
Gabe Kangas
0ccb60c528 Change export paths 2020-11-09 12:06:28 -08:00
Gabe Kangas
bbab241120 Update admin again 2020-11-08 12:00:31 -08:00
Gabe Kangas
f2499ebb5d Fix typescript errors 2020-11-08 11:51:04 -08:00
Gabe Kangas
24d71cec58 Center without using center 2020-11-08 11:38:20 -08:00
Gabe Kangas
4ab6e5df51 Add more offline content to admin home page 2020-11-07 23:37:17 -08:00
Gabe Kangas
eaafe57bb3 Show warnings even when offline 2020-11-07 23:00:02 -08:00
Gabe Kangas
20d0596233 WIP for some additional statistic views 2020-11-07 20:01:45 -08:00
Gabe Kangas
e091afbb3c Update admin bundle to point to relative paths and not localhost 2020-11-07 16:46:28 -08:00
Gabe Kangas
3eb7b8b84a Support API calls without auth and without cors 2020-11-07 16:44:11 -08:00
gingervitis
1a2dbd8d75 make offline view a sep componenet 2020-11-07 15:32:51 -08:00
Gabe Kangas
1dbd550134
Bundle and serve admin (#317)
* WIP with admin bundling

* Current state of the admin is bundled

* Update admin bundler to work with binary bundling

* Log detail about the admin interface. Closes #312

* Move bundle script to the build dir

* Update to current version of admin

* Commit updated API documentation

Co-authored-by: Owncast <owncast@owncast.online>
2020-11-06 15:12:35 -08:00
dependabot[bot]
2517e9944e
Bump @videojs/http-streaming from 2.2.4 to 2.3.0 in /build/javascript (#327)
* Bump @videojs/http-streaming from 2.2.4 to 2.3.0 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/videojs/http-streaming/releases)
- [Changelog](https://github.com/videojs/http-streaming/blob/main/CHANGELOG.md)
- [Commits](https://github.com/videojs/http-streaming/compare/v2.2.4...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-05 23:08:53 -08:00
dependabot[bot]
cf6609496c
Bump video.js from 7.8.3 to 7.10.2 in /build/javascript (#326)
* Bump video.js from 7.8.3 to 7.10.2 in /build/javascript

Bumps [video.js](https://github.com/videojs/video.js) from 7.8.3 to 7.10.2.
- [Release notes](https://github.com/videojs/video.js/releases)
- [Changelog](https://github.com/videojs/video.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/videojs/video.js/compare/v7.8.3...v7.10.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-05 22:54:56 -08:00
dependabot[bot]
2f91c45cd8
Bump github.com/aws/aws-sdk-go from 1.35.21 to 1.35.22 (#328)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.21 to 1.35.22.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.21...v1.35.22)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-05 22:40:04 -08:00
Owncast
9b81740de4 Commit updated API documentation 2020-11-06 02:40:57 +00:00
Gabe Kangas
7fece6ff28 Update API documentation for new admin endpoint 2020-11-05 18:40:19 -08:00
Gabe Kangas
c4351a53bf Replace broadcaster API call with generic server status call. Add upgrade check bool 2020-11-05 18:30:14 -08:00
Gabe Kangas
856961ad2d Replace admin broadcaster with status api 2020-11-05 18:29:16 -08:00