Commit graph

1142 commits

Author SHA1 Message Date
Tulir Asokan
d3b93327f2 hicli/paginate: optimize storing members in massive rooms 2024-11-12 23:35:11 +02:00
Tulir Asokan
e370a12b19 web/store: only fetch full member list when needed 2024-11-12 22:47:28 +02:00
Tulir Asokan
0fe01a8bff web/client: fix fetching member lists 2024-11-12 21:33:17 +02:00
Tulir Asokan
04117b5211 web/rightpanel: implement member list 2024-11-12 21:19:37 +02:00
Tulir Asokan
24f2e3722d web/rightpanel: add basic user view 2024-11-12 17:58:18 +02:00
Tulir Asokan
fe6156302d web/timeline: decode matrix uris when clicking 2024-11-12 17:07:38 +02:00
Tulir Asokan
b552b07c74 web/timeline: insert mention when clicking name 2024-11-12 17:01:00 +02:00
Tulir Asokan
9b65140302 web/timeline: open user panel when clicking on avatar 2024-11-12 16:51:10 +02:00
Tulir Asokan
321b53a98a web/rightpanel: add back button to user view 2024-11-12 16:49:09 +02:00
Tulir Asokan
8097d5056b web/timeline: remove edit/reply/react buttons based on power levels 2024-11-12 14:18:01 +02:00
Tulir Asokan
465d7c3524 web/timeline: render reason in member events 2024-11-12 14:15:44 +02:00
Tulir Asokan
6bbc51d285 web/timeline: fix date comparison for day separators 2024-11-11 13:08:27 +02:00
Tulir Asokan
d22077a211 ci: rename workflow jobs 2024-11-10 21:55:23 +02:00
Tulir Asokan
d5c6d97d80 readme: update 2024-11-10 21:50:27 +02:00
Tulir Asokan
00a00c0be7 web/sounds: use lounger audio files 2024-11-10 18:29:02 +02:00
batuhan
05fbdaaf0e
cmd/gomuks: import frontend in main (#475)
This allows using pkg/gomuks as a library without the frontend
2024-11-10 17:35:23 +02:00
Tulir Asokan
bc550cbff4 web: add notification sound 2024-11-09 22:23:25 +02:00
Tulir Asokan
00a2070ff3 web/composer: fix enter behavior with empty autocomplete 2024-11-09 21:17:51 +02:00
Tulir Asokan
25e86fd381 web/timeline: revert overflow wrap for tables 2024-11-09 20:54:59 +02:00
Tulir Asokan
c2d0020c8c web/timeline: add click handlers for matrix URIs 2024-11-09 12:52:37 +01:00
Tulir Asokan
c6992b0fca web/main: use insertion effect for style injection 2024-11-08 15:27:23 +01:00
Tulir Asokan
0da7ed172d web/composer: fix comparison operator 2024-11-08 15:20:06 +01:00
Tulir Asokan
acbbd2a1f9 web/composer: adjust enter and tab behavior for autocomplete 2024-11-08 12:19:29 +01:00
Tulir Asokan
85817ea999 web/emoji: add regional indicators 2024-11-08 12:13:30 +01:00
Tulir Asokan
67f9bc348b web/roomlist: select first entry and clear query on enter 2024-11-08 12:02:41 +01:00
Tulir Asokan
5701bbf708 cmd/gomuks: move most things into new package 2024-11-08 10:09:30 +01:00
Tulir Asokan
540e8fa43e hicli/html: fix extra newlines when copying code blocks 2024-11-08 09:39:58 +01:00
Tulir Asokan
8ca664c745 web/jsonview: fix extra newlines when copying json 2024-11-07 18:48:24 +01:00
Tulir Asokan
219f92c222 ci: lock old issues automatically 2024-11-07 18:16:48 +01:00
Tulir Asokan
3df80686c4 web/roomlist: scroll entry to view when switching rooms 2024-11-07 17:53:53 +01:00
Tulir Asokan
c5452a570e web/keybindings: allow using page up/down and home/end in timeline 2024-11-07 17:22:44 +01:00
Tulir Asokan
bb52f1cfa9 web/composer: add enter and esc keybinds to autocompleter 2024-11-07 17:21:07 +01:00
Tulir Asokan
e0189a2651 web/timeline: fix hover menu z-index 2024-11-06 09:40:25 +01:00
Tulir Asokan
616c508ae3 web/timeline: disable event menu options until event is sent 2024-11-05 10:50:54 +01:00
Tulir Asokan
9e5f34aaca web/css: steal element's link text color 2024-11-04 15:13:14 +01:00
Tulir Asokan
d70529acda web/roomlist: hide preview text if message contains spoilers 2024-11-04 11:54:36 +01:00
Tulir Asokan
8f891b066c hicli/sync: don't send notifications on first sync 2024-11-04 11:52:51 +01:00
Tulir Asokan
24dea86c9e web/polyfill: actually fix iterator map 2024-11-04 11:50:52 +01:00
Tulir Asokan
ffa2b0fd51 web/polyfill: fix iterator map polyfill 2024-11-04 11:34:13 +01:00
Tulir Asokan
b63a81ba65 web: add Iterator.map polyfill for firefox 128 2024-11-04 12:16:26 +02:00
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