Commit graph

8452 commits

Author SHA1 Message Date
Gabe Kangas
03b013c548 Merge pull request #7 from owncast/gw/20201221-rm-chatmessages
chat moderation - admin side
2020-12-29 16:04:37 -08:00
Gabe Kangas
55ca050575 This seems to build? 2020-12-29 15:50:47 -08:00
gingervitis
1d30530afd other TS cleanup 2020-12-29 15:35:54 -08:00
gingervitis
12201d0088 addressing type warnings; account for no-messages returned 2020-12-29 14:59:43 -08:00
Owncast
799782598d Commit updated API documentation 2020-12-29 22:04:25 +00:00
Mirco T
a149e2bb50
Added new endpoints to modify settings in-memory (#517)
* Added new endpoints to modify settings in-memory

* Added missing controllers
2020-12-29 14:03:57 -08:00
Gabe Kangas
e70299de90 Merge pull request #9 from Senney/owncast-40-sort-connected-time
Implement sorting by "Connected Time"
2020-12-29 13:58:45 -08:00
Thilo Billerbeck
1f41441765 changed help graphics 2020-12-29 22:39:32 +01:00
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
Thilo Billerbeck
14c6b3bed2 updated layout 2020-12-29 17:59:30 +01:00
Thilo Billerbeck
2dfebd7915 created help page, added help page to nav 2020-12-29 15:54:05 +01:00
Sean Heintz
f31a2deb82 Implement sorting by "Connected Time" 2020-12-29 02:13:39 -07: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
gingervitis
422f37c477 move chat to its own menu in sidenav 2020-12-27 01:20:09 -08:00
gingervitis
2e3737646c style update 2020-12-27 01:15:17 -08:00
gingervitis
3e959fe2d4 render message in cell 2020-12-26 21:46:40 -08:00
gingervitis
f6814565de rmeove switches;update styles; 2020-12-26 21:36:48 -08:00
Gabe Kangas
5345c124aa Use auth'ed admin chat messages endpoint to get history 2020-12-26 17:36:46 -08:00
gingervitis
71b91a7fe0 reset selected after processing 2020-12-26 01:01:51 -08:00
gingervitis
e6124f3d61 rename comp for clarity 2020-12-26 00:58:30 -08:00
gingervitis
e978789c8b send id as an array 2020-12-26 00:21:50 -08:00
gingervitis
7c06b74324 set up bulkprocessing states and ux 2020-12-25 23:14:27 -08:00
gingervitis
310c6573d3 make toggle a separate component so we can display an outcome icon beside it 2020-12-25 20:29:15 -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
gingervitis
6cb8cee8b7 call update message api on toggle switch and update ui state 2020-12-25 11:03:18 -08:00
Gabe Kangas
88015638f0
Add checklist item for installer. 2020-12-22 23:25:36 -08:00
gingervitis
88deced9f2 super basic table sorting and stylings 2020-12-22 23:15:37 -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
gingervitis
05b9634180 add nav item and page for chat; set up data table of messages 2020-12-22 22:05:17 -08:00
Gabe Kangas
75d800bf70 Update admin bundle 2020-12-22 18:02:32 -08:00
Gabe Kangas
94395ed182 Add link to support documentation on admin home page 2020-12-22 18:01:10 -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