Commit graph

865 commits

Author SHA1 Message Date
gingervitis
8a74af202d
Update chat message visibility for moderation (#524)
* update message viz in db

* create admin endpoint to update message visibility

* convert UpdateMessageVisibility api to take in an array of IDs to change visibility on instead

* Support requesting filtered or unfiltered chat messages

* Handle UPDATE chat events on front and backend for toggling messages

* Return entire message with UPDATE events

* Remove the UPDATE message type

* Revert "Remove the UPDATE message type"

This reverts commit 3a83df3d492f7ecf2bab65e845aa2b0365d3a7f6.

* update -> visibility update

* completely remove messages when they turn hidden on VISIBILITY-UPDATEs, and insert them if they turn visible

* Explicitly set visibility

* Fix multi-id sql updates

* increate scroll buffer a bit so chat scrolls when new large messages come in

* Add automated test around chat moderation

* Add new chat admin APIs to api spec

* Commit updated API documentation

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-12-29 13:35:33 -08:00
dependabot[bot]
0452c4c5fc
Bump github.com/mattn/go-sqlite3 from 1.14.5 to 1.14.6 (#534)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.5 to 1.14.6.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.5...v1.14.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 00:11:34 -08:00
dependabot[bot]
c8aac5f639
Bump github.com/aws/aws-sdk-go from 1.36.14 to 1.36.16 (#542)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.14 to 1.36.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.36.14...v1.36.16)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 00:10:59 -08:00
dependabot[bot]
10c4bfffea
Bump github.com/yuin/goldmark from 1.3.0 to 1.3.1 (#533)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.3.0...v1.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 00:10:41 -08:00
Gabe Kangas
cd77eab971 testing package-lock has updates 2020-12-28 18:10:40 -08:00
Gabe Kangas
e5da1f871e Add PostCSS because Tailwind CLI needed it 2020-12-28 17:52:47 -08:00
Gabe Kangas
8328d1cb11 Disable serving a directory listing. Closes #530 2020-12-27 15:41:21 -08:00
Owncast
46fa26bc3a Commit updated API documentation 2020-12-26 03:25:00 +00:00
Gabe Kangas
6e7787369e Mark API as v0.0.4 2020-12-25 19:24:19 -08:00
Gabe Kangas
88015638f0
Add checklist item for installer. 2020-12-22 23:25:36 -08:00
dependabot[bot]
f6712b23a3
Bump github.com/aws/aws-sdk-go from 1.36.13 to 1.36.14 (#507)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.13 to 1.36.14.
- [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.36.13...v1.36.14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 22:37:13 -08:00
dependabot[bot]
c78371fc57
Bump @videojs/http-streaming from 2.4.0 to 2.4.1 in /build/javascript (#506)
* Bump @videojs/http-streaming from 2.4.0 to 2.4.1 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.4.0 to 2.4.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.4.0...v2.4.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>
2020-12-22 22:36:46 -08:00
Gabe Kangas
75d800bf70 Update admin bundle 2020-12-22 18:02:32 -08:00
gingervitis
51f344f8e0
misc issue fixes (#496)
* rename social-icons to prevent adblockers from blocking scripts, fix for #491

* hide viewer count when stream is off, fixes #428

* show a notice in document title of num messages if window is blurred, #426

* display indicator when stream has gone onlnie or offline when window is blurred
2020-12-22 17:43:35 -08:00
Jannik
9240da1b0b
Merge pull request #501 from owncast/gw/1222-wraptags
wrap tags so they don't extend off the view
2020-12-22 19:28:06 +01:00
Ginger Wong
8774551838 wrap tags so they extend off the view, fixes #500 2020-12-22 10:07:11 -08:00
Gabe Kangas
959482e41a Update Admin bundle 2020-12-21 23:45:33 -08:00
dependabot[bot]
ce81c78b88
Bump node-notifier from 8.0.0 to 8.0.1 in /test/automated (#494)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 22:39:51 -08:00
Gabe Kangas
93c3968bc6 Try to assist people with websocket troubleshooting. Closes #468 2020-12-21 22:36:21 -08:00
dependabot[bot]
780618f0ee
Bump github.com/aws/aws-sdk-go from 1.36.12 to 1.36.13 (#493)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.12 to 1.36.13.
- [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.36.12...v1.36.13)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 22:21:59 -08:00
Gabe Kangas
1ff70c13c5 Surface RTMP server port in admin. For #475 2020-12-21 22:20:27 -08:00
Gabe Kangas
76590bb043 Validate explicitly provided ffmpeg path. Closes #490 2020-12-21 22:02:05 -08:00
Gabe Kangas
e558c549d7
Websocket fixes (#461)
* Bump api spec version

* Do not panic on cpu monitoring error

* Centralize the socket disconnect logic and fire it also when socket errors occur. Hopefully closes #421
2020-12-21 19:42:47 -08:00
dependabot[bot]
eab45c7e92
Bump github.com/aws/aws-sdk-go from 1.36.11 to 1.36.12 (#487)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.11 to 1.36.12.
- [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.36.11...v1.36.12)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-20 23:55:58 -08:00
David Marzal
b741b95aed
Update docker-compose.yaml example (#476)
* Update docker-compose.yaml example

With this change works on 0.3 release.

chatDatabase -> database

* docker-compose.yaml example to owncast:latest

owncast:latest to avoid having to update this file with every release
2020-12-20 12:25:32 -08:00
Christian Muehlhaeuser
c7cc973ebc
Log and abort when listening on RTMP port fails (#478)
Fixes #477.
2020-12-19 22:17:10 -08:00
Gabe Kangas
553992d6f8 Add linux-arm7 support to build script. Closes #470 2020-12-18 00:21:49 -08:00
dependabot[bot]
757a818e2a
Bump github.com/aws/aws-sdk-go from 1.36.10 to 1.36.11 (#469)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.10 to 1.36.11.
- [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.36.10...v1.36.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 22:35:46 -08:00
Gabe Kangas
84b8a4290d Update admin bundle 2020-12-17 09:59:42 -08:00
Gabe Kangas
e9c7ff29cf
Add custom RTMP port number support (#462)
* Bump api spec version

* Add support for custom RTMP port. Closes #454
2020-12-17 09:56:04 -08:00
dependabot[bot]
ef792c66a6
Bump github.com/aws/aws-sdk-go from 1.36.9 to 1.36.10 (#465)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.9 to 1.36.10.
- [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.36.9...v1.36.10)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-16 23:05:31 -08:00
Gabe Kangas
1fe1c6c925 Move duplicate string to a constant 2020-12-16 23:01:09 -08:00
Gabe Kangas
47770feaa5 Remove TODO 2020-12-16 22:59:13 -08:00
Owncast
438a11e4b1 Commit updated API documentation 2020-12-16 08:27:56 +00:00
Gabe Kangas
4ce139c0e0 Bump api spec version 2020-12-16 00:27:17 -08:00
dependabot[bot]
6ede4c60de
Bump github.com/aws/aws-sdk-go from 1.36.7 to 1.36.9 (#460)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.7 to 1.36.9.
- [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.36.7...v1.36.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 23:36:56 -08:00
Gabe Kangas
7b33e42efd
Clean up some readme links 2020-12-14 16:34:50 -08:00
dependabot[bot]
6c39753268
Bump github.com/yuin/goldmark from 1.2.1 to 1.3.0 (#450)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.2.1...v1.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 15:51:12 -08:00
dependabot[bot]
b60b79ee0a
Bump postcss-cli from 8.3.0 to 8.3.1 in /build/javascript (#449)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/8.3.0...8.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 15:47:09 -08:00
dependabot[bot]
1de72ce336
Bump @videojs/http-streaming from 2.3.1 to 2.4.0 in /build/javascript (#436)
* Bump @videojs/http-streaming from 2.3.1 to 2.4.0 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.3.1 to 2.4.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.3.1...v2.4.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-12-14 15:46:38 -08:00
dependabot[bot]
9171299569
Bump github.com/aws/aws-sdk-go from 1.36.1 to 1.36.7 (#451)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.1 to 1.36.7.
- [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.36.1...v1.36.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 08:10:40 -08:00
Gabe Kangas
97a86ec388 Add data dir to Dockerfile 2020-12-13 23:09:55 -08:00
Gabe Kangas
ce4cb44412 Add latest tag to docker build 2020-12-13 22:29:29 -08:00
Gabe Kangas
c04c3e851b Update admin bundle 2020-12-13 13:38:07 -08:00
Ginger Wong
121b80143a display username change form better on small screen 2020-12-12 11:38:08 -08:00
Ginger Wong
d4f5162505 prevent header from hiding when keyboard is active on mobile for username change 2020-12-12 11:08:23 -08:00
Rick
570f529f48
optimize Dockefile (#409) 2020-12-10 21:57:18 -08:00
Gabe Kangas
814fcceaac Reduce hardware alerting thresholds 2020-12-07 13:44:49 -08:00
gingervitis
0062896b7d
chat fixes and optimizations (#431)
* - format messages on didMount instead of didUpdate. will also prevent bad setSTate loops when message is blank;
- convert message.js to functional comp
- prevent extra rerenders in messages and chat with shouldComponentUpdate checks

* revert chat test

* more concise returns;
2020-12-06 21:01:52 -08:00
Gabe Kangas
b405b2fcc7 Connections from Restream seem to be more sensitive about if we get the initial packets processed or not, so I moved setStreamAsConnected to be decoupled from when we set broadcaster info. Another update for #432 2020-12-06 14:28:00 -08:00