Commit graph

2139 commits

Author SHA1 Message Date
dorj222
f06325c11c fix a merge conflict 2023-03-01 13:58:07 +01:00
renovate[bot]
f6bf41eaae
Update dependency eslint to v8.35.0 2023-03-01 09:34:28 +00:00
Owncast
0b6fbb8428 Commit screenshots 2023-03-01 04:10:19 +00:00
renovate[bot]
53b88871ff
Update dependency picmo to v5.8.0 2023-02-28 18:18:46 +00:00
renovate[bot]
36de1751a5
Update dependency slate-react to v0.91.5 2023-02-28 12:01:38 +00:00
Dhanu Saputra
d19f6e4587
CPU usage description needs additional spacing (#2757) 2023-02-27 21:02:33 -08:00
Owncast
ab3fc31b51 Commit screenshots 2023-02-28 04:10:52 +00:00
renovate[bot]
85a8c7a40e
Update dependency chromatic to v6.17.1 2023-02-28 02:04:13 +00:00
Gabe Kangas
38a52c501c
Do not show custom page content sections if it is empty. Closes #2752 2023-02-27 17:39:53 -08: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
Gabe Kangas
b7132eeaa5
Remove marquee tag as it throws off the UI tests 2023-02-27 15:45:45 -08:00
renovate[bot]
37cde44922
Lock file maintenance (#2747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-27 10:55:44 -08:00
renovate[bot]
74f182ee31
Update nextjs monorepo to v13.2.1 2023-02-27 13:20:25 +00:00
renovate[bot]
304c9a683d
Update dependency slate-react to v0.91.4 2023-02-27 06:02:39 +00:00
Owncast
7c4961a10b Commit screenshots 2023-02-27 04:09:59 +00:00
Gabe Kangas
5b8bacb83f
Add chat embed automated browser tests. Closes #2743 2023-02-26 19:06:22 -08:00
Gabe Kangas
1f99b0bf22
Fix chat embeds not loading. Fixes #2744 2023-02-26 18:48:41 -08:00
renovate[bot]
a92926b35a
Update dependency slate to v0.91.4 (#2737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 18:26:30 -08:00
Gabe Kangas
ed2dc00345
Remove unused imports 2023-02-26 18:12:44 -08:00
Bennett B Madavana
5e155179ef
Fixed #2734 (#2742)
* Fixed #2734

* Prettified Code!

---------

Co-authored-by: bennett1412 <bennett1412@users.noreply.github.com>
2023-02-26 18:09:24 -08:00
gabek
61b207eb48 Prettified Code! 2023-02-27 00:55:16 +00:00
Michael David Kuckuk
b38df2fbe3
Create stories for layout testing (#2722)
* Inject services with useContext

* Extract service for video settings

* Create mock factories for services

* Create test data for chat history

* Add story to visualize different layouts

* Fix renaming mistake

* Add landscape and portrait viewports

* Add landscape stories

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-02-26 16:54:28 -08:00
renovate[bot]
966a11471f
Update typescript-eslint monorepo to v5.53.0 (#2738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 16:25:41 -08:00
renovate[bot]
9896c37f61
Update dependency @types/node to v18.14.1 (#2736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 15:51:40 -08:00
Gabe Kangas
b1cc8c6f12
Increase diffThreshold again for chat text field UI test 2023-02-26 15:44:18 -08:00
renovate[bot]
d8ae365785
Update dependency react-hotkeys-hook to v4.3.7 (#2735)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 15:34:50 -08:00
renovate[bot]
c66faf6e6f
Update dependency slate-react to v0.91.3 (#2740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 15:09:55 -08:00
renovate[bot]
6f26d83eda
Update dependency mermaid to v10 (#2724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-26 14:51:46 -08:00
Gabe Kangas
0c133053bb
Remove windows edge screenshots as it is no longer valid. See #2731 2023-02-26 12:36:26 -08:00
Owncast
254b2d5fc0 Commit screenshots 2023-02-26 04:23:42 +00:00
renovate[bot]
6b72ecff1a
Update dependency eslint-plugin-storybook to v0.6.11 2023-02-24 12:40:30 +00:00
renovate[bot]
40deecadd9
Update dependency @babel/core to v7.21.0 2023-02-24 05:18:56 +00:00
Owncast
e6b3c8f18c Commit screenshots 2023-02-24 04:19:54 +00:00
renovate[bot]
a39aed2c09
Update dependency slate-react to v0.91.2 2023-02-23 16:53:20 +00:00
renovate[bot]
fd605db141
Update dependency react-hotkeys-hook to v4.3.6 2023-02-23 11:28:18 +00:00
Gabe Kangas
f76f7fbaf0
Only use username half of account as fallback value 2023-02-22 22:08:07 -08:00
Gabe Kangas
701e57a580
Fix CPU usage descripting mapping. Fixes #2682 2023-02-22 21:56:55 -08:00
Owncast
1b386e1144 Commit screenshots 2023-02-23 04:30:59 +00:00
Gabe Kangas
453f0e05cf
Fix admin password api path 2023-02-22 19:05:56 -08:00
Gabe Kangas
8b8f221eb4
Show streamTitle in header if set. Closes #2720 2023-02-22 18:52:25 -08:00
Gabe Kangas
e522bddf53
Add some slight side margin to offline banner for mobile 2023-02-22 18:07:12 -08:00
Gabe Kangas
9744d4680c
Fix disabled browser notifications showing up. Closes #2726 2023-02-22 18:04:11 -08:00
Gabe Kangas
e8ef6433e5
Addition bottom page content layout tweaks 2023-02-22 09:40:56 -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
renovate[bot]
b05d4aee5f
Update dependency slate-react to v0.91.1 2023-02-22 04:32:00 +00:00
Owncast
9b6c13574a Commit screenshots 2023-02-22 04:19:56 +00:00
Owncast
f1d1a7b7c4 Commit updated Storybook stories 2023-02-22 00:19:52 +00:00
Gabe Kangas
3bb73af1c2
Standardize bottom section background + fix mobile tabs not hiding. Closes #2685 2023-02-21 16:15:09 -08:00
Gabe Kangas
d2a3e718e4
Continue to bump the diff threshold 2023-02-21 09:31:57 -08:00
dorj222
63e25fae3f change the boolean variable isAdminPwdField to hasComplexityRequirements 2023-02-21 16:10:38 +01:00
renovate[bot]
e925153b8c
Update dependency sass to v1.58.3 2023-02-21 04:50:28 +00:00
renovate[bot]
9c415834a3
Update dependency @codemirror/lang-markdown to v6.1.0 2023-02-20 21:08:23 +00:00
Gabe Kangas
61b78b8f1b
Limit the number of chat messages that can collapse in a row 2023-02-20 12:00:59 -08:00
Gabe Kangas
8f2a345594
Reduce the time we allow message collapsing 2023-02-20 09:39:55 -08:00
Gabe Kangas
070a9fa675
Tweak offline tag color and cursor 2023-02-20 09:39:54 -08:00
renovate[bot]
10107581a5
Lock file maintenance (#2721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 07:22:54 -08:00
Mohammad Yasir
87cdbebcc5
This commit suggests that if there is no name then the username will… (#2700)
* This commit suggests that if there is no name then the username will come in place of a name

* Unnecessary comments has been removed also,revert changes in package-lock.json

* Remove White Spaces

* File has been restored to its original version .

* Followed some checks description to improve code
2023-02-20 07:19:27 -08:00
renovate[bot]
826c4fab00
Update dependency sass to v1.58.2 2023-02-20 04:03:44 +00:00
Gabe Kangas
534a7dcb67
Remove log 2023-02-19 18:43:17 -08:00
Gabe Kangas
05a06796e2
Break out name change message to own component + fix text color. Closes #2718 2023-02-19 16:20:11 -08:00
Gabe Kangas
12b4452220
Support the HTML tags that are sent for message body. Closes #2717 2023-02-19 15:31:39 -08:00
Gabe Kangas
529a4c7d84
Allow social chat events to fit content. Use text fallback in avatar. Closes #2719 2023-02-19 14:57:44 -08:00
Owncast
dce4fab661 Commit screenshots 2023-02-19 04:09:46 +00:00
renovate[bot]
810ab69260
Update typescript-eslint monorepo to v5.52.0 (#2715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-02-18 20:02:04 -08:00
Gabe Kangas
564d058e2e
Improve chat container bottom scrolling handling. Closes #2342 2023-02-18 11:58:52 -08:00
renovate[bot]
8c90b96a88
Update dependency slate-react to v0.91.0 2023-02-17 14:06:22 +00:00
renovate[bot]
a80a34779e
Update dependency sass to v1.58.1 2023-02-17 08:01:07 +00:00
Owncast
1cf57ec073 Commit screenshots 2023-02-17 04:40:40 +00:00
renovate[bot]
e206e01614
Update dependency @xstate/react to v3.2.1 2023-02-16 21:26:44 +00:00
renovate[bot]
1c068b6a4e
Update dependency @xstate/react to v3.2.0 (#2711)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 09:53:24 -08:00
renovate[bot]
1ba1ecbaf2
Update dependency xstate to v4.36.0 2023-02-16 11:42:04 +00:00
renovate[bot]
eaaa7097b9
Update dependency antd to v4.24.8 2023-02-16 04:40:22 +00:00
Owncast
cad0ff10c7 Commit screenshots 2023-02-16 04:11:54 +00:00
renovate[bot]
b021240b78
Update dependency @uiw/react-codemirror to v4.19.9 2023-02-16 00:08:07 +00:00
renovate[bot]
06ffbdeca0
Update dependency @uiw/codemirror-theme-bbedit to v4.19.9 2023-02-15 11:25:07 +00:00
Owncast
97b49afc46 Commit screenshots 2023-02-15 04:22:49 +00:00
Gabe Kangas
d5c0d25084
Refactor component stories to be documents to reduce story snapshots 2023-02-14 17:03:18 -08:00
renovate[bot]
c555063bdc
Update dependency @types/react to v18.0.28 2023-02-14 20:59:58 +00:00
Jacob Wrenn
591ead0064
fix placeholder styling (fixes #2677) (#2709)
* fix placeholder styling

* Prettified Code!

* fix code style

---------

Co-authored-by: JacobWrenn <JacobWrenn@users.noreply.github.com>
2023-02-14 09:24:29 -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
renovate[bot]
88fd3aa4e9
Update dependency eslint to v8.34.0 (#2706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 22:49:51 -08:00
renovate[bot]
15acceddb0
Update dependency react-virtuoso to v4.1.0 (#2707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 22:32:00 -08:00
Gabe Kangas
61c8f075cb
Update spacing in custom page content component 2023-02-13 22:19:17 -08:00
Gabe Kangas
60f5b41a3d
Fix the incorrect header spacing across all text 2023-02-13 22:00:53 -08:00
Owncast
219e5ad72d Commit screenshots 2023-02-14 04:19:39 +00:00
Gabe Kangas
4226e66286
Use built-in storybook color components and render as docs instead of story 2023-02-13 19:01:27 -08:00
Gabe Kangas
42ebdc4213
npm dedup 2023-02-13 15:46:33 -08:00
Gabe Kangas
81f2c4280d
Use built-in storybook typography component 2023-02-13 15:34:22 -08:00
renovate[bot]
bfbe1e237a
Lock file maintenance (#2704)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 10:15:32 -08:00
renovate[bot]
fe8cde4777
Update dependency @mdx-js/react to v2.3.0 2023-02-13 11:48:18 +00:00
renovate[bot]
d7dfa5fa3a
Update dependency @uiw/react-codemirror to v4.19.8 2023-02-13 05:33:37 +00:00
Owncast
2b8abfd245 Commit screenshots 2023-02-13 04:11:29 +00:00
Gabe Kangas
9f735d3c5d
Increase diff threshold for UI test. Hopefully helps #2629 2023-02-12 17:12:03 -08:00
Gabe Kangas
323fe65e58
Split out desktop and mobile layouts to make it easier to work on them 2023-02-12 16:55:52 -08:00
Gabe Kangas
7d288365b4
Add Android landscape screenshots 2023-02-12 14:55:49 -08:00
renovate[bot]
cbd0451a00
Update dependency @uiw/codemirror-theme-bbedit to v4.19.8 2023-02-12 21:00:26 +00:00
renovate[bot]
e12d7215bb
Update dependency chromatic to v6.17.0 2023-02-12 06:13:25 +00:00
Gabe Kangas
3a5e143ddf
Add stories to display screenshots. Not yet automated. 2023-02-11 18:21:54 -08:00
renovate[bot]
6311b6cef7
Update dependency @types/node to v18.13.0 2023-02-11 22:20:41 +00:00
renovate[bot]
d74314917e
Update dependency picmo to v5.7.6 2023-02-11 17:22:05 +00:00
renovate[bot]
b72d7a06ad
Update dependency prettier to v2.8.4 2023-02-11 06:29:35 +00:00
Gabe Kangas
903cc41d58
Remove htmlcomment as it gets stripped in build time 2023-02-10 17:52:28 -08:00
Gabe Kangas
b7e4298e58
Use non-animated image in example so it does not show as changed 2023-02-10 15:35:22 -08:00
gabek
fb091f5591 Prettified Code! 2023-02-10 23:28:54 +00:00
Gabe Kangas
10400e1252
Update sidebar styling and chat always being highlighted. Closes #2651 2023-02-10 15:27:35 -08:00
Gabe Kangas
f475a37bb6
Add loading state to lazy loaded modals 2023-02-10 12:28:33 -08:00
renovate[bot]
bb186668a9
Update dependency picmo to v5.7.5 2023-02-10 05:53:22 +00:00
renovate[bot]
4ce9860227
Update dependency react-hotkeys-hook to v4.3.5 2023-02-09 23:56:01 +00:00
renovate[bot]
9f65efd9a1
Update dependency picmo to v5.7.4 2023-02-09 08:37:18 +00:00
Gabe Kangas
8592fb87ba
Update copy refering to Javascript. Closes #2694 2023-02-08 20:47:50 -08:00
Gabe Kangas
85e77379b2
Fix followers pagination. Closes #2695 2023-02-08 19:57:30 -08:00
Michael David Kuckuk
25119561fb
Give chat a min-height that other elements yield to on mobile clients (#2676)
* Add className prop to some components

* Give mobile chatbox height priority over other elements

* Optimize for mobile landscape mode

* Make thumbnail background black

* Fix overflow issues on narrow screens

* Adjust layout for offline mode on mobile

* Fix main content width on Desktop

* Fix offline layout for desktop
2023-02-08 18:50:58 -08:00
renovate[bot]
73507221d9
Update dependency @types/node to v18.11.19 2023-02-08 14:55:35 +00:00
renovate[bot]
92fb1b6931
Update dependency react-virtuoso to v4.0.9 (#2688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 20:12:32 -08:00
renovate[bot]
ee9428900e
Update dependency slate-react to v0.90.0 (#2689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 20:09:53 -08:00
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
1d535ea9b5 regex constant typo fix 2023-02-07 17:54:51 +01: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
renovate[bot]
7201aabd4a
Update typescript-eslint monorepo to v5.50.0 2023-02-06 21:18:25 +00:00
renovate[bot]
da56731088
Lock file maintenance (#2686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 09:45:41 -08:00
renovate[bot]
019e0c1d41
Update dependency @xstate/react to v3.1.2 2023-02-06 06:44:10 +00: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
renovate[bot]
0cc0c8a01c
Update dependency slate to v0.90.0 2023-02-05 17:53:37 +00:00
dorj222
c3caa0716f correct the admin password endpoind API 2023-02-05 15:45:16 +01:00
renovate[bot]
76aa03ec93
Update dependency react-virtuoso to v4.0.8 2023-02-05 11:59:23 +00:00
Jambaldorj Ochirpurev
f94e61b14d
Merge branch 'develop' into fix/ImplementPasswordRules 2023-02-05 11:12:05 +01:00
renovate[bot]
b2d63ebb44
Update dependency sass to v1.58.0 (#2673) 2023-02-04 22:35:59 -08: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
f9c61feedd
Removed unused lib react-highlight-words 2023-02-04 17:24:08 -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
renovate[bot]
7cce4f918b
Update dependency eslint to v8.33.0 (#2672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 10:56:21 -08:00
Michael David Kuckuk
840c59b2ac
Use correct cover styling for img tag (#2674) 2023-02-04 10:52:52 -08:00
renovate[bot]
1a21b0737b
Update dependency xstate to v4.35.4 2023-02-04 04:00:05 +00:00
renovate[bot]
773f326a24
Update dependency typescript to v4.9.5 2023-02-03 20:36:23 +00:00
renovate[bot]
1c29c9aa84
Update dependency react-virtuoso to v4.0.7 2023-02-03 13:12:20 +00:00
renovate[bot]
81df81d1d7
Update dependency react-hotkeys-hook to v4.3.4 2023-02-02 23:13:33 +00:00
Gabe Kangas
d9e4731764
Update charting library and how it is used. Closes #2658 2023-02-02 14:58:39 -08:00
renovate[bot]
4773080f6f
Update dependency picmo to v5.7.3 2023-02-02 13:21:16 +00:00
renovate[bot]
140e49b929
Update dependency eslint-plugin-react to v7.32.2 2023-02-02 04:19:43 +00:00
renovate[bot]
b210a18271
Update dependency antd to v4.24.7 2023-02-01 23:56:20 +00: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
renovate[bot]
41ed462358
Update dependency @codemirror/lang-css to v6.0.2 2023-02-01 12:23:53 +00:00
dorj222
ad40981668 update the TextFieldWithSubmit component 2023-02-01 10:19:29 +01:00