Commit graph

3922 commits

Author SHA1 Message Date
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
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
t1enne
fe20faf49d
Fixed Firefox positioning caret on the right in chat input (#1834) 2022-04-16 11:00:21 -07:00
Gabe Kangas
926560cd02
Add extended content type for ActivityPub objects. Closes #1827 2022-04-15 22:44:40 -07:00
funkyhippo
79ca6e04f3
Eliminate client close deadlocks. (#1833) 2022-04-15 19:30:05 -07:00
Renovate Bot
a825a831fe
Update module github.com/aws/aws-sdk-go to v1.43.41 2022-04-15 23:14:44 +00:00
Gabe Kangas
ab189ad75d
Update link 2022-04-15 14:36:22 -07:00
IonCannon218
41ddde211d
Change CMD to ENTRYPOINT (#1831)
To allow use of optional arguments in docker-compose command parameters
2022-04-15 13:56:12 -07:00
Renovate Bot
03fc602935
Update module github.com/aws/aws-sdk-go to v1.43.39 2022-04-13 22:58:31 +00:00
renovate[bot]
6fab97d425
Lock file maintenance (#1825)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 23:31:33 -07:00
Renovate Bot
5c8d591f0a
Update module github.com/aws/aws-sdk-go to v1.43.38 2022-04-12 22:04:14 +00:00
Gabe Kangas
01de43e6dc
Explicitly set go version in linter config. 2022-04-12 12:14:42 -07:00
renovate[bot]
94682d5585
Lock file maintenance (#1822)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 10:22:24 -07:00
Renovate Bot
ae25019033
Update golang.org/x/time digest to 583f2d6 2022-04-12 06:48:54 +00:00
Renovate Bot
b44c2bdf81
Update golang.org/x/net digest to 290c469 2022-04-12 06:17:31 +00:00
Renovate Bot
2a4e7fbbaf
Update module github.com/aws/aws-sdk-go to v1.43.37 2022-04-12 04:23:51 +00:00
Gabe Kangas
1199532e18
Use useNetworkInformationApi in playback. 2022-04-11 21:20:38 -07:00
Renovate Bot
e7a08759aa
Update actions/upload-artifact action to v3 2022-04-10 16:24:35 +00:00
Renovate Bot
42890950d2
Update actions/setup-node action to v3 2022-04-10 13:51:44 +00:00
Renovate Bot
661b788d3a
Update actions/checkout action to v3 2022-04-10 11:54:39 +00:00
Renovate Bot
5b1b21c729
Update EndBug/add-and-commit action to v9 2022-04-10 07:56:40 +00:00