Robin
bfab09e977
Use a more correct test for emoji ( #7685 )
2022-02-01 09:45:22 +00:00
J. Ryan Stinnett
fad65f9582
Add body link fallback handler for in-app navigation ( #7627 )
2022-01-25 14:31:00 +00:00
Robin
6806c2cdca
Enlarge emoji in composer ( #7602 )
2022-01-24 12:53:05 +00:00
Robin
c7449caacc
Fix excessive padding on inline images ( #7605 )
2022-01-24 12:21:21 +00:00
Robin
af8b3c2714
Add tooltips to emoji in messages ( #7592 )
2022-01-21 10:10:57 +00:00
rkfg
98e1c311c4
Make inline emojis bigger ( #5401 )
2022-01-20 16:33:41 -07:00
Travis Ralston
6712a5b1c5
Parse matrix-schemed URIs ( #7453 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Dariusz Niemczyk <dariuszn@element.io>
Co-authored-by: Timo K <toger5@hotmail.de>
With this pr all href use matrix matrix.to links. As a consequence right-click copy link will always return get you a sharable matrix.to link.
2022-01-20 18:18:47 +01:00
Michael Telatynski
3c1ce77d48
Properly maintain aspect ratio of inline images ( #7503 )
2022-01-10 15:32:06 +00:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Dariusz Niemczyk
961fec9081
Refactor matrix-linkify module ( #7279 )
...
Refactor the module to make it easier for upgrade and proper separation of code contexts
2021-12-03 14:00:56 +00:00
Renan Cleyson
0afe141266
Fix textual message stripping new line ( #7239 )
2021-12-02 09:25:12 +00:00
Germain Souquet
5a7c0d87b6
Rename ReplyThread to ReplyChain to avoid confusion with m.thread
2021-10-15 17:42:44 +01:00
Šimon Brandner
7cb21c845f
Fix indent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-04 10:34:48 +02:00
Aaron Raimist
6c0e0dc64b
Allow all of the URL schemes that Firefox allows
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-07-22 21:45:23 -05:00
Travis Ralston
05353d0fe5
Merge pull request #6388 from aaronraimist/matrix-url-permitted
...
Add matrix: to the list of permitted URL schemes
2021-07-21 20:38:45 -06:00
Robin Townsend
1d1d93ed14
Apply code review suggestion
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-21 03:17:55 -04:00
Robin Townsend
aefdac1115
Fix error when hovering over non-emoji reactions
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-20 22:41:49 -04:00
Michael Telatynski
d8c4ab53e0
Merge pull request #6347 from robintown/emojibase-updates
2021-07-20 12:57:00 +01:00
Robin Townsend
f88d5dd24e
Zip shortcodes in with emoji objects
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-16 16:36:03 -04:00
Robin Townsend
8efb30eb07
Merge branch 'develop' into emojibase-updates
2021-07-16 14:38:10 -04:00
Michael Telatynski
3b13eb7b44
Prefer URL constructor over `url` dependency
2021-07-16 13:18:12 +01:00
Aaron Raimist
8f6458a79c
Add matrix: to the list of permitted URL schemes
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-07-16 01:43:07 -05:00
Robin Townsend
718887dd27
Update Emojibase and switch to IamCal (Slack-style) shortcodes
...
for consistency with shortcodes commonly used by other platforms, as
was decided in https://github.com/vector-im/element-web/issues/13857 .
One thing to be aware of is that the currently used version of Twemoji
does not support a few of the newer emoji present in Emojibase, so these
look a little out of place in the emoji picker. Optimally Twemoji would
be updated at the same time, though I don't know how to do that.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-10 23:13:48 -04:00
Michael Telatynski
94a7812039
Extract MXCs from _matrix/media/r0/ URLs for inline images in messages
2021-07-08 14:22:38 +01:00
Michael Telatynski
04902fa2e4
Merge pull request #6292 from matrix-org/t3chguy/ts/9
2021-07-01 14:11:17 +01:00
Germain Souquet
9c93b9002f
Add extra context for filtering out '>' for sanitizeHtml
2021-07-01 12:23:36 +01:00
Germain Souquet
04db8333e3
Fix typing and unused import
2021-07-01 12:13:43 +01:00
Germain Souquet
6f62233634
Prevent browser to crash when unclosed HTML tag is sent to sanitizeHtml
2021-07-01 11:18:07 +01:00
Michael Telatynski
e768ecb3d0
Typescript conversion of Composer components and more
2021-06-30 13:01:26 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
e0ac200e27
Iterate PR
2021-06-22 22:23:09 +01:00
Michael Telatynski
a839d0f396
More typescript conversion
2021-06-22 17:23:13 +01:00
J. Ryan Stinnett
7821e00bc6
Revert to internal option
2021-05-10 17:36:33 +01:00
J. Ryan Stinnett
9c8e89ff79
Fix importing
2021-05-10 16:55:27 +01:00
J. Ryan Stinnett
f41fc7e46c
Upgrade `cheerio` and resolve type errors
...
This helps resolve some type errors with `domhandler`. In addition, we convert
to the new way of using `htmlparser2` with `cheerio`.
2021-05-10 16:10:39 +01:00
Germain Souquet
2b6551d06a
Remove reliance on DOM API to generated message preview
2021-04-22 16:17:53 +01:00
Tulir Asokan
830080c23e
Add details and summary to allowed HTML tags
...
Implements MSC2184 (https://github.com/matrix-org/matrix-doc/pull/2184 )
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2021-03-14 19:34:35 +02:00
Travis Ralston
533c9fed64
Appease the linter
2021-03-10 12:32:18 -07:00
Travis Ralston
1ac12479ca
Convert cases of mxcUrlToHttp to new media customisation
2021-03-10 12:32:18 -07:00
J. Ryan Stinnett
84b1f2e6c6
Resolve typing errors after TypeScript upgrade
2021-01-27 12:42:37 +00:00
J. Ryan Stinnett
44c705e41c
Look for emoji in the body that will be displayed
...
Fixes https://github.com/vector-im/element-web/issues/16013
2020-12-21 15:24:59 +00:00
J. Ryan Stinnett
162a5de82e
Rename and reformat Element URL pattern
...
This is just a code style cleanup. There are no behaviour changes in this
commit.
2020-12-21 13:05:45 +00:00
Aleks Kissinger
79baea9c4a
fixed indent
2020-11-26 17:54:11 +00:00
Aleks Kissinger
494ae3e421
parse html for latex rendering inside settings block
2020-11-26 17:45:11 +00:00
Aleks Kissinger
8233ce77cb
fixed duplicate import from merge
2020-11-10 18:26:09 +00:00
Aleks Kissinger
5f3af7863a
Merge branch 'develop' into katex
2020-11-10 18:19:20 +00:00
J. Ryan Stinnett
5f840da38a
Fix typo
2020-10-28 13:12:12 +00:00
J. Ryan Stinnett
ac7991c494
Add comment
2020-10-28 13:11:35 +00:00
J. Ryan Stinnett
9c8bc583e0
Hide inline images when preference disabled
...
As a first attempt, this drops inline images (as if they were not present at
all) when the "show images" preference is disabled. Future work might expose
some UI to reveal them like standalone image events have.
Fixes https://github.com/vector-im/element-web/issues/15573
2020-10-28 13:03:48 +00:00
Aleks Kissinger
10b732131a
use html parser rather than regexes
2020-10-14 22:16:28 +01:00