Commit graph

7923 commits

Author SHA1 Message Date
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]
180e31a796
Bump github.com/aws/aws-sdk-go from 1.35.8 to 1.35.10 (#271)
* 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 github.com/aws/aws-sdk-go from 1.35.8 to 1.35.10

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.8 to 1.35.10.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.8...v1.35.10)

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:21:49 -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
fb4a822cd8 Removing javascript workflow because it keeps commiting node_modules to the repo 2020-10-20 00:29:33 -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
Gabe Kangas
2987b6a87c Update workflow 2020-10-19 22:16:37 -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
22f37df2a6 Trying a new github workflow to install javascript packages 2020-10-19 21:57:10 -07:00
Gabe Kangas
1290c757a2 Add cleanup to test content script 2020-10-19 21:42:52 -07:00
Gabe Kangas
ea9579d899 Add multiple variants to the transcoder test 2020-10-19 21:34:42 -07:00
gingervitis
120bfb56e3
Merge pull request #264 from owncast/gek/update-chat-styling
Update chat styling
Look great.
2020-10-17 19:22:53 -07:00
Ginger Wong
03a6eb3cee optmized lines 2020-10-17 19:21:43 -07:00
Gabe Kangas
7dcc89a841 Add system chat message support to messages query 2020-10-16 17:50:00 -07:00
Gabe Kangas
f4815e331c Update chat styling 2020-10-16 17:46:44 -07:00
Gabe Kangas
1b821e4c4e Add a link to rocket.chat in the contact section of the readme 2020-10-16 16:12:49 -07:00
dependabot[bot]
9a8b9ad2e0
Bump github.com/aws/aws-sdk-go from 1.35.7 to 1.35.8 (#260)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.7 to 1.35.8.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.7...v1.35.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 15:05:47 -07:00
bitspill
bfbac8cc57
Variable collisions; Possible use of nil value (#256)
* Variable '*' collides with imported package name

* Variable 'error' collides with builtin interface

* '*' may have 'nil' or other unexpected value as its corresponding error variable may be not 'nil'
2020-10-16 15:04:31 -07:00
Gabe Kangas
3812e6345f Fix typo 2020-10-16 13:57:23 -07:00
Gabe Kangas
30c9bbe966 Size logo properly with the user image 2020-10-16 13:53:43 -07:00
Gabe Kangas
f9039acadb Use SVG for default logos. Closes #261 2020-10-16 13:38:30 -07:00
Gabe Kangas
90ddf4f1b6 Remove yp section from config since we are not ready for it yet 2020-10-16 13:23:05 -07:00
Gabe Kangas
627f6ebbe3 Remove rogue file 2020-10-16 11:51:29 -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
Gabe Kangas
3ff993c2bc Stop logging every file that is uploaded 2020-10-16 10:08:23 -07:00
Gabe Kangas
b9a80709ab Decrease the amount of time before the stream is made available to the player 2020-10-16 10:08:23 -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
Gabe Kangas
eb0ee4dd8a Catch db error and show frienlier message. Closes #252 2020-10-15 17:57:32 -07:00
Gabe Kangas
8f740c4cb6 Cleanup private and optinally public segments on a timer instead of after every save. Closes #254 2020-10-15 17:50:17 -07:00
Gabe Kangas
2d71337146 Rename functions to be clearer that it is for offline cleanup 2020-10-15 16:17:33 -07:00
Gabe Kangas
d403fd20f1 Do not auto-delete file on storage save. Add firing cleanup method 2020-10-14 17:32:02 -07:00
Gabe Kangas
2647b3fac8 Remove unused value 2020-10-14 17:00:35 -07:00
Gabe Kangas
5e45c53b87 Fix YP not being fired post-merges 2020-10-14 16:46:04 -07:00
dependabot[bot]
c960ccd455
Bump github.com/mattn/go-sqlite3 from 1.14.0 to 1.14.4 (#251)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.0 to 1.14.4.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.0...v1.14.4)

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:54 -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]
b9c42fab25
Bump github.com/aws/aws-sdk-go from 1.34.0 to 1.35.7 (#250)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.0 to 1.35.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.34.0...v1.35.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 15:31:04 -07:00
dependabot[bot]
afc0be55c8
Bump github.com/shirou/gopsutil (#249)
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) from 2.20.7+incompatible to 2.20.9+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v2.20.7...v2.20.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 15:05:59 -07:00
Gabe Kangas
97fa8d70a7 Configure dependabot 2020-10-14 14:40:44 -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]
9bb4db564a
Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0 (#248)
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.6.0...v1.7.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:31 -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
fc988e1846 Setup dependabot for 3rd party go and javascript code 2020-10-14 14:10:38 -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
gingervitis
57f2e4b567
Merge pull request #241 from jeyemwey/jv-119-remove-avatars
Remove Chat Avatars
Thanks for the cleanup! Looks great.
2020-10-14 11:16:58 -07:00
Gabe Kangas
64a85e68aa
Update extra page content API (#240)
* Mark change stream key api as pre-release

* Add API for changing extra page content. Renanme usercontent -> pagecontent. closes #236
2020-10-14 09:38:48 -07:00