Commit graph

30573 commits

Author SHA1 Message Date
Michael Telatynski
d71f2345fb Null guard around the matrixClient in SpaceStore 2021-09-28 10:34:32 +01:00
Germain Souquet
e52a33e93c Merge branch 'develop' into gsouquet/threads-action-bar-19127 2021-09-28 09:34:43 +01:00
Šimon Brandner
aee27836d6
Use click not onclick
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-28 07:53:52 +02:00
Šimon Brandner
14f547f0eb
Add some member access qualifiers
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-28 07:48:56 +02:00
Weblate
e69464a030 Merge branch 'origin/develop' into Weblate. 2021-09-27 19:42:16 +00:00
Travis Ralston
8e497f8c56
Merge pull request #6871 from psrpinto/fix/close-url-preview-button
Fix issue with preview panel close button not appearing for certain messages containing a URL
2021-09-27 13:42:11 -06:00
Paulo Pinto
432dd994bd Filter out invalid previews
The call to cli.getUrlPreview() might return an empty object ({}), which means
there is in fact no preview for that URL.

Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-09-27 18:07:54 +01:00
Paulo Pinto
dabc13c98f Extract logic to a function
For better readability of the call to useAsyncMemo()

Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-09-27 18:07:54 +01:00
Šimon Brandner
05b83d1fae
Convert linkify-matrix to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 18:40:02 +02:00
Šimon Brandner
f12b142311
Convert ScalarMessaging to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 18:40:02 +02:00
Šimon Brandner
de44b3aacc
Convert index to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 18:40:01 +02:00
Šimon Brandner
e2b6c2cbd6
Convert RoomNotifs to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 18:39:57 +02:00
Weblate
fe245a5c7c Merge branch 'origin/develop' into Weblate. 2021-09-27 16:16:10 +00:00
Travis Ralston
77ad0a9142
Merge pull request #6699 from SimonBrandner/fix/improve-aux-panel/18787
Improve AUX panel behaviour
2021-09-27 10:16:05 -06:00
Weblate
69ca7d5c75 Merge branch 'origin/develop' into Weblate. 2021-09-27 12:56:23 +00:00
Besnik Bleta
a66cc7a3bb Translated using Weblate (Albanian)
Currently translated at 99.7% (3161 of 3168 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-09-27 12:56:23 +00:00
waclaw66
d2a1507f41 Translated using Weblate (Czech)
Currently translated at 100.0% (3168 of 3168 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-09-27 12:56:20 +00:00
sr093906
866c9334bc Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3168 of 3168 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-09-27 12:56:18 +00:00
Glandos
9f492fb4ff Translated using Weblate (French)
Currently translated at 99.9% (3165 of 3168 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-27 12:56:16 +00:00
Michael Telatynski
c39519a753 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/spaces-admin-check 2021-09-27 13:46:51 +01:00
Šimon Brandner
ff30dacc84
Convert theme to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:41:08 +02:00
Šimon Brandner
6adf762569
Convert Skinner to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:41:08 +02:00
Šimon Brandner
a680b5f968
Convert Registration to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:41:08 +02:00
Šimon Brandner
30599554f1
Convert PageTypes to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:41:03 +02:00
Šimon Brandner
b621f92805
Convert NodeAnimator to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:34:55 +02:00
Šimon Brandner
1fe96cae8a
Convert IdentityAuthClient to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:34:55 +02:00
Šimon Brandner
84c665ec2b
Convert AddThreepid to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:34:54 +02:00
Šimon Brandner
e30d4e6746
Convert boundThreepid to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:34:54 +02:00
Weblate
e813db30d9 Merge branch 'origin/develop' into Weblate. 2021-09-27 10:20:44 +00:00
random
9c8f98172b Translated using Weblate (Italian)
Currently translated at 99.9% (3165 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-09-27 10:20:44 +00:00
Dariusz Niemczyk
0cfa2a58c7
Add ability to expand and collapse long quoted messages (#6701)
In case where we had a very long message the experience of going between 
messages to see the full quote isn't very nice on desktop, therefore this commit
adds a button with additional hotkey to normalize the experience a bit.

Fixes https://github.com/vector-im/element-web/issues/18884
2021-09-27 12:20:37 +02:00
Weblate
539508df62 Merge branch 'origin/develop' into Weblate. 2021-09-27 09:03:17 +00:00
Šimon Brandner
0cba943f96
Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:35:33 +02:00
Šimon Brandner
6a88ac900c
Merge remote-tracking branch 'upstream/develop' into task/messages-ts 2021-09-27 10:32:25 +02:00
Šimon Brandner
2712dde581
Remove empty line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:28:07 +02:00
Weblate
a69772cb78 Merge branch 'origin/develop' into Weblate. 2021-09-27 08:26:08 +00:00
Germain
4fa4ff23c3
Merge pull request #6863 from SimonBrandner/task/utils-ts 2021-09-27 09:26:04 +01:00
Weblate
d3b6701462 Merge branch 'origin/develop' into Weblate. 2021-09-27 08:25:10 +00:00
Šimon Brandner
dd92f8f1f9
Move imports
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:21:46 +02:00
Šimon Brandner
1ed4a9eb4f
Fix JSDoc type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:19:53 +02:00
Šimon Brandner
a1d5e7ba66
Add return type
Co-authored-by: Germain <germain@souquet.com>
2021-09-27 10:12:55 +02:00
Šimon Brandner
6aa5d98741
Remove constructor
Co-authored-by: Germain <germain@souquet.com>
2021-09-27 10:12:45 +02:00
Šimon Brandner
b6fc10b65e
Merge remote-tracking branch 'upstream/develop' into task/rageshake-ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 09:56:09 +02:00
Weblate
624a50118a Merge branch 'origin/develop' into Weblate. 2021-09-27 07:35:15 +00:00
Andrejs
0928a2fcee Translated using Weblate (Latvian)
Currently translated at 60.6% (1921 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-09-27 07:35:15 +00:00
Tirifto
a3a1820064 Translated using Weblate (Esperanto)
Currently translated at 99.6% (3155 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-09-27 07:34:52 +00:00
Šimon Brandner
af9429c8a0
Convert ActiveWidgetStore to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 19:57:02 +02:00
Šimon Brandner
2584b5bc6b
Convert rageshake to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 16:53:43 +02:00
Šimon Brandner
ee344efb3d
Convert MegolmExportEncryption to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 15:20:42 +02:00
Šimon Brandner
aa10cf45a5
Convert KeyVerificationStateObserver to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 15:05:51 +02:00
Šimon Brandner
0c6bf950f6
Convert HostingLink to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 15:03:50 +02:00
Šimon Brandner
755bfb4562
Convert DirectoryUtils to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 15:02:07 +02:00
Šimon Brandner
fb5c18caa0
Convert MKeyVerificationConclusion to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 14:51:46 +02:00
Šimon Brandner
c287d15fa0
Convert RoomCreate to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:42:29 +02:00
Šimon Brandner
421fa1ab69
Convert RoomAvatarEvent to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:42:28 +02:00
Šimon Brandner
ff1c1fbc78
Convert MjolnirBody to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:08:05 +02:00
Šimon Brandner
bee85a0bcd
Convert EditHistoryMessage to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:08:04 +02:00
Weblate
71745ac480 Merge branch 'origin/develop' into Weblate. 2021-09-26 02:52:49 +00:00
Linerly
97fb55bd37 Translated using Weblate (Indonesian)
Currently translated at 6.8% (216 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2021-09-26 02:52:49 +00:00
Tirifto
4f8c2ecaa2 Translated using Weblate (Esperanto)
Currently translated at 98.6% (3123 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-09-26 02:52:49 +00:00
jelv
c21533f7af Translated using Weblate (Dutch)
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-09-26 02:52:44 +00:00
Šimon Brandner
3450e91e32
Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-25 09:58:01 +02:00
Šimon Brandner
1a2476609c
Fix code to be equivalent to the previous one
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-25 07:55:40 +02:00
Šimon Brandner
27f74b3ebd
Remove unnecessary type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-25 07:53:38 +02:00
Šimon Brandner
bffebb9304
Convert index to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-24 20:51:50 +02:00
Weblate
c2036dbd05 Merge branch 'origin/develop' into Weblate. 2021-09-24 14:05:44 +00:00
Germain
79b52f8a22
Merge pull request #6857 from matrix-org/gsouquet/composer-reply-18989 2021-09-24 15:05:40 +01:00
Weblate
13a806ceb1 Merge branch 'origin/develop' into Weblate. 2021-09-24 13:44:12 +00:00
David Baker
9f26cca256 Fix the User View
Extreme confusion between users and members, and presumably we were
passing one as the other and they were similar enough that it
worked.

UserView still makes fake member objects but this at least fixes
the user view in the right panel.

Fixes https://github.com/vector-im/element-web/issues/19158
2021-09-24 14:35:00 +01:00
Germain Souquet
8348add67f Add MessageActionBar to ThreadView 2021-09-24 14:19:11 +01:00
Germain Souquet
836e427dc8 Scope editor reset when reply changed for thread view 2021-09-24 11:13:57 +01:00
Weblate
d3b7764e4e Merge branch 'origin/develop' into Weblate. 2021-09-24 10:11:47 +00:00
Priit Jõerüüt
6dbe61de2b Translated using Weblate (Estonian)
Currently translated at 99.9% (3165 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-09-24 10:11:47 +00:00
random
8694d88177 Translated using Weblate (Italian)
Currently translated at 99.9% (3165 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-09-24 10:11:44 +00:00
Hubert Jasudowicz
5c7f5dae6f Translated using Weblate (Polish)
Currently translated at 65.6% (2078 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2021-09-24 10:11:42 +00:00
Wiktor Przybylski
7dbdeacd2b Translated using Weblate (Polish)
Currently translated at 65.6% (2078 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2021-09-24 10:11:42 +00:00
LinAGKar
0c59389ae1 Translated using Weblate (Swedish)
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-09-24 10:11:40 +00:00
Germain Souquet
82d685e410 Only switch to ThreadPanel when roomId changes 2021-09-24 11:06:07 +01:00
Germain Souquet
070f279ae7 Close thread view when changing room 2021-09-23 14:44:03 +01:00
Germain Souquet
bd599c96a3 Add React lifecycle methods publicity and return types 2021-09-23 14:43:39 +01:00
Germain Souquet
a9f7ab785c Change CIDER state persistence key to cater for threads
Extending the CIDER state persistence to threads and make sure that SendMessageComposer can restore drafts for specific threads

This also prevents the thread's replyToEvent to leaking in the room composer
2021-09-23 10:59:33 +01:00
Jaiwanth
f35dae8c94 i18n 2021-09-22 22:22:45 +05:30
Jaiwanth
d1e3d35d40 Change export bundle filename format, light theme for all exports and import jszip after export cta 2021-09-22 22:17:23 +05:30
Weblate
f72320c040 Merge branch 'origin/develop' into Weblate. 2021-09-22 16:23:13 +00:00
Germain
2cd5b731bf
Merge pull request #6851 from matrix-org/gsouquet/timeline-rendering-18719 2021-09-22 17:23:07 +01:00
Weblate
bc8253e2a8 Merge branch 'origin/develop' into Weblate. 2021-09-22 16:23:03 +00:00
Travis Ralston
7cd7cf87e3
Merge pull request #6853 from videogame-hacker/patch/undefined-3pids
Fix Notifications settings view when threepids is undefined
2021-09-22 10:22:58 -06:00
Weblate
80bed6b3fd Merge branch 'origin/develop' into Weblate. 2021-09-22 13:56:06 +00:00
David Baker
f69854b274
Merge pull request #6856 from SimonBrandner/fix/soft-crash
Fix `AppsDrawer` soft crash
2021-09-22 14:56:00 +01:00
Šimon Brandner
96c16354ca
Fix soft crash
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 15:47:15 +02:00
iaiz
8a8b8a156e Translated using Weblate (Spanish)
Currently translated at 99.7% (3158 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-09-22 12:39:37 +00:00
Jaiwanth
94e4fb71c1 Merge branch 'develop' into export-conversations 2021-09-22 18:07:01 +05:30
videogame hacker
d323bc4c07 Fix Notifications settings view when threepids is undefined
Signed-off-by: Charlotte Som <half-kh-hacker@hackery.site>
2021-09-22 13:17:49 +01:00
Germain Souquet
1265fe6b86 Set comprehensive set of props for thread's MessagePanel 2021-09-22 10:48:24 +01:00
Weblate
d0b5d85460 Merge branch 'origin/develop' into Weblate. 2021-09-22 09:43:25 +00:00
Šimon Brandner
4adc900d00
Remove autoFocus
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 10:46:59 +02:00
Šimon Brandner
d3e340e7ce
Merge remote-tracking branch 'upstream/develop' into task/dialogs-ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 10:42:02 +02:00
Weblate
3196d41b71 Merge branch 'origin/develop' into Weblate. 2021-09-22 07:47:32 +00:00
Šimon Brandner
d4665979b8
Fix resizer
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 08:29:04 +02:00
Weblate
8479dca81f Merge branch 'origin/develop' into Weblate. 2021-09-22 06:17:14 +00:00
XoseM
350f93191a Translated using Weblate (Galician)
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-09-22 06:17:14 +00:00
waclaw66
f15951f35f Translated using Weblate (Czech)
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-09-22 06:17:11 +00:00
Kim Tae Kyeong
66cd3970ae Translated using Weblate (Korean)
Currently translated at 44.9% (1424 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ko/
2021-09-22 06:17:09 +00:00
Jeff Huang
18415e435c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-09-22 06:17:08 +00:00
Šimon Brandner
8bbaf642bf
Avoid self = this
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 08:11:26 +02:00
Šimon Brandner
7f8c0e99ea
Merge remote-tracking branch 'upstream/develop' into task/settings-ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 19:35:42 +02:00
Travis Ralston
b78e0ba166 Merge remote-tracking branch 'kittykat/develop' into develop 2021-09-21 11:21:50 -06:00
Ihor Hordiichuk
6a46713d02 Translated using Weblate (Ukrainian)
Currently translated at 66.7% (2112 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-09-21 17:17:04 +00:00
Weblate
0d3f5a4d42 Merge branch 'origin/develop' into Weblate. 2021-09-21 16:05:19 +00:00
Dariusz Niemczyk
7bd3535b9f
Merge pull request #6454 from SimonBrandner/feature/image-view-load-anim/18186
* Give lightbox a background load animation
* Extends IMediaEventContent by thumbnail info
* Give image view panel a loading animation
* Initial implementation of loading animation
* Take panel height into account
* Update animation speed
* Add some null guards
* Fix animation issues
* Move animations into _animations
* Where does that magic number come from?
* Remove awaiting setState()
* Use CSS var in JS
* Handle prefers-reduced-motion
* More prefers-reduced-motion friendliness

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 18:05:13 +02:00
Šimon Brandner
b2c0f57c4b
More prefers-reduced-motion friendliness
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 17:59:13 +02:00
Weblate
cd5514ad50 Merge branch 'origin/develop' into Weblate. 2021-09-21 15:48:13 +00:00
Dariusz Niemczyk
2d1d42b90e
Globally replace all console.logs via codemod (#6827)
This commit replaces all the `console.log` to `logger.log` via an automated script.
Related: vector-im/element-web#18425
2021-09-21 09:48:09 -06:00
Šimon Brandner
7022ab4f8a
Merge remote-tracking branch 'upstream/develop' into feature/image-view-load-anim/18186 2021-09-21 17:36:26 +02:00
Šimon Brandner
499b470d07
Use CSS var in JS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 17:36:16 +02:00
Weblate
9e785a002f Merge branch 'origin/develop' into Weblate. 2021-09-21 15:18:57 +00:00
Travis Ralston
3a548d4c9c
Merge pull request #6547 from SimonBrandner/feature/call-upgrades
Update muting in calls to work with the js-sdk call upgrade changes
2021-09-21 09:18:54 -06:00
Weblate
a9dc01700b Merge branch 'origin/develop' into Weblate. 2021-09-21 15:13:27 +00:00
Travis Ralston
a655dde5eb
Merge pull request #6839 from SimonBrandner/task/rooms-ts
Convert `/src/components/views/rooms` to TS
2021-09-21 09:13:23 -06:00
Weblate
08a780f360 Merge branch 'origin/develop' into Weblate. 2021-09-21 15:13:11 +00:00
Besnik Bleta
c618d2d553 Translated using Weblate (Albanian)
Currently translated at 99.7% (3159 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-09-21 15:13:11 +00:00
jelv
720c1e34c3 Translated using Weblate (Dutch)
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-09-21 15:13:08 +00:00
Szimszon
7cd02356de Translated using Weblate (Hungarian)
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-09-21 15:13:06 +00:00
Travis Ralston
2eea606442
Merge pull request #6815 from SimonBrandner/task/elements-ts
Convert `/src/components/views/elements` to TS
2021-09-21 09:12:56 -06:00
Ekaterina Gerasimova
5382de7c53 Prune unused strings from translation
Use `yarn prumei18n` to remove unused strings from translations

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-21 15:19:06 +01:00
Šimon Brandner
6f7e64d2b4
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:15:23 +02:00
Šimon Brandner
7862f9842a
Use IDialogProps
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:10:28 +02:00
Šimon Brandner
0bae01c824
Convert SecureBackupPanel to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:10:23 +02:00
Šimon Brandner
9051df45c1
Convert ChangePassword to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:00:08 +02:00
Šimon Brandner
073eff4c71
Convert SecurityUserSettingsTab to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:59:29 +02:00
Šimon Brandner
222427dae8
Convert GeneralUserSettingsTab to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:45:38 +02:00
Šimon Brandner
e88227dac8
Convert LabsUserSettingsTab to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:19:13 +02:00
Šimon Brandner
f62e0795f0
Convert NotificationsSettingsTab to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:51:47 +02:00
Šimon Brandner
c5a1de961b
Convert GeneralRoomSettingsTab to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:44:40 +02:00
Šimon Brandner
76f8543c22
Convert PhoneNumber to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:40:32 +02:00
Šimon Brandner
2ebbda482d
Convert EmailAddress to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:33:11 +02:00
Šimon Brandner
39f92c4ddc
Convert PhoneNumbers to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:22:14 +02:00
Šimon Brandner
a2ecf18096
Convert EmailAddresses to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:22:07 +02:00
Weblate
6239d65674 Merge branch 'origin/develop' into Weblate. 2021-09-21 09:14:09 +00:00
sr093906
4db55787be Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3166 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-09-21 09:14:09 +00:00
Germain
14c92b72b2
Merge pull request #6842 from matrix-org/gsouquet/fix-19016 2021-09-21 10:14:01 +01:00
Weblate
3cc7586352 Merge branch 'origin/develop' into Weblate. 2021-09-21 08:33:25 +00:00
Besnik Bleta
d395ceb86e Translated using Weblate (Albanian)
Currently translated at 99.7% (3158 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-09-21 08:33:24 +00:00
Kat Gerasimova
c632e438c0
Improve string for leaving space in leave dialog
Improve string for leaving space in leave dialog
2021-09-21 01:33:17 -07:00
David Baker
2c8c845d74 Translated using Weblate (Albanian)
Currently translated at 99.7% (3157 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-09-21 07:59:31 +00:00
Ekaterina Gerasimova
d2fe8aff11 Improve string for leaving space in leave dialog
Doesn't leave subspaces either, but those are in Beta so we probably
shouldn't mention them for now so the user doesn't get confused

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-21 08:55:28 +01:00
Šimon Brandner
24df63abd7
Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 09:09:21 +02:00
Šimon Brandner
f84a98b933
Fix enum casing once again
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 08:25:25 +02:00
Weblate
75486a6be9 Merge branch 'origin/develop' into Weblate. 2021-09-20 16:00:26 +00:00
Šimon Brandner
bce4d44d0d
Revert Firefox composer delation hacks
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:32:54 +02:00
Šimon Brandner
ec4f672a13
Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:19:03 +02:00
Šimon Brandner
26ae71f093
Lose underscore
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:16:01 +02:00
Šimon Brandner
459e028137
Fix some regressions
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:15:36 +02:00
Šimon Brandner
0df67d005e
Ditch displayName
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:11:14 +02:00
Šimon Brandner
6d916bfdde
Fix enum casing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:10:22 +02:00
Šimon Brandner
9377548630
Don't require a non-null container
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 16:36:37 +02:00
Weblate
da98ec8e6d Merge branch 'origin/develop' into Weblate. 2021-09-20 14:34:36 +00:00
Travis Ralston
5b8279dd16
Merge pull request #6837 from SimonBrandner/fix/ctrl-backspace
Don't `fakeDeletion()` when `CTRL` is pressed
2021-09-20 08:34:31 -06:00
Šimon Brandner
60e47c759d
Convert AppsDrawer to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 16:20:00 +02:00
Weblate
ba3cd40e25 Merge branch 'origin/develop' into Weblate. 2021-09-20 13:52:47 +00:00
c-cal
609f6250df Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 13:52:47 +00:00
Germain
e4e696f409
Merge pull request #6838 from SimonBrandner/task/room_settings-ts 2021-09-20 14:52:40 +01:00
Weblate
33ad29a879 Merge branch 'origin/develop' into Weblate. 2021-09-20 12:38:38 +00:00
random
cd12c53e29 Translated using Weblate (Italian)
Currently translated at 99.9% (3164 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-09-20 12:38:37 +00:00
Ihor Hordiichuk
461ac7d75e Translated using Weblate (Ukrainian)
Currently translated at 65.8% (2084 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-09-20 12:38:35 +00:00
Glandos
74c8593178 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 12:38:33 +00:00
iaiz
74d8f09ac2 Translated using Weblate (Spanish)
Currently translated at 99.7% (3157 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-09-20 12:38:31 +00:00
artevaeckt
9309eb6040 Translated using Weblate (German)
Currently translated at 98.7% (3125 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-09-20 12:38:27 +00:00
David Baker
b69f3f2dff
Merge pull request #6830 from matrix-org/t3chguy/fix/npe2
Fix accessing field on oobData which may be undefined
2021-09-20 13:38:20 +01:00
Germain Souquet
0a5e1772a5 hide thread info when there are 0 replies 2021-09-20 12:55:57 +01:00
Germain Souquet
225380b248 Do not hide the root event of a thread 2021-09-20 12:53:08 +01:00
Šimon Brandner
d9e8c32341
Convert E2EIcon to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 13:41:38 +02:00
Glandos
daf0197e22 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 10:29:10 +00:00
Miquel Lionel
9414453c50 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 10:29:09 +00:00
zopieux
08a9053843 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 10:29:09 +00:00
Boo Teille
08b1e75c82 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 10:29:09 +00:00
Mika67
3faf1f3f81 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 10:29:09 +00:00
Miquel Lionel
fa028750f6 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-20 10:24:28 +00:00
Šimon Brandner
6f004d219c
Convert UrlPreviewSettings to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-19 09:59:53 +02:00
Šimon Brandner
a43e3450a5
Convert RoomProfileSettings to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-19 09:55:22 +02:00
Šimon Brandner
756b3fb681
Merge remote-tracking branch 'upstream/develop' into feature/call-upgrades 2021-09-19 07:45:13 +02:00
Šimon Brandner
4eda5b186a
Handle MacOS option key
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-19 07:37:25 +02:00
Hassan Sunbul
1ccd757d7a Translated using Weblate (Arabic)
Currently translated at 48.9% (1550 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ar/
2021-09-18 22:28:52 +00:00
LinAGKar
e8b84a33c3 Translated using Weblate (Swedish)
Currently translated at 100.0% (3165 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-09-18 22:28:30 +00:00
Glandos
a550c56b93 Translated using Weblate (French)
Currently translated at 99.9% (3162 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-18 22:28:26 +00:00
Šimon Brandner
649b655a48
Don't fake deletion when CTRL is pressed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-18 20:43:23 +02:00
Šimon Brandner
a2977f5b17
Update muting to work with the js-sdk call upgrade changes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-18 12:40:32 +02:00
Weblate
05b94bb135 Merge branch 'origin/develop' into Weblate. 2021-09-18 06:47:10 +00:00
Travis Ralston
eb0859c4a6
Merge pull request #6831 from SimonBrandner/fix/end-of-line-emoji-edit/19084
Convert end-of-line emoji when editing
2021-09-18 00:47:06 -06:00
Weblate
33de05cdc2 Merge branch 'origin/develop' into Weblate. 2021-09-18 06:46:56 +00:00
Travis Ralston
45058dfde9
Merge pull request #6832 from SimonBrandner/fix/ff-esr-pills
Fix pill deletion on Firefox 78
2021-09-18 00:46:51 -06:00
Weblate
01e62820dc Merge branch 'origin/develop' into Weblate. 2021-09-17 20:19:16 +00:00
Daimar Stein
e89fd74163 Translated using Weblate (Portuguese (Brazil))
Currently translated at 93.5% (2961 of 3165 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt_BR/
2021-09-17 20:19:16 +00:00
Eric Eastwood
9c3439a1aa
Show updated relation reply from edited message - v2 (#6817)
Part of https://github.com/vector-im/element-web/issues/10391

When `m.relates_to` -> `m.in_reply_to` is provided in `m.new_content`
for an edited message, use the updated reply.

ex.

```json
{
  "type": "m.room.message",
  "content": {
    "body": " * foo bar",
    "msgtype": "m.text",
    "m.new_content": {
      "body": "foo bar",
      "msgtype": "m.text",
      "m.relates_to": {
        "m.in_reply_to": {
          "event_id": "$qkjmFBTEc0VvfVyzq1CJuh1QZi_xDIgNEFjZ4Pq34og"
        }
      }
    },
    "m.relates_to": {
      "rel_type": "m.replace",
      "event_id": "$lX9MRe9ZTFOOvnU8PRVbvr1wqGtYvNQ1rSot-iUTN5k"
    }
  }
}
```
2021-09-17 15:18:52 -05:00
Šimon Brandner
36decbb6dd
Fix pill deletion on FF 78
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 19:25:28 +02:00
Šimon Brandner
b1ba5fb48c
Convert end-of-line emoji when editing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 19:13:46 +02:00
Michael Telatynski
1db2a745e8 Fix accessing field on oobData which may be undefined 2021-09-17 18:03:31 +01:00
Šimon Brandner
e1445f71bd
Convert AppTile to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 18:47:15 +02:00
Šimon Brandner
03ce568a5d
Convert EditableText to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 18:47:14 +02:00
Šimon Brandner
af853e1d86
Convert DialogButtons to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 18:47:14 +02:00