Commit graph

53 commits

Author SHA1 Message Date
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
Gabe Kangas
11c4d80e28
Export new url validation functions 2022-12-14 11:52:11 -08:00
Philipp
dc54dfe363
Feature: emoji editor (#2411)
* Custom emoji editor: implement backend

This reuses the logo upload code

* Implement emoji edit admin interface

Again reuse base64 logic from the logo upload

* Allow toggling between uploaded and default emojis

* Add route that always serves uploaded emojis

This is needed for the admin emoji interface,
as otherwise the emojis will 404 if custom emojis are disabled

* Fix linter warnings

* Remove custom/uploaded emoji logic

* Reset timer after emoji deletion

* Setup: copy built-in emojis to emoji directory
2022-12-12 08:40:43 -08:00
Gabe Kangas
d503c8a2e0 Updates to the admin to reflect new stream keys and admin password split 2022-11-29 16:05:44 -08:00
Philipp
1b4a88392e
Edit external actions (#2391)
* Initial action editing

* Set previous values in form when editing

* Show previous values when editing an action

* Fix typo
2022-11-29 14:14:11 -08:00
Gabe Kangas
aaabc57a15
Add scrollbar color var 2022-11-13 13:17:26 -08:00
Gabe Kangas
813f8692f0
Support color customization from the admin (#2338)
* Add user-customizable theming. Closes #1915

* Prettified Code!

* Add user-customizable theming. Closes #1915

* Add explicit color for page content background

* Prettified Code!

Co-authored-by: gabek <gabek@users.noreply.github.com>
2022-11-12 20:26:55 -08:00
Matthew Heller
8320f282d8
More renames from 'visible' to 'open'. (#2290) 2022-11-01 14:50:23 -07:00
Gabe Kangas
a526decef4
Refactor use of antd tab component. Closes #2098 2022-10-10 17:54:03 -07:00
Gabe Kangas
215a3096db
Do not allow enabling federation features on if not port 443. Closes #2008 2022-10-03 22:24:12 -07:00