Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas dc4c905dd1 Allow specifying scroll behavior on initial chat history load 2022-04-18 23:48:05 -07:00
Gabe Kangas 61b07ab544 Lint 2022-04-18 23:48:05 -07:00
Gabe Kangas e6b5aecc8f Fix single column chat not scrolling. Closes #1830 2022-04-18 23:48:05 -07:00
Gabe Kangas e306c74520 Increase z-index 2022-04-17 12:47:07 -07:00
Gabe Kangas 7f1f8c39c3 Some notify popup tweaks
- Added back the border on the notification button.
- Removed border on the notification popup close button.
- Made entire popup clickable instead of just the text.
- Changed cursor style to as a hint that it's clickable.
- Renamed selectors to be called notify.
2022-04-17 12:27:52 -07:00
Gabe Kangas 770b5d05f0 If tab is in the background then instant jump to bottom w/o animation 2022-04-16 21:54:13 -07:00
Gabe Kangas 926560cd02 Add extended content type for ActivityPub objects. Closes #1827 2022-04-15 22:44:40 -07:00
Gabe KangasandGitHub ab189ad75d Update link 2022-04-15 14:36:22 -07:00
Gabe KangasandGitHub 01de43e6dc Explicitly set go version in linter config. 2022-04-12 12:14:42 -07:00
Gabe KangasandGitHub 1199532e18 Use useNetworkInformationApi in playback. 2022-04-11 21:20:38 -07:00
Gabe Kangas e11698e23b Remove schedule from renovate 2022-04-10 00:20:38 -07:00
Gabe Kangas ace57114c0 Simplify how the stream health messages are generated 2022-04-09 23:02:50 -07:00
Gabe Kangas 38ae7a3da3 Update browserslist 2022-04-08 23:57:03 -07:00
Gabe Kangas d2be4a4ed8 Add the word enable for clarity 2022-04-08 23:14:10 -07:00
Gabe Kangas 568ecc7ddf Remove antipating an initial time jump 2022-04-08 20:09:38 -07:00
Gabe Kangas 4ed02d4e0f Fix the min/max latency thresholds 2022-04-08 15:09:47 -07:00
Gabe Kangas e46f8e2a66 Troubleshoot misskey follows
Store the original follow request object and use it for approvals.
Closes #1690
2022-04-08 13:33:30 -07:00
Gabe Kangas f8181fd036 Do not make metrics api call if there is no data to send 2022-04-08 13:22:48 -07:00
Gabe Kangas d4cbf07055 Allow latency compenstation if bandwidth is fast enough or there are enough segments buffered 2022-04-08 13:22:48 -07:00
Gabe Kangas 6b909b2c47 Do not report playback metrics if the network is not in use 2022-04-08 13:22:48 -07:00
Gabe Kangas 9b2ef76773 Move CreateSignedRequest to the activitypub/crypto package 2022-04-07 13:44:36 -07:00
Gabe Kangas e4589a4462 Experiment with supporting h2c 2022-04-07 11:43:26 -07:00
Gabe Kangas 2a6bebfb2a Add a bit of sanity to the stream health messages 2022-04-07 00:14:23 -07:00
Gabe Kangas 422ae35e67 Typo in gitignore 2022-04-06 22:43:47 -07:00
Gabe Kangas 329eb7e318 Adjust how latency jumps are determined 2022-04-06 22:26:37 -07:00
Gabe Kangas a6b1d0ec94 Do not collect playback metrics when paused 2022-04-06 22:20:51 -07:00
Gabe Kangas 748ada13d3 Do not set bool on timer 2022-04-06 19:10:55 -07:00
Gabe Kangas 0254afea71 Reduce latency jump amount 2022-04-06 18:47:30 -07:00
Gabe Kangas c5cbb210c2 Update when and how to show video settings menu 2022-04-06 18:32:50 -07:00
Gabe Kangas 179e7ab7ca Allow time jumps to compenstate for large latency 2022-04-06 18:31:10 -07:00
Gabe Kangas 9fd32a9301 Update gitignore 2022-04-05 17:25:45 -07:00
Gabe Kangas 3054d3d097 Add latency compensation toggle in video settings menu 2022-04-05 16:58:42 -07:00
Gabe Kangas d0bd511101 Tweak compensator ramp up + add slight ramp down 2022-04-04 21:00:07 -07:00
Gabe Kangas 823f952b9c Limit the amount the latency compensates at once with a ramp up 2022-04-04 13:46:52 -07:00
Gabe Kangas 037583be23 Add custom suggestion error to disable video passthrough 2022-03-30 14:02:49 -07:00
Gabe Kangas c50536ff81 Pull player metrics out of the player. Support safari errors/buffering events 2022-03-29 17:33:36 -07:00
Gabe Kangas 1e19e2a50e Surface the % of players represented in metrics 2022-03-27 16:27:38 -07:00
Gabe Kangas 9f6151359f Track buffering events as errors differently in playback metrics 2022-03-27 14:45:21 -07:00
Gabe Kangas 78b0f7addc Allow latency compensator to be a little more aggressive 2022-03-27 14:44:50 -07:00
Gabe Kangas 44afc9c1ea Guard against browsers not running VHS 2022-03-26 18:34:57 -07:00
Gabe Kangas cd4f19108a Cleanup and simplify stream health overview 2022-03-26 16:13:06 -07:00
Gabe Kangas 35801ff33a Add CPU monitoring to stream health overview 2022-03-26 13:01:23 -07:00
Gabe Kangas 83cec52104 Log out more values to help test + tweak latency compensator 2022-03-26 12:36:41 -07:00
Gabe Kangas 9300ebb015 Increase browser push notification TTL 2022-03-25 19:48:37 -07:00
Gabe Kangas 7b4110467b mod tidy 2022-03-25 19:08:38 -07:00
Gabe Kangas 5a2584d8ea Continued tweaking of latency compensation 2022-03-25 14:24:56 -07:00
Gabe Kangas 22578f0ac2 Change how often metrics are collected 2022-03-25 14:20:51 -07:00
Gabe Kangas 410b413b84 Add stream health overview collection + apis 2022-03-24 23:07:05 -07:00
Gabe Kangas 134e784282 Tweak position of moderator icon. Closes #1792 2022-03-21 15:01:30 -07:00
Gabe Kangas 3004432666 Hardcode email notifications in UI to false 2022-03-21 13:50:11 -07:00
Gabe Kangas d96ddcc6c6 Continued tweaking of latency compensation 2022-03-19 13:17:37 -07:00
Gabe Kangas d3aa3f87af doc -> docs as Github needs a specific name 2022-03-19 12:02:34 -07:00
Gabe Kangas 5d360bcdd5 Add SECURITY.md document. Closes #1790 2022-03-19 11:51:48 -07:00
4a17f30da8 Outbound live stream notifications (#1663)
* First pass at browser, discord, twilio notifications

* Commit updated Javascript packages

* Remove twilio notification support

* Email notifications/smtp support

* Fix Firefox notification support, remove chrome checks

* WIP more email work

* Add support for twitter notifications

* Add stream title to discord and twitter notifications

* Update notification registration modal

* Fix hide/show email section

* Commit updated API documentation

* Commit updated Javascript packages

* Fix post-rebase missing var

* Remove unused var

* Handle unsubscribe errors for browser push

* Standardize email config prop names

* Allow overriding go live email template

* Some notifications cleanup

* Commit updated Javascript packages

* Remove email/smtp/mailjet support

* Remove more references to email notifications

Co-authored-by: Owncast <owncast@owncast.online>
2022-03-18 13:33:23 -07:00
Gabe Kangas 4e415f7257 CC->TO because Mastodon cares for visibility 2022-03-18 13:01:11 -07:00
Gabe Kangas c885d150d4 Tweak latency compensation 2022-03-17 21:10:07 -07:00
Gabe Kangas 992e819f38 Lock metrics on mutation 2022-03-17 18:07:55 -07:00
Gabe Kangas d1e39c4c1e Force uniqueness with previews and logos on the fediverse. Closes #1777 and closes #1776 2022-03-17 13:22:44 -07:00
Gabe Kangas dc16eafea4 Add git to build step 2022-03-17 00:24:04 -07:00
Gabe Kangas d8ead6d954 Allow the latency compensator to be dynamic 2022-03-16 23:34:17 -07:00
Gabe Kangas 6479220e78 Expand upon playback metrics 2022-03-16 22:49:27 -07:00
Gabe KangasandGitHub d84da617b7 Add player latency compensator. Closes #837 (#1786) 2022-03-16 18:41:59 -07:00
Gabe Kangas 689b6feef2 Remove rougue import 2022-03-16 17:47:02 -07:00
Gabe KangasandGitHub babbcecc9c Stream performance metrics (#1785)
* WIP playback metrics

* Playback metrics collecting + APIs. Closes #793

* Cleanup console messages

* Update test

* Increase browser test timeout

* Update browser tests to not fail
2022-03-16 17:34:44 -07:00
Gabe Kangas c960f6488f Replace timestamp for cachebuster with rand string. Closes #1781 2022-03-11 12:22:50 -08:00
Gabe Kangas a8167dc9e0 Fix tests after segment filename change 2022-03-10 14:20:44 -08:00
Gabe Kangas b9a597299f Simplify segment filenames. Closes #1778
Remove the seconds as an identifier to allow for segments to be written
more than one per second.
2022-03-10 14:14:02 -08:00
Gabe Kangas 994145b609 Fix prometheus viewer count value & rename metrics names 2022-03-09 17:48:53 -08:00
Gabe Kangas b5d60d9f40 Fix linter warnings 2022-03-07 16:37:04 -08:00
Gabe Kangas 48006d7a79 Fix updated go linter 2022-03-07 11:26:51 -08:00
Gabe Kangas 2743bddf4e Fix js package build workflow 2022-03-07 11:21:42 -08:00
Gabe Kangas a8bece63e5 Remove Renovate grouped PRs 2022-03-07 11:17:17 -08:00
Gabe Kangas 883d22cf76 Force worfklow to run under node 12 2022-03-07 09:10:22 -08:00
Gabe Kangas d6aa8b5d7c Bump gopsutil to v3 2022-03-07 08:45:49 -08:00
Gabe Kangas 5dd3ce5c44 Update golangci-lint action 2022-03-07 00:21:33 -08:00
Gabe KangasandGitHub e0a75d5d54 Add support for established chat user mode. #1587 (#1681)
* Add support for established user mode. #1587

* Tweak tests

* Tweak tests

* Update test

* Fix test.
2022-03-06 23:26:24 -08:00
Gabe KangasandGitHub 19b9a8bdf6 Add support for IP-based bans (#1703)
* Add support for IP-based bans. Closes #1534

* Linter cleanup
2022-03-06 20:34:49 -08:00
Gabe KangasandGitHub 78c27ddbdd Add an icon for bot messages. Closes #1172 (#1729) 2022-03-06 20:09:55 -08:00
Gabe KangasandGitHub 1ed1cc01eb Persist time series viewer metrics (#1752)
* WIP persisting time series viewer metrics. Closes #1478

* Remove unused var, move around initial collection
2022-03-06 19:43:57 -08:00
Gabe Kangas 5196491f73 Add Renovate config 2022-03-06 18:19:46 -08:00
Gabe KangasandGitHub 98fce01b52 Add support for active viewer details API. Closes #1477 (#1747) 2022-03-06 17:31:47 -08:00
Gabe KangasandGitHub 92041c4c23 Add Prometheus for some Owncast metrics (#1744)
* Add Prometheus for some Owncast metrics. Closes #1303

* Wrap prometheus metrics endpoint in admin middleware
2022-03-06 17:26:52 -08:00
Gabe KangasandGitHub 5e6bc50b59 Handle pagination for the federated actions & followers responses (#1731)
* Add pagination for admin social list

* Use Paginated API for followers tab on frontend
2022-03-06 17:18:51 -08:00
Gabe KangasandGitHub d24ddc2b0a Add support for and use socket host override. (#1682)
* Add support for and use socket host override. Closes #1378

* Fix embeds with the new websocket constructor
2022-03-06 17:11:51 -08:00
Gabe KangasandGitHub d5a6267b1f Add support to disable chat join messages. Closes #1582 (#1743) 2022-03-05 22:34:06 -08:00
Gabe Kangas 9125083f37 Bump version constant 2022-03-05 22:19:45 -08:00
Gabe Kangas cfa1b1600c Manually run api docs generation 2022-03-05 11:33:35 -08:00
Gabe Kangas 720378409e Remove pkged.go 2022-03-04 19:31:38 -08:00
Gabe Kangas ec41fd87a3 Explicitly set go version 2022-03-04 19:31:21 -08:00
Gabe Kangas 7fa7f8ee7f Use userAgentData.mobile instead of deprecated useragent. Closes #1665 2022-02-25 15:29:58 -08:00
Gabe Kangas 73b3ecaa44 Remove unused var 2022-02-25 15:25:07 -08:00
Gabe Kangas 6796998124 Remove unnecessary var data in log messages. Closes #1640 2022-02-25 15:22:52 -08:00
Gabe Kangas b084d68fb1 Clean up and consolidate AP actor resolution logic
- Consolidate Person, Service and Application to adhere to a single
  interface type.
- Add additional error checking around actor properties.
- Remove redundant IRI->Actor resolution callbacks and use only the ones
  in the ResolveIRI method.
2022-02-10 11:49:21 -08:00
Gabe Kangas f69463f536 Remove period 2022-01-31 16:03:26 -08:00
Gabe Kangas 3f974ce7db Remove references to config file. #1697 2022-01-31 16:01:34 -08:00
Gabe Kangas ade392e5db Do not log stream key when changing it 2022-01-31 13:23:50 -08:00
Gabe Kangas 65f0673dba Add a sanity check to make sure the actor IRI exists 2022-01-30 13:14:56 -08:00
Gabe Kangas 4e76fff0d0 Add support for resolving Application actors and fix error handling with failed resolution. Fixes #1710 2022-01-30 11:44:17 -08:00
Gabe Kangas f272542e40 Persistent HTTP connections seem to work now. Re-enabling. 2022-01-27 20:22:04 -08:00
Gabe Kangas 0d77856cb9 Simplify saving segments to disk 2022-01-27 20:14:19 -08:00