48 Commits

Author SHA1 Message Date
383b80851b Add localization support to admin status and error messages (#4631)
* Initial plan

* Add localization support to admin form status and error messages

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* Format updated files with prettier

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* Replace t() with Translation component in admin page JSX

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* update package-lock.json

* Update web/i18n/en/translation.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 16:29:40 -07:00
074bff32c1 Update directory.owncast.online -> owncast.directory (#4485)
* chore: change directory.owncast.online -> owncast.directory. For #4483

* chore: update extracted translations

---------

Co-authored-by: Owncast default web localizations <owncast@owncast.online>
2025-08-02 16:49:11 -07:00
eafcf9148c Update EditInstanceDetails admin component to support localization (#4439)
* Initial plan

* Update EditInstanceDetails component to support localization

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* chore: update extracted translations

* Update web/types/localization.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add EditInstanceDetails namespace to localization keys

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* chore: update extracted translations

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
Co-authored-by: Owncast default web localizations <owncast@owncast.online>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-13 13:34:30 -07:00
d9a0d13479 Communicate and handle apub outgoing updates being delayed (#4009)
* Allow icon only status messages such as STATUS_PROCESSING to be displayed

* Add a processing status state for the EditSocialLinks component

* Log warning for the outbound apub channel being full

* Buffer the outbound apub channel so some API requests are less likely to get blocked during handling

* Make the apub outbound request trace-log always occur after being queued.

* Linting fix
2024-11-30 14:38:00 -08:00
f7b61d8d9a Javascript formatting autofixes 2024-09-05 21:47:55 +00:00
39e77dc2cc Markdown-Editor-LineWrapping (#3908)
* Markdown-Editor-LineWrapping

* added lineWrapping to js and css editors

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2024-09-05 14:45:09 -07:00
4579d9074e Initial change for Social Media validation (#3819)
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2024-07-19 12:41:22 -07:00
de8bc8d41b Fix for copying stream key without revealing it only copies asterisks (#3663)
* asterisk copy fix for #3460

* rename text to keys for consistency + linting fix

* make onCopy spawn an antd message directly, remove redundant copyText function

---------

Co-authored-by: Muaz Ahmad <mahmad2000@protonmail.com>
2024-04-10 13:15:53 -07:00
2b57741397 fix: treat matrix links as regular web urls. Closes #3329 2024-01-21 20:25:05 -08:00
5ac0d5bbca feat(admin): add explicit directory info agreement modal. Closes #3258 2023-08-16 17:08:19 -07:00
1a7b6b99d5 feat(storage): support a object storage custom path prefix 2023-08-11 22:18:45 -07:00
4790880c19 fix(admin): save appearanceVariables to admin global config state. Fixes #3170 2023-07-16 16:34:37 -07:00
1d6877d3ef fix(admin): fix error displaying and do not allow deleting of the last stream key. Closes #3114 2023-06-27 16:08:07 -07:00
cd458630ec Support using the custom video serving endpoint even if you don't use object storage (#2924)
* feat(video): refactor video serving endpoint

It can now be used without an object storage provider. Closes #2785

* fix: remove debug log
2023-05-30 14:05:24 -07:00
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
e50b23d081 Cleanup unused Javascript (#3027)
* chore(js): be stricter about dead code warnings

* chore(js): remove dead code and unused exports

* rebase

* chore: remove unused files

* chore(deps): remove unused prop-types dep

* chore(js): remove unused function

* chore(deps): remove + check unused deps

* chore(js): remove unused exports. Closes #3036
2023-05-20 21:15:25 -07:00
7aca27cb08 feat: add support for markdown in offline message. Closes #2921 (#2977) 2023-05-01 19:45:27 -07:00
9bef5730d9 fix(admin): make panel header text not so large 2023-04-28 20:47:31 -07:00
1a63880d01 adding tests for generateRndKey (#2932)
changing jest.config.js
transform option  from -
transform: { '^.+\\.ts?$': 'ts-jest' },
to
  transform: {   '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }], },
2023-04-17 15:33:30 -07:00
b3ac4e1a15 fix(js): consolidate url and account validators 2023-04-16 14:32:18 -07:00
1eac2a1632 FIX : Admin custom CSS area forces entire page to scroll #2886 (#2892)
* Update EditPageContent.tsx

Adding Scroll to codemirror

* Prettified Code!

* Fixing CSS- code mirror scroll issue

Removing excess code
and fixing CSS code mirror

* Prettified Code!

* Prettified Code!

---------

Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2023-04-03 21:03:44 -07:00
f1bf06b8cd FIX #2897 Admin: "Copy" button for stream keys copy asterisks if key is hidden (#2901)
* Update StreamKeys.tsx

* Prettified Code!

---------

Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
2023-04-03 20:49:48 -07:00
e86caad06f Return hideViewerCount in config and set the admin switch correctly. Closes #2887 2023-03-31 22:15:28 -07:00
2b19f9272e Fix auto-generated keys not saving. Closes #2874 2023-03-27 21:34:54 -07:00
59a3d5886c Add password/key complexity rules in input fields. 2023-03-13 12:37:16 -07:00
32f8c06390 fix: #2779 - strip trailing slash on s3 endpoint (#2788)
Co-authored-by: thisProjects <wibbet@wobbet.com>
2023-03-10 14:05:54 -08:00
7e7d655615 Corner radius slider no longer slides (#2784)
* Corner radius slider no longer slides

* revert

* add optional chaining
2023-03-08 15:00:10 -08:00
e80db09ab1 fix: Prevent color selector from closing on choosing a color (#2783)
* improv: wrap ColorPicker in memo to prevent unnecessary rerenders

* improv appearance: wrap updateColor in useCallback to prevent unnecessary rerenders due to changing reference to the func

* improv: define ColorCollection Component as top level, and modify it to prevent unnecessary rerenders
2023-03-08 12:13:57 -08:00
5b1f36c314 Revert "Add the Client-side Input Validators for Stream Keys and the Admin Password (#2619)"
This reverts commit 3653db3a6a113e73075687ad35b5d15e8dd74132.
2023-03-03 14:43:56 -08:00
3653db3a6a Add the Client-side Input Validators for Stream Keys and the Admin Password (#2619)
* add the minimum stream key complexity rules on the client side

* add an admin password validator

* merge TextField and TextFieldAdmin components

* update Input Validators for Streak Keys and Admin Password

* fix a small regex typo

* code cleanup

* update Textfield and TextFieldWithSubmit

* Prettified Code!

* update the TextFieldWithSubmit component

* correct the admin password endpoind API

* refactor the Admin Password Input field and add a new boolean field for it

* refactor the Form Input field name from adminPassword to InputFieldPassword

* put password regex rules into config-constants.tsx

* regex constant typo fix

* change the boolean variable isAdminPwdField to hasComplexityRequirements

* fix a merge conflict

* Prettified Code!

---------

Co-authored-by: dorj222 <dorj222@users.noreply.github.com>
2023-03-02 21:20:53 -08:00
c3ed3c1eed Prettified Code! 2023-03-01 13:12:39 +00:00
cb807f70cf Merge branch 'develop' into fix/ImplementPasswordRules 2023-03-01 14:11:50 +01:00
f06325c11c fix a merge conflict 2023-03-01 13:58:07 +01:00
b75c6a886a Random Stream Key Generator (#2690)
* add a new random stream key generator

* fix a typo
2023-02-07 17:17:04 -08:00
aa2504b354 put password regex rules into config-constants.tsx 2023-02-07 17:22:52 +01:00
642782a36c Remove admin password generation+copy button. Add auto-generating stream keys. Closes #2683 and #2631 2023-02-05 20:09:50 -08:00
dd936b6605 Merge branch 'webv2' into fix/ImplementPasswordRules 2023-01-29 11:31:36 +01:00
7920ec17a9 code cleanup 2023-01-25 17:06:39 +01:00
1993eebc9f fix a small regex typo 2023-01-24 15:10:11 +01:00
a5dfc2e03b update Input Validators for Streak Keys and Admin Password 2023-01-24 14:33:56 +01:00
fa420ff98f Support customizing button title text color 2023-01-18 23:14:44 -08:00
f072819e81 Refactor the color customizing admin components 2023-01-18 19:18:31 -08:00
12eb0eed1d Support customizing button border color 2023-01-18 19:18:30 -08:00
a1a3272031 Hide scrollbars 2023-01-18 19:18:29 -08:00
bd8925f135 Remove theme colors from apperaance customization 2023-01-18 19:18:28 -08:00
52a720f2f8 add the minimum stream key complexity rules on the client side 2023-01-17 12:29:16 +01:00
6fbd6cbbcf Lazy load every instance of using ant icons. Closes #2583 2023-01-15 22:31:36 -08:00
7392ae8a54 Reorganize admin components to help bundling 2023-01-10 00:37:11 -08:00