Commit graph

62 commits

Author SHA1 Message Date
Gabe Kangas
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
renovate[bot]
44eafe69ac
fix(deps): update dependency date-fns to v3 (#3619)
* fix(deps): update dependency date-fns to v3

* fix(deps): update usage of date-fns format

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2024-03-06 21:13:13 -08:00
Gabe Kangas
7b783ac00e
fix(admin): fix admin followers pagination. Closes #3510 2024-02-18 19:14:20 -08:00
Varun Gujarathi
b694be1052
fix(admin): sanitize fediverse username (#3437)
* test: add config federation test

* fix: santize fediverse username

fixes #3424

* refactor: remove commented code

* refactor: change username const to usernameValue

* refactor: use shorthand property

* build: move stories page out of build directory

* fix: allow only alphanumeric chars in username

* fix: filter out special chars in username

Added a regex filter to strip non-alphanumeric chars in username field.

* chore: clean unused fields
2024-02-05 20:00:50 -08:00
Aziz Rmadi
6c644330e7
Fixed page size stale state on LogTable component (#3516) 2024-01-22 20:31:23 -08:00
renovate[bot]
b28b027ead
chore(deps): update dependency typescript to v5 (#3387)
* chore(deps): update dependency typescript to v5

* fix: resolve type mismatch

* Commit updated API documentation

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
2023-10-25 21:52:36 -07:00
Gabe Kangas
169c11596c
feat(chat): add support for chat part messages. Closes #3201 (#3291) 2023-09-10 10:58:11 -07:00
Ikko Eltociear Ashimine
0fb821b33c
Fix typo in actions.tsx (#3225)
alway -> always
2023-07-31 10:44:48 -07:00
renovate[bot]
7c13a3fd01
chore(deps): update dependency eslint-plugin-react to v7.33.0 (#3205)
* chore(deps): update dependency eslint-plugin-react to v7.33.0

* chore: have linter try to autofix and commit linter warnings

* Linter fixes

* chore: tweak how js formatting is run within actions

* fix: type mismatch

* Prettified Code!

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2023-07-29 15:57:45 -07:00
janWilejan
8148f74736
Unhide dropdown in Viewer Info page (#3173)
Co-authored-by: janWilejan <>
2023-07-14 09:28:56 -07:00
janWilejan
e15e2dc47c
Fix deprecated antd dropdown warnings (#3171)
* Fix deprecated antd dropdown warnings
2023-07-13 20:28:12 +00:00
John Regan
46ca5223f9
Chat wire protocol (#3125)
* core: remove file extension from emoji name

* web: transform emotes to labels when sending

* chat: replace br with line break

* core: implement emoji cache

* chat: send shortcodes for custom emoji

* chat: correct esling errors

* core: move emoji injection into dedicated function

* emoji: integrate emoji into markdown renderer, fix formatting

* chat protocol: correct golangci-lint findings

* chat field: specify that the contentEditable is an HTMLElement

* admin: mention that emoji should have unique names

* Prettified Code!

* regenerate pack-lock

* chat: correct the emphasis tag, provide fallback for other elements

---------

Co-authored-by: jprjr <jprjr@users.noreply.github.com>
2023-07-05 17:25:47 -07:00
Gabe Kangas
cc953f154e
fix(admin): fix typo causing established chat mode display bug. Closes #3070 2023-06-05 16:47:08 -07:00
Abhishek Gupta
0ff30d44e4
fix: hide latency card for admin if latency is 0 (#3047)
* hide latency card for admin if latency is 0

* Prettified Code!

---------

Co-authored-by: abhipanorian <abhipanorian@users.noreply.github.com>
2023-05-30 11:33:30 -07:00
Gabe Kangas
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
Dev Gupta
fb36d32fa0
Fixes : Admin: Custom emoji page layout (#2993)
* Update emojis.tsx

* Prettified Code!

* Second Iteration

* Update emojis.tsx

* Putting Delete Button at top-right

Will this work ?

* Prettified Code!

* Update emojis.tsx

Changing Icon of Delete Button
Decreasing Delete-Button Size

* Prettified Code!

* Tweak style of delete emoji button

---------

Co-authored-by: dev265545 <dev265545@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-05-07 12:57:15 -07:00
Gabe Kangas
b3ac4e1a15
fix(js): consolidate url and account validators 2023-04-16 14:32:18 -07:00
Pranav Joglekar
07c5cabfe8
Trigger the title updated webhook event whenever a title is changed (#2823)
* wip: trigger the title updated webhook event whenever a title is changed

* Commit updated API documentation

* fix: add STREAM_TITLE_CHANGED to list of valid events

* feat: Add support for STREAM_TITLE_CHANGED webhook event on admin dashboard

* fix: transmit webhook event after stream has changed to fix race conditions where older title was sent

---------

Co-authored-by: Owncast <owncast@owncast.online>
2023-03-28 11:34:00 -07:00
Gabe Kangas
bb14af399e
Fix the listing of follower tables in admin 2023-03-22 14:54:43 -07:00
Gabe Kangas
a5e5adfa02
Fix incorrect follower count displayed. Closes #2854 2023-03-21 17:33:59 -07:00
Dhanu Saputra
2b41113211
Loose div in Utilities > Stream health screen (#2844) 2023-03-21 13:06:16 -07:00
Gabe Kangas
6973c3d8df
Update styling of video settings admin page. Closes #2803 2023-03-14 21:34:37 -07:00
Gabe Kangas
3ada7182f5
Update viewers chart y axis to make more sense. Closes #2806 2023-03-13 15:58:16 -07:00
Gabe Kangas
0b619b84a6
Add waiting message to hardware screen. Closes #2805 2023-03-13 13:19:17 -07:00
Gabe Kangas
23a721857f
Do not support stream key UI or any persisted stream keys when overridden via cli flag. Closes #2749 2023-02-27 17:08:52 -08:00
Dhanu Saputra
0a653aaba7
Remove usage of the PropTypes dependency (#2723)
* Remove usage of the PropTypes dependency

* Prettified Code!

---------

Co-authored-by: dhanusaputra <dhanusaputra@users.noreply.github.com>
2023-02-22 09:21:00 -08:00
Philipp
a290770ac9
Allow embedding HTML for external actions (#2693)
* Admin UI: implement HTML embeds

* Admin UI External Actions: set correct useHTML on edits

* Admin UI: edit by index, not URL

* External Actions: render HTML on stream frontend

* Don't open embeds externally

* Remove TODO comment

* Add HTML as unique action key

* Admin UI: Actions: use CodeMirror editor, dropdown
2023-02-14 09:08:54 -08:00
Gabe Kangas
d9e4731764
Update charting library and how it is used. Closes #2658 2023-02-02 14:58:39 -08:00
Philipp
4aaabaac07
Admin UI: Fix broken links (#2660) 2023-02-01 10:39:48 -08:00
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604 2023-01-18 22:38:24 -08:00
Michael David Kuckuk
59e5cfefd4
Remove twitter notification configuration (#2598) 2023-01-17 13:20:29 -08:00
Gabe Kangas
2853752937
Make each admin page specify is own layout. Closes #2584 2023-01-15 23:12:38 -08:00
Gabe Kangas
6fbd6cbbcf
Lazy load every instance of using ant icons. Closes #2583 2023-01-15 22:31:36 -08:00
Gabe Kangas
82848bf68a
Fix link 2023-01-13 14:21:27 -08:00
Gabe Kangas
c7e12643e9
Point link to genera admin settings page 2023-01-11 22:44:55 -08:00
Gabe Kangas
2ff4316ee6
Fix admin subpages not having a layout 2023-01-11 22:44:15 -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
cfaeda94b0
Lazy load more components. #2167 2023-01-10 00:37:12 -08:00
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling 2023-01-10 00:37:11 -08:00
Gabe Kangas
29882f1291
Lazy load tooltip 2023-01-10 00:37:11 -08:00
Gabe Kangas
c542dc10da
Fix some components being rendered as pages 2023-01-10 00:37:10 -08:00
Gabe Kangas
c05a20a460
Use built-in Next layout support + lazy load
Instead of doing manual layout switching use the Nextjs nested layout
support. Also add some additional lazy loading of components. This is to
work on performance score re: #2167.
2023-01-09 01:08:24 -08:00
Gabe Kangas
a88da10c74
Rework some of the css var state to fix flaky customization UI. Fixes #2505 2022-12-28 13:05:35 -08:00
Gabe Kangas
5a41f4a1ea
Reorganize admin pages and consolidate some sections. For #1904 2022-12-27 18:51:13 -08:00
Gabe Kangas
c9768bd8f8
Add appearance setting for rounded corners. Closes #2471 2022-12-20 23:55:07 -08:00
Meisam
8f29acb7dd
properly detect lowestVariant for system health (#2455) 2022-12-19 23:19:21 -08:00
Gabe Kangas
f0953a957a
Fix exception with appearance reset. Closes #2459 2022-12-16 21:13:29 -08:00
Gabe Kangas
0ebb968074
Handle subdirectories of emoji in copying, fetching and deleting. For #1916 2022-12-16 20:23:58 -08:00
Gabe Kangas
b75ef37952
Fix text color. Closes #2447 2022-12-15 22:00:15 -08:00
Gabe Kangas
7d2e2537cf
Fix default protocol validation list 2022-12-14 23:54:46 -08:00