Commit graph

2027 commits

Author SHA1 Message Date
Meisam
d0ea430f98
fix the server name (#1907)
the name should match ^[a-z0-9-]+$
2022-05-15 20:07:34 -07:00
Gabe Kangas
d43e3d4e47
Completely give up latency compensation when the latency seems too wrong 2022-05-12 14:21:05 -07:00
Owncast
19be55a637 Update admin to 0d75882185c8b24a343b7775406ea953d7dfd5b6 2022-05-12 00:21:57 +00:00
Gabe Kangas
c1b614ed49
Fix up the wasted CPU transcoding alert message 2022-05-11 17:00:23 -07:00
Owncast
f6869c3bb1 Update admin to fc9e84404d851f9e513bf1607f6cd8b1b35fa189 2022-05-10 03:46:30 +00:00
Owncast
29549c84ec Update admin to 110a67bb591e76f420ed5b363f3ce14f9f1c5643 2022-05-09 13:29:35 +00:00
Owncast
64bfcf69fb Update admin to dae0f374694db7177871986a2b2f8732c5662598 2022-05-09 00:45:47 +00:00
Owncast
e67bed43bc Update admin to 76bf79228ed28c621e6b594604d0f2b6957b5b58 2022-05-08 23:12:03 +00:00
Gabe Kangas
ed0e376bae
Do not return a stream health overview if it is zero 2022-05-08 15:58:39 -07:00
Gabe Kangas
21b82ebb2c
Fix invalid field name 2022-05-08 15:28:06 -07:00
Owncast
e96f36d313 Update admin to 2b2cd843474d215651f0f663808d5579b3a2db3f 2022-05-05 22:45:44 +00:00
Owncast
47534aa381 Update admin to f6c6521f066cf60ec08dcd999ae8872b246d2735 2022-05-05 22:39:25 +00:00
renovate[bot]
3a44b35a61
Lock file maintenance (#1891)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 09:41:33 -07:00
renovate[bot]
3cacdf6804
Update golangci/golangci-lint-action action to v3 (#1821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 09:29:48 -07:00
Gabe Kangas
d1cebb0d88
Increase linter timeout even more to try to fix github workflow error. 2022-05-02 07:01:55 -07:00
Gabe Kangas
e95cf6bc72
Increase linter timeout 2022-05-01 11:53:57 -07:00
Gabe Kangas
2c47ddeef0
Optimize chat history query. Helps #1890 2022-05-01 00:07:33 -07:00
Gabe Kangas
8a343d0324
Remove extranious response 2022-04-30 23:16:48 -07:00
Gabe Kangas
b6d575a286
Set value on cache miss 2022-04-30 23:16:08 -07:00
Gabe Kangas
e6804d0233
Fix cache warming not firing. Closes #1889 2022-04-30 23:15:57 -07:00
Gabe Kangas
339d596fd3
Reduce the amount of chat backlog we keep. 2022-04-29 18:30:54 -07:00
Owncast
1919784d08 Update admin to 2648f99b296a2883c67ee34502543cd7b8a9a83f 2022-04-29 20:26:02 +00:00
Gabe Kangas
cbbf2970c1
Fix typo 2022-04-27 23:16:09 -07:00
Gabe Kangas
b378728eba
Add mediaType to federated attachments + fix image description. For #1840 2022-04-27 16:35:36 -07:00
Gabe Kangas
a1377c3338
Fix text 2022-04-27 15:09:28 -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
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
Owncast
3ed0920b7c Update admin to 00fedee82d62cd83e11b294465ed5d5f63487515 2022-04-24 23:50:50 +00: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
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
Owncast
e1c44d002b Update admin to d681eacce18ff599b0ce7b4c534fcb63657a7e06 2022-04-23 00:35:15 +00: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