Commit Graph

629 Commits

Author SHA1 Message Date
Gabe Kangas
de90e6a74c
Fix some broken social icons in frontend and admin 2022-10-18 23:38:26 -07: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
6de93f9651
Move the favicons 2022-06-24 21:53:16 -07:00
Gabe Kangas
0c439ccba4
Add AirPlay support to player. Closes #1963 2022-06-21 15:38:37 -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
Gabe Kangas
1684979187
Add working but unstyled notify registration modal 2022-05-29 22:08:57 -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
ErAzOr2k
75309703e9
Add fullscreen mode/Change name (#1934) 2022-05-27 10:23:05 -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
t1enne
22ea665fa4
fixed chat scroll breaking on single col (#1845) 2022-04-21 10:08:41 -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
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