Commit Graph
100 Commits
Author SHA1 Message Date
Gabe KangasandGitHub 70c5a8b910 . -> · 2020-10-06 12:12:49 -07:00
Gabe Kangas d39003b88a Add 3rd party web dependency instructions 2020-10-06 10:51:37 -07:00
Gabe Kangas 06e5fe09f4 Fix leftover value when we would deal with cache duration in minutes instead of seconds 2020-10-06 09:17:41 -07:00
Gabe Kangas eb404fba34 Add attributes file 2020-10-05 23:16:11 -07:00
Gabe Kangas a3221aee19 Removing docs as submodule because that was an odd idea 2020-10-05 13:52:58 -07:00
Gabe Kangas dfc03bc027 Web modules were getting hit by .gitignore. Fixed 2020-10-05 08:43:38 -07:00
Gabe Kangas 5d530ca5a6 Missing showdown module import in app 2020-10-05 00:05:35 -07:00
Gabe KangasandGitHub 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
Gabe Kangas bb9c788306 Support CORS+Basic auth together 2020-10-03 23:06:48 -07:00
Gabe KangasandGitHub 922dfec77a Remove custom paths and add constants (#216) 2020-10-03 14:35:03 -07:00
Gabe KangasandGitHub e042c85f88 Hardware status admin api (#218)
* Add metrics for disk usage

* Add admin API for hardware metrics

* Fix error message alert
2020-10-02 12:18:08 -07:00
Gabe KangasandGitHub f4fdc6c951 Current broadcaster details admin api (#206)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Store inbound broadcast details for admin purposes

* Add /api/admin/broadcaster endpoint

* Reset broadcaster on disconnect

* Move controller to admin directory
2020-10-02 00:12:47 -07:00
Gabe KangasandGitHub 236f25b772 Viewer metrics api (#208)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Add viewers over time API

* Move controllers to admin directory
2020-10-02 00:06:14 -07:00
Gabe KangasandGitHub d8c43d2c56 Add server config admin endpoint (#207)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Add server config admin endpoint
2020-10-02 00:02:42 -07:00
Gabe KangasandGitHub 9b7784634b First pass at YP registration/configuration (#209)
* Spike: Ping YP service with instance details

* WIP: Add to the config to support YP

* Add YP response endpoint

* Handle YP errors. Use config. Off by default

* Show message about YP support on launch

* Add animated gif preview when generating thumb

* Increase quality of preview gif and only create it if YP is enabled

* Do not allow re-registration by clearing the key

* Make large and small logos actually structured

* Change log level

* Fix default YP service URL

* Point to default hostname

* Set default value for YP to false
2020-10-01 23:55:38 -07:00
Gabe Kangas 48c8cf5ed2 Admin API to change in-memory streaming key. Closes #212 2020-10-01 23:17:27 -07:00
Gabe KangasandGitHub 7b64fc7c30 Disconnect stream Admin API + HTTP Basic Auth (#204)
* Create http auth middleware

* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests
2020-10-01 18:16:58 -07:00
Gabe Kangas f8068826ab Add script to build and bundle admin 2020-09-30 17:26:07 -07:00
Gabe KangasandGitHub 8aa5c33999 Update caching logic/headers (#184)
* Improve caching by adding etags and reducing the max-age

* Move caching into middleware. Set cache headers on segments
2020-09-30 14:14:39 -07:00
Gabe Kangas 6a0e8deae3 Use ISO date strings. Make random delays longer. 2020-09-28 21:39:56 -07:00
Gabe Kangas ef3796a033 Use default video variants if none supplied. Fixes #199 2020-09-27 20:12:45 -07:00
Gabe Kangas 1c74b8aeca Use config-example instead of config in Docker build 2020-09-27 16:36:52 -07:00
c9d6366b3b Create release docker image without shipping source and go toolchain. (#188)
* Create release docker image without shipping source and go toolchain.
Closes #185

* Explicitly add ca-certificates to image

* Combine apk run commands

* Update scripts/Dockerfile-build

Co-authored-by: Aaron Ogle <geekgonecrazy@users.noreply.github.com>

Co-authored-by: Aaron Ogle <geekgonecrazy@users.noreply.github.com>
2020-09-26 00:44:43 -07:00
Gabe Kangas ec9f8ba004 Stop using skypack CDN for emoji button and bump version. Address #141 2020-09-25 19:36:11 -07:00
Gabe Kangas 903a250526 Use the defaults to make the config file look simpler 2020-09-25 11:28:41 -07:00
Gabe Kangas 1a767fc2e8 Remove verbose logging from docker build 2020-09-25 11:08:53 -07:00
Gabe Kangas 63bb647990 Created a fake chat message generator script for testing 2020-09-24 23:52:54 -07:00
Gabe Kangas 519be9d3b4 Don't update viewer counts if a live stream session is not active. 2020-09-24 20:27:47 -07:00
Gabe Kangas fc45645280 Reset session stats when we cleanup the session. Closes #180 2020-09-24 19:38:24 -07:00
Gabe Kangas cb2794f68c Fix cleanup. ticker -> timer and stop reinstantiation 2020-09-23 21:35:27 -07:00
Gabe Kangas 0cb31644f4 Quiet, log. 2020-09-23 18:18:15 -07:00
Gabe Kangas 9b272d8d3c Make test script destination optional 2020-09-23 18:14:37 -07:00
Gabe Kangas 0ac9ea7f57 Add a test utility for timing the duration of things easily 2020-09-22 14:10:01 -07:00
Gabe Kangas 17ef8eed0d Use built-in aac codec for test script 2020-09-22 11:08:35 -07:00
Gabe Kangas 5af0afa2a0 Disable chat input when websocket disconnects. Closes #174 2020-09-22 01:22:49 -07:00
Gabe Kangas da120fd426 Update default config file 2020-09-22 01:12:56 -07:00
Gabe Kangas f2f5993e22 A shell script to point at a dir of video files to stream as test content on a loop 2020-09-21 18:31:06 -07:00
Gabe Kangas 7e2963ab1c Remove player progress bar. Closes #159 2020-09-21 14:28:12 -07:00
Gabe Kangas 2e6d61c7c2 Allow user colors to be more red 2020-09-21 14:14:55 -07:00
Gabe Kangas 38d93a549a Tweak user colors and add a little testing script for future experimenting. Closes #170 2020-09-21 13:56:07 -07:00
Gabe Kangas 257847fdf8 Fix chat visibility toggle 2020-09-20 19:27:26 -07:00
Gabe KangasandGitHub 0c5e788aa2 Preload preact, emoji. Defer some js. (#162) 2020-09-20 10:03:54 -07:00
Gabe Kangas 6903db8579 Re-create offline state after wiping HLS files. For #153 2020-09-17 10:31:41 -07:00
Gabe Kangas 80b2b9e668 Move API endpoints under an API url namespace. Closes #148 2020-09-14 16:15:53 -07:00
6a3f634ef5 Misc web updates (#147)
* Try and clarify max viewer count string

* Shrink title font size on small screens to fit username

* Hide stream info on small screens to buy some space

* Hide emoji button on small screens until we can fix it. For #140

* Make jumping to bottom be a part of the render pass to fix race condition. For #140

* Remove About in info view. We can add it back. Just playing with that since it was missing a space anyway

* address some own mr comments

Co-authored-by: Ginger Wong <omqmail@gmail.com>
2020-09-13 22:02:04 -07:00
Gabe Kangas 0dcd92e9cd Fix chat not coming back after server comes back. Closes #136 2020-09-12 18:46:30 -07:00
Gabe Kangas 4c497454b6 Give highlights a little padding 2020-09-12 18:01:53 -07:00
Gabe Kangas 7b11c65187 Fix missing live duration string. Closes #144 2020-09-10 20:57:51 -07:00
Gabe Kangas ce8fc019ec Fix websocket not reconnecting. For #136 2020-09-06 14:28:21 -07:00
Gabe Kangas 2019d4a647 Remove error logged when extra info does not exist 2020-09-01 19:15:20 -07:00
Gabe Kangas 2c1caa1238 Show chat by default. Closes #137 2020-09-01 19:10:46 -07:00
Gabe Kangas c9451cf13a Update video.js and vhs http-streaming. Closes #133 2020-09-01 11:42:27 -07:00
Gabe Kangas c741797472 Force Applebot to be seen as a scraping bot. Closes #134 2020-08-31 20:36:52 -07:00
Gabe Kangas 99521e6741 Redirect /embed/chat and /embed/video to the embedable pages. Closes #110 2020-08-30 16:32:09 -07:00
Gabe Kangas 351fbe8834 Set a short 1 day cache duration until we do something more complex. Closes #131 2020-08-30 16:07:20 -07:00
Gabe Kangas bb25207cd9 Fix doc submodule 2020-08-30 12:06:38 -07:00
Gabe Kangas b2ba9a2fcb Add the argument release to build script to actually release 2020-08-30 12:03:28 -07:00
Gabe Kangas aaeea2bb1d Pin emoji picker to a specific min'ed version 2020-08-30 11:57:27 -07:00
Gabe Kangas e232d2e3f3 Fix blocking 2020-08-27 08:50:27 -07:00
Gabe Kangas 3444724fdd Update url 2020-08-27 00:49:01 -07:00
Gabe KangasandGitHub 4c3da2704f Simple hardware metrics collection + alerting (#115)
* Add CPU and RAM usage alerting

* Create basic troubleshooting document to point alerts at

* Limit max number of hardware values collected

* Save metric value with the point in time it was taken
2020-08-27 00:37:32 -07:00
Gabe Kangas e791a3c1dc Fix security alert with test script 2020-08-26 23:20:38 -07:00
Gabe Kangas 903c475f9c Three -> Two. Never updated after IPFS removal 2020-08-23 13:16:13 -07:00
Gabe Kangas 2f9bcd0a11 Add owncast.online as a submodule for convenient browsing of documentation from repo 2020-08-23 12:43:48 -07:00
Gabe Kangas f864057df3 Update README to point to owncast.online documentation 2020-08-23 12:23:26 -07:00
Gabe Kangas 4632ba4247 Reorganize the favicons 2020-08-20 17:57:22 -07:00
Gabe Kangas 01c8c98a40 Add OMQ stickers as custom emoji 2020-08-20 09:39:13 -07:00
Gabe Kangas df852221d5 Update user color to be a more customizable hsl color with constant saturation and lightness 2020-08-19 23:22:17 -07:00
68ff9ff270 Merge of emoji + autolink + embed + etc (#108)
* Add an emoji picker to chat

* Update to the custom emoji picker and add first pass at using custom emoji in text box

* Add custom emoji endpoint and use it in the app

* Position the emoji picker

* Handle events from the text input

* pair down the number of party parrots

* Size emoji in chat and input

* Add new custom emoji

* Add OMQ stickers as custom emoji

* Show custom category for emoji picker by default

* update omq emojis

* Document basic supported markdown syntax. Closes #95

* Websocket refactor: Pull it out of the UI and support callbacks (#104)

* Websocket refactor: Pull it out of the UI and support listeners

* Changes required for Safari to be happy with modules

* Move to explicit ad-hoc callback registration

* Add an emoji picker to chat

* Update to the custom emoji picker and add first pass at using custom emoji in text box

* Handle events from the text input

* Rebuild autolinking + embed handling for #93

* Re-enable disabling chat

* Document basic supported markdown syntax. Closes #95

* Document basic supported markdown syntax. Closes #95

* Add an emoji picker to chat

* Merge emoji and embeds.

* Merge emoji + embed branches. Rework autolink +embeds. WIP for username
highlighting for #100

* More updates to chat text formatting/embedding/linking

* Fix username autocomplete to work with div instead of form elements

* Post-rebase fixes + tweaks

* Disable text input by setting contentEditable = false

* Remove test that hardcodes pointing to public test server

* Fix re-enable chat with the contentEditable input div

* Style and fix the fake placeholder text in the input div

* Missing file.  Were did it go?

* Set a height for instagram embeds

* Cleanup

Co-authored-by: Ginger Wong <omqmail@gmail.com>
2020-08-12 21:56:41 -07:00
Gabe Kangas 1537571424 Update system libs 2020-08-09 01:14:08 -07:00
Gabe Kangas 26f5ea819c Update RTMP 2020-08-09 01:12:53 -07:00
Gabe Kangas 3fb6ae6cee Update s3 sdk 2020-08-09 01:12:00 -07:00
Gabe Kangas d85e44af71 Update quickstart to point to docker images on Dockerhub 2020-08-08 09:57:02 -07:00
Gabe KangasandGitHub d21f136120 Transcoder updates for bitrate validator warnings (#106)
* Transcoder updates for validator warnings (gop, max-bitrates) for #50

* Make the variant settings easier to set/read in code

* Update test to reflect update to transcoder

* Reduce the buffer to give it a little more room to improve the quality. It feels a bit crunched right now.

* Fix test due to changed bitrate buffer ratios

* Tweak buffer size one more time to get errors in the validator to zero

* Saw errors w/ different bitrates, so tweaking it again
2020-08-06 12:19:35 -07:00
Gabe KangasandGitHub df04af0f38 Websocket refactor: Pull it out of the UI and support callbacks (#104)
* Websocket refactor: Pull it out of the UI and support listeners

* Changes required for Safari to be happy with modules

* Move to explicit ad-hoc callback registration
2020-08-06 10:55:33 -07:00
Gabe KangasandGitHub b0b5801c5f Stop storing messages in memory and pull from persistence. Closes #81 (#105) 2020-08-05 21:01:06 -07:00
Gabe Kangas 42752b7800 Document basic supported markdown syntax. Closes #95 2020-08-01 17:02:25 -07:00
Gabe Kangas 99c6009292 Some autolinking settings 2020-07-30 00:05:31 -07:00
Gabe Kangas 6c0569aa95 Style embeds 2020-07-29 23:33:47 -07:00
Gabe Kangas e95f2e7755 Fix elipsis links. For #93 2020-07-29 23:33:35 -07:00
Gabe Kangas c343dcdadc Make the first message align bottom. Closes #87 2020-07-29 23:10:45 -07:00
Gabe Kangas 0f2b9c5e0e Support some additional markdown features 2020-07-28 23:33:13 -07:00
Gabe KangasandGitHub d9509f5606 Chat updates (#92)
* Send PONG responses to PINGs

* Split out client IDs for viewer counts vs. websocket IDs

* WIP username change event

* Display username changes

* Revert commented out code

* Add support for building from the current branch

* Fix PONG

* Make username changes have a unique ID

* Add a version param to js to cachebust
2020-07-28 21:30:03 -07:00
Gabe Kangas cb04826173 Fix the flickering status text. Closes #88 2020-07-27 23:04:35 -07:00
Gabe Kangas d8d6c0f26a Ginger mentioned increasing the height of video a bit 2020-07-23 00:13:52 -07:00
Gabe Kangas 5ce9a4928c Fix timeout buffer after going offline. Closes #84 2020-07-22 23:54:36 -07:00
Gabe Kangas 43df6c432e Fix possible crash for concurrent map writes 2020-07-22 23:09:11 -07:00
Gabe Kangas 515661804a Force videojs to set cache-control header and add a random query param to each request. Closes #82 I hope. 2020-07-22 19:53:50 -07:00
Gabe Kangas 5e46cabc59 Fix typo 2020-07-21 09:28:32 -07:00
Gabe Kangas d2d4b4034c Add README content about the web UI 2020-07-21 00:16:10 -07:00
Gabe KangasandGitHub e4cf5e6030 Create dependabot.yml 2020-07-20 23:48:15 -07:00
Gabe Kangas bd879f9997 Uncomment accidentally commented code 2020-07-20 22:04:00 -07:00
Gabe Kangas 01c487c2b5 Point to production build of vue 2020-07-20 22:03:02 -07:00
Gabe Kangas e0670585fb Experiment with starting with lowest quality and moving up from there 2020-07-20 21:59:17 -07:00
Gabe Kangas 5d13805bf2 Update videojs 2020-07-20 21:58:40 -07:00
Gabe Kangas 1464945061 Finally give the extra user content markdown some styling 2020-07-20 19:08:06 -07:00
Gabe Kangas 403d5c4a2f Support pushing images to dockerhub on release. Closes #77 2020-07-20 18:39:39 -07:00
Gabe Kangas bacf26508e First pass at an encoding document 2020-07-20 17:41:58 -07:00
Gabe Kangas a7812f8d04 Increase the delay for the welcome chat message a bit 2020-07-20 00:22:32 -07:00
Gabe Kangas a7b625c37f Show chat as disabled by default 2020-07-20 00:21:10 -07:00