Commit graph

3094 commits

Author SHA1 Message Date
Gabe Kangas
3ce6fd4cb3 Add support for less variables and using a custom theme 2022-04-25 15:52:38 -07:00
Gabe Kangas
1c77219a75 First pass at component library 2022-04-25 15:52:38 -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
b2b791b365
Migrate forbidden and suggested usernames list to string slice. Closes #1873 2022-04-25 14:31:29 -07:00
Gabe Kangas
a29d6450cb
Add stream health tip of latency buffer level 2022-04-25 14:31:28 -07:00
Gabe Kangas
f34cc13225
Add link. Closes #1878 2022-04-25 14:31:28 -07:00
Owncast
3b0dc8aadb Update admin to a818c03525600bc61e267b37cbf7d085a9da0471 2022-04-25 14:56:53 +00:00
Renovate Bot
7a2441e6ea Lock file maintenance 2022-04-25 14:54:19 +00:00
Renovate Bot
a9f398975b Lock file maintenance 2022-04-25 13:39:37 +00:00
Gabe Kangas
465aeb5c38
Disable chat settings dropdown if chat is disabled. Closes #1875 2022-04-24 19:07:33 -07:00
Owncast
9d4c69e3bc Update admin to 010d335050608ee9b0bbac54073b780c542c462f 2022-04-25 01:47:22 +00:00
Gabe Kangas
55ce0c0869 Add some basic validation logic for form. Closes https://github.com/owncast/owncast/issues/1847 2022-04-24 18:44:32 -07:00
Owncast
3ed0920b7c Update admin to 00fedee82d62cd83e11b294465ed5d5f63487515 2022-04-24 23:50:50 +00:00
Gabe Kangas
29ae557c0f Tweak some stream health text 2022-04-24 16:48:46 -07:00
Gabe Kangas
1e1faec982
Reduce the bandwidth ratio requirement to fire compensator 2022-04-23 18:50:18 -07:00
Gabe Kangas
529cba84fd
Refactor migration to loop over each user instead of bulk inserts 2022-04-23 18:12:59 -07:00
Gabe Kangas
514fd17ed9
Access token migration 2022-04-23 18:12:58 -07:00
Owncast
93890f33c7 Update admin to 8dcdc01b790a6e431991308788fc8e9f6e3b9925 2022-04-23 20:54:16 +00:00
funkyhippo
8cead20b60 Generate proper StatusStates for errors from backend. (#469) 2022-04-23 13:52:04 -07:00
funkyhippo
a500a5f975
Add terminations to error repsonses in API. (#1872) 2022-04-23 13:19:17 -07:00
Owncast
c0aea77fe4 Update admin to 5ca1a9f13c2c576941a7e31dc837f6b26608d99b 2022-04-23 16:40:07 +00:00
funkyhippo
f625c31279 Fixes and enhancements to the client table. (#468)
* Fix sorting and order for name.

* Add the ability to sort display names.

* Remove no-unstable-nested-components rule.

* Use includes() rather than startsWith() for better 'searching' semantics.
2022-04-23 09:37:28 -07:00
Owncast
e1c44d002b Update admin to d681eacce18ff599b0ce7b4c534fcb63657a7e06 2022-04-23 00:35:15 +00:00
Gabe Kangas
d78e28fd47 Add link to notification documentation 2022-04-22 17:32:25 -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
Renovate Bot
a8fff63500
Update module github.com/aws/aws-sdk-go to v1.43.44 2022-04-22 09:57:24 +00:00
Renovate Bot
d351dc3be1
Update golang.org/x/net digest to 1d1ef93 2022-04-22 04:44:19 +00:00
Gabe Kangas
f173b8deca
do not make migration failure fatal temporarily 2022-04-21 21:05:49 -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
Renovate Bot
12c0882248
Update module github.com/aws/aws-sdk-go to v1.43.43 2022-04-21 13:20:58 +00:00
Renovate Bot
3484d6d8be
Update golang.org/x/net digest to 1850ba1 2022-04-21 06:47:39 +00: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
Renovate Bot
abcfdfa8a0
Update golang.org/x/net digest to a630d4f 2022-04-20 05:48:47 +00:00
Owncast
7a508e3dbc Update admin to cc305d98b083dd0d3622a6f3bab0215f1b5f4429 2022-04-19 19:55:24 +00:00
Gabe Kangas
0dcfbca318 Fix join msgs switch not firing api call 2022-04-19 12:52:40 -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
Owncast
5d236976d8 Update admin to 09d27310fe865823219a02baebc3afc9a6a8b0fb 2022-04-18 15:49:34 +00:00
Renovate Bot
6cb3856ac0 Lock file maintenance 2022-04-18 15:47:37 +00:00
Renovate Bot
41e0d7a177 Lock file maintenance 2022-04-18 14:52:19 +00: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