Commit graph

183 commits

Author SHA1 Message Date
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
58b6f82922
chore(tests): add readme note about remote host testing 2023-04-19 09:40:19 -07:00
Gabe Kangas
dae6c0c71a
chore: add local<->public test script 2023-04-18 18:04:57 -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]
363bc78ac6
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /test/load (#2664)
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:07:09 -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
Gabe Kangas
1fbe89d703
Reduce SEO score and file issue to improve. #2565 2023-01-08 20:32:22 -08:00
Gabe Kangas
a3ea88a5b9
Lower performance threshold even lower because everything is awful 2023-01-08 17:00:13 -08:00
Gabe Kangas
40c7d30c2e
Lower performance threshold until can be figured out 2023-01-05 02:35:55 -08:00
Gabe Kangas
3620c2eb7d
Fix lint warnings 2023-01-04 22:25:51 -08:00
Gabe Kangas
80ab351cbe
Add performance testing to Cypress results 2023-01-04 22:18:21 -08:00
gabek
e59ac558c5 Prettified Code! 2023-01-04 22:25:02 +00:00
Gabe Kangas
2675150cdf
Revert "improve stream testing script (#2525)"
This reverts commit e748d8f765.
2023-01-04 14:22:55 -08:00
Meisam
e748d8f765
improve stream testing script (#2525)
* 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
2023-01-04 14:12:05 -08:00
Meisam
dad5b28cc5
use randomString/Number from lib in api tests (#2542) 2023-01-04 14:09:51 -08:00
dependabot[bot]
e1d47d3507
Bump json5 from 2.2.0 to 2.2.2 in /test/automated/browser (#2535)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  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-04 14:09:02 -08:00
dependabot[bot]
0870b71b62
Bump json5 from 2.1.3 to 2.2.2 in /test/automated/api (#2536)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  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-04 14:08:42 -08:00