Commit Graph
100 Commits
Author SHA1 Message Date
2e8e61309a Remove use of default props (#4118)
* refactor: replace defaultProps with function parameters in Modal, Statusbar, ChatContainer, and CrossfadeImage components

* New commit for Default properties of React components after syncing fork and rebasing

* fix: fix linter warning

---------

Co-authored-by: swarup <swarupnarkhede999@gmail.com>
2025-01-15 16:12:54 -08:00
Gabe Kangas 91a635a5ca chore(i18n): enable languages 2025-01-15 14:48:54 -08:00
Gabe Kangas 0f48bc4904 chore(i18n): run workflow every hour + download translations for PR 2025-01-15 14:18:37 -08:00
Gabe Kangas dc8ed52b58 fix(i18n): disable languages until the files exist 2025-01-15 13:59:35 -08:00
Gabe Kangas 648856dcd1 chore: update i18n workflow/config 2025-01-15 13:41:44 -08:00
Gabe Kangas d77b80a94a fix(storybook): fix another story not rendering with i18n 2025-01-14 21:27:21 -08:00
Gabe Kangas 70282761d3 fix(storybook): fix storybook rendering with i18n library 2025-01-14 21:19:23 -08:00
Gabe KangasGitHubOwncastgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Crowdin BottaintedcypherLe fractalSufyaan Khateebmahmed2000
cb387d88be Initial localization work (#3980)
* First pass at configuring localization

* Add CI job for translations

* Update CI job

* Update default value

* Update parser config

* Update defaults again

* try to fix the multiple parsing of a file

* Update crowdlin config

* Update configs

* New Crowdin translations by GitHub Action (#3448)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* Point to updated translated files

* Tooltip i18n

* Run translation job when web components are updated

* Commit updated translations

* Translations update (#3453)

* Update source file strings.json
Updated translations

* New translations strings.json (French)
Updated translations

* New translations strings.json (Spanish)
Updated translations

* New translations strings.json (German)
Updated translations

* New translations strings.json (English, United States)
Updated translations

* Commit updated translations

* New Crowdin translations by GitHub Action (#3452)

Co-authored-by: Owncast <owncast@owncast.online>

* chore(deps): update to next config to address build errors

* New Crowdin translations by GitHub Action (#3455)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* Translations update (#3456)

* New translations strings.json (Arabic)
Updated translations

* New translations strings.json (German)
Updated translations

* New translations strings.json (Greek)
Updated translations

* New translations strings.json (Irish)
Updated translations

* New translations strings.json (Italian)
Updated translations

* New translations strings.json (Japanese)
Updated translations

* New translations strings.json (Korean)
Updated translations

* New translations strings.json (Dutch)
Updated translations

* New translations strings.json (Norwegian)
Updated translations

* New translations strings.json (Punjabi)
Updated translations

* New translations strings.json (Russian)
Updated translations

* New translations strings.json (Swedish)
Updated translations

* New translations strings.json (Chinese Traditional)
Updated translations

* New translations strings.json (Vietnamese)
Updated translations

* New translations strings.json (Bengali)
Updated translations

* New translations strings.json (Thai)
Updated translations

* New translations strings.json (Croatian)
Updated translations

* New translations strings.json (Hindi)
Updated translations

* New translations strings.json (Malay)
Updated translations

* New Crowdin translations by GitHub Action (#3457)

* New translations strings.json (Arabic)
Updated translations

* New translations strings.json (German)
Updated translations

* New translations strings.json (Greek)
Updated translations

* New translations strings.json (Irish)
Updated translations

* New translations strings.json (Italian)
Updated translations

* New translations strings.json (Japanese)
Updated translations

* New translations strings.json (Korean)
Updated translations

* New translations strings.json (Dutch)
Updated translations

* New translations strings.json (Norwegian)
Updated translations

* New translations strings.json (Punjabi)
Updated translations

* New translations strings.json (Russian)
Updated translations

* New translations strings.json (Swedish)
Updated translations

* New translations strings.json (Chinese Traditional)
Updated translations

* New translations strings.json (Vietnamese)
Updated translations

* New translations strings.json (Bengali)
Updated translations

* New translations strings.json (Thai)
Updated translations

* New translations strings.json (Croatian)
Updated translations

* New translations strings.json (Hindi)
Updated translations

* New translations strings.json (Malay)
Updated translations

* New Crowdin translations by GitHub Action

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* Commit updated API documentation

* Update translations job

* New Crowdin translations by GitHub Action (#3698)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* Update Crowdin configuration file

* Translations update (#3700)

* New translations strings.json (French)
Updated translations

* New translations strings.json (Italian)
Updated translations

* Translations update (#3699)

* New translations strings.json (French)
Updated translations

* New translations strings.json (Spanish)
Updated translations

* New translations strings.json (Italian)
Updated translations

* New translations strings.json (Japanese)
Updated translations

* New translations strings.json (Polish)
Updated translations

* New translations strings.json (Russian)
Updated translations

* New translations strings.json (Portuguese, Brazilian)
Updated translations

* Commit updated API documentation

---------

Co-authored-by: Owncast <owncast@owncast.online>

* New Crowdin translations by GitHub Action (#3701)

* New translations strings.json (French)
Updated translations

* New translations strings.json (Spanish)
Updated translations

* New translations strings.json (Italian)
Updated translations

* New translations strings.json (Japanese)
Updated translations

* New translations strings.json (Polish)
Updated translations

* New translations strings.json (Russian)
Updated translations

* New translations strings.json (Portuguese, Brazilian)
Updated translations

* New Crowdin translations by GitHub Action

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* Draft: Mark strings for translation. (#3458)

* Mark strings for translation.

* Mark up strings for translation

* fix(web): fix linter warnings

---------

Co-authored-by: Le fractal <17422-fractal@users.noreply.framagit.org>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>

* do not pull from cowdin via workflow

* Commit updated translations

* feat: add translations support to admin pages and components (#3977)

* feat: add translations support to admin pages and components

Added translations support admin main page and its components, help
page, handware-info page. Added translations support for LogTable,
NewsFeed and StreamHealthOverview components.

* update package.json

* fix rendering issue

* Commit updated API documentation

---------

Co-authored-by: Owncast <owncast@owncast.online>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>

* Offline banner i18n formatting (#3997)

* Fix "Last live ago" string formatting with i18n interpolation

* Change some base translation jsons to use i18n interpolation

* Linting fix

* chore(js): ignore i18n pkgs in knip

* fix(test): fix browser ui test

* fix(js): remove unused var

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Owncast <owncast@owncast.online>
Co-authored-by: taintedcypher <119351153+taintedcypher@users.noreply.github.com>
Co-authored-by: Le fractal <17422-fractal@users.noreply.framagit.org>
Co-authored-by: Sufyaan Khateeb <81009832+SufyaanKhateeb@users.noreply.github.com>
Co-authored-by: mahmed2000 <mahmad2000@protonmail.com>
2025-01-14 20:54:21 -08:00
Gabe Kangas b45552ade0 fix(video): remove persistent HTTP connection. Hopefully fixes #4106 2025-01-14 08:37:27 -08:00
Gabe Kangas 2b42ff5ce4 Revert "fix(js): do not fire dangerouslySetInnerHTML if there is nothing to render. Closes #4075"
This reverts commit d91c42bafd9136805fd64018f0db517156bcb263.

Closes #4112
2025-01-14 08:33:03 -08:00
Gabe Kangas 0d46f4a7d0 chore: bump version number to v0.2.1 2025-01-12 20:39:37 -08:00
Gabe Kangas a669686b16 fix(js): move require to top of file 2025-01-08 16:14:25 -08:00
Gabe Kangas b52bbc7f53 fix(admin): fix version update prompt. Fixes #4097 2025-01-08 15:40:33 -08:00
Gabe KangasandGitHub 048acbce88 fix(js): do not fire dangerouslySetInnerHTML if there is nothing to render. Closes #4075 (#4076) 2025-01-08 15:10:35 -08:00
Gabe KangasandGitHub 2d4b5eb105 Do not mark as stale if it is assigned to a milestone 2025-01-06 13:48:06 -08:00
Gabe Kangas a38c2d8ddf fix: add ETag header for bot/scraper page. For #4020 2024-12-18 07:28:06 -08:00
Gabe Kangas f59278764b fix: bump bot/webscraper server generated page cache to 1 minute. For #4020 2024-12-18 07:19:31 -08:00
Gabe KangasandGitHub 4fbdb3f0cd fix(ap): increase outbound worker pool size to use follower count (#4049) 2024-12-17 08:47:15 -08:00
Gabe Kangas e1a48909c8 fix(embed): fix follow button not showing up in offline embed. Closes #4053 2024-12-12 22:43:30 -08:00
Gabe Kangas 8ffbf23d4e fix(js): fix social switch not actually turning on feature. Closes #4055 2024-12-12 22:33:37 -08:00
Gabe KangasandGitHub 446d5db085 fix(js): fix followers table being empty when sorted. Closes #3799 (#4054) 2024-12-12 21:40:24 -08:00
Gabe KangasandGitHub 3bbbca9465 Remove nightly screenshot job. Re: #3999 2024-12-12 12:14:49 -08:00
Gabe Kangas c24ee6202a Update local tunneling script to no longer use serveo.net 2024-12-09 10:37:47 -08:00
Gabe KangasandGitHub c5ac3a30af fix: pass in config repo instead of using the global getter (#4039) 2024-11-30 23:38:27 -08:00
Gabe KangasandGitHub 0b5d7c8a4d Config repository (#3988)
* WIP

* fix(test): fix ap test failing

* fix: fix unkeyed fields being used

* chore(tests): clean up browser tests by splitting out federation UI tests
2024-11-15 19:20:58 -08:00
Gabe Kangas 56d52c283c chore(tests): clean up browser tests by splitting out federation UI tests 2024-11-15 18:46:18 -08:00
Gabe Kangas 70bbcb97b8 fix(js): tweak how the vjs hook is fired and url is created 2024-11-15 13:25:06 -08:00
Gabe Kangas a566b9c9f1 fix(api): define correct inbound api payloads for external requests. Fixes #3966 2024-11-15 12:22:18 -08:00
Gabe KangasandGitHub 2be188a82f Remove API from incorrectly listed as external. For #4015 2024-11-14 13:42:45 -08:00
Gabe Kangas df06d9ad97 fix(deps): revert emoji-mart to v5.2.2 again 2024-11-13 08:10:45 -08:00
Gabe Kangas 7f42981ba7 chore(deps): add slashes to renovate config regex 2024-11-13 08:09:30 -08:00
Gabe Kangas b278027b88 chore(deps): ignore golang and go-fed when updating go deps 2024-11-12 08:43:45 -08:00
Gabe Kangas aecf7aa9bb fix(deps): do not allow statically assigned versions to auto-update. See #4010 2024-11-12 08:21:04 -08:00
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