Commit graph

2038 commits

Author SHA1 Message Date
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
Christian
d159f1fc69
Fix hashes for standalone video/chat (#1472)
* Fix hashes for standalone video/chat

* Set Header vor embed
2021-10-24 17:12:56 -07:00
dependabot[bot]
47848426ff
Bump postcss from 8.3.10 to 8.3.11 in /build/javascript (#1490)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.10 to 8.3.11.
- [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.3.10...8.3.11)

---
updated-dependencies:
- dependency-name: postcss
  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-10-22 09:54:00 -07:00
Gabe Kangas
c4d2ffd834
Fix crash when an invalid inbound stream is disconnected. Closes #1439 (#1483) 2021-10-21 17:21:17 -07:00
Gabe Kangas
b50540dfe9 Remove overly complex and specific docker-compose examples. Closes #1475 2021-10-21 11:48:21 -07:00
Gabe Kangas
04dc5b4451 Remove not useful, unhelpful and scary error 2021-10-21 11:31:19 -07:00
Owncast
2152001ab8 Commit updated Javascript packages 2021-10-21 18:27:19 +00:00
Gabe Kangas
112f6b6aaa Use bundled VHS with VideoJS and reinstall js libraries 2021-10-21 11:23:41 -07:00
Gabe Kangas
fa46bd95aa Roll back to Snowpack 2.x.
This reverts commit 5cc041577c.
2021-10-21 11:14:28 -07:00
dependabot[bot]
33a1499ac3
Bump preact from 10.5.10 to 10.5.15 in /build/javascript (#1468)
Bumps [preact](https://github.com/preactjs/preact) from 10.5.10 to 10.5.15.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.5.10...10.5.15)

---
updated-dependencies:
- dependency-name: preact
  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-10-21 10:32:09 -07:00
Gabe Kangas
5cc041577c Update to Snowpack 3 2021-10-21 10:23:24 -07:00
Owncast
1e36b665d6 Commit updated Javascript packages 2021-10-21 16:36:13 +00:00
dependabot[bot]
e70883079e
Bump postcss from 8.3.9 to 8.3.10 in /build/javascript (#1485)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.9 to 8.3.10.
- [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.3.9...8.3.10)

---
updated-dependencies:
- dependency-name: postcss
  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-10-21 09:34:03 -07:00
dependabot[bot]
f00f8baad3
Bump github.com/yuin/goldmark from 1.4.1 to 1.4.2 (#1486)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.1...v1.4.2)

---
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-10-21 09:33:26 -07:00
dependabot[bot]
47b5cbe4b5
Bump github.com/schollz/sqlite3dump from 1.3.0 to 1.3.1 (#1487)
Bumps [github.com/schollz/sqlite3dump](https://github.com/schollz/sqlite3dump) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/schollz/sqlite3dump/releases)
- [Commits](https://github.com/schollz/sqlite3dump/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: github.com/schollz/sqlite3dump
  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-10-21 09:32:52 -07:00
Gabe Kangas
b691fe51fd Fix paths to fix linguist 2021-10-20 13:14:24 -07:00
Gabe Kangas
269475b423 npm run build to update js modules 2021-10-20 10:27:35 -07:00
dependabot[bot]
d2c200b77b
Bump github.com/microcosm-cc/bluemonday from 1.0.15 to 1.0.16 (#1479)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.15...v1.0.16)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  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-10-19 23:08:14 -07:00
Owncast
d18a997dc1 Commit updated Javascript packages 2021-10-20 05:59:10 +00:00
dependabot[bot]
acd8b2fcf2
Bump @videojs/http-streaming from 2.11.0 to 2.11.1 in /build/javascript (#1474)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.11.0 to 2.11.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.11.0...v2.11.1)

---
updated-dependencies:
- dependency-name: "@videojs/http-streaming"
  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-10-19 22:58:13 -07:00
dependabot[bot]
166ebecdae
Bump github.com/mattn/go-sqlite3 from 1.14.8 to 1.14.9 (#1480)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.8 to 1.14.9.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.8...v1.14.9)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  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-10-19 22:33:53 -07:00
Noah Hall
4151739b9f strip any leading hash symbols from admin tag input using strings.TrimLeft 2021-10-19 16:28:56 +02:00
Gabe Kangas
95211f51b3 Update admin 2021-10-13 19:53:10 -07:00
mscherer
e42b0c5f2e Fix FAQ link 2021-10-13 13:22:58 +02:00
Gabe Kangas
e58b378aea Update vendored files for linguist 2021-10-12 18:20:11 -07:00
Tim Cooper
12eb59f611
refactor geoip (#1442)
- Introduce a new Client type to remove the global variables from the file
- Use the sync package to prevent race conditions with the cache and
  enabled flag
- Cache results for IPs, even if the result is nil

There are still data races around the client.Geo variable, but that can be
resolved in a future commit.
2021-10-12 13:21:37 -07:00
Gabe Kangas
01b3489287 Fix some pathing and caching issues with admin controller 2021-10-12 12:48:10 -07:00
Gabe Kangas
a58a1f67d6 Use webroot config value 2021-10-12 12:48:10 -07:00
Gabe Kangas
155eee81f0 Fix path to geoip db after test paths were changed 2021-10-12 12:48:10 -07:00