Commit graph

571 commits

Author SHA1 Message Date
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
Jannik Volkland
606ccb6c14 Remove message image from go code 2020-10-14 13:47:39 +02:00
Jannik Volkland
146e6d342c Remove avatars from frontend 2020-10-14 13:33:55 +02: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
9eab6d7553 Specify that these APIs are for v0.0.3 2020-10-12 10:52:12 -07:00
Gabe Kangas
962267106e Update demo links 2020-10-11 16:55:39 -07:00
gingervitis
25ef2fc66e
Merge pull request #231 from owncast/gek/remove-status-bar-values
Remove additional viewer counts from status bar.
2020-10-08 21:44:27 -07:00
Gabe Kangas
250dcf1d75 make logo fit size of user image avatar circle. closes #230 2020-10-08 21:15:46 -07:00
Gabe Kangas
ce14e0d0a7 Remove additional viewer counts from status bar. Closes #155 2020-10-08 16:39:11 -07:00
Gabe Kangas
2aa9a86e3d Allow non-root paths for index.html when returning server-rendered metadata page. Closes #227 2020-10-08 16:34:40 -07:00
Gabe Kangas
dfeba53f08 Reduce the amount of time between start of stream and when we show as online. Can bump this back up if needed. 2020-10-08 14:27:42 -07:00
Gabe Kangas
168ba9277e Do not use loopback as an example ip 2020-10-07 23:27:42 -07:00
Gabe Kangas
aac7fa2476 Show YP configuration in the config API 2020-10-07 22:42:14 -07:00
Gabe Kangas
268085e41f I thought I already fixed this. Guess it got lost in a merge. 2020-10-07 20:53:01 -07:00
Gabe Kangas
a7d9e2719a Do not try to split ip and port of x-forwarded-for addresses 2020-10-07 20:42:02 -07:00
Gabe Kangas
bcf4cb09e7 Break rtmp read loop after disconnect 2020-10-07 19:59:55 -07:00
Gabe Kangas
06f8a01d5e Update our api definitions 2020-10-07 17:24:20 -07:00
gingervitis
d500f32f5b
Merge pull request #219 from jeyemwey/fix-issue-202
Fix: Optional socialHandles and tags
2020-10-07 01:06:57 -07:00
Gabe Kangas
003648ed61 Update .gitignore 2020-10-07 00:28:43 -07:00
Gabe Kangas
a5e2b4b934 Remove files 2020-10-07 00:27:41 -07:00
Jannik Volkland
a17e507664 Merge branch 'master' into fix-issue-202 2020-10-07 08:49:10 +02:00
Jannik Volkland
d4b800c9bb Merge branch 'fix-issue-202' 2020-10-07 08:46:09 +02:00
Jannik Volkland
813884ef21 fix: Use Kebab-Case, and resolve Merge Conflict 2020-10-07 08:42:46 +02:00
Gabe Kangas
d7e355bce1
Connected clients admin API (#217)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Connected clients API with geo details

* Post-rebase cleanup

* Make setting and reading geo details separate operations to unblock and speed up

* Rename file

* Fire geoip api call behind goroutine

* Add comment

* Post-rebase fixes

* Add support for the MaxMind GeoLite2 GeoIP database
2020-10-06 23:14:33 -07:00
gingervitis
1eb7c1985b
Merge pull request #228 from SoldierCorp/save-volume-settings
ADD: Save volume settings in localstorage
2020-10-06 22:54:57 -07:00
Gabe Kangas
0445274fbd Do not cache hls playlist files at all. Closes #229 2020-10-06 18:26:11 -07:00
Edgardo Ramírez
38743a9608 UPDATE: Set volume on load 2020-10-06 19:01:59 -05:00
Edgardo Ramírez
f0df543def ADD: Handle muted state to update the volume settings 2020-10-06 15:51:30 -05:00
gingervitis
a36891c465
Merge pull request #226 from Pranav2612000/chat_count_fix
fix: prevents messages ending with spaces to exceed the msg limit
2020-10-06 13:46:07 -07:00
Edgardo Ramírez
ac1860d325 UPDATE: Use helpers functions for saving the volume settings 2020-10-06 15:46:07 -05:00
Edgardo Ramírez
66db710761 FIX: Set volume only if it exists in localstorage 2020-10-06 15:03:15 -05:00
Edgardo Ramírez
e2200f09d7 Merge remote-tracking branch 'upstream/master' into save-volume-settings 2020-10-06 14:55:56 -05:00
Edgardo Ramírez
84b81e440d ADD: Save volume settings in localstorage 2020-10-06 14:53:08 -05:00
Gabe Kangas
70c5a8b910
. -> · 2020-10-06 12:12:49 -07:00