Commit graph

9041 commits

Author SHA1 Message Date
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
dependabot[bot]
f2794c618d Bump eslint from 7.32.0 to 8.0.0 (#327)
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.0.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.0.0)

---
updated-dependencies:
- dependency-name: eslint
  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 14:49:14 -07:00
Owncast
822d107ee0 Commit updated Javascript packages 2021-10-11 21:38:53 +00:00
Gabe Kangas
3d1706496e Update + clean up old js module files 2021-10-11 14:37:41 -07:00
Gabe Kangas
b4fdd02460 Remove two images that are unused 2021-10-10 01:26:14 -07:00
gabek
10b0247291 Prettified Code! 2021-10-10 04:00:33 +00:00
Gabe Kangas
a6ba61079f Cap the number of renderable messages to increase performance 2021-10-09 20:59:45 -07:00
Gabe Kangas
a57409db13 Get rid of IP address sanity check.
Allow the router to return any binding errors directly. Closes #1398
2021-10-09 13:23:48 -07:00
Gabe Kangas
ac1cd9b901 Version constant bump 2021-10-08 21:00:29 -07:00
Gabe Kangas
7b097ccdd9
HLS tests for local and S3 storage. Closes #1457 (#1460) 2021-10-06 21:03:48 -07:00
Gabe Kangas
fb1c919e59
Fix the destination path. Closes #1455 (#1456) 2021-10-05 16:45:39 -07:00
leo
958c78641e
Replaces redirect of /embed URLs to return content directly. (#1453)
- Removes relative imports from embedded player, chat.
- Replaces `Redirect` calls with `ServeFile` in `embed.go`.
2021-10-05 13:29:18 -07:00
dependabot[bot]
57c73e0b2c
Bump postcss from 8.3.8 to 8.3.9 in /build/javascript (#1454)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.8 to 8.3.9.
- [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.8...8.3.9)

---
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-05 10:16:17 -07:00
dependabot[bot]
0f74468bce Bump @typescript-eslint/parser from 4.32.0 to 4.33.0 (#323)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.32.0 to 4.33.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/v4.33.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-05 01:27:08 -07:00
dependabot[bot]
1b21a26243 Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0 (#322)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.32.0 to 4.33.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/v4.33.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-04 18:04:03 -07:00
dependabot[bot]
cee186bc0a
Bump github.com/shirou/gopsutil (#1450)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 3.21.8+incompatible to 3.21.9+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.8...v3.21.9)

---
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-10-04 16:29:01 -07:00
Tim Cooper
3717a2ebeb
fix insecure math/rand use for access token generation (#1441) 2021-10-01 12:46:42 -07:00
Tim Cooper
fe47c99ac2
do not pass http.ResponseWriter as pointer to EnableCors (#1440) 2021-10-01 12:40:13 -07:00
dependabot[bot]
fa77f6396d
Bump postcss-cli from 9.0.0 to 9.0.1 in /build/javascript (#1438)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 9.0.0 to 9.0.1.
- [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.0...9.0.1)

---
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-09-29 16:45:51 -07:00
Owncast
d621a1793a Commit updated API documentation 2021-09-29 23:37:09 +00:00
Gabe Kangas
09bb48b696 Bump dev version number 2021-09-29 16:36:30 -07:00
Gabe Kangas
22fbfec7d3
Create a simple PR template
Preparing for Hacktoberfest.
2021-09-29 13:50:28 -07:00
dependabot[bot]
b897f51e10 Bump react-chartkick from 0.5.1 to 0.5.2 (#321)
Bumps [react-chartkick](https://github.com/ankane/react-chartkick) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/ankane/react-chartkick/releases)
- [Changelog](https://github.com/ankane/react-chartkick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/react-chartkick/compare/v0.5.1...v0.5.2)

---
updated-dependencies:
- dependency-name: react-chartkick
  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-09-28 18:27:30 -07:00
dependabot[bot]
d387a4d677
Bump postcss from 8.3.7 to 8.3.8 in /build/javascript (#1436)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.7 to 8.3.8.
- [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.7...8.3.8)

---
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-09-28 12:20:47 -07:00
dependabot[bot]
232ad5b4fa Bump @typescript-eslint/parser from 4.31.0 to 4.32.0 (#319)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.0 to 4.32.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/v4.32.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-09-27 21:53:46 -07:00
dependabot[bot]
817bc7e7aa Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.32.0 (#320)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.0 to 4.32.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/v4.32.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-09-27 21:39:17 -07:00
Owncast
77f96cd7b0 Commit updated Javascript packages 2021-09-28 00:21:51 +00:00
dependabot[bot]
3edfa5ec78
Bump @videojs/http-streaming from 2.10.3 to 2.11.0 in /build/javascript (#1424)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.10.3 to 2.11.0.
- [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.10.3...v2.11.0)

---
updated-dependencies:
- dependency-name: "@videojs/http-streaming"
  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-09-27 17:20:47 -07:00
dependabot[bot]
a46a41ed23
Bump golang.org/x/mod from 0.5.0 to 0.5.1 (#1425)
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/golang/mod/releases)
- [Commits](https://github.com/golang/mod/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  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-09-27 17:20:20 -07:00
dependabot[bot]
11b11f382e
Bump postcss-cli from 8.3.1 to 9.0.0 in /build/javascript (#1433)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 8.3.1 to 9.0.0.
- [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/8.3.1...9.0.0)

---
updated-dependencies:
- dependency-name: postcss-cli
  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-09-27 11:30:44 -07:00
dependabot[bot]
092829b3a3 Bump @types/node from 16.9.0 to 16.10.1 (#317)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.0 to 16.10.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-09-26 19:39:55 -07:00
dependabot[bot]
38530f6553 Bump react-markdown-editor-lite from 1.3.0 to 1.3.1 (#318)
Bumps [react-markdown-editor-lite](https://github.com/HarryChen0506/react-markdown-editor-lite) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/HarryChen0506/react-markdown-editor-lite/releases)
- [Commits](https://github.com/HarryChen0506/react-markdown-editor-lite/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: react-markdown-editor-lite
  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-09-26 19:39:35 -07:00