Commit graph

1089 commits

Author SHA1 Message Date
Gabe Kangas
8287484cc6 Add Google FLoC opt-out header on web page requests. Closes #939 2021-04-15 22:25:07 -07:00
gabek
dabc93ef03 Prettified Code! 2021-04-16 05:01:28 +00:00
Gabe Kangas
fb637e20ed Slap the custom css into a style tag. Closes #718 2021-04-15 22:00:46 -07:00
Gabe Kangas
543577c2e0 Create hls directories at transcoder start to account for stream output changes. Fixes #940 2021-04-15 21:36:14 -07:00
Gabe Kangas
05c3c9c7f7 Update admin bundle 2021-04-15 19:25:00 -07:00
Gabe Kangas
bfc5dae960 Stop pointing to admin branch 2021-04-15 13:56:35 -07:00
Gabe Kangas
5214d81264
Codec selection (#892)
* Query for installed codecs

* Start modeling out codecs

* Can now specify a codec and get the correct settings returned from the model

* Return codecs in admin/serverconfig

* Start handling transcoding errors and return messages to user

* filter available codecs against a whitelist

* Fix merge

* Codecs are working

* Switching between codecs work

* Add apis for setting a custom video codec

* Cleanup the logging of transcoder errors

* Add v4l codec

* Add fetching v4l

* Add support for per-codec presets

* Use updated nvenc encoding parameters

* Update log message

* Some more codec WIP

* Turn off v4l. It is a mess.

* Try to make the lowest latency level a bit more playable

* Use a human redable display name in console messages

* Turn on transcoder persistent connections

* Add more codec-related user-facing error messages

* Give the initial offline state transcoder an id

* Force a minimum segment count of 3

* Disable qsv for now. set x264 specific params in VariantFlags

* Close body in case

* Ignore vbv underflow message, it is not actionable

* Determine a dynamic gop value based on the length of segments

* Add codec-specific tests

* Cleanup

* Ignore goconst lint warnings in codec file

* Troubleshoot omx

* Add more codec tests

* Remove no longer accurate comment

* Bundle admin from codec branch

* Revert back to old setting

* Cleanup list of codecs a bit

* Remove old references to the encoder preset

* Commit updated API documentation

* Update admin bundle

* Commit updated API documentation

* Add codec setting to api spec

* Commit updated API documentation

Co-authored-by: Owncast <owncast@owncast.online>
2021-04-15 13:55:51 -07:00
dependabot[bot]
7dec4fe063
Bump github.com/mattn/go-sqlite3 from 1.14.6 to 1.14.7 (#938)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.6...v1.14.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-15 13:51:12 -07:00
dependabot[bot]
8dcbc9db2a
Bump github.com/aws/aws-sdk-go from 1.38.19 to 1.38.20 (#937)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.19 to 1.38.20.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.19...v1.38.20)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-14 23:06:02 -07:00
Gabe Kangas
f216e781dd Reduce log level on data getters 2021-04-14 16:06:22 -07:00
dependabot[bot]
f1e84949a3
Bump @videojs/http-streaming from 2.7.0 to 2.7.1 in /build/javascript (#919)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.7.0 to 2.7.1.
- [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.7.0...v2.7.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 23:56:32 -07:00
dependabot[bot]
de5dd12384
Bump github.com/microcosm-cc/bluemonday from 1.0.7 to 1.0.8 (#929)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.7...v1.0.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 23:46:16 -07:00
dependabot[bot]
844c234624
Bump github.com/yuin/goldmark from 1.3.4 to 1.3.5 (#930)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.3.4...v1.3.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 23:45:21 -07:00
dependabot[bot]
7b357c33e9
Bump cssnano from 5.0.0 to 5.0.1 in /build/javascript (#931)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.0...cssnano@5.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 23:43:12 -07:00
dependabot[bot]
5f1f889e13
Bump github.com/aws/aws-sdk-go from 1.38.18 to 1.38.19 (#932)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.18 to 1.38.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.18...v1.38.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 23:41:37 -07:00
Gabe Kangas
76e90df1f3
Update javascript-packages.yaml 2021-04-12 23:13:26 -07:00
dependabot[bot]
35ced92a84
Bump github.com/aws/aws-sdk-go from 1.38.17 to 1.38.18 (#920)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.17 to 1.38.18.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.17...v1.38.18)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 23:10:11 -07:00
dependabot[bot]
23536d455d
Bump postcss from 8.2.9 to 8.2.10 in /build/javascript (#918)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.9 to 8.2.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.9...8.2.10)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 20:22:02 -07:00
Gabe Kangas
79cda48d19 Update admin bundle 2021-04-12 20:08:01 -07:00
Gabe Kangas
f313f69946 Return success on custom styles save 2021-04-12 00:06:56 -07:00
Owncast
e2c2f6561e Commit updated API documentation 2021-04-12 02:51:29 +00:00
Gabe Kangas
0b6c827557 master -> develop 2021-04-11 19:50:47 -07:00
Gabe Kangas
1b27d0b46d Do not copy data dir on build. Create data dir if needed on launch 2021-04-11 19:47:57 -07:00
Owncast
202a6aa2e5 Commit updated API documentation 2021-04-11 19:34:05 -07:00
Gabe Kangas
7dc5da3899 Update API spec to include custom styles 2021-04-11 19:34:05 -07:00
Gabe Kangas
e985178aa2 Missing slash 2021-04-11 19:34:05 -07:00
Gabe Kangas
df7dff081f Set and get custom styling for web interface. For #718 2021-04-11 19:34:05 -07:00
Gabe Kangas
36be7b76c2
If no logo exists copy a default one into data on launch. Closes #909 (#916) 2021-04-11 16:44:50 -07:00
Aral Balkan
2409cab5b6
Closes #910: make transparency of message bubbles overridable via CSS (#911)
* Closes #910: make transparency of message bubbles overridable via CSS

* Fix CSS variable declaration
2021-04-11 14:08:06 -07:00
Gabe Kangas
a4309fd899 Remove the glare from the svg logo 2021-04-10 19:28:37 -07:00
Gabe Kangas
36154bc4c0 Fix permissions error on automated linter.
This reverts commit bf06467f2d.
2021-04-10 19:27:24 -07:00
Gabe Kangas
bf06467f2d
Removing lint.yml and consolidating into the formatting job 2021-04-10 19:22:18 -07:00
dependabot[bot]
a83001eca6
Bump cssnano from 4.1.11 to 5.0.0 in /build/javascript (#912)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 4.1.11 to 5.0.0.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/v4.1.11...cssnano@5.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-10 19:14:34 -07:00
dependabot[bot]
060105fbb4
Bump github.com/microcosm-cc/bluemonday from 1.0.6 to 1.0.7 (#914)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.6...v1.0.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-10 19:13:54 -07:00
dependabot[bot]
794748df3a
Bump github.com/yuin/goldmark from 1.3.3 to 1.3.4 (#913)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.3.3...v1.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-10 19:13:16 -07:00
dependabot[bot]
00e7c2bf66
Bump github.com/aws/aws-sdk-go from 1.38.16 to 1.38.17 (#915)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.16 to 1.38.17.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.16...v1.38.17)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-10 19:12:54 -07:00
Gabe Kangas
7fe67cb853 Update gopsutil 2021-04-10 18:21:40 -07:00
dependabot[bot]
00dc46ae4d
Bump github.com/aws/aws-sdk-go from 1.38.15 to 1.38.16 (#906)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.15 to 1.38.16.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.15...v1.38.16)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-09 10:12:25 -07:00
Gabe Kangas
2c4cc27baa Update admin bundle 2021-04-08 21:13:08 -07:00
Gabe Kangas
5188ac951c Remove old default config file 2021-04-08 21:07:11 -07:00
dependabot[bot]
c60fd3c76a
Bump video.js from 7.11.4 to 7.11.8 in /build/javascript (#904)
* Bump video.js from 7.11.4 to 7.11.8 in /build/javascript

Bumps [video.js](https://github.com/videojs/video.js) from 7.11.4 to 7.11.8.
- [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.11.4...v7.11.8)

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>
2021-04-08 00:24:31 -07:00
dependabot[bot]
cd54131f42
Bump github.com/aws/aws-sdk-go from 1.38.14 to 1.38.15 (#905)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.14 to 1.38.15.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.14...v1.38.15)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 00:07:53 -07:00
Gabe Kangas
4b0b5dd6ea Update admin bundle 2021-04-07 22:32:14 -07:00
Gabe Kangas
06e5154042 Change size of splash bg image. Closes #893 2021-04-07 22:14:49 -07:00
Gabe Kangas
12509c1bc2 Change log level 2021-04-07 00:13:30 -07:00
Owncast
315db9ea8e Commit updated Javascript packages 2021-04-07 07:06:17 +00:00
dependabot[bot]
d797a3b1eb
Bump @videojs/http-streaming from 2.6.4 to 2.7.0 in /build/javascript (#902)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.6.4 to 2.7.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.6.4...v2.7.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 00:05:21 -07:00
dependabot[bot]
d02fb92293
Bump cssnano from 4.1.10 to 4.1.11 in /build/javascript (#901)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 4.1.10 to 4.1.11.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/v4.1.10...v4.1.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 23:57:18 -07:00
dependabot[bot]
18a740e73b
Bump github.com/aws/aws-sdk-go from 1.38.13 to 1.38.14 (#903)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.13 to 1.38.14.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.13...v1.38.14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 23:55:30 -07:00
dependabot[bot]
01a4155b42
Bump github.com/microcosm-cc/bluemonday from 1.0.5 to 1.0.6 (#900)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.5...v1.0.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 23:11:53 -07:00