Commit graph

1052 commits

Author SHA1 Message Date
Tulir Asokan
c14c079d44 web/math: display error if katex fails 2024-11-02 19:56:02 +02:00
Tulir Asokan
a31c68fc5d web/roomlist: add button and keyboard shortcut to clear search filter 2024-11-02 19:50:54 +02:00
Tulir Asokan
ed45998248 hicli/send: add /raw command 2024-11-02 16:27:44 +02:00
Tulir Asokan
4742ca3116 hicli/send: fix image html to markdown conversion for editing 2024-11-02 14:03:39 +02:00
Tulir Asokan
c4d6e487da hicli/send: disable html input by default 2024-11-02 14:02:53 +02:00
Tulir Asokan
5832a935cf all: use markdown for custom emojis, improve editing
Edits will now use a different HTML -> markdown converter than what is
used to generate the body. This allows the plaintext body to have a
plain shortcode for custom emojis, while still having the raw data for
edits.

Additionally, for sent events, the raw input is saved locally, which
allows preserving commands and other such things. A future extension
may store the raw input in a custom field in the Matrix event to allow
lossless edits of messages sent from other clients.
2024-11-02 14:00:21 +02:00
Tulir Asokan
2ff3f9120c dependencies: update 2024-11-02 12:40:56 +02:00
Tulir Asokan
c31604eecf hicli/send: add LaTeX sending support 2024-11-02 12:32:00 +02:00
Tulir Asokan
438b5fb737 web/composer: use insertText instead of react state
This seems to be the only way to preserve the browser's native undo history
2024-11-02 11:17:04 +02:00
Tulir Asokan
8318cbdf17 hicli/html: fix non-math divs 2024-11-02 03:01:28 +02:00
Tulir Asokan
214d4fde53 hicli/html,web/timeline: add support for LaTeX rendering 2024-11-02 02:51:00 +02:00
Tulir Asokan
44dee015d4 hicli/html: deduplicate html escaping code 2024-11-02 02:50:56 +02:00
Tulir Asokan
249dffaa2d web/contentvisibility: work around another chrome bug 2024-11-02 00:37:33 +02:00
Tulir Asokan
2a89f10589 web/css: work around chrome issues and add contain rules 2024-11-02 00:16:51 +02:00
Tulir Asokan
f6b0b12a5b web/css: add variable for button cursor style 2024-11-02 00:08:04 +02:00
Tulir Asokan
babb69a639 web/composer: don't wrap pills in composer replies 2024-11-01 01:36:58 +02:00
Tulir Asokan
92319a06e2 web/keybindings: apply alt+up/down to filtered list instead of full 2024-11-01 01:34:03 +02:00
Tulir Asokan
245d81b9ce web/main: add keybindings for room list
Fixes #472
2024-11-01 01:30:33 +02:00
Tulir Asokan
f68070807c web/media: handle unicode correctly for fallback avatars 2024-10-31 21:52:05 +02:00
Tulir Asokan
d573f2fa58 web/roomview: don't allow room name to overflow 2024-10-31 00:54:34 +02:00
Tulir Asokan
244443c7fd web/timeline: highlight pills mentioning self 2024-10-31 00:43:09 +02:00
Tulir Asokan
f9b94034b1 web/rightpanel: center no pinned messages text 2024-10-31 00:21:23 +02:00
Tulir Asokan
54234036a7 web/rightpanel: close when same button is clicked again 2024-10-31 00:14:13 +02:00
Tulir Asokan
5095019f45 web/ui: move some files into subdirectories 2024-10-31 00:12:14 +02:00
Tulir Asokan
7ccca19c5d web/rightpanel: add support for viewing pinned messages 2024-10-31 00:09:51 +02:00
Tulir Asokan
8700626176 web/css: fix disabled button color 2024-10-30 23:06:24 +02:00
Tulir Asokan
5d2cc354f3 web/composer: fix autocomplete not overflowing 2024-10-30 23:04:30 +02:00
Tulir Asokan
39bfa7d084 web/roomlist: make room list panel resizable 2024-10-30 22:50:45 +02:00
Tulir Asokan
336f0aa100 web/composer: don't allow overflow 2024-10-30 19:50:04 +02:00
Tulir Asokan
3c22bfdea6 web/css: remove outdated comment 2024-10-29 18:25:34 +02:00
Tulir Asokan
a70c16f0f3 web/main: move authentication to happen after react init 2024-10-29 14:54:05 +02:00
Tulir Asokan
e2f0ba61ac hicli/html: open mxc urls in new tab 2024-10-29 14:38:23 +02:00
Tulir Asokan
ab97efbcc1 web/index: move code block stylesheets to html 2024-10-29 01:26:44 +02:00
Tulir Asokan
6fc070733a web/css: add dark theme 2024-10-29 00:58:29 +02:00
Tulir Asokan
4d7dbffe05 hicli/send: add support for /me and /notice 2024-10-29 00:27:36 +02:00
Tulir Asokan
0d3536a592 web/composer: clear reply when starting editing 2024-10-28 23:45:47 +02:00
Tulir Asokan
709428616b server: log auth result 2024-10-28 18:02:54 +02:00
Tulir Asokan
97b9f3248f web/timeline: don't allow confirmation modals to overflow 2024-10-28 16:12:34 +02:00
Tulir Asokan
65234a8214 main: remove nonexistent flag from help 2024-10-28 16:11:47 +02:00
Tulir Asokan
4fa6c83415 web/timeline: add ands to power level and pinned event diffs 2024-10-28 01:53:38 +02:00
Tulir Asokan
4bfa665937 web/timeline: add power level event rendering 2024-10-28 01:42:52 +02:00
Tulir Asokan
cffae7a3c8 Revert "web/app: initialize RPC client outside React"
This reverts commit 704ca2ca42.

It doesn't play nicely with vite's hot reloads
2024-10-28 00:43:25 +02:00
Tulir Asokan
9b73e755e8 web/timeline: add colors for user displaynames 2024-10-28 00:42:43 +02:00
Tulir Asokan
7e793ec0ba web/composer: surround selection with markdown when pasting link 2024-10-28 00:28:59 +02:00
Tulir Asokan
7c95ce35fd web/main: disable dark theme for code blocks 2024-10-28 00:16:18 +02:00
Tulir Asokan
a114b23b88 web: merge event dispatcher hooks 2024-10-28 00:12:00 +02:00
Tulir Asokan
11a8aac398 web: use default export for ClientContext 2024-10-28 00:07:57 +02:00
Tulir Asokan
704ca2ca42 web/app: initialize RPC client outside React 2024-10-28 00:05:48 +02:00
Tulir Asokan
0920c06077 web/timeline: open inline images in lightbox when clicked 2024-10-28 00:01:10 +02:00
Tulir Asokan
497e507783 hicli/sync: create implicit read receipts for own events 2024-10-27 23:38:24 +02:00