Commit Graph
2682 Commits
Author SHA1 Message Date
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
janWilejanGitHubjanWilejan <>
74ad8d5e18 Fix chat flicker / Usernames collapse in order (#3135)
Co-authored-by: janWilejan <>
2023-07-05 11:51:16 -07:00
John ReganandGitHub 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]andGitHub 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]andGitHub e170123d0c chore(deps): update dependency @types/node to v18.16.19 2023-07-04 00:48:24 +00:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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]andGitHub 13173f532e fix(deps): update dependency antd to v4.24.12 2023-07-03 16:14:59 +00:00
renovate[bot]andGitHub 7b2b4a525d chore(deps): update dependency ts-jest to v29.1.1 2023-07-03 12:37:18 +00:00
renovate[bot]andGitHub 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
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]andGitHub 4bec812a9f chore(deps): update dependency cypress to v12.16.0 2023-06-30 14:00:38 +00:00
renovate[bot]andGitHub bd6c44396b fix(deps): update dependency antd to v4.24.11 2023-06-30 10:39:09 +00:00
renovate[bot]andGitHub 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]andGitHub 127853dcdf fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.7 2023-06-29 22:51:13 +00:00
renovate[bot]andGitHub 2b2a8298ec chore(deps): update typescript-eslint monorepo to v5.60.1 2023-06-29 18:48:32 +00:00
renovate[bot]andGitHub 6c60424c77 chore(deps): update dependency knip to v2.14.3 2023-06-29 16:38:37 +00:00
renovate[bot]andGitHub 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]andGitHub 88b453c168 fix(deps): update dependency @uiw/react-codemirror to v4.21.5 2023-06-28 22:28:48 +00:00
Dev GuptaandGitHub 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
janWilejanGitHubjanWilejan <>
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]andGitHub 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
Owncast ac8f9b3945 Commit screenshots 2023-06-28 04:10:46 +00:00
Gabe Kangas 0fd18cf889 fix: split out styles into two style tags. Should help #2989 2023-06-27 17:44:09 -07:00
Gabe Kangas e7f464a10f fix(ui): fix not being able to disable browser notifications. Closes #3115 2023-06-27 16:40:35 -07:00
Gabe Kangas 1ea9a548e1 fix(ui): fallback to an empty array. Closes #3116 2023-06-27 16:19:16 -07:00
Gabe Kangas 1f755cb0ba fix(chat): do not allow chat scrolling to impact page scrolling. Closes #3109 2023-06-27 16:11:07 -07:00
Gabe Kangas 1d6877d3ef fix(admin): fix error displaying and do not allow deleting of the last stream key. Closes #3114 2023-06-27 16:08:07 -07:00
Gabe Kangas 02811ef37e feat(chat): preload and cache the custom emoji. Closes #3117 2023-06-27 15:48:16 -07:00
Gabe Kangas a354787a9e feat(chat): support line breaks and pasted content. Closes #3108 2023-06-27 14:51:01 -07:00
renovate[bot]andGitHub 35023f20df chore(deps): update dependency stylelint to v15.9.0 2023-06-27 17:49:26 +00:00
renovate[bot]andGitHub cfcd7d2a65 chore(deps): update dependency knip to v2.14.2 2023-06-27 14:57:15 +00:00
renovate[bot]andGitHub fb2379c1be fix(deps): update dependency react-virtuoso to v4.3.11 2023-06-27 11:48:29 +00:00
renovate[bot]andGitHub 72e9404717 fix(deps): update dependency picmo to v5.8.5 2023-06-27 07:20:58 +00:00
renovate[bot]andGitHub ff7642a50f fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.21.4 2023-06-27 04:41:15 +00:00