Commit graph

9041 commits

Author SHA1 Message Date
dependabot[bot]
6b4fab9467 Bump @ant-design/icons from 4.6.4 to 4.7.0 (#316)
Bumps [@ant-design/icons](https://github.com/ant-design/ant-design-icons) from 4.6.4 to 4.7.0.
- [Release notes](https://github.com/ant-design/ant-design-icons/releases)
- [Commits](https://github.com/ant-design/ant-design-icons/commits)

---
updated-dependencies:
- dependency-name: "@ant-design/icons"
  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-26 19:39:14 -07:00
dependabot[bot]
1fff12c466 Bump sass from 1.42.0 to 1.42.1 (#315)
Bumps [sass](https://github.com/sass/dart-sass) from 1.42.0 to 1.42.1.
- [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.0...1.42.1)

---
updated-dependencies:
- dependency-name: sass
  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-22 19:25:15 -07:00
Owncast
7860fe78dc Commit updated API documentation 2021-09-23 00:36:22 +00:00
Gabe Kangas
02a5e9f9fa Bump API doc version 2021-09-22 17:35:18 -07:00
dependabot[bot]
5d9128d35a
Bump postcss from 8.3.6 to 8.3.7 in /build/javascript (#1420)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.6 to 8.3.7.
- [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.6...8.3.7)

---
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-22 17:29:40 -07:00
dependabot[bot]
73b5c2f755
Bump ansi-regex from 5.0.0 to 5.0.1 in /build/javascript (#1422)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 17:29:08 -07:00
dependabot[bot]
3d44b6890c
Bump nth-check from 2.0.0 to 2.0.1 in /test/load (#1421)
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 17:20:40 -07:00
dependabot[bot]
0b36b3cf5b Bump eslint-plugin-react from 7.25.0 to 7.26.0 (#314)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.0...v7.26.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  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-21 18:52:32 -07:00
Gabe Kangas
db22931fb5
Do not send user joined messages for already active users (#1416)
* Do not send user joined messages for active users

* Reduce from active within 10min to 5
2021-09-21 14:06:23 -07:00
Gabe Kangas
9ecb51f680 Update admin bundle 2021-09-21 13:57:27 -07:00
Gabe Kangas
31ebe58dde Try using ref instead of head_ref in checkout action to maybe fix fork linter failures. 2021-09-21 13:52:06 -07:00
Sy Tran Dung
92c79ced92 Bump react-markdown from 6.0.3 to 7.0.1 (#313) 2021-09-21 13:46:40 -07:00
Gabe Kangas
5faecda24e Fix spelling 2021-09-21 11:40:28 -07:00
Gabe Kangas
296f5d13f5 Fix error message about missing ffmpeg 2021-09-20 18:13:38 -07:00
dependabot[bot]
ef11892708 Bump sass from 1.41.1 to 1.42.0 (#312)
Bumps [sass](https://github.com/sass/dart-sass) from 1.41.1 to 1.42.0.
- [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.41.1...1.42.0)

---
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-09-20 18:05:01 -07:00
dependabot[bot]
a29b4a1990 Bump date-fns from 2.23.0 to 2.24.0 (#311)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.23.0 to 2.24.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.23.0...v2.24.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-09-19 21:15:22 -07:00
Gabe Kangas
e81d41d092 Explicitly add unsafe-eval only when running automated browser tests 2021-09-18 10:06:47 -07:00
Gabe Kangas
cc6b257470
Automated browser testing (#1415)
* Move automated api tests to api directory

* First pass at automated browser testing
2021-09-17 14:04:09 -07:00
Y.Horie
5fc8465746
Enable CORS in the hls handler (#1411) 2021-09-17 13:54:44 -07:00
dependabot[bot]
074a7502dd Bump prettier from 2.4.0 to 2.4.1 (#309)
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: prettier
  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-17 13:54:01 -07:00
dependabot[bot]
071b7f2c03 Bump sass from 1.41.0 to 1.41.1 (#310)
Bumps [sass](https://github.com/sass/dart-sass) from 1.41.0 to 1.41.1.
- [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.41.0...1.41.1)

---
updated-dependencies:
- dependency-name: sass
  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-17 13:53:51 -07:00
Gabe Kangas
5f3cecced5 Expand CSP 2021-09-17 02:22:43 -07:00
Christian
1c875243f3
Add hashes for standalone video/chat (#1413) 2021-09-17 02:08:19 -07:00
Owncast
44293ef7be Commit updated Javascript packages 2021-09-16 20:02:34 +00:00
dependabot[bot]
34215eb558
Bump video.js from 7.14.3 to 7.15.4 in /build/javascript (#1412)
Bumps [video.js](https://github.com/videojs/video.js) from 7.14.3 to 7.15.4.
- [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.14.3...v7.15.4)

---
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-09-16 13:01:29 -07:00
dependabot[bot]
6730669c04 Bump sass from 1.40.0 to 1.41.0 (#307)
Bumps [sass](https://github.com/sass/dart-sass) from 1.40.0 to 1.41.0.
- [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.40.0...1.41.0)

---
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-09-14 18:05:45 -07:00
dependabot[bot]
913ff52168 Bump rc-util from 5.13.2 to 5.14.0 (#308)
Bumps [rc-util](https://github.com/react-component/util) from 5.13.2 to 5.14.0.
- [Release notes](https://github.com/react-component/util/releases)
- [Changelog](https://github.com/react-component/util/blob/master/HISTORY.md)
- [Commits](https://github.com/react-component/util/compare/v5.13.2...v5.14.0)

---
updated-dependencies:
- dependency-name: rc-util
  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-14 18:05:27 -07:00
Gabe Kangas
0b9ad4efdc Update admin bundle 2021-09-13 18:51:05 -07:00
dependabot[bot]
03bc1068a8 Bump sass from 1.39.2 to 1.40.0 (#306)
Bumps [sass](https://github.com/sass/dart-sass) from 1.39.2 to 1.40.0.
- [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.39.2...1.40.0)

---
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-09-13 18:49:18 -07:00
Paul Lindner
d411ab86dc
Adjust allowed bot list to allow for link previews in WhatsApp and Signal (#1401)
See signalapp/Signal-Android#10060 for how Signal uses their UA

Fixes #1392
2021-09-13 17:14:30 -07:00
dependabot[bot]
9e33a1bff2
Bump github.com/yuin/goldmark from 1.4.0 to 1.4.1 (#1399)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.0...v1.4.1)

---
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-09-13 14:18:09 -07:00
Paul Lindner
4a04ecddd7
Adjust error messages to conform to Go best practices (#1400)
https://github.com/golang/go/wiki/CodeReviewComments#error-strings
2021-09-13 14:08:10 -07:00
Owncast
3390385508 Commit updated API documentation 2021-09-13 08:27:08 +00:00
Ruffy
9c484efd36
Feature/oc 1316 add support for system message to single user (#1351)
* add public func to lookup a ChatClient by its clientId

* add facility to send a system message directly to a user

* add clientId field to UserEvent

* implement simple http endpoint to send a message to a user

* let mux handle new directSystemMessageToUser endpoint

* add ClientId to UserEvents across the codebase

* render body of system-message to client

* add clientId to Chat-Message

* add tests showing how url-parsing should work

* add simple rest endpoint helpers for parameter-parsing and easy routing

* use newly added rest-endpoint helper to rout to Client-Messaging controller

* use safe "ReadRestUrlParameter" to parse ClientId

* remove empty HandleFunc in router

* set Header directly to prevent built-in (platform-dependent) canonicalization to kick in

* fix typo in "Parameter" message

* remove debug-logging of HTTP headers in REST-helpers

* convert to uint32 to prevent overruns when converting to wraptype uint later on

* resolve linter-ouchies

* resolve linter potential nil-deref warning

* document the SendSystemMessageToClient endpoint in swaggerdoc

* remove clientId assignment causing potential nil dereference in userDisabledEvent-case

as the clientId isn't relevant here anyway

* make findClientById private, so its not accessible outside of core/chat

* remove redundant string type hint

* Update PR based on linter requirements

Co-authored-by: Raffael Rehberger <raffael@rtrace.io>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2021-09-13 01:26:28 -07:00
Gabe Kangas
608888317b Have nightly build create a production build of tailwind 2021-09-13 00:06:10 -07:00
Gabe Kangas
1b053ffd1b
Simplify HLS storage paths (#1393)
* Remove private vs public HLS paths and add a HLS controller. Closes #875

* Use http.ServeFile instead
2021-09-12 11:32:42 -07:00
Gabe Kangas
b92ad00926 Reduce the production build of TailwindCSS from 2M to 12k 2021-09-12 01:20:13 -07:00
Gabe Kangas
c6c6f0233d
Expanded linting + fix warnings (#1396)
* Expand the linters and types of warnings to improve consistency and safety

* Fail lint workflow if there are errors

* golint has been replaced by revive

* Hand-pick some of the default exclude list

* Ignore error when trying to delete preview gif

* Ignore linter warning opening playlist path

* Rename user field Id -> ID

* A bunch of renames to address linter warnings

* Rename ChatClient -> Client per linter suggestion best practice

* Rename ChatServer -> Server per linter suggestion best practice

* More linter warning fixes

* Add missing comments to all exported functions and properties
2021-09-12 00:18:15 -07:00
Gabe Kangas
70e9f4945f Simplify repo Readme and focus on building/running/contributing and less about features 2021-09-10 16:21:38 -07:00
Meisam
9589c8e11a rename the "Disable chat" switch to a simple "Chat" (#286)
* change chat config lable

* reverse the chat enable UI

* add reversed to toggle switch props
2021-09-10 15:08:15 -07:00
Jannik
511805062e
Create CONTRIBUTING.md (#1394)
As requested by https://hacktoberfest.digitalocean.com/resources/maintainers .
2021-09-10 12:36:42 -07:00
dependabot[bot]
718ced0fda Bump prettier from 2.3.2 to 2.4.0 (#304)
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.0)

---
updated-dependencies:
- dependency-name: prettier
  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-09 18:10:27 -07:00
dependabot[bot]
6ed6cf7399 Bump sass from 1.39.0 to 1.39.2 (#305)
Bumps [sass](https://github.com/sass/dart-sass) from 1.39.0 to 1.39.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.39.0...1.39.2)

---
updated-dependencies:
- dependency-name: sass
  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-09 18:10:11 -07:00
dependabot[bot]
d2a3f210d6 Bump @types/node from 16.7.1 to 16.9.0 (#303)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.7.1 to 16.9.0.
- [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-08 18:15:02 -07:00
Gabe Kangas
2cd358d367 Mark micromodal as vendored 2021-09-07 11:04:09 -07:00
dependabot[bot]
83ad71a906 Bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.31.0 (#302)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.30.0 to 4.31.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.31.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-06 18:41:19 -07:00
dependabot[bot]
f7c94976ff Bump @typescript-eslint/parser from 4.30.0 to 4.31.0 (#301)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.30.0 to 4.31.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.31.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-06 18:38:46 -07:00
Owncast
4c158ea588 Commit updated Javascript packages 2021-09-06 19:36:35 +00:00
dependabot[bot]
aa19d8a2c1
Bump @videojs/http-streaming from 2.10.2 to 2.10.3 in /build/javascript (#1386)
Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.10.2 to 2.10.3.
- [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.2...v2.10.3)

---
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-09-06 12:35:31 -07:00
Halil İbrahim Kocaöz
d90b02e50b
fix moved transcoding error links (#1381) 2021-09-05 18:07:02 -07:00