Commit graph

1628 commits

Author SHA1 Message Date
gabek
a79db1b589 Prettified Code! 2021-03-11 20:52:18 +00:00
Gabe Kangas
c713e216d3
Allow selection of different stream variants in the player (#815)
* WIP video quality selector

* The quality selector works even though it is not pretty

* Support getting and setting variant name. Closes #743

* Sort video qualities

* Fix odd looking selected states of menubutton items

* Fix comment
2021-03-11 12:51:43 -08:00
dependabot[bot]
145744c381
Bump github.com/aws/aws-sdk-go from 1.37.27 to 1.37.28 (#812)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.27 to 1.37.28.
- [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.37.27...v1.37.28)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 16:56:02 -08:00
dependabot[bot]
9cca480657
Bump golang.org/x/mod from 0.4.1 to 0.4.2 (#813)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/golang/mod/releases)
- [Commits](https://github.com/golang/mod/compare/v0.4.1...v0.4.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 16:54:40 -08:00
Gabe Kangas
4f012fab56
Add nebunez to dependabot alerts 2021-03-10 16:46:41 -08:00
dependabot[bot]
7dc070840d
Bump @videojs/http-streaming from 2.6.1 to 2.6.3 in /build/javascript (#802)
* Bump @videojs/http-streaming from 2.6.1 to 2.6.3 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.6.1 to 2.6.3.
- [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.1...v2.6.3)

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-03-10 16:41:40 -08:00
nebunez
7e0822b62d fix mismatched message ids when client first sends a message
This bug is caused by the message being sent to all clients before
msg.SetDefaults() is called and the message is saved to the chat database. This
causes connected clients to get a message id that is different from what exists
in the database. This only affects clients using websockets that were connected
when the message was sent and message visibility updated.

Fixes https://github.com/owncast/owncast/issues/809
2021-03-10 14:07:47 -05:00
dependabot[bot]
f8d84e72fa
Bump github.com/aws/aws-sdk-go from 1.37.26 to 1.37.27 (#805)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.26 to 1.37.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.37.26...v1.37.27)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 10:47:39 -08:00
dependabot[bot]
b3c1712897
Bump postcss from 8.2.7 to 8.2.8 in /build/javascript (#806)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.7 to 8.2.8.
- [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.7...8.2.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 10:46:55 -08:00
dependabot[bot]
2e585ceef4
Bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1 (#807)
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.0...v1.8.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 23:03:38 -08:00
Gabe Kangas
896c7b57ef
Remove code formatting on PRs 2021-03-09 14:25:00 -08:00
dependabot[bot]
17f09e3602
Bump github.com/aws/aws-sdk-go from 1.37.25 to 1.37.26 (#801)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.25 to 1.37.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.37.25...v1.37.26)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 23:34:04 -08:00
Gabe Kangas
de195f883e
Gek/disable remote images (#800)
* Disable images from anywhere but our emojis. Closes #756

* Add tests around images in chat messages

* Update sanitizer + test
2021-03-08 23:20:15 -08:00
dependabot[bot]
319b6ebe11
Bump @videojs/http-streaming from 2.5.0 to 2.6.1 in /build/javascript (#755)
* Bump @videojs/http-streaming from 2.5.0 to 2.6.1 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.5.0 to 2.6.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.5.0...v2.6.1)

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-03-08 16:17:56 -08:00
dependabot[bot]
0037d7fdaa
Bump github.com/oschwald/geoip2-golang from 1.4.0 to 1.5.0 (#754)
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.4.0...v1.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 15:50:17 -08:00
dependabot[bot]
6608736326
Bump postcss from 8.2.6 to 8.2.7 in /build/javascript (#786)
* Bump postcss from 8.2.6 to 8.2.7 in /build/javascript

Bumps [postcss](https://github.com/postcss/postcss) from 8.2.6 to 8.2.7.
- [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.6...8.2.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>
2021-03-08 15:49:46 -08:00
dependabot[bot]
117e5cdd77
Bump github.com/aws/aws-sdk-go from 1.37.19 to 1.37.25 (#794)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.19 to 1.37.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.37.19...v1.37.25)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 15:49:28 -08:00
Gabe Kangas
36645437ef Do not copy the config file into Docker builds 2021-03-07 22:46:51 -08:00
Gabe Kangas
e713852c67 Fix Dockerfile to pass along the correct platform name 2021-03-07 21:02:25 -08:00
Gabe Kangas
89cf92640c Try to fix builds saying they are dev 2021-03-07 20:29:44 -08:00
Gabe Kangas
c9052bab9f Fix broken image in admin bundle 2021-03-07 19:53:58 -08:00
Gabe Kangas
e15fd4ed66 Update admin bundle 2021-03-07 19:25:54 -08:00
Gabe Kangas
c27620d656
Never mark issues with a milestone as stale 2021-03-04 21:24:50 -08:00
Gabe Kangas
db0b813eea Do not execute chat-only or video-only js from main app. Closes #787 2021-03-04 14:08:53 -08:00
Gabe Kangas
a67e938875 allocate yp at launch to allow for enabling it later 2021-03-04 01:48:10 -08:00
Gabe Kangas
49bb899d51 Optimize/fix concurrency for chat 2021-03-03 21:48:11 -08:00
Gabe Kangas
1e0b1b389d Update admin bundle 2021-03-02 22:35:35 -08:00
Gabe Kangas
2854d2a907 Update admin bundle 2021-03-02 21:06:31 -08:00
Gabe Kangas
4a233ab7ac Return detailed error. Closes #781 2021-03-02 19:10:27 -08:00
Gabe Kangas
717e4f9ceb Remove platforms.js from preload list. Closes #774 2021-03-01 18:29:19 -08:00
Jannik
a6c269dd1c
Remove peak viewer counts from public status feed (#771)
* remove peak viewer counts from public status feed

* create `webStatusResponse` parallel to `adminStatusResponse`
2021-02-28 23:30:46 -08:00
Gabe Kangas
c19462a20e
Link GitHub to OpenCollective 2021-02-28 17:25:05 -08:00
Ginger Wong
e3375ae8c0 fix username form size on mobile views when stream title name is long 2021-02-27 16:39:19 -08:00
Gabe Kangas
8c8aa31e30 Update admin bundle 2021-02-27 00:13:56 -08:00
Gabe Kangas
d8e6b75b5f No longer reset max viewer count at cleanup. Only do it at new stream start. Fixes #768 2021-02-26 22:15:46 -08:00
Gabe Kangas
15af4af770 Fix websocket load test not sending required event type 2021-02-26 22:14:08 -08:00
Bradley Hilton
cbcf8d4794
Fix the http port used not in sync with what is logged (#766)
* Fix the http port used not in sync with what is logged

* Actually fix the logging race condition

* Move the router logging to the router package
2021-02-26 11:23:15 -08:00
Bradley Hilton
b61a952bd8
Return the scaled height and width of a stream output variant (#769) 2021-02-26 11:01:53 -08:00
dependabot[bot]
5993eb64bb
Bump github.com/aws/aws-sdk-go from 1.37.18 to 1.37.19 (#767)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.18 to 1.37.19.
- [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.37.18...v1.37.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-25 23:58:21 -08:00
Gabe Kangas
1d9774e453 Display the current value not the threshold 2021-02-24 23:48:31 -08:00
dependabot[bot]
8c31b7702e
Bump github.com/aws/aws-sdk-go from 1.37.17 to 1.37.18 (#764)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.17 to 1.37.18.
- [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.37.17...v1.37.18)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 22:23:08 -08:00
dependabot[bot]
59e2b315ba
Bump github.com/aws/aws-sdk-go from 1.37.16 to 1.37.17 (#761)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.16 to 1.37.17.
- [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.37.16...v1.37.17)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 22:53:25 -08:00
Gabe Kangas
4f833be80a Add ability to mark a message as ephemeral and set it with title changes 2021-02-23 11:24:32 -08:00
Gabe Kangas
8f1681c7aa Remove unused model 2021-02-23 11:23:51 -08:00
Gabe Kangas
68eecab29b Hardcode logo to be /logo 2021-02-22 23:32:59 -08:00
dependabot[bot]
6ca2c688e0
Bump github.com/aws/aws-sdk-go from 1.37.15 to 1.37.16 (#757)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.15 to 1.37.16.
- [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.37.15...v1.37.16)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 23:25:48 -08:00
Gabe Kangas
f1a1b9d2e6 Always return stream title with yp response 2021-02-22 23:18:56 -08:00
dependabot[bot]
4178ccc180
Bump github.com/aws/aws-sdk-go from 1.37.14 to 1.37.15 (#753)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.14 to 1.37.15.
- [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.37.14...v1.37.15)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 23:24:56 -08:00
Forest Johnson
f6bdff32ea
<script type="module" ...> tags to reduce round trips under HTTP/2 (#745) 2021-02-21 18:09:04 -08:00
Gabe Kangas
0bfd9f8e1f Do not send user joined events to chat clients if stream is not active. Closes #750 2021-02-21 16:21:12 -08:00