Commit graph

1716 commits

Author SHA1 Message Date
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
Gabe Kangas
3fdae7afb9 Don't codeql the static directory 2021-11-01 18:30:46 -07:00
Gabe Kangas
c7d988c7dd Update admin 2021-11-01 18:16:01 -07:00
dependabot[bot]
1c982f21af
Bump github.com/shirou/gopsutil (#1508)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 3.21.9+incompatible to 3.21.10+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.9...v3.21.10)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil
  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-01 16:54:56 -07:00
Gabe Kangas
47b84faefb Silence the browser test error 2021-11-01 00:40:39 -07:00
Gabe Kangas
4c37308e71 Update the HLS flags to adhere to more Apple recommendations 2021-11-01 00:20:08 -07:00
Gabe Kangas
5b38426e31 Tweak video bandwidth values to be < 10% over max 2021-10-31 23:00:11 -07:00
Gabe Kangas
aeaf886855 Force the content type on hls playlists 2021-10-31 19:20:56 -07:00
Gabe Kangas
fdc381c738 Test against Go 1.17 and drop 1.15 from the tests 2021-10-31 14:08:17 -07:00
Jack
651caeba91
Fix build for Windows (#1377) (#1506)
* Fix build for Windows (#1377)

* Add tests for windows
2021-10-31 14:01:22 -07:00
Jannik
4509be19db
add steam social handle (#1503)
Logo Source: https://de.wikipedia.org/wiki/Datei:Steam_icon_logo.svg
2021-10-30 14:47:00 -07:00
Jack
f0a11cac5d
Optimise regexp usage (#1502)
* Optimise regexp usage

* Revert regexp removal

* Atleast use the semioptimised version
2021-10-29 12:29:01 -07:00
Gabe Kangas
cc2a9b8d8e Update admin 2021-10-28 17:36:06 -07:00
Owncast
ff2cd2463c Commit updated API documentation 2021-10-29 00:28:29 +00:00
Gabe Kangas
f10e240c18 Add forcePathStyle to s3 config test 2021-10-28 17:27:54 -07:00
Artur Angiel
2110dfd30c
Support path-based S3 storage. Closes #1495 (#1496)
* Support path-based S3 storage. Closes #1495

Revert "Remove forcing old path-style URLs with s3. Closes #497"

This reverts commit b2953028cf.

* #1495 Path-style S3 compatibile URLs implemented

https://github.com/owncast/owncast/issues/1495

It gives ability to use S3 compatibile providers that doesn't
support virtual-host-style URLs (i.e. Oracle Cloud Object Storage)

Co-authored-by: Artur Angiel <artur@angiel.ovh>
2021-10-28 17:27:44 -07:00
Gabe Kangas
2600afa022 Update admin (update to Nextjs 12) 2021-10-26 22:54:31 -07:00
Gabe Kangas
6eefca53c8 Split out flags so all functions in main have access 2021-10-25 00:38:09 -07:00
Gabe Kangas
bdce2e13bf Some linter cleanup 2021-10-25 00:31:45 -07:00
Gabe Kangas
3f4176d8d6 Replace panics with our logging framework 2021-10-25 00:15:58 -07:00
Gabe Kangas
cd15661f08 Split out cli arg handling from main 2021-10-24 23:09:30 -07:00
Gabe Kangas
a40312d733 Update admin 2021-10-24 19:31:06 -07:00