1
0
Fork 0
forked from Mirrors/gomuks
Commit graph

62 commits

Author SHA1 Message Date
Tulir Asokan
8ee34be466 Revert "web/util: fix oxfordHumanJoin(React)? for two-element arrays"
This reverts commit 3288d86e29.
2024-12-10 23:24:32 +02:00
Sumner Evans
3288d86e29
web/util: fix oxfordHumanJoin(React)? for two-element arrays
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-12-08 18:08:04 -07:00
Tulir Asokan
3e460da67d web/util: remove oxfordHumanJoin 2024-12-08 17:34:11 +02:00
Tulir Asokan
544bd17a1d web/util: decode fragment parts in matrix URIs 2024-12-06 16:10:24 +02:00
Tulir Asokan
2c7ad651e4 web/main: fix restoring state on reload 2024-12-06 16:05:11 +02:00
Tulir Asokan
bf7769ee95 web: add matrix: URI handler
Fixes #509
2024-12-06 16:05:09 +02:00
Tulir Asokan
fa80c1adc0 web/emojipicker: mobile optimize emoji and gif pickers 2024-12-05 19:43:52 +02:00
Tulir Asokan
2e5c2fdd6c web/polyfill: add missing semicolons 2024-12-05 18:39:58 +02:00
Tulir Asokan
b166302d1e web/mediasize: don't allow images to be too small 2024-12-05 18:27:59 +02:00
Tulir Asokan
68385fef5d web/timeline: add support for location messages 2024-12-02 16:44:35 +02:00
Tulir Asokan
ab9dbbcd2f web/timeline: use content-visibility instead of loading=lazy for media 2024-12-02 00:02:42 +02:00
Tulir Asokan
b889f90c4d web/timeline: image size calculator for videos too 2024-12-01 23:56:27 +02:00
Tulir Asokan
1d134072c1 desktop: init 2024-11-27 03:24:57 +02:00
Tulir Asokan
ef937ae0d8 web/util: move type validation to utils 2024-11-27 01:13:14 +02:00
Tulir Asokan
a0ab756562 web/timeline: add ACL event diffing
Fixes #492
2024-11-27 00:50:06 +02:00
Tulir Asokan
05f64edeaf web/statestore: add garbage collection
Fixes #490
2024-11-26 22:29:52 +02:00
Tulir Asokan
8f476839eb web: add preference system 2024-11-16 16:13:49 +02:00
Tulir Asokan
04117b5211 web/rightpanel: implement member list 2024-11-12 21:19:37 +02:00
Tulir Asokan
85817ea999 web/emoji: add regional indicators 2024-11-08 12:13:30 +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
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
249dffaa2d web/contentvisibility: work around another chrome bug 2024-11-02 00:37:33 +02:00
Tulir Asokan
7ccca19c5d web/rightpanel: add support for viewing pinned messages 2024-10-31 00:09:51 +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
7e793ec0ba web/composer: surround selection with markdown when pasting link 2024-10-28 00:28:59 +02:00
Tulir Asokan
a114b23b88 web: merge event dispatcher hooks 2024-10-28 00:12:00 +02:00
Tulir Asokan
fdec12a7a3 web/emoji: use custom emoji description as img title 2024-10-27 16:49:51 +02:00
Tulir Asokan
21e2dcbc43 web/emoji: allow custom emojis in frequently used 2024-10-27 13:05:41 +02:00
Tulir Asokan
4968dcc8d2 web/emoji: wrap reaction shortcode in :: 2024-10-27 12:49:37 +02:00
Tulir Asokan
90e251dc18 web/emoji: add extra shortcodes for 🗑️ and 🚮 2024-10-27 02:14:58 +03:00
Tulir Asokan
11dad8541f web/emojipicker: make rendering lazier 2024-10-26 22:29:16 +03:00
Tulir Asokan
2de87fa645 web/mxtypes: fix reaction shortcode field 2024-10-26 20:44:37 +03:00
Tulir Asokan
e699369f1f web/emoji: ignore spaces when searching 2024-10-26 16:49:59 +03:00
Tulir Asokan
d9d0718bc6 web/emojipicker: add subscribe button for custom emoji packs 2024-10-26 16:28:56 +03:00
Tulir Asokan
ac3b906211 web/emoji: implement MSC2545 2024-10-26 15:49:04 +03:00
Tulir Asokan
2c92a69400 web/emoji: add more shortcodes 2024-10-26 01:06:13 +03:00
Tulir Asokan
227ba474ef web/emojipicker: add support for frequently used emojis 2024-10-25 23:02:58 +03:00
Tulir Asokan
55a9866eac web/emojipicker: small improvements 2024-10-25 18:37:49 +03:00
Tulir Asokan
30222d2c6e web/timeline,composer: add emoji picker for composer and reaction sending 2024-10-25 16:58:11 +03:00
Tulir Asokan
b7975f1b4d web/emoji: pre-sort list 2024-10-25 13:06:41 +03:00
Tulir Asokan
cc0067bb3f web/composer: add edit support 2024-10-25 03:03:15 +03:00
Tulir Asokan
e9abcd50d1 web/composer: add slightly hacky user mention autocompleter 2024-10-24 02:14:46 +03:00
Tulir Asokan
0696a43208 web/composer: refactor autocompleter to be generic 2024-10-24 02:14:46 +03:00
Tulir Asokan
1f521f8fac web/statestore: fix state subscribers 2024-10-22 22:14:26 +03:00
Tulir Asokan
8ddf5f800d web/composer: add emoji autocompletion 2024-10-20 22:11:49 +03:00
Tulir Asokan
c0a8deb347 web/html: remove old client-side html sanitizer 2024-10-20 12:34:12 +03:00
Tulir Asokan
e78bf640ff server,web/composer: add support for sending media 2024-10-19 02:35:15 +03:00