Commit graph

802 commits

Author SHA1 Message Date
Jambaldorj Ochirpurev
b75c6a886a
Random Stream Key Generator (#2690)
* add a new random stream key generator

* fix a typo
2023-02-07 17:17:04 -08:00
dorj222
aa2504b354 put password regex rules into config-constants.tsx 2023-02-07 17:22:52 +01:00
dorj222
3711588909 refactor the Form Input field name from adminPassword to InputFieldPassword 2023-02-07 11:53:23 +01:00
dorj222
170f367538 refactor the Admin Password Input field and add a new boolean field for it 2023-02-07 11:41:51 +01:00
Gabe Kangas
642782a36c
Remove admin password generation+copy button. Add auto-generating stream keys. Closes #2683 and #2631 2023-02-05 20:09:50 -08:00
Gabe Kangas
313a81359a
Add Fediverse event chat views. Closes #2679 2023-02-05 19:58:38 -08:00
Gabe Kangas
57d8bdbdbe
Use same message highlighting on system messages 2023-02-05 15:46:54 -08:00
Gabe Kangas
1ee71aecaa
Add bot user badge. Closes #2681 2023-02-05 15:37:16 -08:00
Jambaldorj Ochirpurev
f94e61b14d
Merge branch 'develop' into fix/ImplementPasswordRules 2023-02-05 11:12:05 +01:00
Prachurjya
7ff71985ea
Issue#2662: Make Followers Content Fit With overflow ending in ellipsis (#2678)
* Issue#2662: Make Followers Content Fit With overflow ending in ellipsis

* Prettified Code!

* Fixed Linting Issue

* Resolved line break issue

---------

Co-authored-by: prachurjya15 <prachurjya15@users.noreply.github.com>
2023-02-04 20:45:31 -08:00
Gabe Kangas
e6d3da4f9c
Refactor how message content highlighting works + change to safe HTML rendering component. Closes #2669 2023-02-04 17:21:24 -08:00
Michael David Kuckuk
840c59b2ac
Use correct cover styling for img tag (#2674) 2023-02-04 10:52:52 -08:00
Gabe Kangas
d9e4731764
Update charting library and how it is used. Closes #2658 2023-02-02 14:58:39 -08:00
Gabe Kangas
a50ca4a084
Remove minHeight that is forcing scrolling 2023-02-01 11:06:08 -08:00
Michael David Kuckuk
c6136fc35c
Add noscript for browsers without JS (#2592)
* Make OwncastLogo more versatile

* Add noscript tag

* Commit updated API documentation

* Show all content on vertical overflow

---------

Co-authored-by: Owncast <owncast@owncast.online>
2023-02-01 11:04:24 -08:00
Philipp
4aaabaac07
Admin UI: Fix broken links (#2660) 2023-02-01 10:39:48 -08:00
dorj222
ad40981668 update the TextFieldWithSubmit component 2023-02-01 10:19:29 +01:00
Gabe Kangas
a84af0870a
Speed up initial loading state 2023-01-31 23:29:03 -08:00
Gabe Kangas
b05ff79cf0
Add loading state for player component 2023-01-31 23:29:03 -08:00
elonyavist
bb16e6170a
Fix/issue 2649/status bar time info (#2657)
* fix: manage singular time units

* fix: manage singular day visibility
2023-01-31 18:46:20 -08:00
imgbot[bot]
e977279eef
[ImgBot] Optimize images (#2654)
*Total -- 14,486.60kb -> 13,473.50kb (6.99%)

/static/img/emoji/blob/ablobaww.gif -- 401.59kb -> 221.70kb (44.79%)
/static/img/emoji/blob/ablobdancer.gif -- 33.43kb -> 24.81kb (25.78%)
/static/img/emoji/blob/ablobthinking.gif -- 82.81kb -> 61.59kb (25.62%)
/web/stories/assets/mocks/offline-state.png -- 25.70kb -> 19.44kb (24.34%)
/web/.storybook/story-assets/project/sticker-bigtech-alt.png -- 161.87kb -> 131.11kb (19%)
/static/img/emoji/blob/blobwave.png -- 7.84kb -> 6.55kb (16.44%)
/static/web/img/platformlogos/fediverse.svg -- 18.53kb -> 15.55kb (16.08%)
/web/public/img/platformlogos/fediverse.svg -- 18.53kb -> 15.55kb (16.08%)
/static/img/emoji/blob/blobaww.png -- 8.72kb -> 7.38kb (15.32%)
/web/.storybook/story-assets/project/owncast-background.png -- 3,228.15kb -> 2,739.00kb (15.15%)
/static/img/emoji/blob/ablobgift.gif -- 205.24kb -> 174.65kb (14.91%)
/web/.storybook/story-assets/project/logo-translucent-grey.svg -- 7.51kb -> 6.45kb (14.22%)
/web/components/video/airplay.svg -- 1.36kb -> 1.18kb (13.35%)
/static/web/_next/static/media/airplay.1a413e9c.svg -- 1.36kb -> 1.18kb (13.35%)
/static/img/emoji/conigliolo96/conigliolo15.gif -- 34.76kb -> 30.12kb (13.35%)
/static/img/emoji/conigliolo96/conigliolo1.gif -- 34.66kb -> 30.03kb (13.35%)
/static/img/emoji/conigliolo96/conigliolo17.gif -- 35.63kb -> 30.90kb (13.26%)
/static/img/emoji/blob/blobdancer.png -- 9.63kb -> 8.42kb (12.5%)
/static/img/emoji/blob/blobthinking.png -- 11.07kb -> 9.69kb (12.43%)
/static/web/img/platformlogos/matrix.svg -- 1.21kb -> 1.06kb (12.32%)
/web/public/img/platformlogos/matrix.svg -- 1.21kb -> 1.06kb (12.32%)
/static/web/img/platformlogos/xmpp.svg -- 4.23kb -> 3.73kb (11.83%)
/web/public/img/platformlogos/xmpp.svg -- 4.23kb -> 3.73kb (11.83%)
/static/img/emoji/blob/ablobcry.gif -- 42.70kb -> 37.93kb (11.16%)
/web/stories/assets/mocks/follow-modal.png -- 100.92kb -> 90.24kb (10.59%)
/static/img/emoji/dog/img347.svg -- 17.25kb -> 15.50kb (10.13%)
/static/img/emoji/blob/blobjam.png -- 12.81kb -> 11.56kb (9.71%)
/static/img/emoji/blob/blobyum.png -- 9.49kb -> 8.58kb (9.58%)
/static/img/emoji/blob/ablobsleep.gif -- 45.52kb -> 41.19kb (9.52%)
/static/img/emoji/dog/img346.svg -- 15.84kb -> 14.36kb (9.39%)
/static/img/emoji/dog/img327.svg -- 16.52kb -> 14.99kb (9.27%)
/static/img/emoji/blob/blobangry.png -- 8.23kb -> 7.49kb (9.06%)
/static/img/emoji/blob/ablobwave.gif -- 77.02kb -> 70.13kb (8.94%)
/static/img/emoji/dog/img091.svg -- 14.19kb -> 12.94kb (8.82%)
/static/img/emoji/dog/img001.svg -- 15.80kb -> 14.42kb (8.74%)
/static/img/emoji/dog/img093.svg -- 14.39kb -> 13.13kb (8.7%)
/static/img/emoji/dog/img203.svg -- 15.82kb -> 14.45kb (8.61%)
/static/img/emoji/conigliolo96/conigliolo25.gif -- 38.86kb -> 35.54kb (8.54%)
/static/img/emoji/blob/blobyes.png -- 13.01kb -> 11.91kb (8.49%)
/static/img/emoji/blob/blobthanks.png -- 11.97kb -> 10.97kb (8.38%)
/static/img/emoji/dog/img288.svg -- 16.43kb -> 15.10kb (8.07%)
/static/img/emoji/blob/ablobblewobble.gif -- 16.01kb -> 14.80kb (7.56%)
/static/img/emoji/conigliolo96/conigliolo28.gif -- 38.59kb -> 35.80kb (7.22%)
/static/img/emoji/conigliolo96/conigliolo21.gif -- 38.29kb -> 35.64kb (6.92%)
/static/img/emoji/dog/img352.svg -- 22.09kb -> 20.57kb (6.9%)
/web/stories/assets/mocks/notify-popup.png -- 48.11kb -> 45.48kb (5.46%)
/static/web/img/indieauth.png -- 9.85kb -> 9.32kb (5.38%)
/web/public/img/indieauth.png -- 9.85kb -> 9.32kb (5.38%)
/web/stories/assets/mocks/chatmessage-system.png -- 33.28kb -> 31.55kb (5.19%)
/static/img/emoji/blob/ablobcheer.gif -- 37.57kb -> 35.74kb (4.86%)
/static/img/emoji/blob/ablobattention.gif -- 36.55kb -> 34.81kb (4.76%)
/static/img/logo.png -- 127.20kb -> 121.26kb (4.68%)
/web/.storybook/story-assets/project/logo-glare-outlined.png -- 127.20kb -> 121.26kb (4.68%)
/web/.storybook/story-assets/project/kiss-cut-stickers-5.5x5.5-default-60874a6c11849.png -- 127.20kb -> 121.26kb (4.68%)
/web/stories/assets/mocks/chatmessage-action.png -- 9.85kb -> 9.39kb (4.66%)
/web/.storybook/story-assets/project/header.png -- 57.15kb -> 54.50kb (4.63%)
/web/stories/assets/mocks/chatmessage-user.png -- 37.25kb -> 35.79kb (3.91%)
/static/img/emoji/blob/ablobgiggle.gif -- 228.77kb -> 221.60kb (3.13%)
/web/stories/assets/mocks/notify-modal.png -- 63.75kb -> 61.91kb (2.89%)
/web/.storybook/story-assets/tshirt/all-over-print-womens-crew-neck-t-shirt-white-back-6087418b62999.png -- 724.91kb -> 705.22kb (2.72%)
/web/.storybook/story-assets/tshirt/all-over-print-mens-crew-neck-t-shirt-white-front-60873dde51eb3.png -- 689.98kb -> 671.76kb (2.64%)
/web/.storybook/story-assets/tshirt/all-over-print-mens-crew-neck-t-shirt-white-back-60873dde52297.png -- 682.39kb -> 664.39kb (2.64%)
/web/.storybook/story-assets/tshirt/all-over-print-womens-crew-neck-t-shirt-white-front-6087418b626d5.png -- 760.09kb -> 740.90kb (2.53%)
/web/.storybook/story-assets/tshirt/all-over-print-womens-crew-neck-t-shirt-white-back-6087418b62aa4.png -- 530.18kb -> 524.45kb (1.08%)
/web/stories/assets/mocks/fediauth-modal.png -- 76.13kb -> 75.33kb (1.05%)
/web/.storybook/story-assets/tshirt/all-over-print-mens-crew-neck-t-shirt-white-back-60873dde523ae.png -- 604.79kb -> 598.44kb (1.05%)
/web/.storybook/story-assets/tshirt/all-over-print-mens-crew-neck-t-shirt-white-front-60873dde52064.png -- 689.60kb -> 682.66kb (1.01%)
/web/stories/assets/mocks/indieauth-modal.png -- 97.92kb -> 96.98kb (0.96%)
/web/.storybook/story-assets/tshirt/all-over-print-womens-crew-neck-t-shirt-white-front-6087418b62878.png -- 533.18kb -> 528.58kb (0.86%)
/web/stories/assets/mocks/followers-tab.png -- 145.22kb -> 143.97kb (0.86%)
/web/.storybook/story-assets/tshirt/all-over-print-womens-crew-neck-t-shirt-white-right-6087418b62c88.png -- 459.98kb -> 456.04kb (0.86%)
/static/img/emoji/blob/blobscream.png -- 11.65kb -> 11.55kb (0.82%)
/web/.storybook/story-assets/tshirt/all-over-print-mens-crew-neck-t-shirt-white-back-60873dde524ca.png -- 612.37kb -> 607.37kb (0.82%)
/web/.storybook/story-assets/tshirt/all-over-print-womens-crew-neck-t-shirt-white-left-6087418b62b91.png -- 501.58kb -> 497.80kb (0.75%)
/static/img/emoji/blob/ablobparty.gif -- 254.34kb -> 252.42kb (0.75%)
/web/.storybook/story-assets/tshirt/all-over-print-mens-crew-neck-t-shirt-white-right-60873dde52184.png -- 481.94kb -> 478.58kb (0.7%)
/web/stories/assets/mocks/single-follower.png -- 51.88kb -> 51.54kb (0.65%)
/web/.storybook/story-assets/tshirt/all-over-print-mens-crew-neck-t-shirt-white-left-60873dde525e2.png -- 597.15kb -> 593.50kb (0.61%)
/static/img/emoji/mutant/grumpy_block.svg -- 1.01kb -> 1.01kb (0.29%)
/static/img/emoji/mutant/tennis.svg -- 1.02kb -> 1.01kb (0.29%)
/static/img/emoji/mutant/studio_microphone.svg -- 1.17kb -> 1.17kb (0.25%)
/static/img/emoji/mutant/eye.svg -- 1.43kb -> 1.43kb (0.2%)
/static/img/emoji/mutant/singer.svg -- 2.92kb -> 2.92kb (0.17%)
/static/img/emoji/mutant/technologist.svg -- 3.08kb -> 3.08kb (0.16%)
/static/img/emoji/mutant/softball.svg -- 2.30kb -> 2.30kb (0.13%)
/static/img/emoji/mutant/8_ball.svg -- 1.75kb -> 1.75kb (0.11%)
/static/img/emoji/mutant/football.svg -- 1.93kb -> 1.92kb (0.1%)
/static/img/emoji/mutant/jack_o_lantern.svg -- 1.99kb -> 1.98kb (0.1%)
/static/img/emoji/mutant/cat_kiss.svg -- 3.37kb -> 3.37kb (0.09%)
/static/img/emoji/mutant/blep.svg -- 3.43kb -> 3.43kb (0.09%)
/static/img/emoji/mutant/cat_pouting.svg -- 3.69kb -> 3.69kb (0.08%)
/static/img/emoji/mutant/student.svg -- 2.47kb -> 2.47kb (0.08%)
/static/img/emoji/mutant/cat_grin.svg -- 3.74kb -> 3.74kb (0.08%)
/static/img/emoji/mutant/cat_heart_eyes.svg -- 3.81kb -> 3.81kb (0.08%)
/static/img/emoji/mutant/cat_devious.svg -- 3.87kb -> 3.87kb (0.08%)
/static/img/emoji/mutant/skull.svg -- 2.58kb -> 2.58kb (0.08%)
/static/img/emoji/mutant/cat_crying.svg -- 4.19kb -> 4.19kb (0.07%)
/static/img/emoji/mutant/cat_joy.svg -- 4.21kb -> 4.21kb (0.07%)
/static/img/emoji/mutant/cat_smile.svg -- 4.25kb -> 4.25kb (0.07%)
/static/img/emoji/mutant/office_worker.svg -- 3.00kb -> 3.00kb (0.07%)
/static/img/emoji/mutant/chef.svg -- 3.09kb -> 3.09kb (0.06%)
/static/img/emoji/mutant/cat_scream.svg -- 4.93kb -> 4.93kb (0.06%)
/static/img/emoji/mutant/astronaut.svg -- 3.40kb -> 3.40kb (0.06%)
/static/img/emoji/mutant/artist.svg -- 3.66kb -> 3.65kb (0.05%)
/static/img/emoji/mutant/skull_and_crossbones.svg -- 5.04kb -> 5.04kb (0.04%)
/static/img/emoji/mutant/detective.svg -- 5.35kb -> 5.35kb (0.04%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-01-31 09:12:51 -08:00
Gabe Kangas
23d2a4dab5
Set a diff threshold to header story 2023-01-30 15:33:16 -08:00
Gabe Kangas
de20b2cc11
Increase diff threshold for UI tests: #2292 #2630 #2629 2023-01-30 14:46:34 -08:00
Gabe Kangas
47fbe1547c
Fix incorrect title on user badge. 2023-01-30 11:20:02 -08:00
Gabe Kangas
d48a61ce62
Increase lower section min height 2023-01-30 00:02:10 -08:00
Gabe Kangas
10baf36bda
Tweak offline banner style for narrow screens 2023-01-29 17:34:09 -08:00
Gabe Kangas
71ed8ac1ff
Give the lower section a min height to push the footer to the bottom. Closes #2188 2023-01-29 17:24:43 -08:00
Gabe Kangas
9877d115ee
Update how the player resizes to fit. Closes #2360 2023-01-29 17:10:44 -08:00
Gabe Kangas
72cc7cb443
Add skip link to offline message 2023-01-29 16:31:52 -08:00
Gabe Kangas
d057834a20
Tweak font size and family of offline banner 2023-01-29 16:29:12 -08:00
Gabe Kangas
71bb8a7381
Redesign the user badges (authed, mods) 2023-01-29 15:40:59 -08:00
Gabe Kangas
f318b69980
Make join msg not italic and left align it 2023-01-29 14:01:09 -08:00
Jambaldorj Ochirpurev
dd936b6605
Merge branch 'webv2' into fix/ImplementPasswordRules 2023-01-29 11:31:36 +01:00
Gabe Kangas
8af332e129
Decrease header height. Add padding. 2023-01-28 19:29:03 -08:00
Gabe Kangas
88281b4814
Do not show title on offline banner + add margin 2023-01-28 19:26:19 -08:00
Gabe Kangas
59aa54ca12
Decrease status bar font weight 2023-01-28 19:26:18 -08:00
Gabe Kangas
84aff441a2
Give text input more padding 2023-01-28 19:26:17 -08:00
Gabe Kangas
7b4c3f38d5
Fix message background rendering on top of message. Closes #2636 2023-01-28 18:32:57 -08:00
Gabe Kangas
fb4b0a56cc
Fix player sizing in different viewports. Closes #2360 2023-01-28 18:16:31 -08:00
dorj222
d5132cf2c1 update Textfield and TextFieldWithSubmit 2023-01-28 16:38:33 +01:00
Gabe Kangas
7a0d448a26
Add some follower text line break 2023-01-27 14:37:16 -08:00
Gabe Kangas
8b43173681
Slightly improve styling of follower 2023-01-27 14:24:29 -08:00
Gabe Kangas
544ef6bd37
Fix broken image in offline admin 2023-01-27 13:46:33 -08:00
Gabe Kangas
bbd3041d90
Add linking to user chat messages. Closes #2635 2023-01-27 12:57:14 -08:00
Gabe Kangas
7c8030cca4
Change system message link color. Closes #2634 2023-01-27 11:50:22 -08:00
Gabe Kangas
c91d85a118
Fix upgrade link in admin sidebar. Closes #2612 2023-01-27 11:11:12 -08:00
dorj222
7920ec17a9 code cleanup 2023-01-25 17:06:39 +01:00
Gabe Kangas
8bacd776bc
Remove redundant title attribute from header. Closes #2620 2023-01-24 19:43:17 -08:00
Gabe Kangas
c6eecada6b
Add h2 and h3 tags for page structure. Closes #2623 2023-01-24 14:28:15 -08:00
Gabe Kangas
56d8f799ab
Remove redundant title attr from image link. Closes #2621 2023-01-24 14:17:08 -08:00
dorj222
1993eebc9f fix a small regex typo 2023-01-24 15:10:11 +01:00
dorj222
a5dfc2e03b update Input Validators for Streak Keys and Admin Password 2023-01-24 14:33:56 +01:00
Gabe Kangas
e50a810f23
Add label for display name input. For #1826 2023-01-23 20:29:53 -08:00
Gabe Kangas
4f7c2926f9
Give status bar a aria role of status. For #1826 2023-01-23 19:39:56 -08:00
Gabe Kangas
e6be36af31
Add aria-label to player settings button. For #1826 2023-01-23 19:36:28 -08:00
Gabe Kangas
24f6bb1ea5
Add aria-title attribute to video player. For #1826 2023-01-23 19:28:32 -08:00
Gabe Kangas
308aea9f59
Add aria-expanded to toggle chat option. For #1826 2023-01-23 19:16:52 -08:00
dorj222
dd9f41fef6 merge TextField and TextFieldAdmin components 2023-01-23 15:34:59 +01:00
Gabe Kangas
5556653021
Position confirmation popover. Closes #2611 2023-01-22 22:39:18 -08:00
Gabe Kangas
cdaae66e94
Add skip links for content, player and footer. For #1826 2023-01-21 23:22:28 -08:00
Gabe Kangas
b0f88519d0
Strip fragments from URL when connecting to websocket 2023-01-21 23:19:21 -08:00
Gabe Kangas
f725bc28f4
Make the player fit the full width but content stay the same. For #2360 2023-01-21 12:50:36 -08:00
Gabe Kangas
18076355f4
Add additional bottom margin to system messages 2023-01-20 16:29:49 -08:00
Gabe Kangas
d6ec47667a
Remove border from moderator message 2023-01-20 16:17:27 -08:00
dorj222
90515f37b5 add an admin password validator 2023-01-19 11:58:36 +01:00
Gabe Kangas
fa420ff98f
Support customizing button title text color 2023-01-18 23:14:44 -08:00
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604 2023-01-18 22:38:24 -08:00
Gabe Kangas
a567f8543e
Make chat text input background the same color as chat bg 2023-01-18 20:23:50 -08:00
Gabe Kangas
7ba91404cc
Style moderation hover button 2023-01-18 20:23:12 -08:00
Gabe Kangas
a6bcabebbf
Make chat background dark 2023-01-18 19:18:32 -08:00
Gabe Kangas
a92175aaed
Fix footer height 2023-01-18 19:18:31 -08:00
Gabe Kangas
f072819e81
Refactor the color customizing admin components 2023-01-18 19:18:31 -08:00
Gabe Kangas
2b46bb5b6d
Make statusbar dark 2023-01-18 19:18:30 -08:00
Gabe Kangas
12eb0eed1d
Support customizing button border color 2023-01-18 19:18:30 -08:00
Gabe Kangas
a1a3272031
Hide scrollbars 2023-01-18 19:18:29 -08:00
Gabe Kangas
bd8925f135
Remove theme colors from apperaance customization 2023-01-18 19:18:28 -08:00
Gabe Kangas
5b371b4f73
Improve connectivity error message 2023-01-17 19:21:24 -08:00
Michael David Kuckuk
59e5cfefd4
Remove twitter notification configuration (#2598) 2023-01-17 13:20:29 -08:00
dorj222
52a720f2f8 add the minimum stream key complexity rules on the client side 2023-01-17 12:29:16 +01:00
Gabe Kangas
15c28b3d6e
Allow moderator message to fill chat width. Closes #2596 2023-01-16 17:53:59 -08:00
Gabe Kangas
49cdb1dafb
Fix chat message background color not showing. Closes #2594 2023-01-16 17:33:50 -08:00
Gabe Kangas
c88c90881a
Use flex-start instead of start 2023-01-15 23:13:38 -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
André Rusakow
b8016eaa90
fix scroll on mobile (#2585)
* fix scrolling issues on mobile

* resolve conflict
2023-01-15 18:37:21 -08:00
Gabe Kangas
e48e274c79
Only show moderator notification once. Closes #2578 2023-01-13 20:53:10 -08:00
Gabe Kangas
d5960524fc
Tweak admin styles to be using less custom overrides 2023-01-13 14:20:46 -08:00
Gabe Kangas
bf92705dfc
Fix link 2023-01-13 14:19:32 -08:00
Gabe Kangas
2c2dae9e00
Make the footer have a consistant height 2023-01-13 00:28:05 -08:00
Gabe Kangas
1d58b7fbad
Center column of followers on mobile. Closes #2515 2023-01-12 15:06:02 -08:00
Gabe Kangas
bf3ee58e87
Fix followers collection story 2023-01-12 15:06:02 -08:00
Gabe Kangas
48e99ff37c
Move icons to public directory. Fixes #2573 2023-01-12 13:53:09 -08:00
Gabe Kangas
aadf721808
Move the contributor comment to end of source 2023-01-11 23:50:26 -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
4bac079a73
Make footer sit on bottom of page. Closes #2188 2023-01-11 18:56:10 -08:00
Gabe Kangas
9cc7b1cf2d
Add a little comment for those viewing HTML source that we could use contributors 2023-01-11 18:26:54 -08:00
Gabe Kangas
bb9b8a8123
Use own scroll to bottom function instead of built-in. Closes #2500 2023-01-11 00:53:18 -08:00
Gabe Kangas
b989e9a462
Remove chat container bottom margin 2023-01-11 00:52:03 -08:00
Gabe Kangas
7ce35a8a08
Increase user message border width 2023-01-11 00:51:39 -08:00
Gabe Kangas
8b36194471
Fix another rendering error 2023-01-10 16:51: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
73fbb4c075
Use header tag 2023-01-10 01:09:49 -08:00
Gabe Kangas
85dc3bf21e
Fix storybook errors 2023-01-10 01:00:13 -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
bd3c81c353
Replace he html decoding lib with entities 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
15747f86dd
Lazy load followers components 2023-01-09 01:08:24 -08:00
Gabe Kangas
e4a02dea91
No reason to use the Image component here 2023-01-08 20:03:06 -08:00
Gabe Kangas
81c505d731
Hack to force scroll to very bottom at mount. For #2500 2023-01-05 02:16:37 -08:00
Harpreet Singh
2e56684314
Move enable save button logic to a use effect hook. This updates state without delay. (#2548) 2023-01-04 13:54:34 -08:00
Michael David Kuckuk
2f2300db8d
Add initiallyMuted query parameter to embed player (#2539)
* Add query param to initially mute embed player

* Add stories for embed player

* Improve VideoJS typing
2022-12-31 16:08:54 -08:00
Harpreet Singh
41499c78c3
Update logic for canSave() to allow saving regardless of the enabled value. (#2538) 2022-12-31 14:44:49 -08:00
Gabe Kangas
48f7a18419
Do not show followers bg color on mobile 2022-12-29 23:00:23 -08:00
Gabe Kangas
04b0f4548c
Remove duplicate API call + explicitly set loading state 2022-12-29 22:59:53 -08:00
Gabe Kangas
a971a79296
Fix name change clearing chat history. Closes #2532 2022-12-29 20:11:20 -08:00
Gabe Kangas
533d33847c
Hide disabled features (#2473)
* Hide/show on notify and fediverse feature disable/enable

* Update browser tests to enable features for testing

* Hide/show features in mobile action menu

* Do not show fediauth option if fediverse features are not enabled.

* Force showing tabs when in Storybook
2022-12-29 16:26:04 -08:00
André Rusakow
15533d3d8a
wrap promise response in set timeout to keep local state in sync (#2531) 2022-12-29 13:19:23 -08:00
Jambaldorj Ochirpurev
31a3868216
fix Notify Reminder Popup Design (#2529) 2022-12-29 12:04:28 -08:00
André Rusakow
0a602edf5e
Double scrollbars (#2509)
* hide footer on mobile to avoid double scrollbars

* fix double scrollbars on desktop by removing scroll behaviour from main section

* add scrollbar styles to body and html

* add vertical scrolling back to main section

* prevent header from collapsing and messing around with scrolling

* prevent body from scrolling for main layout

* move tablet breakpoint into breakpoint mixin

* preffify code

* remove js height calc for lower section on mobile and use css

* enable scrolling within a tab on mobile

* remove scrollbar from main section on mobile

* adjust header height on mobile

* add react use to web

* lock body scroll for main layout
2022-12-29 10:14:12 -08:00
André Rusakow
05c8ce223b
Filesize limit for logoupload (#2522)
* add readable byts helper function

* adjust wording for logo upload

* limit file size to 2 MB

* remove log

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2022-12-28 15:41:49 -08:00
Shashwat Agrawal
397f940669
Center followers list 2515 (#2520)
* centered the follower

* left-align in desktop devices

Co-authored-by: Shashwat <shashwat>
2022-12-27 22:49:41 -08:00
Gabe Kangas
5a41f4a1ea
Reorganize admin pages and consolidate some sections. For #1904 2022-12-27 18:51:13 -08:00
Rishav Raj
1a9b3f85bb
Footer text wrap solved. (#2508)
* Font size reduced

* Update Footer.module.scss
2022-12-27 12:08:49 -08:00
Jambaldorj Ochirpurev
f8a481ff70
Fix/issue#2441 (#2443)
* fix the rendering issues related to More Info

* update

* update Chat Moderation Details component
2022-12-27 11:57:44 -08:00
Anderer Zyklus
35e6c69612
updated 'Help' menu item on admin panel to point to '/admin/help'. (#2516) 2022-12-27 11:39:16 -08:00
Gabe Kangas
b55b7a54ea
Specify what element the popup should draw in to fix scrolling. For #2358 2022-12-26 20:05:00 -08:00
Gabe Kangas
b21dfaa2b9
Tweak the border of account in follow modal 2022-12-26 20:04:59 -08:00
André Rusakow
53d3a67533
hide user name in user dropdown on mobile (#2512)
* hide user name in user dropdown on mobile

* truncate title in header

* prettify code

* Add line height to prevent cutting of lower length letters
2022-12-26 14:09:52 -08:00
Gabe Kangas
d4ffe02645
Fix title getting lost due to multiple callbacks firing. Closes #2351 2022-12-25 16:04:01 -08:00
Gabe Kangas
353e9c5896
Add logging to troubleshoot #2351 2022-12-24 21:21:39 -08:00
Gabe Kangas
5c01efd3e2
Wrap title in header tag. Do not allow it to wrap. Closes #2474 #2446 2022-12-24 16:45:45 -08:00
Gabe Kangas
fb1aca165f
Give the chat text input surrounding a background color 2022-12-24 15:32:15 -08:00
Gabe Kangas
c871251769
Tweak positioning of emoji picker popover 2022-12-24 15:08:46 -08:00
Gabe Kangas
01082c5e0b
Reduce top padding in content header 2022-12-24 14:59:03 -08:00
Meisam
d814ff77ac
update SocialLinks module width (#2477) 2022-12-23 13:49:09 -08:00
Gabe Kangas
31f77cf1f0
Tweaks to chat bottom handling for #2342 2022-12-20 00:37:22 -08:00
Gabe Kangas
c597a0de9e
Add accessibility properties to chat text input. Closes #2444 2022-12-19 21:49:11 -08:00
Gabe Kangas
e85f7c8086
Remove unused imports 2022-12-19 18:38:07 -08:00
Gabe Kangas
8376420e86
Add additional descriptive text to compose post modal. 2022-12-19 18:38:06 -08:00
Gabe Kangas
edfb44d7a8
Change style of compose post button + remove thumbnail preview. Closes #2463 2022-12-19 18:38:06 -08:00
Silk Sow
df5e956801
Replace FediAuthModal placeholder explainer text (#2464)
* Replace placeholder explainer text 

Fixes https://github.com/owncast/owncast/issues/2453

* Prettified Code!

Co-authored-by: silksow <silksow@users.noreply.github.com>
2022-12-17 14:05:11 -08:00
Gabe Kangas
f992df8209
Add key to menu item 2022-12-16 18:06:03 -08:00
Gabe Kangas
aa5d5fc32d
Some admin related appearance tweaks. For working on #1904 2022-12-16 17:35:03 -08:00
Gabe Kangas
9ed14ca73f
Refactor player button to fix Safari issues. Closes #2440 2022-12-15 21:28:09 -08:00
Gabe Kangas
fb7cff54d0
Tweak badge styles 2022-12-15 19:40:26 -08:00
Gabe Kangas
a2445e1fcf
Show hide/show chat instead of toggle in user menu. Closes #2454 2022-12-15 19:23:43 -08:00
Gabe Kangas
3d4c26ce39
Fix modal content height. Closes #2070 2022-12-14 23:54:48 -08:00
Gabe Kangas
5951ce527b
Fix typo 2022-12-14 23:54:44 -08:00
Gabe Kangas
890ebdfff6
Tweak style of scroll to bottom button 2022-12-14 12:54:31 -08:00
Gabe Kangas
ba0c62e8a0
Support different link validation methods for platforms. Closes #2449 2022-12-14 11:53:13 -08:00
Gabe Kangas
11c4d80e28
Export new url validation functions 2022-12-14 11:52:11 -08:00
Gabe Kangas
e64da8003c
More component selectors for CSS overrides for #2193 2022-12-12 22:54:52 -08:00
Gabe Kangas
660ea10dab
Change loading state. Closes #2248 2022-12-12 19:10:49 -08:00
Gabe Kangas
9ddc41b2fc
Fix broken Fediverse logo in admin. Closes #2380 2022-12-12 17:43:29 -08:00
Gabe Kangas
efdce41d53
Fix sidebar link title 2022-12-12 17:25:15 -08:00
Gabe Kangas
2fdbb1e482
Support CSP nonce for webv2. Closes #2127 2022-12-12 17:04:00 -08:00
Gabe Kangas
9317efc253
Fix story using the wrong prop name 2022-12-12 10:30:13 -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
c231fd3592
First pass at CSS identifiers + test to verify they are set. For #2193 2022-12-11 21:06:20 -08:00
Gabe Kangas
047e61133a
Reduce the height of the header 2022-12-08 14:35:57 -08:00
Jambaldorj Ochirpurev
cc81f2a68e
Fix video config admin modal layout (#2414)
* update the UI of admin video config modal

* fix the Video Config UI

* Prettified Code!

* update the VideoVarientForm.tsx

* Prettified Code!

Co-authored-by: dorj222 <dorj222@users.noreply.github.com>
2022-12-07 16:15:38 -08:00
Gabe Kangas
1d245dbbc1
Fix user settings dropdown story not rendering. Closes #2350 2022-12-05 23:13:55 -08:00
Gabe Kangas
87f6741bfb
Fix styling of notification modal. Closes #2080 2022-12-05 22:11:11 -08:00
Gabe Kangas
4bcfc82a30
Make the push notification modal slightly more correct. Closes #2163 2022-12-05 21:53:14 -08:00
Gabe Kangas
5bc7fe04b6
Give scrollbar thumb a slight radius 2022-12-05 21:53:13 -08:00
Gabe Kangas
0c3d3f1c17
Move footer to not be sticky. Closes #2288 2022-12-05 21:04:59 -08:00
Americo Barros
a8fea0df80
Fix URL Modal scrolling and size (#2410)
* Change iframe style to block
- this removes the double scrollbar issue that was occurring

* Change and Add default modal sizes
2022-12-05 19:42:08 -08:00
Gabe Kangas
8a14173066
Increase the bottom threshold for chat container. Closes #2342 2022-12-01 19:26:16 -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
Meisam
268af5c20e
activate save on s3 bucket change in admin (#2392) 2022-11-29 11:12:06 -08:00
Gabe Kangas
49b4300e2e
Replace search button on auth modals. Closes #2377 2022-11-28 22:41:33 -08:00
Gabe Kangas
dab83505a8
Add ID to name change button 2022-11-23 11:41:58 -08:00
Philipp
56a3f350ee
Chat name & color modal (#2347)
* Improve name & color change modal design

* Resend user info after color change

That way the name change dialog shows the correct
color when opening it the next time

* Name change modal: allow overflow of color picker

* Allow submitting form only if button is enabled

* Prettified Code!

* Make button & text input same height

Co-authored-by: xarantolus <xarantolus@users.noreply.github.com>
2022-11-23 10:52:39 -08:00
Gabe Kangas
4838562af8
Fix online app state not being set during goodbye state 2022-11-20 13:27:43 -08:00
Gabe Kangas
4eb25e3509
Remove log message 2022-11-20 13:27:42 -08:00
Gabe Kangas
d0cc0d8e56
Play around with sizing and placement of player. For #2204 and #2303 2022-11-19 13:35:37 -08:00
Gabe Kangas
ce1c564797
Add margin under bottom chat message 2022-11-19 12:56:38 -08:00
Gabe Kangas
7ba2730736
Fix action button icon sizing. Closes #2137 2022-11-19 11:00:45 -08:00
Gabe Kangas
2e0f0d1a53
Use absolute URL for og:image if set. Closes #2250 2022-11-18 21:37:54 -08:00
Gabe Kangas
67121426a5
Fire action in story when button is pressed 2022-11-18 17:10:14 -08:00
Gabe Kangas
a75c838ef3
Populate user message tooltip. Closes #2343 2022-11-18 17:08:46 -08:00
Gabe Kangas
62c556aa2a
Add video playlist cachebuster. Closes #2349 2022-11-17 22:10:53 -08:00
Gabe Kangas
18d92dbe9d
Wire up follower empty state. Closes #1913 2022-11-17 21:32:26 -08:00
Gabe Kangas
c9031d8d6b
Migrate to the updated antd menu items. Closes #2228 2022-11-17 20:42:50 -08:00
Gabe Kangas
5020152a47
Use button color for notification popup 2022-11-17 20:41:02 -08:00
Gabe Kangas
32d0850854
Fix another first-launch bug 2022-11-13 19:29:10 -08:00
Gabe Kangas
f5355f244c
Change status handling 2022-11-13 16:03:37 -08:00
Gabe Kangas
c5f02a091b
Handle all server status changes 2022-11-13 14:50:20 -08:00
Gabe Kangas
d2f65380a1
Fix issue when trying to collapse non-user message 2022-11-13 14:49:49 -08:00
Gabe Kangas
447779b439
Reduce textfield padding 2022-11-13 13:18:17 -08:00
Gabe Kangas
bc6af8251e
Add padding to chat messages 2022-11-13 12:43:15 -08:00
Gabe Kangas
d3ab62a98b
Fix footer link colors 2022-11-13 12:39:20 -08:00
Gabe Kangas
769f05db2c
Allow for custom scrollbar styling 2022-11-13 12:37:31 -08:00
Gabe Kangas
f348203016
Fix delay in app state being set 2022-11-13 10:47:28 -08:00
Gabe Kangas
9ca012cc8b
Fix settings items not being returned 2022-11-12 23:42:33 -08:00
Gabe Kangas
ac32e691a0
Fix some playery errors and layout issues 2022-11-12 23:36:00 -08:00
Gabe Kangas
d81b6803d2
Settings items text color 2022-11-12 23:35:59 -08:00
Gabe Kangas
00dc8c6802
Use updated MenuButton creation 2022-11-12 23:35:59 -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
Gabe Kangas
20e9d030ed
Fix logo alignment for mobile. Closes #2263 2022-11-06 16:09:05 -08:00
Gabe Kangas
b9f5b1da19
Fix change name modal story not rendering. Closes #2255 2022-11-06 15:33:21 -08:00
Gabe Kangas
4cdbcc642d
Tweak Chromatic diffThreshold to reduce false negative tests 2022-11-05 17:27:44 -07:00
Gabe Kangas
352447e3d4
Web UI frontend automated browser tests (#2223)
* First pass at basic browser tests for #1926

* Run tests against dev web server not go server

* Bundle the web code into the server before running tests

* Move cypress UI tests into its own npm project + add tests

* Add additional tests + wire up with cypress dashboard

* Limit concurrency of workflow jobs

* Temporarily comment out some tests that do not pass in mobile. Will fix later.
2022-11-04 20:04:13 -07:00
Gabe Kangas
595865c11d
Fix infinite load on first launch. Closes #2302 2022-11-04 18:35:50 -07:00
Matthew Heller
3021dd7795
Always show the 'send chat message' button. Re #2293. (#2298) 2022-11-03 10:36:03 -07:00
Matthew Heller
64b20cf070
Use 16px font size to prevent auto zoom on iOS Safari. Shorten the 'type here' message so it doesn't wrap to a second line when the chat pane becomes a column on the right side of larger screens. Re #2276. (#2294) 2022-11-02 12:34:57 -07:00
Gabe Kangas
50f23a0807
Changes to troubleshoot #2291 2022-11-02 00:02:32 -07:00
Gabe Kangas
a89bceea37
Do not show empty state when loading followers. Closes #2249 2022-11-01 21:10:55 -07:00
Matthew Heller
8320f282d8
More renames from 'visible' to 'open'. (#2290) 2022-11-01 14:50:23 -07:00
Gabe Kangas
0e8f14a58a
Fix text input width. Closes #2184 2022-10-28 22:47:21 -07:00
Gabe Kangas
e0b7ae5b3a
Fix auth modal story not rendering. Closes #2254 2022-10-28 22:22:56 -07:00
Gabe Kangas
628d70e37c
Add rel=me to social links. Closes #2269 2022-10-28 20:16:30 -07:00
Gabe Kangas
d91f682d21
Lazy load chat container 2022-10-28 12:19:39 -07:00
Gabe Kangas
2e7787f70b
Force the bundler to build the player as its own file 2022-10-28 12:19:39 -07:00
Gabe Kangas
65fcbb9d3f
Use Next Image component for social links 2022-10-28 12:19:38 -07:00
Matthew Heller
8d222860f0
On narrow screens, bump the footer links to a second row. Re #2260. (#2267)
* On narrow screens, bump the footer links to a second row. Re #2260. Thanks to @kittee for CSS assistance.

* Prettified Code!

Co-authored-by: heller <heller@users.noreply.github.com>
2022-10-26 15:23:49 -07:00
Matthew Heller
125343808d
Fix display of auth modal. Re #2262. (#2265) 2022-10-26 14:35:46 -07:00
Gabe Kangas
e7a4d53453
Remove buttons from offline banner and add inline links. Closes #2261 2022-10-24 22:24:14 -07:00
Gabe Kangas
952b28f8bf
Explicitly set state for config+status when hydrated 2022-10-24 21:26:03 -07:00
Gabe Kangas
da66f3b051
Do not display go template tag in dev 2022-10-24 18:27:01 -07:00
Gabe Kangas
a0093fb0c9
Fix server rendered title tag. Closes #2251 2022-10-23 23:09:21 -07:00
Gabe Kangas
77369a3cbe
Add follow+notify to actions menu and refactor how those modals are displayed. Closes #2247 2022-10-23 21:59:25 -07:00
Gabe Kangas
8aed27e44d
Refactor server-rendered tags. Closes #2246 2022-10-22 16:51:09 -07:00
t1enne
b285115a3e fixed linter error 2022-10-22 22:38:44 +02:00
t1enne
bddb895189 styled the default button and the mobile dropdown 2022-10-22 22:36:48 +02:00
t1enne
b7795f275c corrected media query 2022-10-22 22:36:48 +02:00
t1enne
917248fc5b moved footer to layout. changed some css 2022-10-22 10:46:17 +02:00
t1enne
f6e158ab88 reduced font weight of message text 2022-10-22 10:46:17 +02:00
t1enne
7c0474f14a made trigger button antd component 2022-10-22 10:46:17 +02:00
Gabe Kangas
f2f3dcfea7
Add mobile actions dropdown menu. Closes #2231 2022-10-21 23:58:39 -07:00
Gabe Kangas
3fbbecc0e8
Refactor action buttons callback 2022-10-21 22:24:29 -07:00
Gabe Kangas
fb9001949b
Fix follow modal height. Closes #2235 2022-10-20 20:36:44 -07:00
Gabe Kangas
420d6c835d
Add missing slashes 2022-10-20 20:36:44 -07:00
Gabe Kangas
4ca0e69be6
Open all links in a new tab. Closes #2160 2022-10-20 20:13:18 -07:00
Gabe Kangas
5e761b13c4
Fix storybook build 2022-10-20 19:48:00 -07:00
Gabe Kangas
2c45b420e5
Import server-rendered template as plain text + add title tag. Closes #2161 2022-10-20 19:40:33 -07:00
Gabe Kangas
c6364959c9
Experiment with showing footer on about tab for mobile 2022-10-20 18:00:13 -07:00
t1enne
f603979ad9 added hook to calculate height for btm content 2022-10-20 21:53:16 +02:00
t1enne
fece33ccaf small css adjustments 2022-10-20 20:25:54 +02:00
t1enne
0ff49f1c32 changed statusbar colors 2022-10-20 20:25:54 +02:00
t1enne
ecfb4a4c53 fixed mobile ui overflowing 2022-10-20 20:25:54 +02:00
t1enne
5eebb10fe6 action buttons now wrap 2022-10-20 20:25:54 +02:00
Matthew Heller
b8ce91d39a
Coerce the iframe to fill the Modal a little better. (#2229) 2022-10-19 15:44:24 -07:00
Gabe Kangas
de90e6a74c
Fix some broken social icons in frontend and admin 2022-10-18 23:38:26 -07:00
Gabe Kangas
e75b20d6ca
Support customSocketOverride value for websocket. Closes #2225 2022-10-18 20:43:23 -07:00
Gabe Kangas
91c7bed0e8
Add action message type to chat. Closes #2226 2022-10-18 19:47:38 -07:00
Gabe Kangas
a58d4d6997
Remove debug logging 2022-10-18 19:44:46 -07:00