Commit graph

521 commits

Author SHA1 Message Date
Gabe Kangas
0ecaf11a25
Merge remote-tracking branch 'origin/develop' into webv2 2022-11-29 16:37:29 -08:00
gabek
ec42aedb73 Prettified Code! 2022-11-17 18:32:58 +00:00
Albin Larsson
17bf41461c
improve chat input accessibility (#2353)
Sets aria-role="textbox" and aria-placeholder
2022-11-17 10:32:25 -08:00
Gabe Kangas
7fb97c56aa
Merge remote-tracking branch 'origin/develop' into webv2 2022-10-02 21:44:06 -07:00
gabek
92107e222e Prettified Code! 2022-09-30 16:43:28 +00:00
luzpaz
a080fa1524
Fix various typos (#2149)
* Fix various typos

Found via `codespell -q 3`

* Commit updated API documentation

Co-authored-by: Owncast <owncast@owncast.online>
2022-09-30 09:42:54 -07:00
gabek
88bcf81113
Prettified Code! 2022-08-27 20:26:07 -07:00
cel
38ed3c4024
Add Fediverse, Matrix and XMPP social links (#2044) 2022-08-27 20:26:07 -07:00
gabek
cb71fc06cb Prettified Code! 2022-08-17 16:36:23 +00:00
cel
56ad654a02
Add Fediverse, Matrix and XMPP social links (#2044) 2022-08-17 09:35:45 -07:00
Gabe Kangas
506d1fa4cf
Merge remote-tracking branch 'origin/develop' into webv2 2022-07-11 21:21:07 -07:00
Gabe Kangas
14f405bf58
Fix followers pagination UI 2022-07-05 12:53:21 -07:00
Gabe Kangas
3741196de6
Standardize endpoint name and fix doc. Closes #1966 2022-06-20 08:46:53 -07:00
Gabe Kangas
8624358dde
Add latency compensator to player. Closes #1931 2022-06-19 21:23:26 -07:00
Gabe Kangas
6b22be8cf3
Merge remote-tracking branch 'origin/develop' into webv2 2022-06-19 13:52:22 -07:00
Gabe Kangas
ab0a46cbd2
Change text to clarify following is on the fediverse 2022-06-04 11:36:09 -07:00
Gabe Kangas
677700414b
Allow adjusting latency targets based on buffering events 2022-06-02 23:37:20 -07:00
Gabe Kangas
221b9c8f0f
Add playback performance metrics. Closes #1930 2022-06-02 14:34:32 -07:00
gabek
31fc84ff52 Prettified Code! 2022-05-27 19:55:25 +00:00
Gabe Kangas
af1e786c99
Limit seeking to live edge on play event to only if not previously playing. 2022-05-27 12:55:01 -07:00
Gabe Kangas
1bc12da73a
Remove reference to unused var 2022-05-26 12:40:50 -07:00
gabek
03f5f8c854 Prettified Code! 2022-05-26 16:13:26 +00:00
Gabe Kangas
73cf043ed7
Reduce max rebuffer events + update log messages 2022-05-26 09:12:53 -07:00
Gabe Kangas
715504eb69
Merge remote-tracking branch 'origin/develop' into webv2 2022-05-25 22:57:14 -07:00
Gabe Kangas
afeef6f276
Return and pass around clock skew to be used in latency calculations.
Closes #1920
2022-05-23 15:17:41 -07:00
Gabe Kangas
d43e3d4e47
Completely give up latency compensation when the latency seems too wrong 2022-05-12 14:21:05 -07:00
Gabe Kangas
f96bde4f71
Can send a message from text input using submit button 2022-05-04 23:06:35 -07:00
Gabe Kangas
cbbf2970c1
Fix typo 2022-04-27 23:16:09 -07:00
Gabe Kangas
a1377c3338
Fix text 2022-04-27 15:09:28 -07:00
Gabe Kangas
07c6faad60
Add basic player component 2022-04-26 19:29:13 -07:00
Gabe Kangas
15ca73a438
WIP VideoPoster 2022-04-26 13:50:14 -07:00
Gabe Kangas
7a503fc282
Add auth icon to chat menu. Closes #1879 2022-04-25 15:34:19 -07:00
Gabe Kangas
6ee88f8a7d
Throw away latency values that seem invalid 2022-04-25 14:52:33 -07:00
Gabe Kangas
f34cc13225
Add link. Closes #1878 2022-04-25 14:31:28 -07:00
Gabe Kangas
465aeb5c38
Disable chat settings dropdown if chat is disabled. Closes #1875 2022-04-24 19:07:33 -07:00
Gabe Kangas
1e1faec982
Reduce the bandwidth ratio requirement to fire compensator 2022-04-23 18:50:18 -07:00
Gabe Kangas
a082cf3a77
Fediverse-based authentication (#1846)
* Able to authenticate user against IndieAuth. For #1273

* WIP server indieauth endpoint. For https://github.com/owncast/owncast/issues/1272

* Add migration to remove access tokens from user

* Add authenticated bool to user for display purposes

* Add indieauth modal and auth flair to display names. For #1273

* Validate URLs and display errors

* Renames, cleanups

* Handle relative auth endpoint paths. Add error handling for missing redirects.

* Disallow using display names in use by registered users. Closes #1810

* Verify code verifier via code challenge on callback

* Use relative path to authorization_endpoint

* Post-rebase fixes

* Use a timestamp instead of a bool for authenticated

* Propertly handle and display error in modal

* Use auth'ed timestamp to derive authenticated flag to display in chat

* Fediverse chat auth via OTP

* Increase validity time just in case

* Add fediverse auth into auth modal

* Text, validation, cleanup updates for fedi auth

* Fix typo

* Remove unused images

* Remove unused file

* Add chat display name to auth modal text
2022-04-22 17:23:14 -07:00
gabek
8b7e2b945e Prettified Code! 2022-04-22 20:03:34 +00:00
t1enne
635e872be3
changed followers tab to 24 per page (#1855)
* changed followers tab to 24 per page

* Update followers.js

fixed noFollowers message not spanning
2022-04-22 13:03:06 -07:00
Gabe Kangas
7935bcf5f3
Guard against possible invalid tech usage 2022-04-22 10:49:13 -07:00
Gabe Kangas
b835de2dc4
IndieAuth support (#1811)
* Able to authenticate user against IndieAuth. For #1273

* WIP server indieauth endpoint. For https://github.com/owncast/owncast/issues/1272

* Add migration to remove access tokens from user

* Add authenticated bool to user for display purposes

* Add indieauth modal and auth flair to display names. For #1273

* Validate URLs and display errors

* Renames, cleanups

* Handle relative auth endpoint paths. Add error handling for missing redirects.

* Disallow using display names in use by registered users. Closes #1810

* Verify code verifier via code challenge on callback

* Use relative path to authorization_endpoint

* Post-rebase fixes

* Use a timestamp instead of a bool for authenticated

* Propertly handle and display error in modal

* Use auth'ed timestamp to derive authenticated flag to display in chat

* don't redirect unless a URL is present

avoids redirecting to `undefined` if there was an error

* improve error message if owncast server URL isn't set

* fix IndieAuth PKCE implementation

use SHA256 instead of SHA1, generates a longer code verifier (must be 43-128 chars long), fixes URL-safe SHA256 encoding

* return real profile data for IndieAuth response

* check the code verifier in the IndieAuth server

* Linting

* Add new chat settings modal anad split up indieauth ui

* Remove logging error

* Update the IndieAuth modal UI. For #1273

* Add IndieAuth repsonse error checking

* Disable IndieAuth client if server URL is not set.

* Add explicit error messages for specific error types

* Fix bad logic

* Return OAuth-keyed error responses for indieauth server

* Display IndieAuth error in plain text with link to return to main page

* Remove redundant check

* Add additional detail to error

* Hide IndieAuth details behind disclosure details

* Break out migration into two steps because some people have been runing dev in production

* Add auth option to user dropdown

Co-authored-by: Aaron Parecki <aaron@parecki.com>
2022-04-21 14:55:26 -07:00
Gabe Kangas
b86537fa91
Restore isModerator bool 2022-04-21 13:48:46 -07:00
gabek
dad9e0d16b Prettified Code! 2022-04-21 05:21:35 +00:00
t1enne
cbe469ef87
Chat menu restyle (#1844)
* Chat menu restyle

* Update username.js

updated span to have id #username-display. Needed for tests

* removed chat menu failing tests

* hide form on username change (while same username)

* fixed onusernamechange handler

* resized username label, removed some margins

* removed commented out code
2022-04-20 22:21:02 -07:00
Gabe Kangas
dc4c905dd1
Allow specifying scroll behavior on initial chat history load 2022-04-18 23:48:05 -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
gabek
89a481ff66 Prettified Code! 2022-04-17 18:59:42 +00:00
t1enne
efbe4bc3a3
Follow popup clickable (#1839)
* Made follow popup clickable

* Fixed follow-poput styling

* had commented out visits check
2022-04-17 11:59:05 -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
1199532e18
Use useNetworkInformationApi in playback. 2022-04-11 21:20:38 -07:00