Commit graph

2037 commits

Author SHA1 Message Date
Owncast
4e96835274 Update admin to 50ca541baec42ea929009483b350161d4618dca4 2021-11-22 01:30:00 +00:00
Eng Zer Jun
7996df85e1
refactor: move from io/ioutil to io and os packages (#1546)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-19 22:42:50 -08:00
Gabe Kangas
00019bf86b Allow for rendering a wider color range for messages 2021-11-17 17:56:52 -08:00
Gabe Kangas
7bf421e506 Add package files to support running fakeChat.js 2021-11-17 17:56:52 -08:00
Owncast
d9314eac2c Update admin to cba0da2dcacab2dc4d65ff61fb2d9323dfb108e5 2021-11-18 01:29:17 +00:00
Gabe Kangas
040c838881 Keep list of renderable message types and check against them 2021-11-17 17:19:58 -08:00
dependabot[bot]
9316e2ebc0
Bump cssnano from 5.0.10 to 5.0.11 in /build/javascript (#1540)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.10...cssnano@5.0.11)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 10:42:46 -08:00
Gabe Kangas
1873151390 Disable caching of some GET apis. Closes #1530 2021-11-16 20:58:50 -08:00
Matt Steele
dc664af3c0
Specify required Go version to compile from source (#1539) 2021-11-16 19:30:05 -08:00
Gabe Kangas
d213c4a5b7 Only show moderator flag if you are a moderator. Fixes #1536 2021-11-16 17:59:59 -08:00
Gabe Kangas
7b1d24873e Only act on messages of type CHAT. Closes #1537 2021-11-16 17:46:28 -08:00
Gabe Kangas
a14f174183 Fix browser name change test not actually changing name 2021-11-16 17:41:31 -08:00
Owncast
4d998ac589 Commit updated Javascript packages 2021-11-16 17:52:51 +00:00
dependabot[bot]
35482a62ba
Bump github.com/yuin/goldmark from 1.4.3 to 1.4.4 (#1532)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 09:52:14 -08:00
dependabot[bot]
bbcc02338b
Bump video.js from 7.15.4 to 7.17.0 in /build/javascript (#1531)
Bumps [video.js](https://github.com/videojs/video.js) from 7.15.4 to 7.17.0.
- [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.15.4...v7.17.0)

---
updated-dependencies:
- dependency-name: video.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 09:51:49 -08:00
Owncast
519e60b1e2 Update admin to ff1dc3fb59cdad30196e9e2b0f8d6a1ea44d1983 2021-11-16 01:17:51 +00:00
Owncast
cc27be3721 Update admin to 9cc9dc8d8c96d3f6b09e3bf5c074d23837c26ab0 2021-11-16 01:13:36 +00:00
Owncast
7635be565d Update admin to fd9e718734c5e6c7f73f6c19b23eabfdba2c4738 2021-11-16 01:09:39 +00:00
Owncast
66693b563b Update admin to 7f277ea4f322685350d1280599b548c74524aee1 2021-11-16 00:58:31 +00:00
Owncast
2eedcc5a0f Update admin to f42267c88407d02172e9786c687e0ec3b2f07d87 2021-11-15 23:10:59 +00:00
Owncast
14af894446 Update admin to 6a846a604723c6cd7d195c3b41b2534b1fbe9ae1 2021-11-15 20:25:17 +00:00
Jannik
da199e5775
use worker pool to limit webhooks to 10 concurrent http executions (#1510) (#1525)
* refactor: use worker pool to limit webhooks to 10 concurrent http executions (#1510)

* chore: try to please go linter
2021-11-14 10:02:52 -08:00
Gabe Kangas
06f3644b11
Remove running codeql on a schedule
PRs and pushes only.
2021-11-13 18:49:57 -08:00
Gabe Kangas
32e72883a6 Tweak system message style 2021-11-13 17:44:23 -08:00
Gabe Kangas
5a6a4240ae Add new icons and tweak styles of moderator actions 2021-11-13 17:03:17 -08:00
Gabe Kangas
1e1e7f5cf4 Swap out follow platform icon 2021-11-13 16:48:40 -08:00
Gabe Kangas
97f806440e Make emoji small within the moderator info box. closes #1519 2021-11-12 21:42:50 -08:00
Owncast
a6e190bfdd Update admin to c8a31ade5e5f88d25f272f491afcbc83ee9ecd45 2021-11-13 05:31:26 +00:00
Owncast
72cc0206a4 Update admin to 8279a11f5152836ac9cd0465947f0f7bb6a43544 2021-11-13 00:50:23 +00:00
Gabe Kangas
ae49e38eb9 Update admin dispatch event workflow 2021-11-12 16:44:38 -08:00
Gabe Kangas
c9f8133507 Fix incorrect webhook payload being sent in the new SetMessageVisibilityEvent 2021-11-12 16:28:53 -08:00
Gabe Kangas
464ae9598b Add workflow for accepting bundle admin event 2021-11-12 10:02:04 -08:00
Gabe Kangas
cae02f0902 No longer save chat ban state locally. Closes #1518 2021-11-11 15:39:56 -08:00
Gabe Kangas
a33646e59f Add test to verify websocket events come through for changing message visibility 2021-11-11 14:27:45 -08:00
Gabe Kangas
b9107eab12 Remove warning if geoip test is skipped 2021-11-11 12:43:21 -08:00
dependabot[bot]
1099a3c3ba
Bump github.com/aws/aws-sdk-go from 1.41.0 to 1.42.0 (#1517)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.41.0 to 1.42.0.
- [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.41.0...v1.42.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 09:17:12 -08:00
Gabe Kangas
f78f1795fe
Update stale issue message 2021-11-08 17:51:18 -08:00
dependabot[bot]
bcb46f2e5b
Bump cssnano from 5.0.9 to 5.0.10 in /build/javascript (#1514)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.9 to 5.0.10.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.9...cssnano@5.0.10)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-08 10:21:19 -08:00
dependabot[bot]
3c553d127b
Bump github.com/yuin/goldmark from 1.4.2 to 1.4.3 (#1515)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.2...v1.4.3)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-08 10:20:55 -08:00
Gabe Kangas
b7865c92b5 Increase cache duration for resources 2021-11-07 19:53:01 -08:00
dependabot[bot]
a1d2abc541
Bump postcss-cli from 9.0.1 to 9.0.2 in /build/javascript (#1513)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 9.0.1 to 9.0.2.
- [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/9.0.1...9.0.2)

---
updated-dependencies:
- dependency-name: postcss-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-05 09:53:57 -07:00
Gabe Kangas
bb5ef1c5a1 Add words to workspace that spell checkers complain about 2021-11-03 16:28:05 -07:00
Gabe Kangas
676aa96f40 Add support for overriding embedded offline.ts. Closes #1507 2021-11-03 16:27:37 -07:00
Gabe Kangas
6ffa020c5f Updated linter threw new warnings. Fixed. 2021-11-03 09:43:47 -07:00
dependabot[bot]
055ca479f0
Bump cssnano from 5.0.8 to 5.0.9 in /build/javascript (#1512)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.8 to 5.0.9.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.8...cssnano@5.0.9)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 09:36:04 -07:00
gabek
f6015dfe50 Prettified Code! 2021-11-03 02:28:19 +00:00
gingervitis
9a91324456
Inline chat moderation UI (#1331)
* - mock detect when user turns into moderator
- add moderator indicator to display on messages and username changer

* also mock moderator flag in message payload about user to display indicator

* add some menu looking icons and a menu of actions

* WIP chat moderators

* Add support for admin promoting a user to moderator

* WIP-
open a more info panel of user+message info; add some a11y to buttons

* style the details panel

* adjust positioning of menus

* Merge fixes. ChatClient->Client ChatServer->Server

* Remove moderator bool placeholders to use real state

* Support inline hiding of messages by moderators

* Support inline banning of chat users

* Cleanup linter warnings

* Puppeteer tests fail after typing take place

* Manually resolve conflicts in chat between moderator feature and develop

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2021-11-02 19:27:41 -07:00
Gabe Kangas
4a52ba9f35 Update admin 2021-11-02 18:02:03 -07:00
Gabe Kangas
b43c5e674e
Rework how hiding messages works. (#1509)
* Rework how hiding messages work. Fixes #1350

* Remove unused function

* Revert to old event name to support previously saved webhooks
2021-11-02 18:00:15 -07:00
Jannik
2278fec70a
execute webhooks in parallel (and 🐛 update webhooks.last_used correctly) (#1505)
*  execute webhooks in parallel

* 🐛 update the webhooks.last_used column correctly
2021-11-01 19:13:20 -07:00