Commit graph

244 commits

Author SHA1 Message Date
Gabe Kangas
97a86ec388 Add data dir to Dockerfile 2020-12-13 23:09:55 -08:00
Gabe Kangas
ce4cb44412 Add latest tag to docker build 2020-12-13 22:29:29 -08:00
dependabot[bot]
5b22b22308
Bump @joeattardi/emoji-button from 4.5.1 to 4.6.0 in /build/javascript (#413)
* Bump @joeattardi/emoji-button from 4.5.1 to 4.6.0 in /build/javascript

Bumps [@joeattardi/emoji-button](https://github.com/joeattardi/emoji-button) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/joeattardi/emoji-button/releases)
- [Commits](https://github.com/joeattardi/emoji-button/compare/v4.5.1...v4.6.0)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-12-04 14:13:27 -08:00
dependabot[bot]
cb1f183ca1
Bump @joeattardi/emoji-button from 4.5.0 to 4.5.1 in /build/javascript (#395)
Bumps [@joeattardi/emoji-button](https://github.com/joeattardi/emoji-button) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/joeattardi/emoji-button/releases)
- [Commits](https://github.com/joeattardi/emoji-button/compare/v4.5.0...v4.5.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-24 00:28:25 -08:00
dependabot[bot]
cc78564c64
Bump @videojs/http-streaming from 2.3.0 to 2.3.1 in /build/javascript (#386)
* Bump @videojs/http-streaming from 2.3.0 to 2.3.1 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/videojs/http-streaming/releases)
- [Changelog](https://github.com/videojs/http-streaming/blob/v2.3.1/CHANGELOG.md)
- [Commits](https://github.com/videojs/http-streaming/compare/v2.3.0...v2.3.1)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-19 22:45:10 -08:00
Gabe Kangas
d4426f1dff
Make default config file simpler. Closes #364 (#375) 2020-11-19 08:48:33 -08:00
dependabot[bot]
9c1d23ad08
Bump postcss-cli from 8.2.0 to 8.3.0 in /build/javascript (#380)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 8.2.0 to 8.3.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.2.0...8.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 22:57:28 -08:00
Gabe Kangas
8ab5e0797e Fix TailwindCSS build missing classes 2020-11-17 22:10:24 -08:00
Gabe Kangas
437b3063f8 Put content.md in data dir during build 2020-11-17 20:27:14 -08:00
Matt Steele
aeb221b32f
Do not highlight usernames inside links (#366)
sweet!

* Do not highlight usernames  inside words

Fixes #156

* Do not search on separate words

* Add accuracy options to markjs
2020-11-17 17:29:03 -08:00
dependabot[bot]
92fa5b5c8c
Bump @joeattardi/emoji-button from 4.4.0 to 4.5.0 in /build/javascript (#370)
* Bump @joeattardi/emoji-button from 4.4.0 to 4.5.0 in /build/javascript

Bumps [@joeattardi/emoji-button](https://github.com/joeattardi/emoji-button) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/joeattardi/emoji-button/releases)
- [Commits](https://github.com/joeattardi/emoji-button/compare/v4.4.0...v4.5.0)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-16 22:45:13 -08:00
dependabot[bot]
4f4a13540f
Bump @joeattardi/emoji-button from 4.3.0 to 4.4.0 in /build/javascript (#367)
* Bump @joeattardi/emoji-button from 4.3.0 to 4.4.0 in /build/javascript

Bumps [@joeattardi/emoji-button](https://github.com/joeattardi/emoji-button) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/joeattardi/emoji-button/releases)
- [Commits](https://github.com/joeattardi/emoji-button/compare/v4.3.0...v4.4.0)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-16 17:38:12 -08:00
dependabot[bot]
c76b7229a5
Bump preact from 10.5.5 to 10.5.7 in /build/javascript (#360)
* Bump preact from 10.5.5 to 10.5.7 in /build/javascript

Bumps [preact](https://github.com/preactjs/preact) from 10.5.5 to 10.5.7.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.5.5...10.5.7)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-12 22:59:02 -08:00
Gabe Kangas
1dbd550134
Bundle and serve admin (#317)
* WIP with admin bundling

* Current state of the admin is bundled

* Update admin bundler to work with binary bundling

* Log detail about the admin interface. Closes #312

* Move bundle script to the build dir

* Update to current version of admin

* Commit updated API documentation

Co-authored-by: Owncast <owncast@owncast.online>
2020-11-06 15:12:35 -08:00
dependabot[bot]
2517e9944e
Bump @videojs/http-streaming from 2.2.4 to 2.3.0 in /build/javascript (#327)
* Bump @videojs/http-streaming from 2.2.4 to 2.3.0 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.2.4 to 2.3.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.2.4...v2.3.0)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-05 23:08:53 -08:00
dependabot[bot]
cf6609496c
Bump video.js from 7.8.3 to 7.10.2 in /build/javascript (#326)
* Bump video.js from 7.8.3 to 7.10.2 in /build/javascript

Bumps [video.js](https://github.com/videojs/video.js) from 7.8.3 to 7.10.2.
- [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.8.3...v7.10.2)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-05 22:54:56 -08:00
dependabot[bot]
c2f94c4e6c
Bump @videojs/http-streaming from 2.2.0 to 2.2.4 in /build/javascript (#322)
* Bump @videojs/http-streaming from 2.2.0 to 2.2.4 in /build/javascript

Bumps [@videojs/http-streaming](https://github.com/videojs/http-streaming) from 2.2.0 to 2.2.4.
- [Release notes](https://github.com/videojs/http-streaming/releases)
- [Changelog](https://github.com/videojs/http-streaming/blob/v2.2.4/CHANGELOG.md)
- [Commits](https://github.com/videojs/http-streaming/compare/v2.2.0...v2.2.4)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-03 22:44:18 -08:00
dependabot[bot]
9ae3f1a267
Bump @joeattardi/emoji-button from 4.2.0 to 4.3.0 in /build/javascript (#319)
* Bump @joeattardi/emoji-button from 4.2.0 to 4.3.0 in /build/javascript

Bumps [@joeattardi/emoji-button](https://github.com/joeattardi/emoji-button) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/joeattardi/emoji-button/releases)
- [Commits](https://github.com/joeattardi/emoji-button/compare/v4.2.0...v4.3.0)

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

* Commit updated Javascript packages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-11-03 18:48:09 -08:00
Gabe Kangas
6bf0826e62 Move build script to build directory 2020-11-03 00:46:18 -08:00
dependabot[bot]
bd6cdb96f0
Bump postcss-cli from 8.1.0 to 8.2.0 in /build/javascript (#310)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 8.1.0 to 8.2.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.1.0...8.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 23:57:37 -07:00
Gabe Kangas
6fb006f7e5
Update package.json 2020-10-28 14:59:17 -07:00
Gabe Kangas
2b555ce42f
Test commit to see if workflow fires propertly 2020-10-28 14:56:21 -07:00
dependabot[bot]
e17c26bead
Bump @videojs/themes from 1.0.0 to 1.0.1 in /build/javascript (#302)
Bumps @videojs/themes from 1.0.0 to 1.0.1.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-28 13:22:46 -07:00
Gabe Kangas
6d0aa4bdd1
Create a production build of Tailwind at release time (#292)
* Add support for purging tailwind styles. For #224

* Build prod version of tailwind in build script
2020-10-26 08:49:33 -07:00
dependabot[bot]
8d0688d425
Bump tailwindcss from 1.9.5 to 1.9.6 in /build/javascript (#293)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 1.9.5 to 1.9.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.9.5...v1.9.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 01:05:00 -07:00
Gabe Kangas
72de85bc10
Add Javascript update Github Actions workflow (#275)
* JS update workflow

* Update package.json to see if workflow fires properly

* Commit updated Javascript packages

Co-authored-by: Owncast <owncast@owncast.online>
2020-10-20 18:38:37 -07:00
Gabe Kangas
c6eeb1d208 jesus stop commiting node_modules you stupid github action 2020-10-20 15:24:40 -07:00
dependabot[bot]
5d00851db3
Bump tailwindcss from 1.9.4 to 1.9.5 in /build/javascript (#272)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.9.4...v1.9.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 15:23:33 -07:00
dependabot[bot]
dab7914eab
Bump @justinribeiro/lite-youtube from 0.9.0 to 0.9.1 in /build/javascript (#273)
* Commit updated Javascript packages

* Bump preact from 10.5.4 to 10.5.5 in /build/javascript (#265)

* Trying a new github workflow to install javascript packages

* Bump tailwindcss from 1.9.2 to 1.9.4 in /build/javascript (#266)

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 1.9.2 to 1.9.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.9.2...v1.9.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Commit updated Javascript packages

* Bump preact from 10.5.4 to 10.5.5 in /build/javascript

Bumps [preact](https://github.com/preactjs/preact) from 10.5.4 to 10.5.5.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.5.4...10.5.5)

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

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>

* Bump @justinribeiro/lite-youtube in /build/javascript

Bumps [@justinribeiro/lite-youtube](https://github.com/justinribeiro/lite-youtube) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/justinribeiro/lite-youtube/releases)
- [Commits](https://github.com/justinribeiro/lite-youtube/commits)

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

Co-authored-by: Owncast <owncast@owncast.online>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2020-10-20 15:15:56 -07:00
Gabe Kangas
205ef8926e These files should not be added 2020-10-19 22:22:33 -07:00
Gabe Kangas
226242f07b Another test of the workflow 2020-10-19 22:16:54 -07:00
Owncast
8425930eed Commit updated Javascript packages 2020-10-20 05:15:30 +00:00
Gabe Kangas
3f50ce9bfc Revert "Commit updated Javascript packages"
This reverts commit a88734348a.
2020-10-19 22:14:27 -07:00
Owncast
a88734348a Commit updated Javascript packages 2020-10-20 05:04:18 +00:00
Gabe Kangas
5d03ecb694 Test workflow commit 2020-10-19 22:03:24 -07:00
Gabe Kangas
73ca2c2464 We use npx to run snowpack so it is not needed to install 2020-10-16 11:49:41 -07:00
dependabot[bot]
c9cf80d388
Bump snowpack from 2.14.0 to 2.14.1 in /build/javascript (#259)
Bumps [snowpack](https://github.com/pikapkg/snowpack) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/pikapkg/snowpack/releases)
- [Commits](https://github.com/pikapkg/snowpack/compare/snowpack@2.14.0...snowpack@2.14.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 00:34:49 -07:00
dependabot[bot]
b261637260
Bump tailwindcss from 1.8.10 to 1.9.2 in /build/javascript (#243)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 1.8.10 to 1.9.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.8.10...v1.9.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 15:45:36 -07:00
dependabot[bot]
0df7e0d555
Bump preact from 10.5.3 to 10.5.4 in /build/javascript (#245)
Bumps [preact](https://github.com/preactjs/preact) from 10.5.3 to 10.5.4.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.5.3...10.5.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 14:32:04 -07:00
dependabot[bot]
15fb2fd729
Bump snowpack from 2.12.1 to 2.14.0 in /build/javascript (#246)
Bumps [snowpack](https://github.com/pikapkg/snowpack) from 2.12.1 to 2.14.0.
- [Release notes](https://github.com/pikapkg/snowpack/releases)
- [Commits](https://github.com/pikapkg/snowpack/compare/snowpack@2.12.1...snowpack@2.14.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 14:31:12 -07:00
Gabe Kangas
6ea9affce0
HLS video handling/storage/state refactor (#151)
* WIP with new transcoder progress monitor

* A whole different WIP in progress monitoring via local PUTs

* Use an actual hls playlist parser to rewrite master playlist

* Cleanup

* Private vs public path for thumbnail generation

* Allow each storage provider to make decisions of how to store different types of files

* Simplify inbound file writes

* Revert

* Split out set stream as connected/disconnected state methods

* Update videojs

* Add comment about the hls handler

* Rework of the offline stream state.  For #85

* Delete old unreferenced video segment files from disk

* Cleanup all segments and revert to a completely offline state after 5min

* Stop thumbnail generation on stream stop. Copy logo to thumbnail on cleanup.

* Update transcoder test

* Add comment

* Return http 200 on success to transcoder. Tweak how files are written to disk

* Force pixel color format in transcoder

* Add debugging info for S3 transfers. Add default ACL.

* Fix cleanup timer

* Reset session stats when we cleanup the session.

* Put log file back

* Update test

* File should not be a part of this commit

* Add centralized shared performance timer for use anywhere

* Post-rebase cleanup

* Support returning nil from storage provider save

* Updates to reflect package changes + other updates in master

* Fix storage providers being overwritten

* Do not return pointer in save. Support cache headers with S3 providers

* Split out videojs + vhs and point to specific working versions of them

* Bump vjs and vhs versions

* Fix test

* Remove unused

* Update upload warning message

* No longer valid comment

* Pin videojs and vhs versions
2020-10-14 14:07:38 -07:00
Gabe Kangas
d7c3991b59
Render and sanitize chat messages server-side. (#237)
* Render and sanitize chat messages server-side. Closes #235

* Render content.md server-side and return it in the client config

* Remove showdown from web project

* Update api spec

* Move example user content file
2020-10-13 16:45:52 -07:00
Gabe Kangas
d39003b88a Add 3rd party web dependency instructions 2020-10-06 10:51:37 -07:00
Gabe Kangas
27a4c8c895
Move all remote dependencies to be local (#220)
* Experiment with javascript bundling

* Experiment with snowpack. Making progress

* Success!  Uses local js modules and assets and no cdns

* Missing local css
2020-10-04 18:43:31 -07:00