Commit graph

3922 commits

Author SHA1 Message Date
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
dependabot[bot]
3a0223935e Bump sass from 1.43.2 to 1.43.3 (#339) 2021-10-21 18:36:22 -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]
d83bf45dc5 Bump @typescript-eslint/parser from 5.0.0 to 5.1.0 (#336)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.1.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  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-10-19 22:42:57 -07:00
dependabot[bot]
e0d8dfa121 Bump @types/node from 16.10.1 to 16.11.1 (#335)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.1 to 16.11.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  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-10-19 22:36:16 -07:00
dependabot[bot]
7a27768338 Bump @typescript-eslint/eslint-plugin from 5.0.0 to 5.1.0 (#337)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.1.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  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-10-19 22:35:29 -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
Gabe Kangas
4b62583a25 config-path -> config_path 2021-10-13 19:26:12 -07:00
controlfreak
e7e757a53e framerates #1138 (#326)
* framerates #1138


https://github.com/owncast/owncast/issues/1138#
This is a technically correct and low to no risk making the low end default 25.

now has 25 default, 30, 50, 60 and outrageous. This is a good balance as the standard in NA and Japan and such and such is still 30/60 and EU etc is 25/50. So I've just piggybacked the same description for 50 and 60 options and tacked an EU and NA on them.

Pardon my ignorance but I cannot find where the heck the default visual stream options name only is being generated. I've tried reinstalling owncast on top my edited admin no dice.

tested with all variants individual and stacked with no issues.

* Update config-constants.tsx

per discussion reintroduced the 24fps default thus removing any paradox with the core code text visual naming
removed NA , EU references

re-tested
2021-10-13 18:46:21 -07:00
Joshua T
4661cb67aa Move offline-notice component to components dir (#331) 2021-10-13 18:44:07 -07:00
dependabot[bot]
d7e9041033 Bump @typescript-eslint/parser from 4.33.0 to 5.0.0 (#332)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.33.0 to 5.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.0.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 18:43:44 -07:00
gabek
dc0bf6db89 Prettified Code! 2021-10-14 01:22:18 +00:00
Gabe Kangas
5b2d215c52 Update eslint workflow. Set nextjs default rules. 2021-10-13 18:21:51 -07:00
dependabot[bot]
a22ad8e122 Bump sass from 1.42.1 to 1.43.2 (#333)
Bumps [sass](https://github.com/sass/dart-sass) from 1.42.1 to 1.43.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.42.1...1.43.2)

---
updated-dependencies:
- dependency-name: sass
  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-10-13 18:15:40 -07:00
Gabe Kangas
8a435cc23c Revert "Bump @typescript-eslint/parser from 4.33.0 to 5.0.0 (#330)"
This reverts commit 92ec59227cf0ab28bfd8382221ce2fab0ace3baa.
2021-10-13 09:54:54 -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
dependabot[bot]
572055eb9b Bump @typescript-eslint/parser from 4.33.0 to 5.0.0 (#330)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.33.0 to 5.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.0.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 18:08:33 -07:00
dependabot[bot]
a87e73df03 Bump eslint-plugin-import from 2.24.0 to 2.25.2 (#329)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.24.0 to 2.25.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.0...v2.25.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  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-10-12 18:08:09 -07:00
Gabe Kangas
577ec61913 Split up linter and formatter 2021-10-12 13:51:33 -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
Spanner_Man
9159cdd22a
Fix Dockerfile to be read in Plesk (#1463)
Plesk Docker Extension reads `EXPOSE` as part of the build process
2021-10-12 11:31:58 -07:00
dependabot[bot]
8739550818
Bump github.com/aws/aws-sdk-go from 1.40.0 to 1.41.0 (#1469)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.0 to 1.41.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.40.0...v1.41.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-10-12 11:08:45 -07:00
dependabot[bot]
baa04761a1 Bump @typescript-eslint/eslint-plugin from 4.33.0 to 5.0.0 (#328)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.33.0 to 5.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.0.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:08:21 -07:00
Tim Cooper
9a912d5385
remove global variables from core/storageproviders (#1444) 2021-10-11 16:29:36 -07:00
Gabe Kangas
8098304967 Mark static as vendored 2021-10-11 15:31:40 -07:00
Gabe Kangas
ca9d5de192
Embed static resources (#1466)
* Replace pkger with go:embed for bundling the admin. Closes #844

* Remove references to pkged.go

* Point tests to use an updated version of Go

* Add comment to new exported function

* Cleanup

* Add a dummy pkged.go to alert people to stop using it.

* Add simple browser test to make sure the admin is available and renders

* Don't panic

* Embed bot/scraper metadata template.

Add browser test to validate the rendering of this template.

* Use embedded offline.ts segment

* Remove placeholder thumbnail as its unnecessary

* Remove copying the static directory into the release

* Cleanup
2021-10-11 15:04:16 -07:00
Gabe Kangas
f0bd7d2528
Replace pkger with go:embed for bundling the admin. Closes #844 (#1464)
* Replace pkger with go:embed for bundling the admin. Closes #844

* Remove references to pkged.go

* Point tests to use an updated version of Go

* Add comment to new exported function

* Cleanup

* Add a dummy pkged.go to alert people to stop using it.

* Add simple browser test to make sure the admin is available and renders

* Don't panic
2021-10-11 14:56:00 -07:00
dependabot[bot]
1aba2f953d Bump date-fns from 2.24.0 to 2.25.0 (#324)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.24.0...v2.25.0)

---
updated-dependencies:
- dependency-name: date-fns
  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-10-11 14:49:57 -07:00