Alyssa Ross
092134f3f3
Fix parsing of Authorization Bearer header ( #3376 )
...
The semantics of the Authorization header are defined by RFC 9110, which says:
> It uses a case-insensitive token to identify the authentication scheme:
Therefore, "bearer", "Bearer", and "bEARER" are equivalent. This patch fixes
the parsing of the Authorization header to check for the Bearer authentication
scheme case insensitively.
I've modified one of the test cases to use lowercase "bearer", so there's test
coverage for this.
2 years ago
dependabot[bot]
5f974806f3
Bump @babel/traverse from 7.12.5 to 7.23.2 in /test/automated/api ( #3366 )
...
Bumps [@babel/traverse ](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.12.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
551b9e3a8b
Bump @babel/traverse from 7.12.5 to 7.23.2 in /test/automated/hls ( #3367 )
...
Bumps [@babel/traverse ](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.12.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Gabe Kangas
bbbaca4123
chore(tests): temp comment out a couple config tests that are breaking due to race conditions
2 years ago
Gabe Kangas
7e7d2660d0
fix(test): select all wasn't working, making the display name typed in too long
2 years ago
Gabe Kangas
1e57cff3e0
fix: use lightweight bot/scraper html responses. Fixes #3253
2 years ago
dependabot[bot]
655f049769
Bump tough-cookie and @cypress/request in /test/automated/browser ( #3241 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) and [@cypress/request ](https://github.com/cypress-io/request ). These dependencies needed to be updated together.
Updates `tough-cookie` from 2.5.0 to 4.1.3
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v2.5.0...v4.1.3 )
Updates `@cypress/request` from 2.88.10 to 2.88.12
- [Release notes](https://github.com/cypress-io/request/releases )
- [Changelog](https://github.com/cypress-io/request/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cypress-io/request/compare/v2.88.10...v2.88.12 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
- dependency-name: "@cypress/request"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
b293a93217
Bump word-wrap from 1.2.3 to 1.2.4 in /test/automated/api ( #3186 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
8b545d496a
Bump word-wrap from 1.2.3 to 1.2.4 in /test/automated/hls ( #3187 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
faaf4583ed
Bump semver from 5.7.1 to 5.7.2 in /test/automated/api ( #3163 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
e38a4a1576
Bump tough-cookie from 4.0.0 to 4.1.3 in /test/automated/api ( #3152 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
0d3ffc6ec1
Bump tough-cookie from 4.0.0 to 4.1.3 in /test/automated/hls ( #3153 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Gabe Kangas
78353fa6af
fix(test): modal auto-closes now
2 years ago
Gabe Kangas
8a4039217f
fix(test): fix test to reflect chat message updates
2 years ago
Gabe Kangas
9b44ff107f
fix(api): validate stream key payload. Closes #3082
2 years ago
Gabe Kangas
15dc718e61
feat: add support for robots.txt disabling search indexing ( #2929 )
...
* feat: add support for robots.txt
Can toggle disabling search engine indexing. Closes #2684
* fix: unexport ts const
2 years ago
gingervitis
29041e6d76
Address chat modal button issues ( #3042 )
...
* don't display chat button or modal if isModal is true. dont display the show/hide chat option in the userdropedown for tablet sizes either. tweak chat button styles and make chat button bg the same as the chat component bg color.
* only show chat button if online
* fix(chat): chat should be available through 5min buffer period. Fixes #3044
* fix(test): update mobile test
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Gabe Kangas
69f217f758
Refactor mobile chat into modal ( #3038 )
...
* feat(mobile): refactor mobile chat into modal
- Make page always scrollable
- Move mobile chat into a standalone modal
* fix(test): split out mobile browser test specs
* fix(mobile): force chat button to render on top of footer
* fix: some small updates from review
* fix: hide/show hide chat menu option based on width
* fix: chat button icon getting cut off
* chore(tests): add browser tests for mobile chat modal
* chore(tests): add story for ChatModal component
* fix(test): quiet shellcheck
* fix: remove unused import
* fix(tests): silence storybook linting warning
* fix(ui): reposition chat modal button icon with transform
2 years ago
Gabe Kangas
89f75024d7
feat(tests): add automated release upgrade test. Closes #1876
2 years ago
Gabe Kangas
7aca27cb08
feat: add support for markdown in offline message. Closes #2921 ( #2977 )
2 years ago
Nathan
32c3f6a9b6
fix : #2668 Page Vertical Spacing Issues ( #2863 )
...
* fix : #2668 Page Vertical Spacing Issues
* Update test to reflect mobile work
* chore: refactor action buttons
---------
Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Gabe Kangas
ac7d655a14
Add additional test for testing failure after delete
2 years ago
Gabe Kangas
ef5dddc0ac
Disable lighthouse test to see if that fixes running under Github CI
2 years ago
Gabe Kangas
2fb9bf2fc9
Fix permission on shell script
2 years ago
Gabe Kangas
50f435bd5a
Fix s3 test errors
2 years ago
Gabe Kangas
1a5e9b496a
Split local and S3 HLS tests
2 years ago
Gabe Kangas
0aefe9faf5
Add some API paths to the auth test as well for completeness
2 years ago
Gabe Kangas
f7d84bc15b
Fix HTML scaffolding of admin pages rendering without auth. Closes #2789
2 years ago
Gabe Kangas
5b8bacb83f
Add chat embed automated browser tests. Closes #2743
2 years ago
Gabe Kangas
0c133053bb
Remove windows edge screenshots as it is no longer valid. See #2731
2 years ago
Gabe Kangas
7d288365b4
Add Android landscape screenshots
2 years ago
Gabe Kangas
b528d4981f
Linter warnings
2 years ago
Gabe Kangas
de534632cd
Run nightly automated screenshots. Closes #2699
2 years ago
dependabot[bot]
c31d0e6ad1
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /test/automated/browser ( #2663 )
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/commits )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Gabe Kangas
663c192b06
Make shellcheck happy
3 years ago
dependabot[bot]
f75aecdd7d
Bump cookiejar from 2.1.2 to 2.1.4 in /test/automated/api ( #2618 )
...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases )
- [Commits](https://github.com/bmeck/node-cookiejar/commits )
---
updated-dependencies:
- dependency-name: cookiejar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Gabe Kangas
e9aa02c149
Tweak default page content
3 years ago
Gabe Kangas
f1fc3b41c7
Temporarily re-disable S3-based tests
3 years ago
Gabe Kangas
57beaacd2c
Allow HLS test to wait for stream changes
3 years ago
Gabe Kangas
748219d93e
Use a random number instead of hard coded in test
3 years ago
Meisam
96f2015fbf
silence skipped clean-up inside the container ( #2608 )
3 years ago
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604
3 years ago
Gabe Kangas
44fe52fc5a
Make the public dir live inside data to make volume mounting easier
3 years ago
Gabe Kangas
59b7f6dcbf
Completely give up on setting a performance threshold until it can be addressed in #2167
3 years ago
Meisam
dd72879d09
Fix HLS automatic test ( #2572 )
...
* mv automated test cleanup to tools.sh
check media file exists before streaming in test/ocTestStream.sh
fix automatic test ffmpeg detection
mv trap to tools
mv update_storage_config() to tools
enable S3 test
* fix video file check in test/ocTestStream.sh
* cleanup ci
* mv auto test owncast build-run to start_owncast()
* suppress cleanup errors
* fix style
* fix Browser Test paths
* use pull_request event for Browser Tests
* explicitly mention when test is skipped
* refactor shell scripts
3 years ago
Gabe Kangas
03217d36df
Disable the second half of the test due to #2571
3 years ago
Meisam
64d3c37fb2
improve stream testing script ( #2549 )
...
* merge testContent.sh into ocContent.sh
* detect ffmpeg
ffmpeg or ffmpeg.exe in path, current dir, or parent dir
* use ocTestStream in api test
* enable verbose logging for api tests
* log ffmpeg version
* change ffmpeg lookup order
* set path properly for using the local ffmpeg
* rm double space from transcoder error logs
* update tests for new video stream
do not test bitrate
* set test stream target to 127.0.0.1
* log ffmpeg path
* update ffmpeg to v4.4.1
* improve logs
* fix ffmpeg installer script
* fix api test runner
* fix logs
* install fonts
* cleanup
* use ocTestStream.sh for all automated tests
* cleanup ocTestStream.sh
* cleanup test/automated/hls/run.sh
* Fix misspell
* fix ffmpeg installer in automated test runners
* spell fix
* cleanup script
* rev quick api tests
* cleanup tmp paths properly in automated tests
* rm unused ffmpeg package
* cleanup
* fix s3 test
* cache ffmpeg bin for automated tests
* shellcheck allow source
* rm missplaced file if backup fails
* use ffmpeg full path
* set lookup path for shellcheck
3 years ago
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build
3 years ago
Gabe Kangas
1fbe89d703
Reduce SEO score and file issue to improve. #2565
3 years ago
Gabe Kangas
a3ea88a5b9
Lower performance threshold even lower because everything is awful
3 years ago