Commit graph

25739 commits

Author SHA1 Message Date
Robin Townsend
c9c53dbcd7 Add tooltips to message previews
Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-13 12:02:22 -04:00
Michael Telatynski
ae5b6ef831
Merge pull request #5854 from matrix-org/t3chguy/toml/hooks1
Fix useRoomPowerLevels hook
2021-04-13 11:29:02 +01:00
Michael Telatynski
1572a53af9 Fix useRoomPowerLevels hook 2021-04-13 10:39:09 +01:00
Michael Telatynski
fd54fa5119 Fix unknown slash command error exploding 2021-04-13 10:33:32 +01:00
Michael Telatynski
c726213680 Switch to a spec conforming email validation Regexp 2021-04-13 10:03:50 +01:00
Michael Telatynski
c25df51534 Prevent state events being rendered with invalid state keys 2021-04-13 09:40:44 +01:00
Michael Telatynski
e79ad34fbd EventTile make use of EventType enum
Removes m.room.encryption from non-state list as it makes no sense
2021-04-13 09:34:37 +01:00
Šimon Brandner
f9fde3670d
Set target to _blank
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:15:42 +02:00
Šimon Brandner
b1091a22a3
Don't render context menu button if mxEvent is missing
The button is useless and doesn't work if we're viewing an avatar

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:11:09 +02:00
Šimon Brandner
e1446f01e4
Make ImageView static
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:07:17 +02:00
Šimon Brandner
f1c80fcede
Call onCloseDialog straigh away
This avoids some delay in the dialog disappearing

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:04:50 +02:00
Travis Ralston
72a9bda3b7 One less try/catch 2021-04-12 14:57:21 -06:00
Travis Ralston
106de5f7ba Merge branch 'develop' into travis/reset-passphrase 2021-04-12 14:55:31 -06:00
Travis Ralston
9805170a6f
Update SlashCommands.tsx 2021-04-12 14:34:24 -06:00
Travis Ralston
ee9e1a72cb
Merge pull request #5838 from matrix-org/travis/add-acl-pl
Give server ACLs a name in 'roles & permissions' tab
2021-04-12 14:13:30 -06:00
Travis Ralston
cc4d145f14 Fix js-sdk import in SlashCommands
This is important because the `matrix-js-sdk` types are mismatched in some builds of Element
2021-04-12 14:07:17 -06:00
Germain Souquet
9081f80008 Move user to welcome_page if continuing with previous session 2021-04-12 17:01:27 +01:00
Michael Telatynski
187eef4f2d
Merge pull request #5843 from matrix-org/t3chguy/fix/16896
User Info hide disambiguation as we always show MXID anyway
2021-04-12 14:49:19 +01:00
Michael Telatynski
4aef7a879a
Merge pull request #5846 from matrix-org/t3chguy/fix/16822
Improve kick state to not show if the target was not joined to begin with
2021-04-12 14:45:13 +01:00
Michael Telatynski
d9adf0ddd8
Merge pull request #5844 from matrix-org/t3chguy/fix/16877
Fix space store wrongly switching to a non-space filter
2021-04-12 14:44:46 +01:00
J. Ryan Stinnett
098a8711a7
Merge pull request #5847 from matrix-org/jryans/reason-message-tweaks
Tweak appearance of invite reason
2021-04-12 13:36:20 +01:00
J. Ryan Stinnett
8a1180bd50 Rename toggle to view 2021-04-12 13:19:13 +01:00
J. Ryan Stinnett
798a891d83 Tweak appearance of invite reason
This adjusts the display of invite reasons to match design feedback.

Fixes https://github.com/vector-im/element-web/issues/16869
2021-04-12 12:28:42 +01:00
Michael Telatynski
c1d88be260 Improve kick state to not show if the target was not joined to begin with 2021-04-12 12:13:28 +01:00
Michael Telatynski
bf33775a14 Fix space store wrongly switching to a non-space filter 2021-04-12 11:45:22 +01:00
Michael Telatynski
591c8ffd83 User Info hide disambiguation as we always show MXID anyway 2021-04-12 11:10:51 +01:00
J. Ryan Stinnett
14f1e9f9a1
Merge pull request #5839 from matrix-org/jryans/enable-history-sharing
Enable sharing historical keys on invite
2021-04-09 17:28:57 +01:00
J. Ryan Stinnett
fc0ee15924 Update strings 2021-04-09 17:14:35 +01:00
J. Ryan Stinnett
bef5c6593e Remove key sharing feature flag 2021-04-09 17:05:55 +01:00
Travis Ralston
8aa4b1a760
Merge pull request #5834 from matrix-org/travis/sponsored/security-disable-ui
Add ability to hide post-login encryption setup with customisation point
2021-04-09 08:04:06 -06:00
J. Ryan Stinnett
7b0ab4a059 Enable sharing historical keys on invite
After discussion with Product, we're ready to enable this key sharing work from
https://github.com/matrix-org/matrix-react-sdk/pull/5763 (based on
https://github.com/matrix-org/matrix-doc/pull/3061).
2021-04-09 12:51:23 +01:00
J. Ryan Stinnett
ae2082b97b
Merge pull request #5515 from rda0/maths-parsing-latex
Use LaTeX and TeX delimiters by default
2021-04-09 11:07:19 +01:00
Šimon Brandner
86dd81cda0
Fix rotation animation when rotating 360 deg
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:16:52 +02:00
Šimon Brandner
829bef45a2
Close dialog on redact
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:13:42 +02:00
Šimon Brandner
b723092ed2
Add null check
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:05:49 +02:00
Travis Ralston
cc7982cfca
Merge pull request #5827 from SimonBrandner/show-drop-only-file
Show drop file UI only if dragging a file
2021-04-09 00:05:44 -06:00
Šimon Brandner
90f9d20f45
Add comment about refs to functional components
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:03:10 +02:00
Šimon Brandner
4a40f67e75
Make private
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:02:38 +02:00
Šimon Brandner
cb02c39d7f
Add name to copyright
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:01:14 +02:00
Šimon Brandner
dacffdd62e
Add some comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 07:57:25 +02:00
Travis Ralston
3c25979520
Merge pull request #5824 from robintown/ignore-punctuation
Ignore punctuation when filtering rooms
2021-04-08 20:10:08 -06:00
Travis Ralston
073c05543c Give server ACLs a name in 'roles & permissions' tab
The default power levels event includes them, so this helps avoid them showing up as "Send m.room.server_acl events".
2021-04-08 19:20:08 -06:00
Travis Ralston
28d12016b7 Convert to using EventType enum 2021-04-08 19:18:30 -06:00
Travis Ralston
f2e2f1699b Add some catches 2021-04-08 18:09:41 -06:00
Travis Ralston
01c5f84f60 Merge branch 'develop' into travis/reset-passphrase 2021-04-08 18:07:46 -06:00
Travis Ralston
1e551585c0 Fix copy/paste fail 2021-04-08 09:33:39 -06:00
Travis Ralston
d89bbe2167 Move check to MatrixChat 2021-04-08 09:20:14 -06:00
Germain Souquet
bf34e37dcc fix hiding read receipts animation 2021-04-08 11:43:13 +01:00
Germain Souquet
1d75726a75 Honour prefers reduced motion for read receipts 2021-04-08 11:05:45 +01:00
Sven Mäder
31e85ec580 Use cheerio api for code replacements 2021-04-08 11:38:05 +02:00
Germain Souquet
86d2e577cf Animate read receipts for all component updates 2021-04-08 10:36:38 +01:00
Germain Souquet
8d60d85570 replace velocity-animate with CSS transitions 2021-04-08 10:36:14 +01:00
Travis Ralston
4ef3d176d9 Add ability to hide post-login encryption setup with customisation point
This is primarily intended for alternative setup UI or where the customisations end up configuring encryption some other way. If used without respecting the warnings in the docs, the user could end up at a blank page - use with caution, and only as directed.
2021-04-07 19:16:29 -06:00
Travis Ralston
6e6a26f86a
Merge pull request #5710 from SimonBrandner/resizable-call-view
Resizable CallView
2021-04-07 11:02:46 -06:00
Sven Mäder
7205995dea Remove unused function arguments 2021-04-07 17:22:30 +02:00
Nikita Epifanov
1676e3e3be Translated using Weblate (Russian)
Currently translated at 98.1% (2827 of 2880 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-07 11:45:35 +00:00
Weblate
8fbe9719f6 Merge branch 'origin/develop' into Weblate. 2021-04-07 11:42:43 +00:00
random
7ce6e25f49 Translated using Weblate (Italian)
Currently translated at 100.0% (2903 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-04-07 11:42:40 +00:00
Magnus
242c3a7639 Translated using Weblate (Norwegian Bokmål)
Currently translated at 47.1% (1368 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nb_NO/
2021-04-07 11:42:31 +00:00
rkfg
6268a8ce31 Translated using Weblate (Russian)
Currently translated at 97.7% (2838 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-07 11:42:28 +00:00
Nikita Epifanov
923891eabd Translated using Weblate (Russian)
Currently translated at 97.7% (2838 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-07 11:42:27 +00:00
waclaw66
9571fd8feb Translated using Weblate (Czech)
Currently translated at 100.0% (2903 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-04-07 11:42:09 +00:00
J. Ryan Stinnett
4462ac6203
Merge pull request #5826 from maunium/fix-no-thumbnail-video
Add fake fallback thumbnail URL for encrypted videos
2021-04-07 12:12:41 +01:00
J. Ryan Stinnett
021ceeb7c3
Merge pull request #5818 from Johennes/feature/mac-go-home
Fix broken "Go to Home View" shortcut on macOS
2021-04-07 10:32:17 +01:00
Sven Mäder
1d70045065 Refactor maths config options to nested structure 2021-04-06 14:52:55 +02:00
Felix Krull
10cf362da5 Fix viewing invitations when the inviter has no avatar set
Signed-off-by: Felix Krull <f_krull@gmx.de>
2021-04-06 13:55:22 +02:00
Travis Ralston
b0af163002
Merge pull request #5825 from matrix-org/travis/spaces/room-list
Restabilize room list ordering with prefiltering on spaces/communities
2021-04-06 05:47:21 -06:00
Sven Mäder
3c1169c7a2 Merge remote-tracking branch 'upstream/develop' into maths-parsing-latex 2021-04-06 12:34:51 +02:00
J. Ryan Stinnett
5d027ffcf4
Merge pull request #5694 from robintown/show-invite-reasons
Show invite reasons
2021-04-06 10:48:54 +01:00
Šimon Brandner
d547cd5db8
Show drop file UI only if dragging a file
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-06 07:52:02 +02:00
libexus
c22e60b06b Translated using Weblate (German)
Currently translated at 98.6% (2864 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-05 17:26:50 +00:00
Tentarial
330a726609 Translated using Weblate (German)
Currently translated at 98.6% (2864 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-05 17:26:50 +00:00
Travis Ralston
4d72af7916
Merge pull request #5744 from panoschal/forgot-password-validation
Require strong password in forgot password form
2021-04-05 00:46:47 -06:00
Hakim Oubouali
2216c166ed Translated using Weblate (Central Atlas Tamazight)
Currently translated at 1.2% (36 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/tzm/
2021-04-05 01:34:37 +00:00
libexus
dbde0c7c90 Translated using Weblate (German)
Currently translated at 98.6% (2863 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-05 01:34:37 +00:00
Tirifto
e332039334 Translated using Weblate (Esperanto)
Currently translated at 99.5% (2890 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-04-05 01:34:35 +00:00
Hivaa
264bc151bb Translated using Weblate (Persian)
Currently translated at 9.7% (282 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-04-05 01:34:29 +00:00
Šimon Brandner
202ead40c4
Merge branch 'develop' into resizable-call-view 2021-04-04 11:35:26 +02:00
Šimon Brandner
88a881baec
ZOOM_DISTANCE into a const
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-03 16:19:22 +02:00
Šimon Brandner
fd8e785a5e
Why don't I convert this to Typescript while I am here?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-03 16:14:27 +02:00
Travis Ralston
2b47bac2af Update i18n 2021-04-02 19:36:28 -06:00
Travis Ralston
479df8ac5f Clarify docs 2021-04-02 19:35:10 -06:00
Tulir Asokan
522d58eb57 Add fake fallback thumbnail URL for encrypted videos
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2021-04-02 20:27:26 +03:00
libexus
617319d226 Translated using Weblate (German)
Currently translated at 98.5% (2862 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-02 10:27:38 +00:00
Šimon Brandner
429c945bbf
Don't allow translation when zoomed out
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:37:42 +02:00
Šimon Brandner
722178e26e
Don't return false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:22:10 +02:00
Šimon Brandner
2ff34000fd
Reset translation with zoom out
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:16:42 +02:00
Šimon Brandner
7068996b60
Animate zooming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:09:53 +02:00
Šimon Brandner
33a1006488
Iterate mouse actions and cursor behaviour
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:01:41 +02:00
Šimon Brandner
eb83ae0a9f
Use MIN_ZOOM in contructor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:40:13 +02:00
Kaede
b2e9280bb4 Translated using Weblate (Japanese)
Currently translated at 78.9% (2292 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-04-02 07:31:46 +00:00
Andrejs
28b4515029 Translated using Weblate (Latvian)
Currently translated at 50.6% (1471 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-04-02 07:31:43 +00:00
Tirifto
5c11fad102 Translated using Weblate (Esperanto)
Currently translated at 98.3% (2854 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-04-02 07:31:34 +00:00
strix aluco
13ce2bc130 Translated using Weblate (Ukrainian)
Currently translated at 50.9% (1479 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-04-02 07:31:16 +00:00
Šimon Brandner
80854ab6bb
Don't show seconds in ImageView
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:25:21 +02:00
Šimon Brandner
535ae086b4
Make sender bold
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:31:42 +02:00
Šimon Brandner
e5a563f887
Close ImageView after forward click
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:17:05 +02:00
Šimon Brandner
9606297f7c
Merge branch 'develop' into improve-image-view
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:15:51 +02:00
David Baker
cd39474d26
Merge pull request #5798 from matrix-org/dbkr/attended_transfer
Attended transfer
2021-04-01 17:34:30 +01:00
Travis Ralston
f86e090b8a
Update src/components/views/dialogs/security/AccessSecretStorageDialog.tsx
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-04-01 08:23:32 -06:00