Commit graph

9244 commits

Author SHA1 Message Date
David Baker
d6b3083c2f Don't notify for bad encrypted messages
Continue to wait for decryption if the decryption process failed.
Because we weren't doing this, the first message in a megolm session
was generally failing to decrypt the first time because the keys often
arrive after the message.

Fixes https://github.com/vector-im/riot-web/issues/6284

This is is small & safe enough that we may want to consider
putting it in 0.14 if we're cutting another RC.
2018-03-29 18:18:53 +01:00
Richard Lewis
5ba18b5ee2 Avoid redefining function parameter 2018-03-29 18:13:23 +01:00
Richard Lewis
3d9bdb90ca Consistent async / await / promises. 2018-03-29 17:56:12 +01:00
Richard Lewis
b1e7dcf216 Cleanup / simplify code. 2018-03-29 17:52:34 +01:00
Richard Lewis
6181ca642f "Stickerpack" translation. 2018-03-29 17:47:53 +01:00
Richard Lewis
c8f9586c9b Check for valid reference. 2018-03-29 17:35:21 +01:00
Krombel
50a2756203 Translated using Weblate (German)
Currently translated at 100.0% (999 of 999 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-03-29 16:32:34 +00:00
Richard Lewis
67f755efcb Comment. 2018-03-29 17:26:54 +01:00
Richard Lewis
e21cc14e5b Comment. 2018-03-29 17:26:19 +01:00
Richard Lewis
38c8bc7d9a Consistent function naming. 2018-03-29 17:25:07 +01:00
Richard Lewis
9c10d243e8 Add comment. 2018-03-29 17:09:03 +01:00
Richard Lewis
f383298267 Remove duplicate event handler. 2018-03-29 17:08:07 +01:00
Richard Lewis
cafbd2904e Remove unused ref. 2018-03-29 16:57:21 +01:00
Richard Lewis
aefccb134c Ensure deleting is set to false. 2018-03-29 16:56:25 +01:00
Richard Lewis
35fcb2c9ab Catch rather than 'done' error handler. 2018-03-29 16:56:02 +01:00
Richard Lewis
23a52bdb4c Indentation. 2018-03-29 16:46:22 +01:00
Richard Lewis
a1581ad2dc Don't swallow error. 2018-03-29 16:24:03 +01:00
Richard Lewis
5fc9b8a6b8 Indentation. 2018-03-29 16:23:20 +01:00
Kévin C
fdf38bb871 Translated using Weblate (French)
Currently translated at 100.0% (999 of 999 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-03-29 15:20:02 +00:00
Weblate
0bd24027f7 Merge remote-tracking branch 'origin/develop' into develop 2018-03-29 14:44:50 +00:00
Luke Barnard
1226ad3330
Merge pull request #1815 from matrix-org/luke/feature-group-join
Join this community button
2018-03-29 15:44:46 +01:00
Weblate
fc0b73c29a Merge remote-tracking branch 'origin/develop' into develop 2018-03-29 14:43:59 +00:00
Luke Barnard
a92f822b04
Merge pull request #1816 from matrix-org/luke/reword-group-settings-delay-warning
Reword group setting delay
2018-03-29 15:43:54 +01:00
Luke Barnard
c4322892de Reword group setting delay 2018-03-29 14:33:54 +01:00
Luke Barnard
2dea5cd233 run gen-i18n 2018-03-29 12:39:21 +01:00
Luke Barnard
385211528d Implement "Join this community" button
for groups that have truthy summary.profile.is_joinable.
2018-03-29 12:39:09 +01:00
Richard Lewis
b4e70e30f3 Expects object, not naked ID. 2018-03-28 19:21:49 +01:00
Richard Lewis
4ac9653ab9 Refactor widget postMessage API. 2018-03-28 12:22:06 +01:00
Weblate
f942782ffe Merge remote-tracking branch 'origin/develop' into develop 2018-03-28 11:00:38 +00:00
Luke Barnard
b40b417153
Merge pull request #1814 from matrix-org/luke/track-page-change-duration
Track duration of page changes
2018-03-28 12:00:32 +01:00
Luke Barnard
00167fbc06 Init page change state in willMount 2018-03-28 11:25:28 +01:00
Luke Barnard
8d994f2788 Merge branch 'develop' into luke/track-page-change-duration 2018-03-28 10:56:36 +01:00
Luke Barnard
f29b58aba5 Always expect generationTimeMs 2018-03-28 10:31:03 +01:00
Luke Barnard
187e8ab8a8 Remove unused variable 2018-03-28 10:27:24 +01:00
Luke Barnard
c8312dd5ae Use a less fragile API to track page change performance 2018-03-28 10:25:28 +01:00
Weblate
b11b3cce7f Merge remote-tracking branch 'origin/develop' into develop 2018-03-27 16:29:10 +00:00
Mirek Jurczyszyn
b8e5e603d3 Translated using Weblate (Polish)
Currently translated at 69.9% (697 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-03-27 16:29:09 +00:00
Oskars
7333349772 Translated using Weblate (Latvian)
Currently translated at 100.0% (997 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lv/
2018-03-27 16:29:09 +00:00
random
99d038d753 Translated using Weblate (Italian)
Currently translated at 99.4% (992 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-03-27 16:29:09 +00:00
Szimszon
5bd852ee8f Translated using Weblate (Hungarian)
Currently translated at 100.0% (997 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-03-27 16:29:09 +00:00
Osoitz
3131d14b64 Translated using Weblate (Basque)
Currently translated at 100.0% (997 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-03-27 16:29:08 +00:00
riotimbuggggg
ef4e446418 Translated using Weblate (Albanian)
Currently translated at 11.8% (118 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-03-27 16:29:08 +00:00
Luke Barnard
d3e2c4c561
Merge pull request #1810 from matrix-org/luke/force-gemini
Wrap GeminiScrollbar in a component, enabled forceGemini
2018-03-27 17:29:00 +01:00
Luke Barnard
944940057e Remember that React needs React 2018-03-27 13:04:26 +01:00
Luke Barnard
2ffcad0981 Convert GeminiScrollbarWrapper to stateless component 2018-03-27 13:04:26 +01:00
Luke Barnard
39e9d52c04 Make sure to proxy special prop ref 2018-03-27 13:04:26 +01:00
Luke Barnard
b80568b1c5 Wrap GeminiScrollbar in a component, enabled forceGemini
Fixes https://github.com/vector-im/riot-web/issues/6294
2018-03-27 13:04:26 +01:00
Luke Barnard
69d9080dd5 Track duration of page changes
The duration measured is between
 - componentWillUpdate of MatrixChat and
 - componentDidUpdate of MatrixChat.

This does not account for *all* changes to the view that occur
when a room switch happens, for example. But it does at least
capture the difference between switching to a "big" room and
switching to a small test room.
2018-03-27 11:17:49 +01:00
Besnik Bleta
4f488e9e89 Translated using Weblate (Albanian)
Currently translated at 4.7% (47 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-03-27 08:47:58 +00:00
riotimbuggggg
2887835a1f Translated using Weblate (Albanian)
Currently translated at 4.7% (47 of 997 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-03-27 08:47:57 +00:00