Commit graph

2895 commits

Author SHA1 Message Date
renovate[bot]
b3f343c4bd
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.9 2023-07-31 07:33:42 +00:00
Owncast
9ede42c11d Commit screenshots 2023-07-31 04:10:26 +00:00
renovate[bot]
60c13bd544
chore(deps): update dependency eslint-config-prettier to v8.9.0 2023-07-30 12:35:25 +00:00
renovate[bot]
8b3d2d5adc
fix(deps): update dependency xstate to v4.38.2 2023-07-30 10:34:40 +00:00
Owncast
9f864c7dff Commit screenshots 2023-07-30 04:11:08 +00:00
renovate[bot]
4ff73402ef
chore(deps): update dependency prettier to v3 (#3143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-29 20:13:29 -07:00
renovate[bot]
7df82a1a9c
chore(deps): update dependency @types/react to v18.2.17 (#3221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-29 16:49:54 -07:00
Gabe Kangas
a163ab8d96
fix: formatting breaking build 2023-07-29 16:04:32 -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
renovate[bot]
8531bf3d4d
fix(deps): update dependency chart.js to v4.3.2 2023-07-29 16:21:08 +00:00
renovate[bot]
1566c2df5a
chore(deps): update dependency mermaid to v10.3.0 2023-07-29 10:21:52 +00:00
renovate[bot]
ce70f4cd4a
chore(deps): update dependency knip to v2.17.1 2023-07-29 06:57:03 +00:00
Owncast
9783274f0e Commit screenshots 2023-07-29 04:16:42 +00:00
renovate[bot]
b7117d2271
chore(deps): update dependency @types/node to v18.17.1 2023-07-29 01:36:23 +00:00
renovate[bot]
b9fd47dc91
chore(deps): update dependency knip to v2.17.0 2023-07-28 10:40:33 +00:00
Owncast
737a1f790c Commit screenshots 2023-07-28 04:10:15 +00:00
renovate[bot]
f829855af5
chore(deps): update dependency knip to v2.16.2 2023-07-28 02:25:14 +00:00
Gabe Kangas
6e3f5d3e9f
fix: fix positioning of mobile buttons menu. Closes #3216 (#3217) 2023-07-28 02:20:04 +00:00
renovate[bot]
1267adebb5
chore(deps): update dependency @types/react to v18.2.16 2023-07-27 23:07:29 +00:00
renovate[bot]
a277951559
fix(deps): update dependency chart.js to v4.3.1 2023-07-27 20:07:19 +00:00
renovate[bot]
9a243a8c53
fix(deps): update dependency react-virtuoso to v4.4.2 2023-07-27 09:17:40 +00:00
Owncast
b968756e32 Commit screenshots 2023-07-27 04:21:01 +00:00
Gabe Kangas
16db7825c9
fix: external actions were assuming all actions are urls. Fixes #3213 2023-07-26 11:17:47 -07:00
Owncast
1609ec09e8 Commit screenshots 2023-07-26 04:11:39 +00:00
renovate[bot]
848474227d
chore(deps): update dependency chromatic to v6.20.0 2023-07-25 21:50:48 +00:00
renovate[bot]
4cab2b754b
chore(deps): update dependency @types/node to v18.17.0 2023-07-25 18:37:21 +00:00
renovate[bot]
897da2232b
fix(deps): update dependency @uiw/react-codemirror to v4.21.8 (#3211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 11:30:10 -07:00
renovate[bot]
a66ab61691 fix(deps): update dependency sharp to v0.32.4 2023-07-25 16:51:48 +00:00
renovate[bot]
284b8db2f8
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.8 2023-07-25 09:48:43 +00:00
renovate[bot]
3a35571449
chore(deps): update nextjs monorepo to v13.4.12 2023-07-25 07:28:37 +00:00
Owncast
53477e1d61 Commit screenshots 2023-07-25 04:33:20 +00:00
renovate[bot]
cb1a4a74be
chore(deps): update dependency sass to v1.64.1 2023-07-25 00:54:46 +00:00
renovate[bot]
79c2697a85
chore(deps): update dependency @types/node to v18.16.20 2023-07-24 22:12:52 +00:00
renovate[bot]
88361fb32d
chore(deps): update nextjs monorepo to v13.4.11 2023-07-24 12:07:15 +00:00
renovate[bot]
aedab46da7 chore(deps): lock file maintenance 2023-07-24 12:02:17 +00:00
Owncast
f6eb19ce84 Commit screenshots 2023-07-24 04:21:13 +00:00
renovate[bot]
6c75e2ed55
chore(deps): update dependency cypress to v12.17.2 2023-07-23 21:33:34 +00:00
renovate[bot]
10e07dc538
chore(deps): update dependency eslint-plugin-storybook to v0.6.13 2023-07-23 10:09:17 +00:00
renovate[bot]
c176d82394
chore(deps): update dependency npm to v9.8.1 (#3198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 22:28:46 -07:00
renovate[bot]
fbd7b596fc
chore(deps): update dependency stylelint to v15.10.2 (#3197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-22 21:33:06 -07:00
renovate[bot]
22773185cc
chore(deps): update dependency sass to v1.64.0 (#3200)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-07-22 21:31:46 -07:00
Owncast
8bf46daf63 Commit screenshots 2023-07-23 04:10:36 +00:00
Owncast
2010259c6e Commit screenshots 2023-07-22 04:13:19 +00:00
janWilejan
f112f9813d
NotifyReminderPopup uses a custom Popover (#3194)
* NotifyReminderPopup uses a custom Popover

* fix Popover resizing in storybook

* Prettified Code!

---------

Co-authored-by: janWilejan <>
Co-authored-by: janWilejan <janWilejan@users.noreply.github.com>
2023-07-21 15:58:14 -07:00
renovate[bot]
2899a35d84
fix(deps): update dependency react-virtuoso to v4.4.1 2023-07-21 04:23:05 +00:00
Owncast
92922256a4 Commit screenshots 2023-07-21 04:10:03 +00:00
renovate[bot]
03a69de012
chore(deps): update dependency knip to v2.16.0 2023-07-20 17:19:38 +00:00
Owncast
957914485a Commit screenshots 2023-07-20 04:11:03 +00:00
Owncast
9527897c99 Commit screenshots 2023-07-19 04:15:05 +00:00
Owncast
d47314aaf8 Commit screenshots 2023-07-18 04:10:21 +00:00
renovate[bot]
cf71c46e2d
chore(deps): update dependency eslint to v8.45.0 2023-07-17 20:54:11 +00:00
Gabe Kangas
777da508ed
fix(chat): fix chat not using the correct messages selector. (#3180)
* fix(chat): fix chat not using the correct messages selector. Closes #3166

* fix(chat): initial state was incorrect when hiding/showing messages
2023-07-17 20:48:59 +00:00
renovate[bot]
d67354f590
chore(deps): update dependency eslint-config-next to v13.4.10 (#3184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 11:36:46 -07:00
renovate[bot]
ac3bfb3449
fix(deps): update dependency sharp to v0.32.3 2023-07-17 14:35:58 +00:00
renovate[bot]
a4838f9b80 chore(deps): lock file maintenance 2023-07-17 09:30:17 +00:00
Owncast
4cad99f7cc Commit screenshots 2023-07-17 04:11:29 +00:00
Gabe Kangas
d43c2be44a
fix(admin): display year for user tables if not current year. Closes #3175 2023-07-16 16:46:35 -07:00
Gabe Kangas
4790880c19
fix(admin): save appearanceVariables to admin global config state. Fixes #3170 2023-07-16 16:34:37 -07:00
Gabe Kangas
670eae10db
fix(admin): maybe help with firefox+service workers? Re: #3097 2023-07-16 16:22:35 -07:00
renovate[bot]
b9331301c7
chore(deps): update dependency @types/react to v18.2.15 2023-07-16 17:56:24 +00:00
renovate[bot]
3f065e139b
chore(deps): update dependency knip to v2.15.5 2023-07-16 06:15:50 +00:00
Owncast
efa166fcb0 Commit screenshots 2023-07-16 04:20:27 +00:00
renovate[bot]
20079c026f
chore(deps): update dependency knip to v2.15.4 2023-07-15 21:49:46 +00:00
renovate[bot]
bae81324dd
chore(deps): update dependency @babel/core to v7.22.9 2023-07-15 18:43:31 +00:00
janWilejan
585d6e1f04
Bump next to 13.4.10 (#3177) 2023-07-15 18:38:36 +00:00
renovate[bot]
7a5b4e223d
fix(deps): update dependency xstate to v4.38.1 2023-07-15 10:58:58 +00:00
renovate[bot]
df061de2cb
fix(deps): update dependency react-virtuoso to v4.4.0 2023-07-15 06:18:24 +00:00
Owncast
1feb394787 Commit screenshots 2023-07-15 04:10:59 +00:00
renovate[bot]
8a4aec8b32
chore(deps): update dependency knip to v2.15.2 2023-07-14 21:24:27 +00:00
janWilejan
8148f74736
Unhide dropdown in Viewer Info page (#3173)
Co-authored-by: janWilejan <>
2023-07-14 09:28:56 -07:00
renovate[bot]
0f7bb5384b
fix(deps): update dependency sharp to v0.32.2 2023-07-14 11:32:01 +00:00
renovate[bot]
87532a540a
chore(deps): update typescript-eslint monorepo to v5.62.0 2023-07-14 07:09:20 +00:00
Owncast
045a34f8b2 Commit screenshots 2023-07-14 04:10:32 +00:00
renovate[bot]
4d430478f6
chore(deps): update dependency knip to v2.15.1 2023-07-14 00:26:29 +00:00
renovate[bot]
cc324374cd
chore(deps): update dependency cypress to v12.17.1 2023-07-13 22:29:30 +00:00
renovate[bot]
2614eaab64
chore(deps): update dependency @types/jest to v29.5.3 2023-07-13 20:32:57 +00:00
janWilejan
e15e2dc47c
Fix deprecated antd dropdown warnings (#3171)
* Fix deprecated antd dropdown warnings
2023-07-13 20:28:12 +00:00
janWilejan
14baef4e36
remove excess resize event listeners (#3169)
We add a resize handler to the window when the ChatContainer is created. If a
second ChatContainer is created due to React redrawing, remove the old handler.

Co-authored-by: janWilejan <>
2023-07-13 12:36:21 -07:00
Owncast
34b531b214 Commit screenshots 2023-07-13 04:10:39 +00:00
renovate[bot]
abbb4f05c0
fix(deps): update dependency @fontsource/poppins to v5.0.5 2023-07-12 04:17:10 +00:00
Owncast
a8aa37478d Commit screenshots 2023-07-12 04:11:36 +00:00
janWilejan
f889113526
change overflow behaviour in chat input (#3167)
Firefox only breaks at word boundaries by default, meaning we need a horizontal
scrollbar to handle long words like AAAAAAAAAAAAAAAAAAAAAAAAAAAAA.

Co-authored-by: janWilejan <>
2023-07-11 13:13:04 -07:00
janWilejan
101174f71e
replace margins with padding in the chat container (#3165)
Virtuoso can't calculate the size of elements that have margins. This causes
strange behaviour with scrolling in chat.

Co-authored-by: janWilejan <>
2023-07-11 13:07:58 -07:00
John Regan
3f65099910
Name change: better unicode handling (#3164)
* Name change: better unicode handling

Client-side:

* Changes the NameChangeModal to show text "Over limit" when a proposed display
name is too long.

* Allows names to go over limit to prevent splitting graphemes on input.

Server-side:

* Changes the MakeSafeStringOfLength to count number of unicode code points
instead of string bytes.

* name modal: check that newName is defined before iterating
2023-07-11 10:44:09 -07:00
John Regan
056bd9f152
contenteditable: remove warning about unknown property onContentChange (#3161) 2023-07-10 23:02:07 -07:00
janWilejan
3f4887020d
Add resize handle to chat (#3157)
* add resize handle to chat

* Add chat resize functionality

* window resize only causes chat resize on desktop

* fix parseFloat invocation

* desktop is optional attribute of ChatContainer

---------

Co-authored-by: janWilejan <>
2023-07-10 23:00:28 -07:00
Owncast
c92f58df2e Commit screenshots 2023-07-11 04:10:58 +00:00
John Regan
a663f8ec34
replace grapheme-splitter with graphemer (updated fork) (#3160) 2023-07-10 16:13:40 -07:00
renovate[bot]
52ffc266f8
chore(deps): update dependency babel-loader to v9.1.3 2023-07-10 17:55:36 +00:00
renovate[bot]
e047c3bd18 chore(deps): lock file maintenance 2023-07-10 09:06:32 +00:00
Owncast
5ef717b5db Commit screenshots 2023-07-10 04:11:31 +00:00
renovate[bot]
00ebacb3d0
fix(deps): update nextjs monorepo to v13.4.9 (#3148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 18:31:40 -07:00
Dev Gupta
d107a3386c
Update ActionButtonRow.module.scss (#3156) 2023-07-09 18:08:02 -07:00
janWilejan
2d72935564
change chat from a sidebar to a column (#3113)
* change chat from a sidebar to a column

Using a 2-column layout prevents the chat scrollbar from overlapping the page
scrollbar. Also, it no longer needs to calculate extra padding for elements.

* remove unused Sidebar.tsx

* fix css for chat column

* re-center "Go to last message" button

* main content column always uses maximum height

* lint

* re-hide scrollbars in mainContent on chromium

* fix chat column width when input is over-full

* chat is only fixed-width in desktop

---------

Co-authored-by: janWilejan <>
2023-07-09 14:07:35 -07:00
John Regan
c132d82645
simpler chatbox (#3146) 2023-07-09 13:42:03 -07:00
renovate[bot]
b0ebf9e9d0
chore(deps): update dependency stylelint-config-standard to v34 (#3144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-09 13:04:19 -07:00
janWilejan
d09031faeb
Increase width of volume slider to 100px (#3155)
Co-authored-by: janWilejan <>
2023-07-09 12:50:04 -07:00
Gabe Kangas
40de64fffe
chore: add support for exporting our colors as Swift files 2023-07-09 12:43:04 -07:00
renovate[bot]
a64d7fb7d6
chore(deps): update dependency cypress to v12.17.0 2023-07-09 15:59:41 +00:00
renovate[bot]
9a62ddf2fa
chore(deps): update dependency @babel/core to v7.22.8 2023-07-09 12:53:13 +00:00
Owncast
873f2f37db Commit screenshots 2023-07-09 04:11:23 +00:00
renovate[bot]
91b6d4581c
chore(deps): update dependency npm to v9.8.0 2023-07-08 21:59:05 +00:00
Owncast
f248defcaf Commit screenshots 2023-07-08 04:10:34 +00:00
dependabot[bot]
0f9a5e9a1e
Bump stylelint from 15.10.0 to 15.10.1 in /web (#3151)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.10.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 16:38:59 -07:00
renovate[bot]
9babe96887
fix(deps): update dependency react-hotkeys-hook to v4.4.1 2023-07-07 13:50:09 +00:00
renovate[bot]
6d8de93456
chore(deps): update dependency @babel/core to v7.22.6 2023-07-07 10:51:04 +00:00
Owncast
867decab0e Commit screenshots 2023-07-07 04:31:31 +00:00
renovate[bot]
b2788e76bc
fix(deps): update dependency @fontsource/poppins to v5.0.4 2023-07-06 23:27:49 +00:00
renovate[bot]
a05df21084
chore(deps): update typescript-eslint monorepo to v5.61.0 2023-07-06 19:55:27 +00:00
John Regan
58bc3ac173
emoji: display native emoji simiarly to custom (#3147) 2023-07-06 12:47:38 -07:00
janWilejan
185123dab2
fail silently when no codces are found (#3142)
Co-authored-by: janWilejan <>
2023-07-05 21:41:50 -07:00
Owncast
f2d9d407c3 Commit screenshots 2023-07-06 04:10:24 +00:00
Gabe Kangas
9288837f9d
fix(admin): fix custom emoji imgs being rendered with odd size. Fixes #3126 2023-07-05 17:58:24 -07: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
dc2c46e2a4
fix(ui): fix for exception when chat is disabled. Closes #3138 2023-07-05 14:02:39 -07:00
janWilejan
74ad8d5e18
Fix chat flicker / Usernames collapse in order (#3135)
Co-authored-by: janWilejan <>
2023-07-05 11:51:16 -07:00
John Regan
5c07e3ced6
highlighting: make case-insensitive, support unicode (#3137)
* highlighting: make case-insensitive, support unicode

* highlighting: also highlight simplified/normalized form

* highlighting: use MDN-recommended escape pattern
2023-07-05 11:23:39 -07:00
Owncast
1c7a7b88b5 Commit screenshots 2023-07-05 04:09:49 +00:00
Gabe Kangas
65d52072d4
fix(chat): reposition chat loading spinner 2023-07-04 16:11:54 -07:00
Gabe Kangas
00a5fb8dc8
fix: pass username and instance url to external actions. Fixes #3130 2023-07-04 12:14:21 -07:00
Gabe Kangas
5876c7cfbb
fix(ui): simplify modal loading ui state 2023-07-04 12:11:27 -07:00
renovate[bot]
372a025ed0
chore(deps): update dependency eslint to v8.44.0 2023-07-04 14:46:55 +00:00
Owncast
294a79a665 Commit screenshots 2023-07-04 04:09:55 +00:00
renovate[bot]
e170123d0c
chore(deps): update dependency @types/node to v18.16.19 2023-07-04 00:48:24 +00:00
renovate[bot]
bd8f4452dc
chore(deps): update dependency stylelint-config-standard-scss to v10 (#3128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-03 17:42:20 -07:00
renovate[bot]
13173f532e
fix(deps): update dependency antd to v4.24.12 2023-07-03 16:14:59 +00:00
renovate[bot]
7b2b4a525d
chore(deps): update dependency ts-jest to v29.1.1 2023-07-03 12:37:18 +00:00
renovate[bot]
4347bd8963
chore(deps): update dependency mermaid to v10.2.4 2023-07-03 11:31:46 +00:00
Owncast
7abac469d5 Commit screenshots 2023-07-03 04:11:16 +00:00
Owncast
e23ff64362 Commit screenshots 2023-07-02 04:10:30 +00:00
Owncast
0a50b02bd2 Commit screenshots 2023-07-01 04:10:25 +00:00
John Regan
bf1ccf21d2
chat: simplify input handling (#3124)
* chat: simplify input handling

Removes the cursor save/restore functionality.

Removes most key handling.

Allows message to go over limit.

Moves the message length check into SendMessage.

Changes the chat input to change to the max style only when over the limit,
rather than at the limit. Makes it apparent that something is wrong.

Fixes #3121

* Prettified Code!

---------

Co-authored-by: jprjr <jprjr@users.noreply.github.com>
2023-06-30 12:22:01 -07:00
renovate[bot]
4bec812a9f
chore(deps): update dependency cypress to v12.16.0 2023-06-30 14:00:38 +00:00
renovate[bot]
bd6c44396b
fix(deps): update dependency antd to v4.24.11 2023-06-30 10:39:09 +00:00
renovate[bot]
1c381fc4bf
fix(deps): update dependency @uiw/react-codemirror to v4.21.7 2023-06-30 07:27:56 +00:00
Owncast
23b431c3d0 Commit screenshots 2023-06-30 04:10:19 +00:00
Gabe Kangas
bcd08633b4
fix(chat): simplify emoji + char count handling. Closes #3120 2023-06-29 20:35:53 -07:00
Gabe Kangas
f1bde962cc
feat(admin): auto-expand news item if there is only one 2023-06-29 19:37:52 -07:00
renovate[bot]
127853dcdf
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.7 2023-06-29 22:51:13 +00:00
renovate[bot]
2b2a8298ec
chore(deps): update typescript-eslint monorepo to v5.60.1 2023-06-29 18:48:32 +00:00
renovate[bot]
6c60424c77
chore(deps): update dependency knip to v2.14.3 2023-06-29 16:38:37 +00:00
renovate[bot]
4266583d67
fix(deps): update dependency xstate to v4.38.0 2023-06-29 04:44:51 +00:00
Owncast
bfb3cf2bf2 Commit screenshots 2023-06-29 04:10:12 +00:00
renovate[bot]
88b453c168
fix(deps): update dependency @uiw/react-codemirror to v4.21.5 2023-06-28 22:28:48 +00:00
Dev Gupta
d973d1ac38
Update Sidebar.tsx (#3119) 2023-06-28 12:16:10 -07:00
Gabe Kangas
b1a8f712c0
fix(embed): leave room for status bar in video embed. Closes #3104 2023-06-28 10:13:24 -07:00
janWilejan
ce724fa073
username of repeat chat messages is display:none (#3101)
users who want to show repeat usernames can inject the following CSS:
[class^="ChatUserMessage_repeatUser"]{display:flex !important;}

Co-authored-by: janWilejan <>
2023-06-28 09:58:07 -07:00
Gabe Kangas
6805a7c1db
feat(ui): more improvements to initial loading state 2023-06-28 07:53:06 -07:00
renovate[bot]
739ddd6487
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.5 2023-06-28 06:00:01 +00:00
Gabe Kangas
d60289c8bc
feat(ui): improve loading state 2023-06-27 22:52:23 -07:00