Commit Graph
100 Commits
Author SHA1 Message Date
Gabe Kangas b177333ec6 fix(web): hardcode emoji-mart picker version to a working version. Fixes #4010 2024-11-11 13:36:15 -08:00
Gabe KangasandGitHub 83ef466ee1 fix(ci): check out repo if event_name is schedule 2024-11-08 13:16:13 -08:00
Gabe KangasandGitHub 25cd9b6d53 fix(js): log out unused error value 2024-11-08 10:05:53 -08:00
eed34b528e Update API gen, cleanup, add missing property to status response (#3987)
* fix(api): remove invalid tag properties from components

* chore(api): update api validation/linter to use redocly

* fix(api): add missing streamTitle property to status object. Closes #3983

* chore: add redocly config file

* Commit updated API documentation

---------

Co-authored-by: Owncast <owncast@owncast.online>
2024-10-27 15:36:31 -07:00
Gabe Kangas c44d56af63 fix(test): update tests to reflect the new transcoder flag 2024-10-26 15:09:47 -07:00
Gabe Kangas 0fccaa61fe fix(video): fix nil reference exception in playback metrics. Closes #3984 2024-10-26 12:22:19 -07:00
Gabe Kangas 05545cb6da Add persistent http connection optimization. Closes #3985 2024-10-26 11:58:02 -07:00
Gabe Kangas 4ac3068fcb fix(css): run prittier on css file 2024-10-20 12:29:36 -07:00
Gabe Kangas edc920f7db fix(storybook): update storybook generation templates 2024-10-20 12:23:45 -07:00
Gabe Kangas 78a7a45ff0 fix(sass): resolve sass warning by wrapping in root 2024-10-20 12:20:22 -07:00
Gabe Kangas 78146f1ee3 fix(storybook): fix typography page from not rendering 2024-10-19 17:54:29 -07:00
Gabe Kangas a747aea71c Continued WIP. Most of Storybook 8 runs. 2024-10-19 17:54:27 -07:00
Gabe Kangas 1e362d39ac chore: remove documentation that is better suited to exist elsewhere 2024-10-19 17:53:45 -07:00
Gabe Kangas f424fe6dae WIP storybook upgrade 2024-10-19 17:53:42 -07:00
Gabe Kangas df3a9424b1 fix(test): fix javascript tests not running 2024-10-19 15:28:41 -07:00
Gabe Kangas 742df5322f fix(web): specify node version to be 22.9.0 for builds 2024-10-19 11:51:23 -07:00
Gabe Kangas e5a4404770 fix(web): isable swc features and fix build 2024-10-18 08:33:27 -07:00
Gabe Kangas 8d08ae5147 chore: tweaking workflow text 2024-10-06 21:44:19 -07:00
Gabe Kangas e5aa3c3cfb fix: remove invalid setting 2024-10-06 19:54:42 -07:00
Gabe Kangas b55e4045c1 chore: replace old stale github app with workflow action 2024-10-06 18:12:13 -07:00
Gabe Kangas ef66e2c3a0 Explicitly set viewer count to 0 if offline. Closes #3830 2024-09-26 13:38:14 -07:00
Gabe Kangas 387dcd464d chore(go): go mod tidy 2024-09-18 19:38:11 -07:00
Gabe Kangas 3050d64909 fix(go): fix type conversion for windows 2024-09-17 19:11:16 -07:00
Gabe Kangas 99fbefd558 Remove fix flag 2024-09-17 16:44:36 -07:00
Gabe Kangas 0bca16deb6 Only write formatted files in CI when not in a PR 2024-09-17 16:39:54 -07:00
Gabe Kangas 5e5f023b8a Only try to commit formated files if running on the owncast/owncast repo 2024-09-17 16:35:36 -07:00
Gabe Kangas 6d768f0b0a fix(go): fix type conversions for FreeBSD and Windows methods 2024-09-17 08:28:01 -07:00
Gabe Kangas 7a65e6d808 fix(go): int64 -> uint64 for connection limit value 2024-09-17 08:12:09 -07:00
Gabe Kangas 3ccc92c317 chore(tests): disable no-plusplus rule in js linter 2024-09-15 13:15:19 -07:00
Gabe Kangas 78c775747b chore(ci): specify the ref to check out 2024-09-15 09:40:52 -07:00
Gabe Kangas 9b1c4128d8 chore(js): disable react/no-is-mounted rule 2024-09-15 06:44:39 -07:00
Gabe Kangas 4764e27b68 chore(tests): set older node version to work around babel issue in tests 2024-09-15 06:03:53 -07:00
Gabe Kangas 755308eca8 chore(tests): set specific node version in tests and bump Nextjs version 2024-09-15 05:52:20 -07:00
Gabe Kangas 4a317b799c Revert "chore(deps): update nextjs monorepo to v14.2.7"
This reverts commit 416462bd53.
2024-09-09 01:20:12 -04:00
Gabe Kangas f75c4af2d8 fix(deps): update nextjs to fix babel issue breaking tests 2024-09-06 20:25:53 -07:00
Gabe Kangas 59f200c960 fix(test): run javascript tests as a part of build CI job 2024-09-05 18:13:03 -07:00
Gabe Kangas 7cdf18de99 fix(ci): add support for pull_request_target 2024-09-05 13:58:47 -07:00
Gabe KangasandGitHub 89a33ea4e3 fix(ci): split up checkout steps for push vs. pull request (#3911) 2024-09-05 13:50:59 -07:00
Gabe KangasandGitHub 90b70612c9 fix(go): update to resolve linter errors (#3913) 2024-09-05 13:41:10 -07:00
Gabe KangasandGitHub 04b1b30b7d Update API tests (#3894)
* fix(test): remove done callback in tests

* fix(test): expect correct status code

* fix(test): remove logging of var
2024-08-21 14:44:09 -07:00
Gabe Kangas 545b9983f7 fix(api): return http 405 if federation is diabled 2024-08-21 14:16:55 -07:00
Gabe Kangas 7084ece117 go mod tidy 2024-08-19 17:18:23 -07:00
Gabe Kangas a8f358b2a5 Bump ffmpeg version + add support for running tests under macOS 2024-08-19 16:22:12 -07:00
Gabe KangasandGitHub 7c3d4d26df Remove done callback in tests (#3885) 2024-08-19 12:10:46 -07:00
Gabe Kangas 57652900f3 Remove documentation that is better suited to exist elsewhere 2024-07-11 14:10:57 -07:00
Gabe Kangas bf07c977d7 Fix go test workflow 2024-07-11 11:53:35 -07:00
Gabe Kangas 05c54eaad8 Troubleshoot workflow errors 2024-07-11 11:51:51 -07:00
Gabe Kangas 91b176a8e4 Fix checkouts 2024-07-11 11:47:33 -07:00
Gabe Kangas c4756a9a45 Reduce CI jobs being run when not needed 2024-07-11 11:44:39 -07:00
Gabe KangasandGitHub fe5fbea623 Add css linter step (#3832)
* Add css linter step

* Add test css file

* Set working directory

* Only run against changed files

* remove test css file

* only run workflow steps if any css files were changed

* commiting a file with issues

* fixing file with linter warnings
2024-07-11 11:33:07 -07:00
Gabe Kangas e864562995 chore: update PR template 2024-07-04 19:57:16 -07:00
Gabe Kangas c963512934 chore: move geoip into services directory 2024-07-02 21:26:43 -07:00
Gabe Kangas 15d0e3dd1f chore(api): move more types to generated ones 2024-07-02 20:37:58 -07:00
Gabe Kangas dd5fa8dd57 chore(docs): add redocly config file 2024-07-02 14:22:04 -07:00
Gabe Kangas e26525549c chore(docs): attempt to hide opts by marking 204options as internal 2024-07-02 14:09:27 -07:00
Gabe Kangas 995235eba7 chore(docs): hide opts methods from docs + add logo 2024-07-02 14:04:46 -07:00
Gabe KangasandGitHub 7b40006841 chore(docs): Update docs gen path + cli 2024-07-02 14:03:45 -07:00
Gabe Kangas 96119efa41 chore(api): start moving some types to the codegen types 2024-07-01 22:17:10 -07:00
Gabe Kangas 93c0a20935 chore(api): reorganize handlers into webserver package 2024-07-01 21:44:51 -07:00
Gabe Kangas 5cb4850fce chore(api): reorganize web assets and codegen types+handlers 2024-07-01 20:14:17 -07:00
Gabe KangasandGitHub 2ccd3aad87 User repository (#3795)
* It builds with the new user repository

* fix(test): fix broken test

* fix(api): fix registration endpoint that was broken after the change

* fix(test): update test to reflect new user repository

* fix: use interface type instead of concrete type

* fix: restore commented out code
2024-07-01 18:58:50 -07:00
Gabe Kangas 3f6d7affe8 chore(docs): update readme to call out Lambda test for #3734 2024-06-02 15:06:02 -07:00
Gabe KangasandGitHub 1f4506d43f Remove link to old broadcast server 2024-05-20 12:44:56 -07:00
Gabe KangasandGitHub aee4699c8b Update spec path in workflow 2024-05-04 18:39:34 -07:00
Gabe Kangas 1ca7a877e4 Organize new openapi spec with tags and generate API docs with the new spec 2024-05-03 15:39:59 -07:00
Gabe Kangas 1d49801a27 feat(api): cache thumb and preview in memory for fast retrieval. Help address #3462 2024-05-01 18:56:38 -07:00
Gabe Kangas 2acbda625b chore: troubleshoot js autoformating in workflow 2024-04-22 18:11:31 -07:00
Gabe KangasandGitHub 439da013d8 chore(go): update to go 1.22 (#3708)
* chore(go): update to go 1.22

* fix: install go before running codeql to fix autobild

* chore(test): explicitly set base crosscompile image

* fix(test): do not point at image with incorrect version of Go
2024-04-22 13:23:52 -07:00
Gabe KangasandGitHub 9b569f3293 chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
Gabe Kangas 799e880718 chore(tests): retry cypress tests on failure 2024-04-17 22:10:39 -07:00
Gabe KangasandGitHub 30d51d81ac Allow react/no-danger 2024-04-12 10:20:06 -07:00
Gabe KangasandGitHub a450e62397 Optionally disable chat rate limiter and add optional chat slur/language filter (#3681)
* feat(chat): basic profanity filter. For #3139

* feat(chat): add setting for disabling chat spam protection. Closes #3523

* feat(chat): wire up the new chat slur filter to admin and chat. Closes #3139
2024-04-09 22:25:41 -07:00
Gabe KangasandGitHub 68645ab8e7 Bump version number 2024-04-09 18:56:31 -07:00
Gabe Kangas 9ebfb67ef3 docs: bump openapi spec version 2024-03-31 15:49:57 -07:00
Gabe Kangas 805f96e271 fix(web): resolve the status bar duration string. Fixes #3652 2024-03-28 21:18:28 -07:00
Gabe Kangas a42071951d feat: add rel-me link attr and enclosing list tags. Closes #3290 2024-03-10 15:48:33 -07:00
Gabe Kangas 70fdc2c642 fix(web): remove rounded corner in video embed 2024-03-07 17:00:32 -08:00
Gabe Kangas 46d0be3e6d fix(web): fix incorrect image 2024-03-06 21:55:49 -08:00
Gabe KangasandGitHub 5ce78fbad4 New offline embed (#3599)
* WIP

* feat(web): add new offline embed view. First step of #2917

* feat(web): support remote fediverse follow flow from embed

* feat(chore): add back offline video embed browser test
2024-02-25 12:52:32 -08:00
Gabe Kangas 82d0b9c121 fix(web): make video embed player fit entire window. Closes #3587 2024-02-21 20:41:25 -08:00
Gabe Kangas d1f5872b5a chore(test): add followers fixture test data 2024-02-19 07:46:48 -08:00
Gabe Kangas 7b783ac00e fix(admin): fix admin followers pagination. Closes #3510 2024-02-18 19:14:20 -08:00
Gabe Kangas eb41bc0af3 chore(test): support followers fixture data for testing 2024-02-18 19:14:19 -08:00
Gabe Kangas 797e464767 fix(webhooks): fix chat user parted webhook creation error. Closes #3524 2024-02-18 16:20:58 -08:00
Gabe Kangas ebf64dd17d fix(chat): do not send chat join message
If a user is already connected to chat from elsewhere, do not send an
additional chat join message. Closes #3487
2024-02-18 15:49:50 -08:00
Gabe KangasandGitHub b14a7c2f44 Try to fix new next+ant build errors 2024-02-07 10:30:18 -08:00
Gabe KangasandGitHub 841c300431 fix: share local hls file cleanup between s3 and filesystem providers. Fixes #3522 (#3531) 2024-01-22 20:26:36 -08:00
Gabe Kangas 2b57741397 fix: treat matrix links as regular web urls. Closes #3329 2024-01-21 20:25:05 -08:00
Gabe KangasandGitHub 7399bee276 Gek/cache bot search page (#3530)
* feat: add general purpose key/val caching layer

* feat: cache bot/metadata response page for 10 seconds
2024-01-21 17:18:47 -08:00
Gabe Kangas 1b14800c7d fix(api): protect emoji delete api from path traversal exploit 2024-01-20 20:30:29 -08:00
Gabe Kangas c9f70ffa65 chore(tests): need to use more recent node version in browser test 2024-01-20 18:35:07 -08:00
Gabe Kangas bb7de347c5 chore: reverting the current implementation of http response caching 2023-12-19 18:27:42 -08:00
Gabe Kangas 9215d9ba0f fix(auth): limit admin cors access to only localhost:3000 2023-12-18 22:05:49 -08:00
Gabe Kangas 5bb8a8b5aa fix: address potential crash that can happen with queued object storage uploads. Fixes #3440 2023-12-18 21:12:50 -08:00
Gabe Kangas e235c7aea2 chore: remove reponse cache from root route 2023-12-11 20:19:50 -08:00
Gabe Kangas 0827af6cc8 fix: split out the botscraper response cache from the web app 2023-12-10 18:14:26 -08:00
Gabe Kangas c8985093fb fix(video): fix hls in-memory cache being recreated on every request 2023-12-10 12:28:35 -08:00
Gabe KangasGitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Owncast
2217f0614a feat(api): add server-side caching for requests that could benefit (#3463)
* feat(api): add server-side caching for requests that could benefit for them

* fix(tests): do not cache responses while in tests

* fix: remove commented out leftover code

* chore(deps): update dependency html-webpack-plugin to v5.5.4

* Bundle embedded web app

* fix: remove caching for web app assets under test

* chore(tests): re-enable temporarily disabled test

* chore(deps): update dependency typescript to v5.3.3

* Bundle embedded web app

* chore(deps): update dependency npm to v10.2.5

* Bundle embedded web app

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Owncast <owncast@owncast.online>
2023-12-09 16:31:50 -08:00
Gabe KangasandGitHub a56f0f2ed6 Create README.md for /static/web
To let people know they're in the wrong place if they're looking to make web changes.
2023-12-05 09:39:16 -08:00
Gabe Kangas 27c48c4068 chore(deps): update to next config to address build errors 2023-11-29 20:31:54 -08:00