Commit graph

5174 commits

Author SHA1 Message Date
Gabe Kangas
4d2066a76d
Start cleaning up linter errors. (#358)
* Start cleaning up linter errors. For #357

* Fix unmarshalling NullTime values

* More linter fixes

* Remove commented code

* Move defer up

* Consolidate error check lines

* Move error check to make sure row iteration was successful

* Cleaner error check + do not recreate pipe if it exists

* Consolidate hashing to generate client id
2020-11-14 18:39:53 -08:00
Gabe Kangas
a0bfe6ac9a Verify the admin web app builds 2020-11-13 10:09:20 -08:00
gingervitis
e3c0265469 include server config fetch in serverstatus context hook so config data can be provided across multiple views 2020-11-13 04:43:27 -08:00
gingervitis
72d9ff4edb assorted cleanup 2020-11-13 03:57:57 -08:00
gingervitis
2211572ba1 clean up of home section; now with styling 2020-11-13 03:43:28 -08:00
dependabot[bot]
c76b7229a5
Bump preact from 10.5.5 to 10.5.7 in /build/javascript (#360)
* Bump preact from 10.5.5 to 10.5.7 in /build/javascript

Bumps [preact](https://github.com/preactjs/preact) from 10.5.5 to 10.5.7.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.5.5...10.5.7)

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-12 22:59:02 -08:00
dependabot[bot]
a6ce495b9c
Bump github.com/aws/aws-sdk-go from 1.35.26 to 1.35.27 (#359)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.26 to 1.35.27.
- [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.26...v1.35.27)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 22:55:19 -08:00
gingervitis
3f1f96a768 Merge branch 'master' of github.com:owncast/owncast-admin 2020-11-12 22:39:18 -08:00
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