Commit graph

32541 commits

Author SHA1 Message Date
Germain Souquet
db646d5987 Fix end to end tests for DM creation 2021-04-19 15:07:11 +01:00
Michael Telatynski
c953b1b6bb Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into pr/only-member-warning 2021-04-19 12:01:32 +01:00
Michael Telatynski
71d5f03a25 delint 2021-04-19 11:36:40 +01:00
Michael Telatynski
64e0626693 i18n 2021-04-19 11:13:08 +01:00
Michael Telatynski
50dd9da913
Merge pull request #5852 from matrix-org/t3chguy/fix/15777
Switch to a spec conforming email validation Regexp
2021-04-19 11:11:43 +01:00
Michael Telatynski
e01caba068 Clean up add existing to space dialog and include DMs in it too 2021-04-19 08:54:06 +01:00
MamasLT
a693db9c57 Translated using Weblate (Lithuanian)
Currently translated at 65.1% (1900 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lt/
2021-04-18 17:02:47 +00:00
Germain
251cb41529
Merge pull request #5877 from matrix-org/gsouquet-messagecomposer-cleanup
Cleanup unused state in MessageComposer
2021-04-16 19:36:01 +01:00
Germain Souquet
3c85092f1a Cleanup unused state in MessageComposer 2021-04-16 17:36:14 +01:00
Travis Ralston
d23f66bb47 Update documentation 2021-04-16 10:11:04 -06:00
Travis Ralston
f955f33071 Merge branch 'develop' into travis/voice/countdown 2021-04-16 10:00:11 -06:00
Travis Ralston
a821ece128
Merge pull request #5869 from matrix-org/travis/voice/pulse-2
Pulse animation for voice messages recording state
2021-04-16 09:41:33 -06:00
David Baker
249a0faa76
Merge pull request #5875 from matrix-org/dbkr/dont_include_invisible_rooms_in_notif_summary
Don't include invisible rooms in notify summary
2021-04-16 15:41:32 +01:00
David Baker
d39b7175f7 Don't include invisible rooms in notify summary
This could cause rogue title bar natifications if you had invisible rooms
2021-04-16 15:31:01 +01:00
Travis Ralston
7878e1cd57
Merge pull request #5870 from matrix-org/travis/voice/disable-composer
Properly disable composer access when recording a voice message
2021-04-16 07:36:53 -06:00
Sven Grewe
b2e367e9a8 Translated using Weblate (German)
Currently translated at 98.3% (2867 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-16 13:29:07 +00:00
Germain Souquet
c1c3ac20cd correct always visible logic 2021-04-16 12:22:00 +01:00
Germain Souquet
daaaa3da95 add context for roomsublist rendering 2021-04-16 10:26:29 +01:00
Germain Souquet
327983672e refactor renderSublists for better readability 2021-04-16 10:17:46 +01:00
Germain Souquet
f1453e8d2b extract always visible logic to RoomList 2021-04-16 09:43:59 +01:00
Travis Ralston
3e24d6f8ac Change animation speed 2021-04-15 10:49:39 -06:00
Germain
4708c1682d
Merge pull request #5862 from matrix-org/gsouquet-start-dm 2021-04-15 17:25:15 +01:00
J. Ryan Stinnett
495aff898f
Merge pull request #5864 from SimonBrandner/dont-render-msg-option
Render msgOption only if showReadReceipts is enabled
2021-04-15 17:24:13 +01:00
Travis Ralston
f0d1e7c565 Document the lamp effect 2021-04-15 10:04:15 -06:00
Šimon Brandner
aad22903a7
Remove overflow: hidden
This line doesn't seem to do anything * shrug

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 18:02:48 +02:00
Travis Ralston
6b3ac20d76 Cleanup 2021-04-15 09:53:15 -06:00
Šimon Brandner
7fe5d2e9e4
Remove double blank line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 17:49:35 +02:00
Germain Souquet
b9f80b49ad Set correct initial state for notification on room 2021-04-15 16:33:49 +01:00
Germain Souquet
02debd12f6 Hide RoomSublist when empty rather than unmounting them 2021-04-15 16:11:45 +01:00
Germain Souquet
a59873df0b Set rooms event listeners during the correct life cycle hook 2021-04-15 15:51:00 +01:00
Travis Ralston
bf70666f9b
Merge pull request #5873 from matrix-org/travis/dnd
Labs: Add quick/cheap "do not disturb" flag
2021-04-15 08:38:17 -06:00
Germain Souquet
3a91dff711 Check if address type is mx-user-id 2021-04-15 14:13:37 +01:00
LinAGKar
4a6a53a1ca Translated using Weblate (Swedish)
Currently translated at 100.0% (2916 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-04-15 11:50:29 +00:00
Andrejs
8f5a74779a Translated using Weblate (Latvian)
Currently translated at 50.8% (1482 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-04-15 11:50:04 +00:00
Thai Localization
4cf88fc69f Translated using Weblate (Thai)
Currently translated at 11.7% (344 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/th/
2021-04-15 11:49:58 +00:00
libexus
7927170f92 Translated using Weblate (German)
Currently translated at 98.0% (2860 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-15 11:49:41 +00:00
Sven Grewe
ff8db76d5a Translated using Weblate (German)
Currently translated at 98.0% (2860 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-15 11:49:41 +00:00
Germain
36e729a626
Merge pull request #5836 from matrix-org/gsouquet-readreceipts-animation 2021-04-15 08:27:28 +01:00
Travis Ralston
eed5efdbe1 Labs: Add quick/cheap "do not disturb" flag
This just disables audio notifications and the popup, which is the easiest way to do "do not disturb" for a device. This needs spec changes to be done properly, as it's a shame that mobile devices for the user will still go off.

Disabling all of push doesn't sound ideal as it would potentially mean missing highlights for when leaving DND mode.
2021-04-15 00:47:09 -06:00
Šimon Brandner
2e31355741
Don't do anything if we didn't press the left button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 08:10:03 +02:00
Šimon Brandner
72d8e6ccca
Decrease ZOOM_COEFFICIENT
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 08:09:14 +02:00
Travis Ralston
1aeb9a5fb2 Appease the linter 2021-04-14 22:04:18 -06:00
Travis Ralston
22233a8745 Add a concept of a singleflight to avoid repeated calls to stop/ending
This makes it easier to keep track of which pieces the client will have already dispatched or been executed, reducing the amount of class members needed.

Critically, this makes it so the 'stop' button (which is currently a send button) actually works even after the automatic stop has happened.

UI is still pending for stopping recording early. This is not covered by this change.
2021-04-14 21:59:50 -06:00
Travis Ralston
0677cf866c Cap recording length, and warn at 10s remaining
See diff for details. Note that this introduces an "Uploading" state which is not currently used.

At the moment, if a user hits the maximum time then their recording will be broken. This is expected to be fixed in a future PR.
2021-04-14 21:15:06 -06:00
Travis Ralston
22219e0e80 Adapt <Tooltip> to use an Alignment enum instead 2021-04-14 21:13:09 -06:00
Travis Ralston
f25a4214e3 Merge branch 'travis/voice/disable-composer' into travis/voice/countdown 2021-04-14 20:14:21 -06:00
Travis Ralston
fedb5b9f63 Fix disabled state of the composer 2021-04-14 20:12:10 -06:00
Travis Ralston
3cafed478c Run voice recording updates through a dedicated store 2021-04-14 20:11:34 -06:00
Travis Ralston
b0a04c9f81 Rename VoiceRecorder -> VoiceRecording to better match expected function 2021-04-14 20:00:16 -06:00
Aaron Raimist
9c250171b4
Use new copy
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-14 18:27:41 -05:00