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.
2023-10-21 10:00:50 -07:00
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>
2023-10-16 12:15:32 -07:00
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>
2023-10-16 10:04:45 -07:00
Gabe Kangas
bbbaca4123
chore(tests): temp comment out a couple config tests that are breaking due to race conditions
2023-10-08 14:33:22 -07:00
Gabe Kangas
7e7d2660d0
fix(test): select all wasn't working, making the display name typed in too long
2023-08-18 20:28:25 -07:00
Gabe Kangas
1e57cff3e0
fix: use lightweight bot/scraper html responses. Fixes #3253
2023-08-16 18:19:09 -07:00
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>
2023-08-06 23:45:34 -07:00
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>
2023-07-22 21:32:48 -07:00
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>
2023-07-22 21:32:35 -07:00
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>
2023-07-10 16:38:05 -07:00
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>
2023-07-09 13:15:07 -07:00
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>
2023-07-09 13:02:19 -07:00
Gabe Kangas
78353fa6af
fix(test): modal auto-closes now
2023-06-27 16:29:46 -07:00
Gabe Kangas
8a4039217f
fix(test): fix test to reflect chat message updates
2023-06-27 15:19:49 -07:00
Gabe Kangas
9b44ff107f
fix(api): validate stream key payload. Closes #3082
2023-06-13 13:05:43 -07:00
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
2023-05-30 11:09:51 -07:00
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>
2023-05-23 16:32:35 -07:00
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
2023-05-22 18:56:44 -07:00
Gabe Kangas
89f75024d7
feat(tests): add automated release upgrade test. Closes #1876
2023-05-02 20:39:15 -07:00
Gabe Kangas
7aca27cb08
feat: add support for markdown in offline message. Closes #2921 ( #2977 )
2023-05-01 19:45:27 -07:00
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>
2023-04-26 15:31:23 -07:00
Gabe Kangas
ac7d655a14
Add additional test for testing failure after delete
2023-04-05 15:33:48 -07:00
Gabe Kangas
ef5dddc0ac
Disable lighthouse test to see if that fixes running under Github CI
2023-03-17 21:18:47 -07:00
Gabe Kangas
2fb9bf2fc9
Fix permission on shell script
2023-03-16 10:53:31 -07:00
Gabe Kangas
50f435bd5a
Fix s3 test errors
2023-03-16 10:51:00 -07:00
Gabe Kangas
1a5e9b496a
Split local and S3 HLS tests
2023-03-16 10:43:49 -07:00
Gabe Kangas
0aefe9faf5
Add some API paths to the auth test as well for completeness
2023-03-10 12:22:50 -08:00
Gabe Kangas
f7d84bc15b
Fix HTML scaffolding of admin pages rendering without auth. Closes #2789
2023-03-10 12:16:28 -08:00
Gabe Kangas
5b8bacb83f
Add chat embed automated browser tests. Closes #2743
2023-02-26 19:06:22 -08:00
Gabe Kangas
0c133053bb
Remove windows edge screenshots as it is no longer valid. See #2731
2023-02-26 12:36:26 -08:00
Gabe Kangas
7d288365b4
Add Android landscape screenshots
2023-02-12 14:55:49 -08:00
Gabe Kangas
b528d4981f
Linter warnings
2023-02-11 18:59:11 -08:00
Gabe Kangas
de534632cd
Run nightly automated screenshots. Closes #2699
2023-02-11 18:41:31 -08:00
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>
2023-02-01 19:06:30 -08:00
Gabe Kangas
663c192b06
Make shellcheck happy
2023-01-26 15:25:52 -08:00
Gabe Kangas
3a7f452854
Merge remote-tracking branch 'origin/develop' into webv2
2023-01-24 23:19:02 -08:00
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>
2023-01-24 22:36:51 -08:00
Gabe Kangas
e9aa02c149
Tweak default page content
2023-01-23 20:50:54 -08:00
Gabe Kangas
f1fc3b41c7
Temporarily re-disable S3-based tests
2023-01-22 21:38:51 -08:00
Gabe Kangas
57beaacd2c
Allow HLS test to wait for stream changes
2023-01-22 21:07:49 -08:00
Gabe Kangas
748219d93e
Use a random number instead of hard coded in test
2023-01-22 20:43:01 -08:00
Meisam
96f2015fbf
silence skipped clean-up inside the container ( #2608 )
2023-01-22 13:56:44 -08:00
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604
2023-01-18 22:38:24 -08:00
Gabe Kangas
44fe52fc5a
Make the public dir live inside data to make volume mounting easier
2023-01-17 17:04:07 -08:00
Gabe Kangas
59b7f6dcbf
Completely give up on setting a performance threshold until it can be addressed in #2167
2023-01-13 15:12:04 -08:00
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
2023-01-11 20:11:13 -08:00
Gabe Kangas
03217d36df
Disable the second half of the test due to #2571
2023-01-10 21:31:27 -08:00
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
2023-01-10 18:50:32 -08:00
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build
2023-01-10 16:39:20 -08:00
Gabe Kangas
a9cf9d08f7
Merge remote-tracking branch 'origin/develop' into webv2
2023-01-09 13:07:45 -08:00