gabek
0e4e158d19
Prettified Code!
2022-11-29 16:05:44 -08:00
Meisam
0a8fc6e8c5
validate Nodeinfo response by schema ( #2390 )
...
* rm stable: 'false' from actions/setup-go@v3
* adapt tests from #2369
* set undefined as defaultStreamKey
pass adminpass to sendConfigChangeRequest()
* mv getAdminConfig to api/lib/config.js
* npm install --quiet for automated tests
* refactor tests
separate default values from new ones
* test adminpass change
fix defaultStreamKeys test
* fix defaultStreamKeys
* use getAdminStatus
* mv test/automated/lib/config.js to admin.js
* check default hideViewerCount
cleanup
* test more default options in api
erverName
SServerSummary
yp.instanceUrl
FederationConfig.username
* more testing of default config params
* update reference values for api test
2022-11-29 16:05:44 -08:00
Gabe Kangas
c4dc802941
Make stream keys objects with comment instead of string slice
2022-11-29 16:05:44 -08:00
Gabe Kangas
c9e3ccad45
API + Data changes to support split up of stream keys and admin passwords
2022-11-29 16:05:44 -08:00
Gabe Kangas
7393a18546
Additional test updates to reflect more changed defaults
2022-11-22 13:15:52 -08:00
Gabe Kangas
b0d651cfc0
Update UI tests to reflect new defaults
2022-11-22 13:06:37 -08:00
Gabe Kangas
5ca8271c6e
Test RTMP content stream script
2022-11-20 13:27:42 -08:00
Gabe Kangas
813f8692f0
Support color customization from the admin ( #2338 )
...
* Add user-customizable theming. Closes #1915
* Prettified Code!
* Add user-customizable theming. Closes #1915
* Add explicit color for page content background
* Prettified Code!
Co-authored-by: gabek <gabek@users.noreply.github.com>
2022-11-12 20:26:55 -08:00
gabek
b67e0703cc
Prettified Code!
2022-11-05 03:04:51 +00:00
Gabe Kangas
352447e3d4
Web UI frontend automated browser tests ( #2223 )
...
* First pass at basic browser tests for #1926
* Run tests against dev web server not go server
* Bundle the web code into the server before running tests
* Move cypress UI tests into its own npm project + add tests
* Add additional tests + wire up with cypress dashboard
* Limit concurrency of workflow jobs
* Temporarily comment out some tests that do not pass in mobile. Will fix later.
2022-11-04 20:04:13 -07:00
Gabe Kangas
ae7c02b421
Add support for public static files. Closes #2234
2022-10-27 22:30:39 -07:00
Gabe Kangas
f1a2a918c8
Change host in fixture script
2022-10-02 21:40:15 -07:00
Gabe Kangas
d69e3656e2
Add example welcome message in fixture data.
2022-10-02 21:38:50 -07:00
Gabe Kangas
c0dc2eb707
Run API tests inside Eartlhly
2022-09-04 17:14:44 -07:00
Gabe Kangas
681067ab93
Add custom offline message+api. Part of #1901
2022-08-09 22:09:43 -07:00
Gabe Kangas
d12f25f556
Merge branch 'develop' into webv2
2022-08-09 14:14:45 -07:00
Gabe Kangas
aead748c0d
Use the race detector when running automated tests.
2022-07-19 21:09:45 -07:00
Gabe Kangas
101359cfc3
Update test to reflect not treating summary as markdown
2022-07-12 17:54:30 -07:00
Gabe Kangas
5ec4fd62ad
Update test external action buttons
2022-07-12 17:32:27 -07:00
Gabe Kangas
f757c1c98d
Add script to populate page content
2022-07-12 14:50:32 -07:00
Gabe Kangas
506d1fa4cf
Merge remote-tracking branch 'origin/develop' into webv2
2022-07-11 21:21:07 -07:00
dependabot[bot]
fac6959254
Bump moment from 2.29.2 to 2.29.4 in /test/load ( #1996 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 10:11:43 -07:00
Gabe Kangas
b08393295f
Add option to hide viewer count. Closes #1939
2022-06-26 00:46:55 -07:00
dependabot[bot]
0d42d4b85e
Bump jsdom from 16.4.0 to 16.7.0 in /test/automated/api ( #1975 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 21:16:18 -07:00
dependabot[bot]
737d480f80
Bump jsdom from 16.4.0 to 16.7.0 in /test/automated/hls ( #1976 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 21:16:04 -07:00
Gabe Kangas
3741196de6
Standardize endpoint name and fix doc. Closes #1966
2022-06-20 08:46:53 -07:00
Gabe Kangas
717db25d65
Remove no longer valid browser test
2022-05-09 13:08:08 -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
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
dependabot[bot]
0afbb03ce3
Bump moment from 2.29.1 to 2.29.2 in /test/load ( #1819 )
2022-04-09 09:11:35 -07:00
Gabe Kangas
38ae7a3da3
Update browserslist
2022-04-08 23:57:03 -07:00
dependabot[bot]
e2c968dd9f
Bump minimist from 1.2.5 to 1.2.6 in /test/automated/api ( #1795 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:46:57 -07:00
dependabot[bot]
84924802b0
Bump minimist from 1.2.5 to 1.2.6 in /test/load ( #1797 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:45:56 -07:00
dependabot[bot]
1c5f56b0b7
Bump minimist from 1.2.5 to 1.2.6 in /test/automated/hls ( #1798 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:43:59 -07:00
dependabot[bot]
c19f73de51
Bump ansi-regex from 5.0.0 to 5.0.1 in /test/automated/api ( #1796 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:43:33 -07:00
dependabot[bot]
aad6e3cdb5
Bump minimist from 1.2.5 to 1.2.6 in /test/automated/browser ( #1794 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:43:10 -07:00
Gabe Kangas
689b6feef2
Remove rougue import
2022-03-16 17:47:02 -07:00
Gabe Kangas
e0a75d5d54
Add support for established chat user mode. #1587 ( #1681 )
...
* Add support for established user mode. #1587
* Tweak tests
* Tweak tests
* Update test
* Fix test.
2022-03-06 23:26:24 -08:00
dependabot[bot]
123d559ba4
Bump ansi-regex from 5.0.0 to 5.0.1 in /test/automated/api ( #1764 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-06 21:29:25 -08:00
Gabe Kangas
19b9a8bdf6
Add support for IP-based bans ( #1703 )
...
* Add support for IP-based bans. Closes #1534
* Linter cleanup
2022-03-06 20:34:49 -08:00
Gabe Kangas
78c27ddbdd
Add an icon for bot messages. Closes #1172 ( #1729 )
2022-03-06 20:09:55 -08:00
dependabot[bot]
bbd6570715
Bump node-fetch from 2.6.2 to 2.6.7 in /test/automated/browser ( #1759 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.2 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.2...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-06 17:48:44 -08:00
Gabe Kangas
d24ddc2b0a
Add support for and use socket host override. ( #1682 )
...
* Add support for and use socket host override. Closes #1378
* Fix embeds with the new websocket constructor
2022-03-06 17:11:51 -08:00
dependabot[bot]
234df59026
Bump follow-redirects from 1.14.4 to 1.14.8 in /test/automated/browser ( #1735 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.4 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 09:52:37 -08:00
dependabot[bot]
a42f54c708
Bump ansi-regex from 5.0.0 to 5.0.1 in /test/automated/api ( #1717 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 09:53:21 -08:00
dependabot[bot]
84c21e11c4
Bump ansi-regex from 5.0.0 to 5.0.1 in /test/automated/hls ( #1716 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 09:52:35 -08:00
dependabot[bot]
00a740b6ca
Bump node-fetch from 2.6.2 to 2.6.7 in /test/automated/browser ( #1706 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.2 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.2...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 15:13:11 -08:00
dependabot[bot]
59f9299b6a
Bump node-fetch from 2.6.6 to 2.6.7 in /test ( #1700 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 10:44:04 -08:00
dependabot[bot]
b7349d8be3
Bump node-fetch from 2.6.5 to 2.6.7 in /test/automated/hls ( #1701 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.5 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 10:43:45 -08:00
Gabe Kangas
720824d519
Update OG tags test
2022-01-22 21:10:52 -08:00