Commit graph

33 commits

Author SHA1 Message Date
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
James Young
d1f3fffe2f
reafctor: normalize component formatting (#2082)
* refactor: move/rename BanUserButton file

* refactor: move/rename Chart file

* refactor: update generic component filenames to PascalCase

* refactor: update config component filenames to PascalCase

* refactor: update AdminLayout component filename to PascalCase

* refactor: update/move VideoJS component

* chore(eslint): disable bad react/require-default-props rule

* refactor: normalize ActionButton component

* refactor: normalize ActionButtonRow component

* refactor: normalize FollowButton component

* refactor: normalize NotifyButton component

* refactor: normalize ChatActionMessage component

* refactor: normalize ChatContainer component

* refactor: normalize ChatJoinMessage component

* refactor: normalize ChatModerationActionMenu component

* refactor: normalize ChatModerationDetailsModal component

* refactor: normalize ChatModeratorNotification component

* refactor: normalize ChatSocialMessage component

* refactor: normalize ChatSystemMessage component

* refactor: normalize ChatTextField component

* refactor: normalize ChatUserBadge component

* refactor: normalize ChatUserMessage component

* refactor: normalize ContentHeader component

* refactor: normalize OwncastLogo component

* refactor: normalize UserDropdown component

* chore(eslint): modify react/function-component-definition rule

* refactor: normalize CodecSelector component

* refactor: update a bunch of functional components using eslint

* refactor: update a bunch of functional components using eslint, pt2

* refactor: update a bunch of functional components using eslint, pt3

* refactor: replace all component->component default imports with named imports

* refactor: replace all component-stories->component default imports with named imports

* refactor: remove default exports from most components

* chore(eslint): add eslint config files for the components and pages dirs

* fix: use-before-define error in ChatContainer

* Fix ChatContainer import

* Only process .tsx files in Next builds

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2022-09-07 00:00:28 -07:00
Gabe Kangas
72c01e1b9a
Fix web project build errors 2022-05-11 23:31:31 -07:00
Gabe Kangas
79bfa0145f Moved admin to /admin and created blank placeholder for v2 frontend 2022-04-25 15:54:37 -07:00