Commit graph

26543 commits

Author SHA1 Message Date
waclaw66
ddc8f56b47 Translated using Weblate (Czech)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-05-04 14:28:17 +00:00
Marek
5954bf0a41 Translated using Weblate (German)
Currently translated at 99.5% (2912 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-05-04 14:28:15 +00:00
Thibault Martin
9f5285d9f8 Translated using Weblate (French)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-05-04 14:28:13 +00:00
Michael Telatynski
caa772348f Actually fix the layout bug without re-regressing the prior issue 2021-05-04 14:14:06 +01:00
Michael Telatynski
4489f8a6ea Fix hover behaviour of space invites 2021-05-04 14:01:26 +01:00
Michael Telatynski
ed8b05b730
Merge pull request #5951 from SimonBrandner/fix/room-pill-history
Fix saving room pill part to history
2021-05-04 12:32:04 +01:00
Michael Telatynski
ac61c8eca8 Adhere to updated sort order for space children 2021-05-04 12:27:27 +01:00
Jaiwanth
3eea1b8369 Add cleanup functions for image view 2021-05-04 16:42:22 +05:30
J. Ryan Stinnett
96592aa75e
Merge pull request #5948 from jaiwanth-v/room-preview-spaces
Generate room preview even when minimized
2021-05-04 11:58:53 +01:00
J. Ryan Stinnett
28128ca45f
Merge pull request #5934 from aaronraimist/security-phrase-2
Another change from recovery passphrase to Security Phrase
2021-05-04 11:43:23 +01:00
Šimon Brandner
0fe6a389d4
Add a note about sharing your IP with P2P calls
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-04 12:36:22 +02:00
Jaiwanth
29aec4abdb Use middlePanelResized instead of noisy 2021-05-04 15:39:46 +05:30
Michael Telatynski
e9f59ed093
Merge pull request #5943 from matrix-org/t3chguy/fix/17082
Sort rooms in the add existing to space dialog based on recency
2021-05-04 10:57:23 +01:00
Michael Telatynski
a7642b2b24 Fix space name "Empty room" during creation wizard 2021-05-04 10:48:34 +01:00
c-cal
db2070a832 Translated using Weblate (French)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-05-04 06:06:52 +00:00
Travis Ralston
903cc77f39 Appease the linter 2021-05-03 21:53:23 -06:00
Travis Ralston
e04490284d Support UI for MSC2876: Widgets reading events from rooms
MSC: https://github.com/matrix-org/matrix-doc/pull/2876
Fixes https://github.com/vector-im/element-web/issues/15747
Requires https://github.com/matrix-org/matrix-widget-api/pull/34
2021-05-03 21:50:25 -06:00
Travis Ralston
87a57ec7e5 Handle no/blocked microphones in voice messages
Fixes https://github.com/vector-im/element-web/issues/17139
2021-05-03 16:41:39 -06:00
Travis Ralston
5dbe882c77 Don't recurse on arrayFastResample
Fixes https://github.com/vector-im/element-web/issues/17136
2021-05-03 15:20:29 -06:00
Travis Ralston
7f56ec7bd2 docs 2021-05-03 15:16:50 -06:00
Travis Ralston
0806af0f4d Calculate the real waveform in the Playback class 2021-05-03 15:07:52 -06:00
Jaiwanth
54e139a6ad Generate previews when the room tile is maximised 2021-05-03 23:17:10 +05:30
Travis Ralston
8abd251ec5 delib 2021-05-03 11:43:46 -06:00
Travis Ralston
3f4ee9742a Simple rendering of voice messages in the timeline
Fixes https://github.com/vector-im/element-web/issues/17138
2021-05-03 11:41:14 -06:00
Travis Ralston
d7ed2d3486 Switch to m.audio with extensible events 2021-05-03 10:27:15 -06:00
Jaiwanth
cf9edb1884 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into room-preview-spaces 2021-05-03 21:53:54 +05:30
Sven Grewe
6127281c11 Translated using Weblate (German)
Currently translated at 99.3% (2904 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-05-03 10:34:38 +00:00
LinAGKar
31596167d4 Translated using Weblate (Swedish)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-05-03 10:34:36 +00:00
iaiz
1f1f7decdf Translated using Weblate (Spanish)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-05-03 10:34:33 +00:00
waclaw66
b96bf63d6f Translated using Weblate (Czech)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-05-01 10:34:48 +00:00
Sebastian Lithgow
e382684539 Translated using Weblate (Danish)
Currently translated at 21.1% (617 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/da/
2021-05-01 10:34:46 +00:00
Hakim Oubouali
8451e4aa4f Translated using Weblate (Central Atlas Tamazight)
Currently translated at 5.1% (152 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/tzm/
2021-05-01 10:34:46 +00:00
libexus
a2ece69976 Translated using Weblate (German)
Currently translated at 99.2% (2903 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-05-01 10:34:30 +00:00
Šimon Brandner
0c869364e9
Don't serialize resourceId in AtRoomPill
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-01 12:27:52 +02:00
Šimon Brandner
c1549dfac5
Make optional params optional
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-01 11:32:35 +02:00
Šimon Brandner
ee8d688de1
Fix saving room pill part to history
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-01 10:59:28 +02:00
Aaron Raimist
35c1e54521
lint
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-30 21:55:00 -05:00
Aaron Raimist
626a4ccc34
Make warning bold, close copied tooltip on escape
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-30 21:45:37 -05:00
Aaron Raimist
03a098887a
Change confirmation string in CreateSecretStorageDialog.js to match
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-30 19:44:43 -05:00
Michael Telatynski
8dbcc85249
Merge pull request #5944 from matrix-org/t3chguy/fix/17043
Inhibit sending RR when context switching to a room
2021-04-30 15:13:18 +01:00
Michael Telatynski
39ccecab03
Merge pull request #5950 from matrix-org/t3chguy/fix/17117
Prevent room list keyboard handling from landing focus on hidden nodes
2021-04-30 12:55:27 +01:00
Michael Telatynski
0008ef7ab1
Merge pull request #5942 from matrix-org/t3chguy/fix/16998
Make the text filter search all spaces instead of just the selected one
2021-04-30 12:53:38 +01:00
Michael Telatynski
2435332d37 fix beta disabled behaviour 2021-04-30 12:42:16 +01:00
Michael Telatynski
042ca65806 fix beta dot showing up when beta is disabled 2021-04-30 12:32:42 +01:00
Michael Telatynski
d2959e1acc Add mechanism for disabling Betas 2021-04-30 12:30:05 +01:00
Michael Telatynski
43410835a3 Prevent room list keyboard handling from landing focus on hidden nodes 2021-04-30 11:53:56 +01:00
J. Ryan Stinnett
83035b6b6a
Merge pull request #5931 from SimonBrandner/fix-indent
Enable indent rule and fix indent
2021-04-30 11:51:22 +01:00
Šimon Brandner
2e62b18617
Revert some changes to avoid re-translation
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-30 12:30:14 +02:00
Germain
19cfd577f4
Merge pull request #5946 from jaiwanth-v/restrict-reactions 2021-04-30 09:14:55 +01:00
Michael Telatynski
158a0f90cb Further design iteration 2021-04-29 22:02:18 +01:00
Hubert Chathi
11ee3c752f
Merge pull request #5939 from rda0/disallow-inline-diplay-maths
Disallow inline display maths
2021-04-29 15:16:46 -04:00
Šimon Brandner
c6bd2c7d67
Fix some more formatting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 20:18:26 +02:00
Šimon Brandner
5913203dc6
Merge branch 'develop' into fix-indent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 20:08:14 +02:00
Šimon Brandner
232b87a3b4
Improve formatting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 19:57:02 +02:00
Jaiwanth
70204d6111 Prevent peeking members from reacting
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-29 22:41:57 +05:30
Jaiwanth
d2de115b2f Generate room preview even when minimized
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-29 21:37:44 +05:30
Michael Telatynski
73abe51fb9 actually use the new state 2021-04-29 16:46:21 +01:00
Michael Telatynski
62198601d2 Tweak room list filter placeholder and results copy for spaces 2021-04-29 16:40:08 +01:00
Michael Telatynski
279654cc9e Design iterations based on PR feedback 2021-04-29 16:08:59 +01:00
Sven Grewe
284e7a9e64 Translated using Weblate (German)
Currently translated at 99.0% (2895 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-29 14:56:30 +00:00
libexus
d1c07a0e23 Translated using Weblate (German)
Currently translated at 99.0% (2895 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-29 14:56:30 +00:00
Christian Paul
ce28e5f122 Translated using Weblate (German)
Currently translated at 99.0% (2895 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-29 14:56:30 +00:00
Michael Telatynski
286463606c Spaces fix edge cases around automatic space switching around room navigation 2021-04-29 13:52:48 +01:00
Michael Telatynski
036bc50b5d Disable groups routes when spaces is enabled to avoid confusion 2021-04-29 12:29:22 +01:00
Michael Telatynski
a4f02937cb Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17021
 Conflicts:
	res/css/structures/_SpaceRoomView.scss
	src/components/structures/SpaceRoomView.tsx
2021-04-29 09:52:21 +01:00
Michael Telatynski
7552801103 Room List respect the prefilter for new rooms 2021-04-29 09:48:23 +01:00
Michael Telatynski
e390c3c732 Inhibit sending RR when context switching to a room 2021-04-29 09:37:21 +01:00
Michael Telatynski
bed52319bc Sort rooms in the add existing to space dialog based on recency 2021-04-28 23:39:24 +01:00
Michael Telatynski
efb9b71900 Make the text filter search all spaces instead of just the selected one 2021-04-28 23:18:42 +01:00
Michael Telatynski
9f8955fb6c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/16628
 Conflicts:
	src/components/views/dialogs/AddExistingToSpaceDialog.tsx
2021-04-28 22:49:36 +01:00
Michael Telatynski
1802adb4d2 Iterate styling and decoration for the beta prompts 2021-04-28 22:47:08 +01:00
Ayush PS
81f2e67443 Fixed Linting errors 2021-04-28 23:40:23 +05:30
Ayush PS
8b644e783e Finally fixes two todays 2021-04-28 23:23:51 +05:30
Sven Mäder
bbce1ac704 Disallow inline display maths 2021-04-28 19:39:38 +02:00
Hakim Oubouali
22ac035974 Translated using Weblate (Central Atlas Tamazight)
Currently translated at 1.1% (35 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/tzm/
2021-04-28 16:35:52 +00:00
Priit Jõerüüt
d422066a72 Translated using Weblate (Estonian)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-04-28 16:35:52 +00:00
XoseM
9c6ae0de8a Translated using Weblate (Galician)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-04-28 16:35:48 +00:00
waclaw66
18bd19c3fb Translated using Weblate (Czech)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-04-28 16:35:44 +00:00
Hivaa
bd5178d96f Translated using Weblate (Persian)
Currently translated at 20.5% (600 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-04-28 16:35:41 +00:00
random
70d0df5325 Translated using Weblate (Italian)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-04-28 16:34:53 +00:00
Tirifto
434cf65598 Translated using Weblate (Esperanto)
Currently translated at 98.6% (2884 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-04-28 16:34:50 +00:00
Jeff Huang
7430d0db17 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-04-28 16:34:45 +00:00
vintergatan
bbb1670b50 Translated using Weblate (Swedish)
Currently translated at 99.7% (2916 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-04-28 16:34:42 +00:00
jelv
e3e0de5f36 Translated using Weblate (Dutch)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-04-28 16:34:39 +00:00
Szimszon
4661fd2d2e Translated using Weblate (Hungarian)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-04-28 16:34:36 +00:00
Thibault Martin
dd0a30c0dc Translated using Weblate (French)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-04-28 16:34:33 +00:00
Robin Townsend
0214690441 Translated using Weblate (English (United States))
Currently translated at 20.1% (588 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/en_US/
2021-04-28 16:34:30 +00:00
libexus
58d83d0309 Translated using Weblate (German)
Currently translated at 99.0% (2896 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-28 16:34:29 +00:00
Michael Telatynski
08e0f15006
Merge pull request #5936 from matrix-org/t3chguy/fix/17084
Fix joining room using via servers regression
2021-04-28 17:09:22 +01:00
Travis Ralston
b90c845fcb
Revert "Fixes the two Todays problem in Redaction" 2021-04-28 10:07:22 -06:00
Travis Ralston
f0f875d1e2 Merge branch 'develop' into handle-encoded-urls 2021-04-28 09:53:16 -06:00
Travis Ralston
3890bec8ad
Merge pull request #5860 from samhh/always-render-ignored-users
Render ignored users setting regardless of if there are any
2021-04-28 09:51:57 -06:00
Travis Ralston
14f1388522
Merge pull request #5830 from SimonBrandner/fix-trailing-colon
Fix inserting trailing colon after mention/pill
2021-04-28 09:51:50 -06:00
Travis Ralston
e53b3b6634
Merge pull request #5917 from DantrazTrev/Redact
Fixes the two Todays problem in Redaction
2021-04-28 09:51:43 -06:00
Travis Ralston
baef98253e
Merge pull request #5920 from aaronraimist/page-up-down
Fix page up/down scrolling only half a page
2021-04-28 09:51:36 -06:00
Travis Ralston
8d8525cdeb
Merge pull request #5935 from matrix-org/travis/voice/control-bar
Voice messages: Composer controls
2021-04-28 09:38:28 -06:00
Travis Ralston
d4acd0e41c Remove excess IState 2021-04-28 09:28:46 -06:00
Michael Telatynski
5a921bf38a Add beta pill to space create menu 2021-04-28 12:10:03 +01:00
Šimon Brandner
653591e806
Use CallChangeRoom in CallViewForRoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 11:56:26 +02:00
Šimon Brandner
40748d3c94
Make CallHandler emit CallChangeRoom
Let's hope I changed the tests correctly

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 11:49:07 +02:00
Šimon Brandner
e5b61f0632
Keep rendering AudioFeeds on hold
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 11:29:05 +02:00
Šimon Brandner
4c58a95046
Merge branch 'develop' into feed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 10:59:47 +02:00
Šimon Brandner
551e8ecb8d
Merge branch 'develop' into feed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 10:52:23 +02:00
David Baker
c95c1aeffd
Merge pull request #5886 from matrix-org/dbkr/asserted_identity
Support MSC3086 asserted identity
2021-04-28 09:47:40 +01:00
Šimon Brandner
9a16fcb6fc
Emit in removeCallForRoom()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 10:31:49 +02:00
Michael Telatynski
27731ac25b tidy 2021-04-28 09:07:02 +01:00
Michael Telatynski
5966fade0b Fix joining room using via servers regression 2021-04-28 09:04:02 +01:00
Michael Telatynski
9dff5cd596 tweak leave space on preview 2021-04-28 08:59:02 +01:00
Michael Telatynski
18a01d9271 Show spaces beta prompt when viewing a space without the beta 2021-04-28 08:41:31 +01:00
Travis Ralston
8fca32d651 Clean up imports from refactoring 2021-04-27 23:48:07 -06:00
Travis Ralston
8213c48b7f Fix first waveform bar highlighting in playback at 0% 2021-04-27 23:34:26 -06:00
Travis Ralston
f0ff2fc38d Ensure we capture an absolute maximum amount of audio samples
We say the limit is 2 minutes, not 1m59s, so let's give the user that last frame.
2021-04-27 23:30:54 -06:00
Travis Ralston
617d74f9cd Treat 119.68 seconds as 1:59 instead of 1:60 2021-04-27 23:07:45 -06:00
Travis Ralston
c2bcdae8a9 Switch global var to the store for easier debugging 2021-04-27 23:04:49 -06:00
Travis Ralston
c4d85c457b Add progress effect to playback waveform 2021-04-27 22:59:16 -06:00
Ayush PS
e2ce699130 Fixed linting warnings in MessagePanel.js 2021-04-28 10:02:20 +05:30
Travis Ralston
c2d37af1cb Move playback to its own set of classes
This all started with a bug where the clock wouldn't update appropriately, and ended with a whole refactoring to support later playback in the timeline.

Playback and recording instances are now independent, and this applies to the <Playback* /> components as well. Instead of those playback components taking a recording, they take a playback instance which has all the information the components need.

The clock was incredibly difficult to do because of the audio context's time tracking and the source's inability to say where it is at in the buffer/in time. This means we have to track when we started playing the clip so we can capture the audio context's current time, which may be a few seconds by the first time the user hits play. We also track stops so we know when to reset that flag.

Waveform calculations have also been moved into the base component, deduplicating the math a bit.
2021-04-27 22:23:57 -06:00
Travis Ralston
5e646f861c Wire up the send button for voice messages
This fixes a bug where we couldn't upload voice messages because the audio buffer was being read, therefore changing the position of the cursor. When this happened, the upload function would claim that the buffer was empty and could not be read.
2021-04-27 18:59:10 -06:00
Aaron Raimist
31ff05a862 Merge branch 'develop' into warn-on-access-token-reveal 2021-04-27 19:25:38 -05:00
Aaron Raimist
6754a0b483
Switch to <details>
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-27 19:12:22 -05:00
Aaron Raimist
79e03332e3
Another change from recovery passphrase to Security Phrase
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-27 16:51:53 -05:00
Travis Ralston
c1bb0bb0b8 Add a delete button 2021-04-27 15:02:15 -06:00
Travis Ralston
30e120284d Add simple play/pause controls 2021-04-27 15:02:15 -06:00
Travis Ralston
32e3ce3dea Handle basic state machine of recordings 2021-04-27 15:02:15 -06:00
David Baker
be7d4d020b Put asserted identity option under a 'voip' section 2021-04-27 19:33:53 +01:00
David Baker
b6762c68af
typo
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-04-27 18:55:53 +01:00
Travis Ralston
afd53d8b53
Merge pull request #5930 from matrix-org/travis/error-view-fix
Handle possible edge case with getting stuck in "unsent messages" bar
2021-04-27 11:17:33 -06:00
Michael Telatynski
4f02dc9050 delint 2021-04-27 17:19:34 +01:00
Michael Telatynski
46d35411b4 Add animated mx_BetaDot atop the legacy Communities button 2021-04-27 17:01:22 +01:00
Michael Telatynski
28d3a0c09b
Merge pull request #5932 from matrix-org/t3chguy/fix/17080
Fix suggested rooms not showing up regression from room list optimisation
2021-04-27 16:49:52 +01:00
Michael Telatynski
35799c213e Fix suggested rooms not showing up regression from room list optimisation 2021-04-27 16:30:54 +01:00
Michael Telatynski
c5f653245a Show Spaces beta card in Labs & My Communities view
the image is temporary
2021-04-27 16:29:42 +01:00
Šimon Brandner
46bfbbadf9
Enable indent rule and fix indent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 17:23:27 +02:00
Travis Ralston
b9bd83ad41 Handle possible edge case with getting stuck in "unsent messages" bar
Just in case we're not cleaning up the isResending state properly, here's a catch all.

Unrelated to https://github.com/vector-im/element-web/issues/17078 (this code doesn't affect the js-sdk error the author is seeing)
2021-04-27 08:58:18 -06:00
Germain
4d5fd3ec73
Merge pull request #5913 from matrix-org/gsouquet-desktop-i18n 2021-04-27 15:48:49 +01:00
Germain Souquet
2e44d7e17f Do not throw on setLanguage 2021-04-27 15:11:49 +01:00
J. Ryan Stinnett
dd8abb0206
Merge pull request #5912 from matrix-org/jryans/convert-flow-to-ts
Convert some Flow-typed files to TypeScript
2021-04-27 13:44:47 +01:00
Michael Telatynski
96e00ca8f6
Merge pull request #5906 from matrix-org/t3chguy/fix/17022
Initial SpaceStore tests work
2021-04-27 13:17:11 +01:00
J. Ryan Stinnett
b8203043be Add types to Permalinks 2021-04-27 12:11:23 +01:00
J. Ryan Stinnett
bca45a1ad4 Add types to Timer 2021-04-27 12:02:20 +01:00
J. Ryan Stinnett
1df0a82c64 Add types to PreferencesUserSettingsTab 2021-04-27 12:00:36 +01:00
J. Ryan Stinnett
4e7240ebc9 Add types to SecurityRoomSettingsTab 2021-04-27 11:56:45 +01:00
J. Ryan Stinnett
2ebd256590 Add types to RolesRoomSettingsTab 2021-04-27 11:42:11 +01:00
J. Ryan Stinnett
2be8f0c9c7 Fix onFinished type 2021-04-27 11:26:45 +01:00
Šimon Brandner
8d014b7fa2
Use getLocalFeeds() for better clarity
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 12:23:21 +02:00
J. Ryan Stinnett
5107ce7f40 Add types to ScalarAuthClient 2021-04-27 11:22:17 +01:00
Michael Telatynski
13a5d06e29
Merge pull request #5926 from matrix-org/t3chguy/fix/17067
Fix issues with space hierarchy in layout and with incompatible servers
2021-04-27 11:21:15 +01:00
Michael Telatynski
f18a24025a
Merge branch 'develop' into t3chguy/fix/17022 2021-04-27 11:16:02 +01:00
Šimon Brandner
e367725cce
Fix casing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 12:05:46 +02:00
Šimon Brandner
a6ad574f4e
Fix typos
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 12:05:21 +02:00
Šimon Brandner
f3a7ffca60
Remove audio element from VideoFeed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 12:02:41 +02:00
Šimon Brandner
b612b252e1
Fix a type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 11:59:26 +02:00
Šimon Brandner
a220b8b572
Wire up AudioFeedArrayForCall
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 11:59:08 +02:00
Michael Telatynski
31b9a4c312
Merge pull request #5928 from matrix-org/t3chguy/hidpi
Scale all mxc thumbs using device pixel ratio for hidpi
2021-04-27 10:56:23 +01:00
Šimon Brandner
b88033accc
Make CallHandler into an EventEmitter
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 11:01:36 +02:00
Šimon Brandner
08251a761d
Add AudioFeedArrayForCall
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 10:58:32 +02:00
Michael Telatynski
cc3571c559 fix removed pixelRatio 2021-04-27 09:56:28 +01:00
Michael Telatynski
b9cca469b6
Merge pull request #5918 from matrix-org/t3chguy/fix/17050
Fix add existing to space dialog no longer showing rooms for public spaces
2021-04-27 09:46:37 +01:00
Michael Telatynski
62f8c9aab9
Merge pull request #5924 from matrix-org/t3chguy/fix/17069
Disable spaces context switching for when exploring a space
2021-04-27 09:45:58 +01:00
Šimon Brandner
9af176f5e2
Add AudioFeed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 10:20:49 +02:00
Robin Townsend
3a62f6cdaa Merge branch 'develop' into better-spinners 2021-04-26 14:12:44 -04:00
Robin Townsend
d3db5fe77f Vectorize mini avatar uploader spinner
Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-26 14:10:09 -04:00
Michael Telatynski
915f8b3c9c Scale all mxc thumbs using device pixel ratio for hidpi
as we are notoriously bad at doing it everywhere we ought to, like the TopLeftMenu avatar
2021-04-26 18:25:49 +01:00
Michael Telatynski
0d538c490a
Merge pull request #5921 from matrix-org/t3chguy/fix/17063
Autofocus search box in the add existing to space dialog
2021-04-26 18:24:14 +01:00
Michael Telatynski
e675448062
Merge pull request #5922 from matrix-org/t3chguy/fix/17062
Use label element in add existing to space dialog for easier hit target
2021-04-26 18:10:00 +01:00
J. Ryan Stinnett
417f662ea7 Remove redundant parameter initialisers 2021-04-26 17:12:31 +01:00
Besnik Bleta
3cd1a28a1d Translated using Weblate (Albanian)
Currently translated at 99.5% (2912 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-04-26 16:04:19 +00:00
J. Ryan Stinnett
26bb7c08c2 Add join rule comment 2021-04-26 16:20:16 +01:00
Weblate
87dcefabf2 Merge branch 'origin/develop' into Weblate. 2021-04-26 15:19:14 +00:00
Besnik Bleta
3345ef25f0 Translated using Weblate (Albanian)
Currently translated at 99.6% (2909 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-04-26 15:19:13 +00:00
waclaw66
6a517f2764 Translated using Weblate (Czech)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-04-26 15:19:09 +00:00
random
f16a7240a4 Translated using Weblate (Italian)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-04-26 15:19:07 +00:00
jelv
8afcf82934 Translated using Weblate (Dutch)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-04-26 15:19:03 +00:00
libexus
bb4c454d38 Translated using Weblate (German)
Currently translated at 99.2% (2898 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-26 15:18:59 +00:00
J. Ryan Stinnett
d1649dd301 Tweak interface syntax 2021-04-26 16:16:43 +01:00
J. Ryan Stinnett
d497d62db3 Use enums in SecurityRoomSettingsTab 2021-04-26 16:14:21 +01:00
Michael Telatynski
43b43dc685 tidy up code 2021-04-26 16:11:07 +01:00
Michael Telatynski
a8711dcce9 useSpaceSummary return error for incompatible server notice 2021-04-26 16:06:42 +01:00
J. Ryan Stinnett
cddcedcce2 Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts 2021-04-26 15:57:28 +01:00
J. Ryan Stinnett
8659c98c44 Add tile shape string type 2021-04-26 15:55:04 +01:00
J. Ryan Stinnett
9401a6d6dc
Merge pull request #5916 from SimonBrandner/image-view-zoom
Dynamic max and min zoom in the new ImageView
2021-04-26 15:46:26 +01:00
J. Ryan Stinnett
25e4feeb38 Add more types in WidgetEchoStore 2021-04-26 15:38:43 +01:00
J. Ryan Stinnett
82caac16c8 Add types for StorageManager functions 2021-04-26 15:30:34 +01:00
J. Ryan Stinnett
4b66082b0f Add change event type 2021-04-26 15:27:30 +01:00
J. Ryan Stinnett
809454e66a Use new managed prop for emoji composer menu 2021-04-26 15:23:55 +01:00
J. Ryan Stinnett
bf43144f6e Add ActionPayload type 2021-04-26 15:21:49 +01:00
Travis Ralston
ddb8947c15
Merge pull request #5897 from matrix-org/travis/error-states
Improve message error states
2021-04-26 08:16:26 -06:00
Šimon Brandner
81164fe152
Add comment about the js-sdk and new incoming feeds
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 16:09:21 +02:00
J. Ryan Stinnett
01cfd9361e Fix ManageEventIndexDialog props syntax 2021-04-26 15:06:10 +01:00
J. Ryan Stinnett
eb9bf9c83f Tweak Terms constructor 2021-04-26 15:03:17 +01:00
J. Ryan Stinnett
889289d464 Tweak Timer constructor 2021-04-26 15:01:05 +01:00
J. Ryan Stinnett
8537f0a5a1 Remove unneeded lint tweak 2021-04-26 14:59:26 +01:00
J. Ryan Stinnett
1b615eebc1 Fix optional props 2021-04-26 14:56:43 +01:00
Michael Telatynski
751568cef2 Disable spaces context switching for when exploring a space 2021-04-26 14:55:11 +01:00
J. Ryan Stinnett
83596c7335 Use private parameter properties 2021-04-26 14:54:36 +01:00
Šimon Brandner
38566a3644
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 15:51:56 +02:00
Šimon Brandner
1fcad1a634
Show zoom buttons only if zooming is enabled
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 15:47:58 +02:00
J. Ryan Stinnett
a3a756fdb2 Rename history visibility type 2021-04-26 14:08:45 +01:00
J. Ryan Stinnett
69fbfdc552 Fix interface syntax 2021-04-26 14:07:45 +01:00
J. Ryan Stinnett
3b39007a5d Move initialisers to field 2021-04-26 14:06:25 +01:00
J. Ryan Stinnett
b8a915bb76 Tweak private / underscores for fields and methods 2021-04-26 14:02:53 +01:00
Šimon Brandner
53e8b5e6af
Merge branch 'image-view-zoom' of https://github.com/SimonBrandner/matrix-react-sdk into image-view-zoom 2021-04-26 15:01:47 +02:00
Šimon Brandner
3547d1f93b
Change cursor to default
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 15:01:06 +02:00
Germain Souquet
a43ad8d881 Allow for multiple locale and stabilise set language call 2021-04-26 13:55:14 +01:00
Šimon Brandner
e374fcfe91
Fix spelling 2021-04-26 13:49:29 +02:00
Šimon Brandner
dbca370497
Try to precalculate the zoom from width and height props
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:48:14 +02:00
Šimon Brandner
b741b3112a
If the image is small don't scale
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:47:06 +02:00
Michael Telatynski
8656212eb9 Space creation prompt user to add existing rooms instead of creating new ones 2021-04-26 12:41:04 +01:00
Šimon Brandner
33107a1f47
Fall back to natural height and width
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:30:14 +02:00
Šimon Brandner
c1a4204ad3
Use a ref instead of that ugly thing
Sometimes I do really weird things and don't know why :D

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:11:41 +02:00
Michael Telatynski
1e7eedba02 Use label element in add existing to space dialog for easier hit target 2021-04-26 11:29:08 +01:00
Michael Telatynski
9319dd5400 Autofocus search box in the add existing to space dialog 2021-04-26 11:24:28 +01:00
J. Ryan Stinnett
dda18c9384
Merge pull request #5914 from matrix-org/jryans/forget-room-error
Check for null room in `VisibilityProvider`
2021-04-26 10:36:21 +01:00
Ayush PS
123482952a Fixed linting errors 2021-04-26 15:01:39 +05:30
Michael Telatynski
203425c8de Test and fix space store wrongly treating room invites as space invites 2021-04-26 08:37:45 +01:00
Aaron Raimist
ac486c847e
Try 0.9
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-26 01:10:04 -05:00
Aaron Raimist
e5f0119f66
Fix page up/page down scrolling only half a page
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-25 23:18:12 -05:00
Michael Telatynski
1c7d68bb16 invert and outdent 2021-04-25 09:35:18 +01:00
Michael Telatynski
4411498057 Fix add existing to space dialog no longer showing rooms for public spaces 2021-04-25 09:33:44 +01:00
Michael Telatynski
3bb6edbda7 Fix accepting invite edge case where it wouldn't show the newly joined space 2021-04-25 09:24:26 +01:00
Aaron Raimist
f3c0fc96a3 Merge branch 'develop' into warn-on-access-token-reveal 2021-04-24 15:01:19 -05:00
Priit Jõerüüt
5ddafb96a9 Translated using Weblate (Estonian)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-04-24 18:36:41 +00:00
XoseM
9995e7a465 Translated using Weblate (Galician)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-04-24 18:36:37 +00:00
waclaw66
04e54ff95a Translated using Weblate (Czech)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-04-24 18:36:33 +00:00
Jeff Huang
124cba679c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-04-24 18:36:29 +00:00
LinAGKar
afceb7c2e4 Translated using Weblate (Swedish)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-04-24 18:36:25 +00:00
Nikita Epifanov
6ce1c06887 Translated using Weblate (Russian)
Currently translated at 97.9% (2859 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-24 18:36:21 +00:00
Szimszon
db9a06def6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-04-24 18:36:18 +00:00
Thibault Martin
e3e09c6593 Translated using Weblate (French)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-04-24 18:36:14 +00:00
Aaron Raimist
e40c822dbf Translated using Weblate (English (United States))
Currently translated at 19.9% (583 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/en_US/
2021-04-24 18:36:10 +00:00
Sven Grewe
dc93d4c220 Translated using Weblate (German)
Currently translated at 99.2% (2899 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-24 18:36:09 +00:00
Hannah Rittich
bfabb7f611 Translated using Weblate (German)
Currently translated at 99.2% (2899 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-24 18:36:09 +00:00
libexus
ad4b764096 Translated using Weblate (German)
Currently translated at 99.2% (2899 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-24 18:36:09 +00:00
Ayush PS
9a11b346c9 To fix the Redaction error and a few improvements 2021-04-24 18:09:34 +05:30
Michael Telatynski
98851f8e64 Text space switching behaviour and fix invalid space edge case 2021-04-24 11:32:55 +01:00
Michael Telatynski
da46e90896 Fix SpaceStore reset behaviour 2021-04-24 11:32:12 +01:00
Michael Telatynski
f85d3643ee Test and fix subspace invite receipt behaviour 2021-04-24 11:31:52 +01:00
Šimon Brandner
0e312977e3
Rework zooming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 10:36:53 +02:00
Šimon Brandner
90f2423eb7
Fix zoom step and coeficient
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 10:35:25 +02:00
Šimon Brandner
bcc6e5c5d5
Add some comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:41:46 +02:00
Šimon Brandner
9b7a9fc865
Use MAX_SCALE for maxZoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:24:25 +02:00
Šimon Brandner
1a906c95da
Merge branch 'develop' into image-view-zoom 2021-04-24 09:14:30 +02:00
Šimon Brandner
dcc060f6f7
Use correct cursor when we can't zoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:00:15 +02:00
Šimon Brandner
e0e9ccbf95
Remove logline
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:38:13 +02:00
Šimon Brandner
57b34f8dbc
Get rid of onWindowResize()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:37:51 +02:00
Šimon Brandner
f8af9831a9
Don't use percanteages
I was an idiot to use them in the first place

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:35:45 +02:00
Šimon Brandner
4523b8c7b8
Add dynamic maxZoom and wire it all up
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:32:28 +02:00
Šimon Brandner
dad7a22055
Initial code for dynamic minZoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:03:39 +02:00
Travis Ralston
82119ad595 Merge branch 'develop' into travis/error-states 2021-04-23 15:53:37 -06:00
Šimon Brandner
fbb8cfb188
Rework how media element are handled
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-23 19:41:55 +02:00
Travis Ralston
09af2a8891
Merge pull request #5910 from matrix-org/travis/tests/array-obj-utils
Add unit tests for various collection-based utility functions
2021-04-23 11:21:12 -06:00
J. Ryan Stinnett
f34489e2df Actually fix indent lint errors 2021-04-23 18:11:54 +01:00
Aaron Raimist
284b9e48ce Also fix translations 2021-04-23 11:38:53 -05:00
Šimon Brandner
c54aa86532
Merge branch 'develop' into feed 2021-04-23 18:32:05 +02:00
Aaron Raimist
bf444ce22e
Typo: initilisation -> initialisation
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-23 11:31:30 -05:00
J. Ryan Stinnett
3d41b48543 Check for null room in VisibilityProvider
Hopefully fixes https://github.com/vector-im/element-web/issues/16898
2021-04-23 17:27:20 +01:00
J. Ryan Stinnett
2344ddd164 Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts 2021-04-23 17:19:52 +01:00
Germain Souquet
8f1ea84eb6 Broadcast language change to ElectroPlatform 2021-04-23 17:11:45 +01:00
J. Ryan Stinnett
d7e6f4b4b5 Add basic types 2021-04-23 17:05:50 +01:00
J. Ryan Stinnett
0e92251f70 Fix simple lint errors 2021-04-23 16:28:55 +01:00
J. Ryan Stinnett
31a28b1a9e Update extensions for some files with types
This migrates one bucket of files using some amount of Flow typing to mark them
as TypeScript instead. The remaining type errors are fixed in subsequent
commits.
2021-04-23 16:05:30 +01:00
Michael Telatynski
f5ab75cfdd Fix automatic space switching behaviour to prioritise canonical parents 2021-04-23 14:45:34 +01:00
David Baker
dc3d05bc88 Test for asserted identity
This is out first CallHandler test(!) Switches react-sdk to use
createCall on the client object so we can stub this out in the test.
Add a bunch more stubs to the test client.

There's more stuff in this test that has scope to be used more
widely, like waiting for a certain dispatch and mocking out rooms
with particular sets of users in them: we could consider moving these
out to test utils if we wanted.
2021-04-23 14:39:39 +01:00
Germain
65d55bd0d9
Merge pull request #5908 from matrix-org/gsouquet-messagepreview-nodom
Remove reliance on DOM API to generated message preview
2021-04-23 14:37:19 +01:00
Michael Telatynski
320ff7b870 Fix invites relating to a space not showing in the space 2021-04-23 13:41:42 +01:00
J. Ryan Stinnett
c09d4f4a78
Merge pull request #5904 from SimonBrandner/normalize-wheel
Add a WheelEvent normalization function
2021-04-23 12:59:37 +01:00
Michael Telatynski
a12cefee8e Tweak some tests 2021-04-23 12:19:08 +01:00
Michael Telatynski
86a30a2ad5 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17022 2021-04-23 10:05:45 +01:00
Michael Telatynski
1075756929 add more tests 2021-04-23 09:55:30 +01:00
Travis Ralston
0d4218ee35 Add enum utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston
a3e846685d Add array utility tests (and support upsampling in resample)
See contained diff. 

The upsampling is important for Voice Messages, but is being done here because it's easier to add all the tests at once.

This also introduces a new Object utility - that will be tested on its own commit.
2021-04-22 20:08:45 -06:00
Travis Ralston
06726d38fe
Merge pull request #5888 from matrix-org/travis/voice/event_type
Expand upon voice message event & include overall waveform
2021-04-22 14:41:59 -06:00
Germain Souquet
2b6551d06a Remove reliance on DOM API to generated message preview 2021-04-22 16:17:53 +01:00
Travis Ralston
14809dfda7 Misc cleanup 2021-04-22 08:22:31 -06:00
Michael Telatynski
ba9cfa0942
Merge pull request #5902 from matrix-org/t3chguy/fix/17020
Show invites to spaces at the top of the space panel
2021-04-22 14:32:48 +01:00
Michael Telatynski
3fb4b6258a
Merge pull request #5899 from matrix-org/t3chguy/spaces-stability
Improve edge cases with spaces context switching
2021-04-22 14:30:35 +01:00
Michael Telatynski
5c93b99ec6
Merge pull request #5900 from matrix-org/t3chguy/fix/17024
Fix spaces notification dots wrongly including upgraded (hidden) rooms
2021-04-22 14:30:20 +01:00
Šimon Brandner
2e6397d8aa
Wire up normalizeWheelEvent()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-22 14:56:35 +02:00
Šimon Brandner
ad53b0e2e2
Add normalizeWheelEvent()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-22 14:56:12 +02:00
Jaiwanth
f2d0a56c1f Handle encoded matrix urls
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-22 16:54:51 +05:30
Michael Telatynski
e219fe082a Tweak context switching edge case for space invites 2021-04-22 12:08:54 +01:00
Michael Telatynski
e05200269f fix comment 2021-04-22 12:07:58 +01:00
Michael Telatynski
108a3088ef Hide explore rooms quick action when active space is an invite 2021-04-22 12:07:58 +01:00
Michael Telatynski
a51aeaa04d Disable context menu on space invite tiles as no options sensibly work 2021-04-22 12:07:58 +01:00
Michael Telatynski
7efd4a43a5 Show space invites at the top of the space panel 2021-04-22 12:07:58 +01:00
Michael Telatynski
60ef657f64 Properly hide spaces from the room list 2021-04-22 12:07:58 +01:00
Michael Telatynski
d9dac7b261
Merge pull request #5898 from matrix-org/t3chguy/fix/16976
Iterate the spaces face pile design
2021-04-22 09:29:00 +01:00
Michael Telatynski
23c61752cd Add comment 2021-04-22 09:08:25 +01:00
Michael Telatynski
28fa1cb44c Reset space contexts as some users may have loops stuck in their local storage 2021-04-22 09:05:02 +01:00
Michael Telatynski
b64b956aa4 when automatically switching space to match room fall back to the home space 2021-04-22 08:39:16 +01:00
Michael Telatynski
ec0612f70d Fix spaces notification dots wrongly including upgraded (hidden) rooms 2021-04-22 08:31:26 +01:00
Michael Telatynski
e1ba04716e Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces-stability
 Conflicts:
	src/stores/SpaceStore.tsx
2021-04-22 08:24:19 +01:00
Michael Telatynski
ee80c27b2b Improve edge cases with spaces context switching 2021-04-22 08:22:11 +01:00
Michael Telatynski
60828913d2 Iterate the spaces face pile design 2021-04-22 08:13:03 +01:00
Travis Ralston
a53696ff5e Fix tests 2021-04-21 16:53:29 -06:00
Travis Ralston
4be9c51dad Move all the RED_EXCLAMATION badges to a single definition 2021-04-21 16:43:25 -06:00
Travis Ralston
9227618b42 Show indicator in Room List for unsent events 2021-04-21 16:36:06 -06:00
Travis Ralston
c5dd6b4dfb Update action bar to incorporate sending states
This moves most of them out of the context menu.
2021-04-21 16:24:17 -06:00
Travis Ralston
91b3688feb Redesign "failed to send messages" status bar 2021-04-21 16:24:17 -06:00
Weblate
bfa34cd394 Merge branch 'origin/develop' into Weblate. 2021-04-21 15:20:02 +00:00
Andrejs
8e0b514dc6 Translated using Weblate (Latvian)
Currently translated at 50.9% (1485 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-04-21 11:34:25 +00:00
Germain Souquet
c5a1bb2d2c fix sticky tags header in room list 2021-04-21 10:44:20 +01:00
Michael Telatynski
8373b0e69c
Merge pull request #5893 from matrix-org/t3chguy/fix/16978
Fix spaces filtering sometimes lagging behind or behaving oddly
2021-04-21 09:20:18 +01:00
Michael Telatynski
bae47bbd79
Merge pull request #5894 from matrix-org/t3chguy/fix/17026
Fix issue with spaces context switching looping and breaking
2021-04-21 09:11:26 +01:00
Germain
68fb9a78c4
Merge pull request #5874 from matrix-org/gsouquet-room-events 2021-04-21 09:09:01 +01:00
Michael Telatynski
ecd9b8d6de Fix issue with spaces context switching looping and breaking 2021-04-21 09:01:22 +01:00
Michael Telatynski
1507f64f2b Fix spaces filtering sometimes lagging behind or behaving oddly 2021-04-21 08:52:56 +01:00
Travis Ralston
b519d85127
Update src/voice/RecorderWorklet.ts to use sanity
Co-authored-by: Germain <germain@souquet.com>
2021-04-20 09:32:12 -06:00
Šimon Brandner
9b81f5b4a0
Add a comment
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-20 16:11:34 +02:00
Šimon Brandner
3adb2635ba
Revert "Remove unnecessary check"
This reverts commit 08c0f0a67e.

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-20 15:40:32 +02:00
Michael Telatynski
ace8d59a2a Fix Spaces NPE when a room with no tags gains its first tag 2021-04-20 13:12:28 +01:00
Michael Telatynski
b2e9f6731b
Merge pull request #5795 from SimonBrandner/spaces/context-switching
[Spaces] Context switching
2021-04-20 12:38:54 +01:00
Michael Telatynski
c4ef1f9828
Merge pull request #5415 from aaronraimist/only-member-warning
Warn when you attempt to leave room that you are the only member of
2021-04-20 12:33:19 +01:00
Šimon Brandner
4344ff9097
Update src/stores/SpaceStore.tsx
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-04-20 13:31:50 +02:00
Šimon Brandner
d4ca087c2e
Make getLastViewedRoomsStorageKey() make sense
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-20 13:24:23 +02:00
Šimon Brandner
1934c4a32f
Add getLastViewedRoomsStorageKey()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-20 12:39:11 +02:00
Šimon Brandner
f9292c364c
Check if we are joined
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-20 12:25:56 +02:00
Šimon Brandner
08c0f0a67e
Remove unnecessary check
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-20 12:22:25 +02:00
Šimon Brandner
a3d0ccf306
Merge branch 'develop' into spaces/context-switching 2021-04-20 12:06:59 +02:00
Sagititi
b3168e479e Translated using Weblate (Occitan)
Currently translated at 11.3% (331 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/oc/
2021-04-20 08:50:20 +00:00
iaiz
8e2afcb5c2 Translated using Weblate (Spanish)
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/es/
2021-04-20 08:50:17 +00:00
Imre Kristoffer Eilertsen
d0df0e9099 Translated using Weblate (Norwegian Bokmål)
Currently translated at 63.0% (1839 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nb_NO/
2021-04-20 08:50:15 +00:00
MamasLT
0eee214966 Translated using Weblate (Lithuanian)
Currently translated at 65.1% (1901 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lt/
2021-04-20 08:48:36 +00:00
Germain
9d2833c74b
Merge pull request #5884 from matrix-org/gsouquet-jitsi-logout 2021-04-20 09:16:10 +01:00
Sven Grewe
4929247a5e Translated using Weblate (German)
Currently translated at 98.5% (2875 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-20 08:08:42 +00:00
libexus
0de0a30283 Translated using Weblate (German)
Currently translated at 98.5% (2875 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-20 08:08:41 +00:00
Hannah Rittich
97c775c203 Translated using Weblate (German)
Currently translated at 98.5% (2875 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-20 08:08:41 +00:00
Michael Telatynski
63ed9c271b
Merge pull request #5866 from ColonisationCaptain/develop
Add missing space in seshat dialog and the corresponding string
2021-04-20 09:02:53 +01:00
Germain Souquet
a3617fa3cd Remove unnecessary logout action 2021-04-20 08:51:14 +01:00
Travis Ralston
4f75e2944c Appease the linter 2021-04-19 23:11:41 -06:00
Travis Ralston
61730f2f88 Populate waveform data on voice message event 2021-04-19 23:05:53 -06:00
Travis Ralston
7d9562137e Replace deprecated processor with a worklet 2021-04-19 21:54:08 -06:00
Travis Ralston
6f794cca9b Fill in some metadata for the sent event 2021-04-19 21:01:48 -06:00
David Baker
ee96201e33 Comment room creation insanity 2021-04-19 21:05:05 +01:00
David Baker
10d056eb41 unused import 2021-04-19 20:34:48 +01:00
David Baker
59c5ab31de Support MSC3086 asserted identity 2021-04-19 20:30:51 +01:00
Michael Telatynski
6127669c53
Merge pull request #5882 from matrix-org/t3chguy/fix/17002
Trigger lazy loading when filtering using spaces
2021-04-19 19:25:15 +01:00
Germain Souquet
33eebb84a6 Ensure PersistedElement are unmounted on application logout 2021-04-19 17:57:20 +01:00
Michael Telatynski
379df7f24d
Merge pull request #5883 from matrix-org/t3chguy/fix/16704
Fix typo in method call in add existing to space dialog
2021-04-19 17:53:10 +01:00
J. Ryan Stinnett
2d1615e433
Merge pull request #5872 from SimonBrandner/new-image-view-fixes
New Image View fixes/improvements
2021-04-19 17:37:42 +01:00
Michael Telatynski
4082a03769 Fix typo in method call in add existing to space dialog 2021-04-19 17:32:45 +01:00
Travis Ralston
01fc88f88a
Merge pull request #5871 from matrix-org/travis/voice/countdown
Limit voice recording length
2021-04-19 10:30:38 -06:00
Michael Telatynski
12d96fe096
Merge pull request #5881 from matrix-org/t3chguy/fix/16704
Clean up add existing to space dialog and include DMs in it too
2021-04-19 17:29:09 +01:00
Michael Telatynski
12bdbd50f1
Merge pull request #5853 from matrix-org/t3chguy/fix/16925
Fix unknown slash command error exploding
2021-04-19 17:15:59 +01:00
Travis Ralston
20586e52bc
Update src/utils/Singleflight.ts to support English
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-04-19 10:13:22 -06:00
Michael Telatynski
344e4b6c5b Trigger lazy loading when filtering using spaces
so that the filtered DMs are correct
2021-04-19 16:15:24 +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
Šimon Brandner
758112dda9
Add missing somicolons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-19 07:42:32 +02: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 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
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
Šimon Brandner
2cfd4659e1
Add separate mx_CallView_content class
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-16 12:50:23 +02: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
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
Š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
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
Christian Paul
8241b6a730 Translated using Weblate (German)
Currently translated at 98.1% (2862 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-14 21:57:18 +00:00
Sven Grewe
208152d10f Translated using Weblate (German)
Currently translated at 98.1% (2862 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-14 21:57:18 +00:00
@a2sc:matrix.org
2ce36a210c Translated using Weblate (German)
Currently translated at 98.4% (2870 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-14 20:38:13 +00:00
Sebastian Lithgow
a3bcb73047 Translated using Weblate (Danish)
Currently translated at 21.2% (621 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/da/
2021-04-14 19:14:56 +00:00
Germain Souquet
3b66821258 move DM invite responsiblity to the server side 2021-04-14 19:59:17 +01:00
ColonisationCaptain
c521be2d16 add missing spaces 2021-04-14 14:28:41 +01:00
Travis Ralston
2fb241cfc2
Merge pull request #5859 from robintown/message-preview-tooltips
Add tooltips to message previews
2021-04-14 06:42:18 -06:00
Jaiwanth
f32eee9475 Added slashcommands support to edit message composer
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-14 16:43:21 +05:30
Šimon Brandner
a7b1c5dfe0
Run getReadAvatars() only when neccessary
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 12:25:48 +02:00
Šimon Brandner
43c236e8a5
Pass showReadReceipts from MessagePanel
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 12:24:33 +02:00
Šimon Brandner
ba0384f381
Render msgOption only if showReadReceipts is enabled
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 11:43:42 +02:00