Commit graph

2724 commits

Author SHA1 Message Date
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