Commit graph

36784 commits

Author SHA1 Message Date
Michael Telatynski
3515b2ca05 Fix edge case behaviour caused by our weird reuse of DOM nodes between owners 2021-07-12 12:51:27 +01:00
J. Ryan Stinnett
130aee0416
Merge pull request #6343 from matrix-org/jryans/customise-aliases
Add alias and directory customisation points
2021-07-12 12:09:17 +01:00
J. Ryan Stinnett
38cbbfb99e Add time to comment 2021-07-12 11:56:47 +01:00
J. Ryan Stinnett
d584e70662 Revert ToggleSwitch cursor changes 2021-07-12 11:56:06 +01:00
Michael Telatynski
7533d8e82c
Merge pull request #6354 from matrix-org/t3chguy/fix/12281 2021-07-12 11:53:27 +01:00
Šimon Brandner
069c1f4665
Make code a bit cleaner
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 12:52:05 +02:00
Šimon Brandner
48a6a83745
Set cursor for each pill type separately
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 12:41:58 +02:00
Michael Telatynski
cecc43281b i18n 2021-07-12 11:33:33 +01:00
Šimon Brandner
3921e42e8a
Make diff colors in codeblocks more pleseant
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 12:32:30 +02:00
Michael Telatynski
27f74dd3f1 Fix multiinviter user already in room and clean up code 2021-07-12 11:32:06 +01:00
Šimon Brandner
b79f2d0699
Fix the ugly solution
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 12:21:59 +02:00
Jaiwanth
ef944a59f5 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-07-12 15:41:33 +05:30
Michael Telatynski
a3ea120150
Merge pull request #6341 from matrix-org/t3chguy/fix/17910 2021-07-12 10:55:00 +01:00
Michael Telatynski
2ef714b9eb remove unused import 2021-07-12 10:49:19 +01:00
Michael Telatynski
83a4a20cfb
Merge pull request #5679 from SimonBrandner/quit-sticker-picker 2021-07-12 09:31:37 +01:00
Germain
ebd64eb53c
Merge pull request #6350 from SimonBrandner/fix/dont-auto-detect-lang/12366
Don't autodetect language in inline code blocks
2021-07-12 09:28:52 +01:00
Michael Telatynski
f049edf605
Merge branch 'develop' into quit-sticker-picker 2021-07-12 09:26:11 +01:00
Michael Telatynski
33dca81352 Update some more 2021-07-12 09:10:27 +01:00
Germain
8a816bb096
Merge pull request #6331 from matrix-org/gsouquet/ghost-button-background
Make ghost button background transparent
2021-07-12 09:07:52 +01:00
Michael Telatynski
a645cebb49 Fix setTimeout/setInterval typing 2021-07-12 09:02:46 +01:00
Šimon Brandner
d7811d9db7
Maybe this shuts it up
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 09:59:31 +02:00
Michael Telatynski
cdc75f3709
Merge pull request #6346 from matrix-org/t3chguy/fix/17935
only consider valid & loaded url previews for show N more prompt
2021-07-12 08:56:15 +01:00
Šimon Brandner
4ef8c9fd29
Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 09:52:32 +02:00
Šimon Brandner
113b6319b1
This looks a bit nicer
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 09:52:01 +02:00
Šimon Brandner
1a50ef022d
Merge remote-tracking branch 'upstream/develop' into feature/improved-composer 2021-07-12 09:50:33 +02:00
Michael Telatynski
f5f4be88f0 Update tests to expect LinkPreviewGroup behaviour 2021-07-12 08:34:26 +01:00
Šimon Brandner
780f9b6add
Handle pill deletion
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 09:29:41 +02:00
Michael Telatynski
4f82f6aa1f
Merge pull request #6335 from matrix-org/t3chguy/fix/6884
Extract MXCs from _matrix/media/r0/ URLs for inline images in messages
2021-07-12 08:24:40 +01:00
Šimon Brandner
667abca31f
Handle pill onclick
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 20:02:32 +02:00
Šimon Brandner
5423421240
Give singletonRoomViewStore a type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 19:09:39 +02:00
Šimon Brandner
98808aabca
Set contentEditable for PillParts to false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 18:53:29 +02:00
Robin Townsend
b147bcd207 Merge branch 'develop' into text-for-event-perf 2021-07-11 11:35:12 -04:00
Šimon Brandner
cd125506b6
Auto-detect language only if enabled and only for codeblocks
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 11:18:06 +02:00
Šimon Brandner
19f14e4b2e
Fix tests?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 10:58:04 +02:00
Šimon Brandner
29ef5905d6
Export type into a var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 10:45:30 +02:00
Šimon Brandner
db8ebd6df0
Fix import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 10:45:16 +02:00
Šimon Brandner
1b993ef1bd
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 10:36:56 +02:00
Šimon Brandner
f80f4620df
Add pinned messages to MELS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 10:35:20 +02:00
Šimon Brandner
3e95cd1854
Handle JSX in MELS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 10:34:15 +02:00
Šimon Brandner
7a329b7a01
Add ReactUtils
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-11 10:31:24 +02: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
e3e7d41d5c only consider valid & loaded url previews for show N more prompt 2021-07-10 19:41:50 +01:00
Michael Telatynski
9b7697c530 fix imports 2021-07-10 16:02:43 +01:00
Michael Telatynski
2634ed949f Fix Searching's mixing of types 2021-07-10 16:00:04 +01:00
Michael Telatynski
bd175c6f40 Improve and consolidate typing 2021-07-10 15:43:46 +01:00
Jaiwanth
6a4e2672f6 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-07-10 19:18:01 +05:30
Michael Telatynski
829169ec87
Merge pull request #6342 from matrix-org/t3chguy/fix/vrlp
Fix small visual regression with the site name on url previews
2021-07-09 18:05:48 +01:00
J. Ryan Stinnett
201b7f193c Only show pointer cursor for enabled switches 2021-07-09 17:56:16 +01:00
J. Ryan Stinnett
ff7f3f47be Add directory publish customisation point
This will help certain environments, such as P2P, where directory publishing can
be allowed freely.
2021-07-09 17:51:18 +01:00
J. Ryan Stinnett
8177dbfb56 Add display alias customisation point
This will allow environments such as P2P to tweak the preferred display alias if
needed.
2021-07-09 17:11:17 +01:00