Commit graph

15770 commits

Author SHA1 Message Date
Damir Jelić
7516f2724a EventIndexing: Rework the index initialization and deletion. 2019-11-14 16:13:22 +01:00
Damir Jelić
448c9a8290 EventIndexPeg: Add a missing return statement. 2019-11-14 16:01:14 +01:00
Weblate
b871b3cefb Merge branch 'origin/develop' into Weblate. 2019-11-14 14:52:47 +00:00
andriusign
bcb7ec0814 Translated using Weblate (Lithuanian)
Currently translated at 49.2% (934 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-11-14 14:52:46 +00:00
송태섭
154fb7ecac Translated using Weblate (Korean)
Currently translated at 99.4% (1887 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-14 14:52:46 +00:00
random
51a65f388b Translated using Weblate (Italian)
Currently translated at 99.9% (1896 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-14 14:52:43 +00:00
Michael Telatynski
58d15acf19
Merge pull request #3612 from matrix-org/t3chguy/remove_bluebird_1
Remove Bluebird: phase 1
2019-11-14 14:52:30 +00:00
Michael Telatynski
54dcaf1302 Replace bluebird specific promise things. Fix uses of sync promise code.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-14 13:52:17 +00:00
Damir Jelić
28d2e658a4 EventIndexing: Don't scope the event index per user. 2019-11-14 14:13:49 +01:00
Michael Telatynski
5c24547ef5 re-add and actually use promise timeout util
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-14 09:37:26 +00:00
Michael Telatynski
bc90789c71 Remove unused promise utils method
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-14 00:39:48 +00:00
Travis Ralston
56ad164c69 Add a function to get the "base" theme for a theme
Useful for trying to load the right assets first. 

See https://github.com/vector-im/riot-web/pull/11381
2019-11-13 14:01:07 -07:00
Damir Jelić
9b32ec10b4 EventIndexing: Use the correct timeout value. 2019-11-13 16:47:21 +01:00
Weblate
9a9fbe926d Merge branch 'origin/develop' into Weblate. 2019-11-13 15:40:38 +00:00
Travis Ralston
eeebb0ee2f
Merge pull request #3613 from matrix-org/travis/count-in-front
Move notification count to in front of the room name in the page title
2019-11-13 08:40:32 -07:00
Damir Jelić
d4b31cb7e0 EventIndexing: Move the max events per crawl constant into the class. 2019-11-13 16:35:26 +01:00
Damir Jelić
368a77ec3e EventIndexing: Fix a style issue. 2019-11-13 16:35:04 +01:00
Damir Jelić
cc2ee53824 EventIndex: Add some more docs and fix some lint issues. 2019-11-13 16:21:26 +01:00
Weblate
589ae5c80f Merge branch 'origin/develop' into Weblate. 2019-11-13 15:16:51 +00:00
송태섭
f0696dcc3f Translated using Weblate (Korean)
Currently translated at 98.4% (1868 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-13 15:16:51 +00:00
Kévin C
95b8e83cd3 Translated using Weblate (French)
Currently translated at 100.0% (1898 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-13 15:16:50 +00:00
Jeff Huang
f2f8a82876 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1898 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-13 15:16:45 +00:00
Damir Jelić
c26df9d9ef EventIndexing: Fix a typo. 2019-11-13 15:57:12 +01:00
Damir Jelić
bf558b46c3 EventIndexPeg: Clean up the event index initialization. 2019-11-13 15:39:39 +01:00
Damir Jelić
c33f5ba0ca BaseEventIndexManager: Add a method to perform runtime checks for indexing support. 2019-11-13 15:39:06 +01:00
Damir Jelić
ab7f34b45a EventIndexing: Don't mention Seshat in the logs. 2019-11-13 15:26:27 +01:00
Damir Jelić
1316e04776 EventIndexing: Check if there is a room when resetting the timeline. 2019-11-13 15:23:08 +01:00
Damir Jelić
f453fea24a BasePlatform: Move the event indexing methods into a separate class. 2019-11-13 14:46:17 +01:00
Damir Jelić
80b28004e1 Searching: Define the room id in the const object. 2019-11-13 11:02:54 +01:00
Damir Jelić
54b352f69c MatrixChat: Fix the limited timeline checkpoint adding. 2019-11-13 10:37:20 +01:00
Damir Jelić
1df28c7526 Fix some lint errors. 2019-11-13 10:30:38 +01:00
Damir Jelić
1cc64f2426 Searching: Move the small helper functions out of the eventIndexSearch function. 2019-11-13 10:10:35 +01:00
Damir Jelić
008554463d Lifecycle: Move the event index deletion into the clear storage method. 2019-11-13 09:52:59 +01:00
Travis Ralston
3dcc92b79d Add some logging/recovery for lost rooms
Zero inserts is not normal, so we apply the same recovery technique from the categorization logic above this block: insert it to be the very first room and hope that someone complains that the room is ordered incorrectly.

There's some additional logging to try and identify what went wrong because it should definitely be inserted. The `!== 1` check is not supposed to be called, ever.

Logging for https://github.com/vector-im/riot-web/issues/11303
2019-11-12 15:39:03 -07:00
Weblate
799851ab54 Merge branch 'origin/develop' into Weblate. 2019-11-12 22:38:54 +00:00
Weblate
3d7131569e Merge branch 'origin/develop' into Weblate. 2019-11-12 22:38:50 +00:00
Szimszon
a0ff1e9e9b Translated using Weblate (Hungarian)
Currently translated at 100.0% (1898 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-12 22:38:50 +00:00
Jiri Grönroos
6b8d8d13f2 Translated using Weblate (Finnish)
Currently translated at 95.6% (1814 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-12 22:38:46 +00:00
Besnik Bleta
651098b2ca Translated using Weblate (Albanian)
Currently translated at 99.8% (1894 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-12 22:38:46 +00:00
Travis Ralston
fa6e02fafb Revert "Add some logging/recovery for lost rooms"
This reverts commit 1aa0ab13e6.
2019-11-12 15:38:45 -07:00
Travis Ralston
1aa0ab13e6 Add some logging/recovery for lost rooms
Zero inserts is not normal, so we apply the same recovery technique from the categorization logic above this block: insert it to be the very first room and hope that someone complains that the room is ordered incorrectly.

There's some additional logging to try and identify what went wrong because it should definitely be inserted. The `!== 1` check is not supposed to be called, ever.

Logging for https://github.com/vector-im/riot-web/issues/11303
2019-11-12 15:38:29 -07:00
Travis Ralston
fd28cf7a4c Move notification count to in front of the room name in the page title
Fixes https://github.com/vector-im/riot-web/issues/10943
2019-11-12 15:12:54 -07:00
Michael Telatynski
79ebb9091c
Merge branch 'develop' into t3chguy/remove_bluebird_1 2019-11-12 18:16:34 +00:00
Weblate
67ffc1c8f3 Merge branch 'origin/develop' into Weblate. 2019-11-12 17:02:09 +00:00
송태섭
523e17838d Translated using Weblate (Korean)
Currently translated at 100.0% (1864 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-12 17:02:08 +00:00
shuji narazaki
5fa4bc7192 Translated using Weblate (Japanese)
Currently translated at 62.7% (1168 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-12 17:02:04 +00:00
take100yen
87f9e0d565 Translated using Weblate (Japanese)
Currently translated at 62.7% (1168 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-12 17:02:03 +00:00
Travis Ralston
6d0b388fa2
Merge branch 'develop' into travis/mjolnir 2019-11-12 10:00:01 -07:00
Damir Jelić
3502454c61 LifeCycle: Stop the crawler and delete the index when whe log out. 2019-11-12 15:58:38 +01:00
Damir Jelić
d69eb78b66 EventIndexing: Add a missing platform getting. 2019-11-12 15:41:14 +01:00
Damir Jelić
ecbc47c548 EventIndexing: Rename the stop method. 2019-11-12 15:40:49 +01:00
Damir Jelić
d911055f5d MatrixChat: Move the indexing limited room logic to a different event. 2019-11-12 15:39:54 +01:00
Damir Jelić
e296fd05c0 RoomView: Move the search logic into a separate module. 2019-11-12 15:39:26 +01:00
J. Ryan Stinnett
3f2b77189e Simplify dispatch blocks 2019-11-12 13:29:01 +00:00
Michael Telatynski
b73d0ca92a delint and run i18n 2019-11-12 12:37:47 +00:00
Michael Telatynski
c3df2f941d attach promise utils atop bluebird 2019-11-12 12:30:05 +00:00
Damir Jelić
cfdcf45ac6 MatrixChat: Move the event indexing logic into separate modules. 2019-11-12 13:29:07 +01:00
Michael Telatynski
f5d467b391 delint 2019-11-12 12:26:07 +00:00
Michael Telatynski
2b34cf4362 Replace Promise.delay with promise utils sleep
(cherry picked from commit 0a21957b2c)
2019-11-12 12:07:56 +00:00
Michael Telatynski
2ea239d192 Replace rest of defer usages using small shim. Add homebrew promise utils
(cherry picked from commit 6850c14739)
2019-11-12 12:07:56 +00:00
Michael Telatynski
217dfc3eed Replace all trivial Promise.defer usages with regular Promises
(cherry picked from commit 44401d73b4)
2019-11-12 12:07:56 +00:00
Michael Telatynski
548e38cba9 Revert "Replace all trivial Promise.defer usages with regular Promises"
This reverts commit 44401d73
2019-11-12 11:56:53 +00:00
Michael Telatynski
7a512f7299 Revert "Replace rest of defer usages using small shim. Add homebrew promise utils"
This reverts commit 6850c147
2019-11-12 11:56:43 +00:00
Michael Telatynski
f9d6ed63f0 Revert "Replace Promise.delay with promise utils sleep"
This reverts commit 0a21957b
2019-11-12 11:56:32 +00:00
Michael Telatynski
168b1b68bb Revert "s/.done(/.then(/ since modern es6 track unhandled promise exceptions"
This reverts commit 09a8fec2
2019-11-12 11:56:21 +00:00
J. Ryan Stinnett
d72dedb0ce Cache room alias to room ID mapping in memory
This adds very basic cache (literally just a `Map` for now) to store room alias
to room ID mappings. The improves the perceived performance of Riot when
switching rooms via browser navigation (back / forward), as we no longer try to
resolve the room alias every time.

The cache is only in memory, so reloading manually or as part of the clear cache
process will start afresh.

Fixes https://github.com/vector-im/riot-web/issues/10020
2019-11-12 11:54:41 +00:00
Michael Telatynski
09a8fec261 s/.done(/.then(/ since modern es6 track unhandled promise exceptions 2019-11-12 11:51:23 +00:00
Michael Telatynski
0a21957b2c Replace Promise.delay with promise utils sleep 2019-11-12 11:46:58 +00:00
Michael Telatynski
6850c14739 Replace rest of defer usages using small shim. Add homebrew promise utils 2019-11-12 11:45:28 +00:00
Michael Telatynski
44401d73b4 Replace all trivial Promise.defer usages with regular Promises 2019-11-12 11:40:38 +00:00
Michael Telatynski
2eddb6ca01 DRY context menu placement algorithms 2019-11-12 11:24:14 +00:00
Michael Telatynski
1c4d89f2d7 Migrate all standard Context Menus over to new custom framework 2019-11-11 17:53:17 +00:00
Travis Ralston
df1d5055c0
Merge pull request #3606 from matrix-org/travis/edit-history
Use a ternary operator instead of relying on AND semantics in EditHistoryDialog
2019-11-11 08:24:07 -07:00
Damir Jelić
2c5565e502 MatrixChat: Add some missing semicolons. 2019-11-11 15:08:00 +01:00
Elwyn Malethan
ab9f378019 Translated using Weblate (Welsh)
Currently translated at 0.5% (9 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cy/
2019-11-11 10:06:36 +00:00
Szimszon
d545a1e0b2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1864 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-11 10:06:35 +00:00
Tirifto
0bfbf34c39 Translated using Weblate (Esperanto)
Currently translated at 99.9% (1862 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-11-11 10:06:33 +00:00
Stanislav Lukeš
163f9f057f Translated using Weblate (Czech)
Currently translated at 99.9% (1863 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-11-11 10:06:16 +00:00
Jeff Huang
d8ea25403a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1864 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-11 10:05:53 +00:00
Slavi Pantaleev
a4a0dc9c2d Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1864 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-11 10:05:50 +00:00
Osoitz
eaac3fe3b8 Translated using Weblate (Basque)
Currently translated at 100.0% (1864 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-11-11 10:05:49 +00:00
Besnik Bleta
def4f90257 Translated using Weblate (Albanian)
Currently translated at 99.8% (1860 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-11 10:05:47 +00:00
Elwyn Malethan
949ba89b4a Added translation using Weblate (Welsh) 2019-11-09 19:00:34 +00:00
Weblate
767c42ea05 Merge branch 'origin/develop' into Weblate. 2019-11-08 23:15:45 +00:00
Kévin C
c46a3764c3 Translated using Weblate (French)
Currently translated at 100.0% (1864 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-08 23:15:44 +00:00
Travis Ralston
bdcf3890a5 Fix HTML fallback in replies
Correctly encode the `body` to avoid problems down the line. We also convert newlines to `<br/>` to better represent the message as a fallback.

Fixes https://github.com/vector-im/riot-web/issues/9413
2019-11-08 16:07:11 -07:00
Travis Ralston
c4d45e87ea Use a ternary operator instead of relying on AND semantics in EditHIstoryDialog
Fixes https://github.com/vector-im/riot-web/issues/11334 (probably).

`allEvents` should never have a boolean in it, so given the stack trace and the code this is my best estimate for what the problem could be. I can't reproduce the problem.
2019-11-08 15:54:48 -07:00
Weblate
2a2a52bd19 Merge branch 'origin/develop' into Weblate. 2019-11-08 17:50:07 +00:00
Travis Ralston
5a5ebee918 Check for a message type before assuming it is a room message
Redacted messages do not have message types, despite being room messages. 

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

Regressed in https://github.com/matrix-org/matrix-react-sdk/pull/3601

Click-to-ping being broken (as mentioned by https://github.com/vector-im/riot-web/issues/11353) is a side effect of the react stack falling over. Once one room crashes, click-to-ping is broken everywhere.
2019-11-08 10:39:38 -07:00
Weblate
d4fa570bee Merge branch 'origin/develop' into Weblate. 2019-11-08 16:20:49 +00:00
Walter
4fe95b0075 Translated using Weblate (Russian)
Currently translated at 99.8% (1849 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-11-08 16:20:48 +00:00
fenuks
bb5f532eeb Translated using Weblate (Polish)
Currently translated at 74.6% (1382 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-08 16:20:47 +00:00
MamasLT
824a265496 Translated using Weblate (Lithuanian)
Currently translated at 50.4% (933 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-11-08 16:20:46 +00:00
송태섭
defe3fb5f8 Translated using Weblate (Korean)
Currently translated at 100.0% (1853 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-08 16:20:29 +00:00
shuji narazaki
8b3844f83b Translated using Weblate (Japanese)
Currently translated at 60.8% (1126 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-08 16:20:28 +00:00
Szimszon
84d23676d6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1853 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-08 16:20:23 +00:00
dreamerchris
4eb39190b4 Translated using Weblate (Greek)
Currently translated at 39.7% (735 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/el/
2019-11-08 16:20:23 +00:00
Kévin C
6d4971c29e Translated using Weblate (French)
Currently translated at 100.0% (1853 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-08 16:20:15 +00:00
Jeff Huang
dc5abbe380 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1853 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-08 16:20:15 +00:00
Slavi Pantaleev
06ab9efed6 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1853 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-08 16:20:14 +00:00
David Baker
43c6298bea
Merge pull request #3601 from matrix-org/bwindels/verification-over-dm
Show verification requests in the timeline
2019-11-08 16:20:01 +00:00
Travis Ralston
f0e02f59b4 Appease the linter 2019-11-07 15:12:55 -07:00
Travis Ralston
cf80cb559e Match identity server registration to the IS r0.3.0 spec
The returned field is `token` for the spec, but we somehow got through with `access_token` on Sydent.
2019-11-07 15:09:23 -07:00
J. Ryan Stinnett
3645e4a822
Merge pull request #3600 from matrix-org/jryans/thumb-variation-again
Restore thumbs after variation selector removal
2019-11-07 22:47:15 +02:00
Bruno Windels
d83f3632f6 make the linter happy 2019-11-07 20:04:36 +01:00
Bruno Windels
ddd6713e7e string has moved in i18n apparently 2019-11-07 20:01:33 +01:00
Bruno Windels
805c83779a support bubble tile style for verification tiles 2019-11-07 19:56:21 +01:00
Bruno Windels
d7f5252f9a render done and cancel event as conclusion tile
don't render any done events not sent by us, as
done events are sent by both parties and we don't want
to render two conclusion tiles.

cancel events should be only sent by one party.
2019-11-07 19:55:18 +01:00
Bruno Windels
9d67fa9fa1 render verification request with correct tile
only if the request was send by or to us, otherwise ignore.
2019-11-07 19:55:18 +01:00
Bruno Windels
e8c21a341c add key verification conclusion tile 2019-11-07 19:54:56 +01:00
Bruno Windels
0d2f9c4215 add verification request tile + styling 2019-11-07 19:54:56 +01:00
Bruno Windels
5c9e80a0ba add feature flag and send verification using DM from dialog if enabled 2019-11-07 19:54:56 +01:00
Bruno Windels
9c4470e599 helper class to track the state of the verification
as we will have 2 tiles, and both need to track
the status of the verification request, I've put
the logic for tracking the state in this helper class
to use from both tiles.
2019-11-07 19:54:56 +01:00
J. Ryan Stinnett
3d1a1121b9 Restore thumbs after variation selector removal
This more thorough change adjusts emoji processing to deal with variation
selectors appropriately and revives the missing thumbs.

Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3598
Fixes https://github.com/vector-im/riot-web/issues/11344
2019-11-07 17:49:25 +00:00
Marco Zehe
ec2f3d36ea Fix breadcrumbs so the bar is a toolbar and the buttons are buttons.
Signed-off-by: Marco Zehe <marco.zehe@gmail.com>
2019-11-07 14:41:01 +01:00
J. Ryan Stinnett
6cd2b55c23
Merge pull request #3598 from matrix-org/jryans/rm-variation-sels
Remove variation selectors from quick reactions
2019-11-07 12:34:11 +02:00
J. Ryan Stinnett
03c93b5f38
Merge pull request #3595 from N-Pex/linkify-fix
Fix linkify imports
2019-11-07 12:28:57 +02:00
J. Ryan Stinnett
91f3b75d41 Remove variation selectors from quick reactions
This fixes a regression introduced by the full emoji picker which inserted empty
variation selectors in the thumbs up / down quick reactions. Since this makes
them different characters, it would cause us to not aggregate thumbs from web
vs. mobile together.

Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3554
Fixes https://github.com/vector-im/riot-web/issues/11335
2019-11-07 10:19:35 +00:00
Travis Ralston
86be607e92 onTileUpdate -> onMessageAllowed
We keep onTileUpdate in MessgeEvent because it's a generic thing for the class to handle. onMessageAllowed is slightly different than onShowAllowed because "show allowed" doesn't quite make sense on its own, imo.
2019-11-06 10:52:00 -07:00
David Baker
0464b094a6 Fix softcrash if editing silly events
If you sent an event with a body of the empty json object, riot
would then softcrash when you pressed the up arrow because it
would try to treat a json object as a string and run split on it.
2019-11-06 11:44:32 +00:00
David Baker
d14c0c342d
Merge pull request #3594 from matrix-org/bwindels/fixfilenotifpanel
Fix: file and notifications panel back-paginating forever.
2019-11-06 10:52:15 +00:00
N-Pex
d403ed7513 Fix linkify imports
VECTOR_URL_PATTERN was 'undefined' inside Permalinks.tryTransformPermalinkToLocalHref()
2019-11-06 10:41:14 +01:00
Bruno Windels
842bf77409 prevent error when nextProps is null, cleanup
As the FilePanel is now rendered as part of the RoomView,
we don't need to respond to room changes, as RoomView has
a key of the roomId, so the whole subtree would be recreated.
2019-11-06 10:34:22 +01:00
Bruno Windels
9fa7990996 prevent error for empty list 2019-11-06 10:34:22 +01:00
sha-265
bc924bbd82
Support RTL language in message composer 2019-11-04 17:37:36 +00:00
David Baker
2a1f26a44f Translated using Weblate (Bulgarian)
Currently translated at 97.6% (1808 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-04 11:54:55 +00:00
Weblate
f5ceb36a96 Merge branch 'origin/develop' into Weblate. 2019-11-04 10:33:22 +00:00
Michael Telatynski
92ee50fb77
Merge pull request #3587 from matrix-org/t3chguy/a11y_message_actions_bar
Improve A11Y of timeline. Show timestamp & Actions on focus-within
2019-11-04 10:33:16 +00:00
Michael Telatynski
6d3b563119 Add comments regarding tab-index=-1 2019-11-04 10:16:16 +00:00
Philip Johansson
2fc1c3235b Translated using Weblate (Swedish)
Currently translated at 77.8% (1441 of 1852 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-11-04 08:44:35 +00:00
송태섭
8b63a37cdd Translated using Weblate (Korean)
Currently translated at 100.0% (1852 of 1852 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-04 08:44:33 +00:00
shuji narazaki
3a44cf2191 Translated using Weblate (Japanese)
Currently translated at 58.8% (1089 of 1852 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-04 08:44:33 +00:00
Kévin C
d6d2505346 Translated using Weblate (French)
Currently translated at 100.0% (1852 of 1852 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-04 08:44:26 +00:00
Jeff Huang
9783127724 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1852 of 1852 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-04 08:44:26 +00:00
Slavi Pantaleev
d3dd0cb91a Translated using Weblate (Bulgarian)
Currently translated at 97.6% (1808 of 1852 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-04 08:44:24 +00:00
Weblate
0da421e073 Merge branch 'origin/develop' into Weblate. 2019-11-01 18:06:05 +00:00
Szimszon
661c77cfd9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1852 of 1852 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-01 18:06:05 +00:00
Travis Ralston
bb6ae14a03
Merge pull request #3577 from matrix-org/travis/riot-settings
Handle breadcrumbs, integration manager provisioning, and allowed widgets Riot settings
2019-11-01 12:05:57 -06:00
Weblate
d96ed5b12d Merge branch 'origin/develop' into Weblate. 2019-11-01 17:02:08 +00:00
송태섭
b877b81041 Translated using Weblate (Korean)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-01 17:02:08 +00:00
Jeff Huang
aaf86b1985 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-01 17:02:07 +00:00
Osoitz
a8b89840a3 Translated using Weblate (Basque)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-11-01 17:02:06 +00:00
J. Ryan Stinnett
dd5702fc40
Merge pull request #3582 from matrix-org/jryans/prompt-when-no-terms
Add a prompt when interacting with an identity server without terms
2019-11-01 19:01:54 +02:00
J. Ryan Stinnett
0c82d9e7e0 Align start and end tags 2019-11-01 16:35:16 +00:00
J. Ryan Stinnett
446e21c2e1 Relax identity server discovery error handling
If discovery results in a warning for the identity server (as in can't be found
or is malformed), this allows you to continue signing in and shows the warning
above the form.

Fixes https://github.com/vector-im/riot-web/issues/11102
2019-11-01 12:27:56 +00:00
Michael Telatynski
fd4cdd0dec Improve A11Y of timeline. Show TS & Actions on focus-within 2019-11-01 10:50:58 +00:00
MamasLT
28d72840ec Translated using Weblate (Lithuanian)
Currently translated at 44.0% (814 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-11-01 05:24:03 +00:00
Travis Ralston
07b8e128d2 Bypass the tests being weird
They run kinda-but-not-really async, which can lead to early/late calls to `stop()`
2019-10-31 16:43:03 -06:00
Travis Ralston
3e4a721111 Appease the linter 2019-10-31 16:27:45 -06:00
Travis Ralston
11068d189c Hide messages blocked by ban lists 2019-10-31 16:19:42 -06:00
Travis Ralston
b420fd6758 Add a view rules dialog 2019-10-31 16:00:31 -06:00
Travis Ralston
39b657ce7c Add basic structure for (un)subscribing from lists 2019-10-31 15:54:22 -06:00
Weblate
9c58d60ead Merge branch 'origin/develop' into Weblate. 2019-10-31 21:09:46 +00:00
David Baker
c0c2d85d20
Merge pull request #3584 from matrix-org/dbkr/fix_rooms_missing_from_search
Fix bug where rooms would not appear when filtering
2019-10-31 21:09:39 +00:00
Travis Ralston
b93508728a Add personal list management to Mjolnir section 2019-10-31 14:24:51 -06:00
David Baker
7d6643664e Fix bug where rooms would not appear when filtering
We need to reset the scroll offset otherwise the component may be
scrolled past the only content it has (Chrome just corrected the
scroll offset but Firefox scrolled it anyway).

NB. Introducing the new deriveStateFromProps method seems to
means that react no longer calls componentWillMount so I've
had to change it to componentDidMount (which it should have
been anyway).

Fixes https://github.com/vector-im/riot-web/issues/11263
2019-10-31 19:42:41 +00:00
Travis Ralston
e9c8a31e1f Start and stop Mjolnir with the lifecycle 2019-10-31 13:28:00 -06:00
Travis Ralston
e6e12df82d Add structural base for handling Mjolnir lists 2019-10-31 13:20:18 -06:00
Travis Ralston
23383419e8 Add settings base for Mjolnir rules 2019-10-31 13:20:18 -06:00
Weblate
cddb6b1687 Merge branch 'origin/develop' into Weblate. 2019-10-31 15:23:20 +00:00
random
3f5b7b3b92 Translated using Weblate (Italian)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-31 15:23:20 +00:00
J. Ryan Stinnett
57013f0523
Merge pull request #3583 from matrix-org/jryans/refine-submit-url
Guard against misconfigured homeservers when adding / binding phone numbers
2019-10-31 17:23:14 +02:00
J. Ryan Stinnett
b38c7fc411 Guard against misconfigured homeservers when adding / binding phone numbers
This ensures we only fallback to submitting MSISDN tokens to the identity server
when we expect to do. Unexpected cases will now throw an error.

Fixes https://github.com/vector-im/riot-web/issues/10936
2019-10-31 14:50:21 +00:00
Weblate
64c3c1b85e Merge branch 'origin/develop' into Weblate. 2019-10-31 13:26:49 +00:00
Michael Telatynski
bc263fa4bb
Merge pull request #3580 from matrix-org/t3chguy/better_slash_command_errors_unknown
Fix error message which is shown when unknown slash command attempted
2019-10-31 13:26:43 +00:00
J. Ryan Stinnett
0fc5108817 Add a prompt when interacting with an identity server without terms
This adds a prompt whenever we are about to perform some action on a default identity
server (from homeserver .well-known or Riot app config) without terms. This
allows the user to abort or trust the server (storing it in account data).

Fixes https://github.com/vector-im/riot-web/issues/10557
2019-10-31 13:13:13 +00:00
Weblate
a21b7fcc26 Merge branch 'origin/develop' into Weblate. 2019-10-31 11:40:32 +00:00
Tim Stahel
3a1b065da2 Translated using Weblate (Swedish)
Currently translated at 77.7% (1437 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-10-31 11:40:32 +00:00
Szimszon
4ed253b33d Translated using Weblate (Hungarian)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-31 11:40:30 +00:00
Kévin C
425ecc2fbb Translated using Weblate (French)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-31 11:40:29 +00:00
Michael Telatynski
ffb6054eac Attempt to fix soft crash on some pinned events by null guarding member 2019-10-31 11:21:58 +00:00
Michael Telatynski
178accae19 Fix error message which is shown when unknown slash command attempted 2019-10-31 10:49:24 +00:00
Weblate
21f1e34d19 Merge branch 'origin/develop' into Weblate. 2019-10-30 16:31:42 +00:00
Kévin C
35b81c8e73 Translated using Weblate (French)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-30 16:31:42 +00:00
Michael Telatynski
fa811f99de Merge hide-to-tray-icon with show-tray-icon 2019-10-30 14:32:27 +00:00
Michael Telatynski
46e7e1e81a Merge branches 'develop' and 't3chguy/hide_tray_icon' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/hide_tray_icon 2019-10-30 14:15:09 +00:00
Weblate
e0917012ff Merge branch 'origin/develop' into Weblate. 2019-10-30 10:55:42 +00:00
송태섭
c4c14fa189 Translated using Weblate (Korean)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-30 10:55:42 +00:00
random
287d03adc3 Translated using Weblate (Italian)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-30 10:55:42 +00:00
Szimszon
96d99c350c Translated using Weblate (Hungarian)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-30 10:55:41 +00:00
Jeff Huang
9a2547800d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-30 10:55:41 +00:00
David Baker
342e7856cd Fix call state logging
console.log does not work that way
2019-10-30 10:38:34 +00:00
Travis Ralston
9d0d1d3b36 Our code should probably compile... 2019-10-29 14:38:39 -06:00
Travis Ralston
5af6d979c2 Support a setting for allowed widgets
Hooking this setting up is left as a problem for a different issue.
2019-10-29 14:35:35 -06:00
Travis Ralston
28e0988325 Fix naming of integrationProvisioning 2019-10-29 14:26:35 -06:00
Travis Ralston
3b771f682d let -> const 2019-10-29 14:23:59 -06:00
Travis Ralston
dd8f26a3f6 Add integration manager provisioning setting
To be used later by a future implementation
2019-10-29 14:20:53 -06:00
Travis Ralston
8dec435e50 Bring breadcrumbs into new Riot config standard 2019-10-29 14:12:05 -06:00
Weblate
2af478dd93 Merge branch 'origin/develop' into Weblate. 2019-10-29 18:16:52 +00:00
Travis Ralston
e46976be72 Match widgets up with their integration manager 2019-10-29 11:49:15 -06:00
Weblate
75a4b49628 Merge branch 'origin/develop' into Weblate. 2019-10-29 17:37:38 +00:00
J. Ryan Stinnett
cbd25ab1a8
Merge pull request #3575 from matrix-org/jryans/log-event-wo-id
Add diagnostic log to catch events without an ID
2019-10-29 19:37:33 +02:00
J. Ryan Stinnett
3775dc0943 Add diagnostic log to catch events without an ID
This adds some temporary logging to investigate
https://github.com/vector-im/riot-web/issues/11120.
2019-10-29 17:32:22 +00:00
Weblate
0d0a15ddfd Merge branch 'origin/develop' into Weblate. 2019-10-29 16:43:15 +00:00
Walter
4eacafc6c7 Translated using Weblate (Russian)
Currently translated at 99.8% (1844 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-29 16:43:14 +00:00
random
8fd2330c68 Translated using Weblate (Italian)
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-29 16:43:14 +00:00
Szimszon
f8d09874f8 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-29 16:43:14 +00:00
Kévin C
20d726fc59 Translated using Weblate (French)
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-29 16:43:14 +00:00
Jeff Huang
1da3f24e18 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-29 16:43:13 +00:00
Michael Telatynski
98096d206b Fix missing i18n for RoomTile ARIA labels and +a case for notif-off bold 2019-10-29 16:34:56 +00:00
Michael Telatynski
646a498b37 i18n 2019-10-29 11:56:41 +00:00
Michael Telatynski
cd37ffcef2 Add ability to hide tray icon on non-Mac (which has no tray icon) 2019-10-29 11:37:41 +00:00
Weblate
1c719be697 Merge branch 'origin/develop' into Weblate. 2019-10-28 17:11:22 +00:00
Michael Telatynski
814917d9ed
Merge pull request #3566 from matrix-org/t3chguy/sort_crash
LifeCycle onLoggedOut unmount before stopping client
2019-10-28 17:11:17 +00:00
Weblate
62dd4093b0 Merge branch 'origin/develop' into Weblate. 2019-10-28 16:19:56 +00:00
송태섭
bf93635267 Translated using Weblate (Korean)
Currently translated at 100.0% (1848 of 1848 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-28 16:19:56 +00:00
Tuomas Hietala
566efc236e Translated using Weblate (Finnish)
Currently translated at 98.3% (1816 of 1848 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-10-28 16:19:56 +00:00
J. Ryan Stinnett
e3a55508d9 Remove unneeded help about identity servers
The custom server path no longer shows an identity server field (for modern
homeservers), so it's confusing to have the help dialog reference it.

Part of https://github.com/vector-im/riot-web/issues/11236
2019-10-28 15:38:28 +00:00
Weblate
3260610483 Merge branch 'origin/develop' into Weblate. 2019-10-28 14:33:31 +00:00
Tuomas Hietala
085a309f5e Translated using Weblate (Finnish)
Currently translated at 97.9% (1810 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-10-28 14:33:31 +00:00
J. Ryan Stinnett
99fa100b92 Tweak identity server warning text 2019-10-28 14:23:11 +00:00
J. Ryan Stinnett
88d0ae0572 Remove messages implying you need an identity server for email recovery
This tweaks logic that shows some warning messages saying you need an identity
server for email recovery. Assuming you have a modern homeserver, no identity
server is need for these activities, so the warnings were confusing.

Fixes https://github.com/vector-im/riot-web/issues/11100
2019-10-28 14:13:24 +00:00
Michael Telatynski
89e69ddb0a
Merge pull request #3569 from matrix-org/t3chguy/CallHandler_fail_ToS
If ToS gets rejected/any Scalar error then don't make Jitsi widget
2019-10-28 10:05:46 +00:00
Michael Telatynski
8eefb5bf02 If ToS gets rejected/any Scalar error then don't make Jitsi widget 2019-10-28 09:53:30 +00:00
Weblate
0532f39eaa Merge branch 'origin/develop' into Weblate. 2019-10-28 09:28:49 +00:00
송태섭
2d3836d731 Translated using Weblate (Korean)
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-26 17:38:15 +00:00
Simó Albert i Beltran
6a8bc45d83 Translated using Weblate (Catalan)
Currently translated at 43.4% (802 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2019-10-26 17:38:15 +00:00
Michael Telatynski
3b8cb42108 Fix Room Create ELS using MXID instead of newly set Displayname/Avatar 2019-10-26 09:31:45 +01:00
Michael Telatynski
821ad5703f LifeCycle onLoggedOut unmount before stopping client
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-25 16:37:57 +01:00
Weblate
4fa13fa68e Merge branch 'origin/develop' into Weblate. 2019-10-25 10:46:25 +00:00
Tuomas Hietala
5a401d98ad Translated using Weblate (Finnish)
Currently translated at 97.6% (1805 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-10-25 10:46:25 +00:00
Bruno Windels
ea24b8bd58 pass heightBefore, scrollTop and viewportHeight to Category
to support having multiple LazyRenderLists in one viewport
2019-10-24 17:57:48 +02:00
Bruno Windels
00b1816986 use LazyRenderList in emoji picker Category 2019-10-24 17:56:26 +02:00
Bruno Windels
3e360c156a bring LazyRenderList up to React 16 standards, cleanup & docs 2019-10-24 17:56:26 +02:00
Weblate
c974c80f5f Merge branch 'origin/develop' into Weblate. 2019-10-24 15:03:51 +00:00
MamasLT
31b49864dc Translated using Weblate (Lithuanian)
Currently translated at 43.9% (811 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-10-24 15:03:51 +00:00
송태섭
858dd6ea34 Translated using Weblate (Korean)
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-24 15:03:50 +00:00
random
7b3dbc431f Translated using Weblate (Italian)
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-24 15:03:50 +00:00
Szimszon
5fc1170998 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-24 15:03:50 +00:00
Michael Albert
79683c052d Translated using Weblate (German)
Currently translated at 83.5% (1544 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-24 15:03:50 +00:00
Madison Scott-Clary
d28478a71c Translated using Weblate (Esperanto)
Currently translated at 93.8% (1735 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-10-24 15:03:49 +00:00
Jeff Huang
d4fd34c3e1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-24 15:03:49 +00:00
Travis Ralston
71c5b7959c
Merge pull request #3564 from matrix-org/travis/fix-matrix.org
Update ServerTypeSelector for new matrix.org CS API URL
2019-10-24 09:03:44 -06:00
Weblate
717553e621 Merge branch 'origin/develop' into Weblate. 2019-10-23 19:37:09 +00:00
Kévin C
cece1227da Translated using Weblate (French)
Currently translated at 100.0% (1849 of 1849 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-23 19:37:09 +00:00
Travis Ralston
157d5a0130 Update ServerTypeSelector for new matrix.org CS API URL
This was missed in https://github.com/vector-im/riot-web/pull/11112 and causes problems where matrix.org isn't pre-selected.
2019-10-23 13:13:32 -06:00
Michael Telatynski
fac8274559 Add comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:45:04 +01:00
Michael Telatynski
2e6899be93 Improve Accessibility of the new Emoji picker
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:39:39 +01:00
Michael Telatynski
3ee43dc2eb correct EmojiPicker.ReactionPicker reactions PropType validity
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:38:43 +01:00
Michael Telatynski
9c63be7dc4 Remove wrapping div around RoomList to fix regression with scrollbars
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:32:14 +01:00
Michael Telatynski
bc639312ec delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:32:12 +01:00
Michael Telatynski
8d9dc195d5 Make ARIA happier with DateSeparator and tidy ELS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:32:10 +01:00
Weblate
5cf5629d3d Merge branch 'origin/develop' into Weblate. 2019-10-23 15:17:26 +00:00
Aleksei Perepelkin
cd05038d84 Translated using Weblate (Russian)
Currently translated at 99.7% (1842 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-23 15:17:25 +00:00
random
967594950e Translated using Weblate (Italian)
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-23 15:17:25 +00:00
Szimszon
b9ec12fdf6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-23 15:17:24 +00:00
Kévin C
cd09935d6d Translated using Weblate (French)
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-23 15:17:24 +00:00
Jeff Huang
a0d9abd7d7 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1847 of 1847 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-23 15:17:23 +00:00
Michael Telatynski
efcda54c3f Move Jitsi widget above Explore/Filter
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 13:05:02 +01:00
Michael Telatynski
c6023ca461 Gen i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 12:29:53 +01:00
Michael Telatynski
d7a64fcacd Move Jitsi widget to bottom and fix keyboard navigation of left panel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 12:12:57 +01:00
Michael Telatynski
4dd0f6d902 Make breadcrumbs more accessible
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 12:12:54 +01:00
Michael Telatynski
744fc5ca6a Specify aria-level="1" on Room List tree RoomSubList
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 12:12:54 +01:00
Weblate
d24f2ed2ab Merge branch 'origin/develop' into Weblate. 2019-10-22 16:03:43 +00:00
송태섭
d8252e6223 Translated using Weblate (Korean)
Currently translated at 100.0% (1853 of 1853 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-22 16:03:43 +00:00
Michael Telatynski
93ecc9839b Fix linty failures 2019-10-22 13:49:02 +01:00
Weblate
e6d800c99f Merge branch 'origin/develop' into Weblate. 2019-10-22 12:42:19 +00:00
Walter
79b6117c4d Translated using Weblate (Russian)
Currently translated at 99.8% (1853 of 1856 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-22 12:42:19 +00:00
송태섭
420d20a0ae Translated using Weblate (Korean)
Currently translated at 100.0% (1856 of 1856 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-22 12:42:16 +00:00
Szimszon
6e2fe2a3f9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1856 of 1856 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-22 12:42:16 +00:00
Michael Albert
d713ff82b9 Translated using Weblate (German)
Currently translated at 83.5% (1549 of 1856 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-22 12:42:15 +00:00
Kévin C
edda60db34 Translated using Weblate (French)
Currently translated at 100.0% (1856 of 1856 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-22 12:42:14 +00:00
Jeff Huang
d01258b458 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1856 of 1856 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-22 12:42:14 +00:00
Michael Telatynski
e7f292794c
Merge pull request #3556 from matrix-org/t3chguy/a11y4
Use Navigation Treeview pattern for RoomList Accessibility
2019-10-22 13:42:08 +01:00
Michael Telatynski
2a3655e9b8 Focus highlight room sublist label, catch right arrow and simplify code
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-22 11:10:25 +01:00
Weblate
d2f87bd2d0 Merge branch 'origin/develop' into Weblate. 2019-10-21 16:05:59 +00:00
David Baker
a3dbf881e8
Merge pull request #3557 from matrix-org/jryans/scroll-unmount-guard
Abort scroll updates when already unmounted
2019-10-21 17:05:53 +01:00
Weblate
34ccc3517b Merge branch 'origin/develop' into Weblate. 2019-10-21 14:50:17 +00:00
Walter
ae6e39b233 Translated using Weblate (Russian)
Currently translated at 97.3% (1800 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-21 14:50:17 +00:00
Michael Albert
292f8fb262 Translated using Weblate (German)
Currently translated at 83.3% (1541 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-21 14:50:14 +00:00
Michael Telatynski
c5d5cd72bc
Merge pull request #3465 from matrix-org/t3chguy/nvl/userinfo
UserInfo consolidation of GroupMemberInfo and MemberInfo panels
2019-10-21 15:50:08 +01:00
Bruno Windels
b237ecab29
Merge pull request #3552 from maunium/fix-html-parsing-for-edit
Fix some things in the edit HTML parser
2019-10-21 09:25:53 +00:00
송태섭
caafd6e5c9 Translated using Weblate (Korean)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-21 08:31:46 +00:00
Kévin C
43cd00c73d Translated using Weblate (French)
Currently translated at 100.0% (1850 of 1850 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-21 08:31:45 +00:00
Weblate
1c6d11e4de Merge branch 'origin/develop' into Weblate. 2019-10-20 10:21:33 +00:00
송태섭
392d112a88 Translated using Weblate (Korean)
Currently translated at 100.0% (1838 of 1838 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-20 10:21:33 +00:00
Michael Albert
9c1c8fe89c Translated using Weblate (German)
Currently translated at 83.8% (1540 of 1838 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-20 10:21:32 +00:00
Kévin C
014866c63f Translated using Weblate (French)
Currently translated at 100.0% (1838 of 1838 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-20 10:21:32 +00:00
Jeff Huang
dcb45d30b4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1838 of 1838 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-20 10:21:31 +00:00
Besnik Bleta
1613c39a70 Translated using Weblate (Albanian)
Currently translated at 99.7% (1833 of 1838 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-10-20 10:21:31 +00:00
Matthew Hodgson
e632b520f2
Merge pull request #3554 from maunium/emoji-picker
Add full emoji picker for reactions
2019-10-20 11:21:24 +01:00
Tulir Asokan
b2deb548d3 Translate search button titles
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:41:16 +03:00
Tulir Asokan
438ad54701 Remove space between emojis in picker
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:31:28 +03:00
Tulir Asokan
10732e8e73 Fix license headers
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:31:21 +03:00
Tulir Asokan
be829980f6 Split inline SVGs to their own files
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:13:32 +03:00
Michael Telatynski
4de0b3c177 Clean up useEventEmitter 2019-10-19 16:48:39 +01:00
Michael Telatynski
02f8b18346 Merge branch 't3chguy/nvl/userinfo' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/nvl/userinfo
 Conflicts:
	src/components/views/right_panel/UserInfo.js
2019-10-19 16:42:00 +01:00
Michael Telatynski
0e6359ab24 replace @use-it/event-listener as it doesn't like Node EE's 2019-10-19 16:39:06 +01:00
J. Ryan Stinnett
3a428efb60 Abort scroll updates when already unmounted
This checks whether we're unmounted before updating scroll state, as we use
async functions and timeouts in this area.

Fixes https://github.com/vector-im/riot-web/issues/11150
2019-10-18 18:01:57 +01:00
Tulir Asokan
75bcc3f849
Update src/editor/deserialize.js
Co-Authored-By: Bruno Windels <bruno@windels.cloud>
2019-10-18 19:58:55 +03:00
Weblate
acb397db71 Merge branch 'origin/develop' into Weblate. 2019-10-18 16:09:48 +00:00
Michael Telatynski
4494e3b61b
Merge pull request #3555 from matrix-org/t3chguy/a11y3
Accessibility fixes to autocomplete and tabpanels
2019-10-18 17:09:44 +01:00
Weblate
74d30611b1 Merge branch 'origin/develop' into Weblate. 2019-10-18 15:53:29 +00:00
J. Ryan Stinnett
7ac14e48dc
Merge pull request #3549 from matrix-org/jryans/disconnect-dead-is
Show warning dialog when changing unreachable IS
2019-10-18 16:53:25 +01:00
Damir Jelić
64061173e1 MatrixChat: Check if our state array is empty in the crawled messages response. 2019-10-18 16:33:07 +02:00
Damir Jelić
89f14e55a2 MatrixChat: Catch errors when fetching room messages in the crawler. 2019-10-18 16:32:43 +02:00
Damir Jelić
1b63886a6b MatrixChat: Add more detailed logging to the event crawler. 2019-10-18 16:31:39 +02:00
Walter
0c6daf4f19 Translated using Weblate (Russian)
Currently translated at 95.2% (1743 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-18 13:49:54 +00:00
J. Ryan Stinnett
579ada3ca2 Add an overall reachability timeout of 10s
This adds a reachability timeout of 10s when checking the IS for 3PID bindings.
This ensures we stop in a reasonable time, rather than waiting for a long list
of requests to eventually timeout via some general mechanism.

Part of https://github.com/vector-im/riot-web/issues/10909
2019-10-18 12:40:50 +01:00
Michael Telatynski
7e4d429fa3 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 19:18:14 +01:00
Michael Telatynski
93429d7c2e Break withLegacyMatrixClient into a util module
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 19:13:37 +01:00
Michael Telatynski
2494af37c8 Break UserInfo:RoomAdminToolsContainer into smaller components
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 19:08:40 +01:00
Michael Telatynski
fe46925c00 Handle LEFT Arrow as expected by Aria Treeview Widget pattern
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:49:28 +01:00
Michael Telatynski
f72ff95efb Handle ARROW_RIGHT on group node in treelist as per aria suggestions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:30:37 +01:00
Weblate
c93b321080 Merge branch 'origin/develop' into Weblate. 2019-10-17 16:24:48 +00:00
Sava Radoš
e0d534e8e4 Translated using Weblate (Serbian (latin))
Currently translated at 3.9% (72 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr_Latn/
2019-10-17 16:24:48 +00:00
random
86dad09b36 Translated using Weblate (Italian)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-17 16:24:46 +00:00
Szimszon
9c3b85b9ee Translated using Weblate (Hungarian)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-17 16:24:46 +00:00
J. A. Durieux
86d3c5e56a Translated using Weblate (Dutch)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-10-17 16:24:45 +00:00
Osoitz
1586ed85f1 Translated using Weblate (Basque)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-10-17 16:24:44 +00:00
Michael Telatynski
afe2226cb8 Handle ARROW_LEFT correctly on any room tile in sublist
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:14:00 +01:00
Michael Telatynski
1286cf287e remove TODO for now
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:09:43 +01:00
Michael Telatynski
3eef1bf87e Fix tabbing through room sublist
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:03:37 +01:00
Michael Telatynski
f09a3b4281 Fix outline on RoomSubList badges
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 16:21:33 +01:00
Michael Telatynski
8b5d3b93f4 Prevent double read of ARIA expanded
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 15:59:32 +01:00
Michael Telatynski
3400808f6e Use navigation treeview aria pattern for roomlist sublists and tiles
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 15:53:39 +01:00
Tulir Asokan
30ffd65b6c Fix reacting to messages with reactions from other users
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-16 21:35:12 +03:00
Tulir Asokan
318754d31c Reorganize reaction sending and show if emoji is selected
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-15 19:07:04 +03:00
Tulir Asokan
7acae6dc32 Autofocus search and fix bugs
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-15 18:22:23 +03:00
Tulir Asokan
824685ae64 Redact existing reaction instead of trying to double-react
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-15 00:15:18 +03:00
Tulir Asokan
7fc12b4b13 Simplify onChangeFilter category updating
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 21:30:26 +03:00
Tulir Asokan
bb1a242ef0 Don't underline recently category in header if it's empty
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 21:03:41 +03:00
Tulir Asokan
2dad33cd3e Close menu after clicking emoji
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 20:45:17 +03:00
Tulir Asokan
a6e0986bf8 Improve style
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 20:38:09 +03:00
Tulir Asokan
e16d0bfa4d Underline visible sections in header
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 20:14:44 +03:00
Tulir Asokan
088c9bff9e Add recently used section and scroll to category
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 19:41:10 +03:00
Michael Telatynski
2de88449aa Clean up RoomSubList from stale unused code paths
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-14 16:08:56 +01:00
Michael Telatynski
d3517cdb71 actually pass role="tabpanel" to the DOM for FilePanel and NotifPanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-14 10:44:42 +01:00
Michael Telatynski
c882b7f332 Improve A11Y for Autocomplete Commands and DDG
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-14 10:37:10 +01:00
Aleksei Perepelkin
0d7e9bb9c7 Translated using Weblate (Russian)
Currently translated at 93.8% (1718 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 07:18:42 +00:00
Aleksei Perepelkin
4273d5e9a9 Translated using Weblate (Russian)
Currently translated at 93.8% (1718 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 07:09:51 +00:00
Aleksei Perepelkin
adbb20f47f Translated using Weblate (Russian)
Currently translated at 93.5% (1712 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 06:22:16 +00:00
Aleksei Perepelkin
c0dab5c3cc Translated using Weblate (Russian)
Currently translated at 93.4% (1711 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 06:16:38 +00:00
Tulir Asokan
497b779334 Add full emoji picker for reactions
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 00:32:11 +03:00
Tulir Asokan
a95f7be22d Persist list indexes when editing
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 14:31:32 +03:00
Tulir Asokan
29367766fd Fix "decend" typo
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 14:31:32 +03:00
Tulir Asokan
a160bdf4df Persist code block language when editing
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 14:31:32 +03:00
Nils J. Haugen
07dd088c10 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 62.3% (1141 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-10-13 10:53:22 +00:00
Szimszon
4d505900d4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-13 10:53:20 +00:00
Jeff Huang
c41d17bb44 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-13 10:53:20 +00:00
Tulir Asokan
2555fcb38f Fix reply fallback being included in edit m.new_content
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 13:32:09 +03:00
J. Ryan Stinnett
e6a81c5733 Show warning dialog when changing unreachable IS
If the IS is unreachable, this handles the error by showing a warning
encouraging the user to check after their personal data and resolve the
situation, but still allows them to continue if they want.

Fixes https://github.com/vector-im/riot-web/issues/10909
2019-10-11 15:57:12 +01:00
Damir Jelić
3f53691834 RoomView: Use platform specific search if our platform supports it.
This patch extends our search to include our platform specific event
index.

There are 3 search scenarios and are handled differently when platform
support for indexing is present:

    - Search a single non-encrypted room: Use the server-side search
        like before.
    - Search a single encrypted room: Search using our platform specific
        event index.
    - Search across all rooms: Search encrypted rooms using our local
        event index. Search non-encrypted rooms using the classic
        server-side search. Combine the results.

The combined search will result in having twice the amount of search
results since comparing the scores fairly wasn't deemed sensible.
2019-10-11 16:55:01 +02:00
Damir Jelić
4acec19d40 MatrixChat: Add new crawler checkpoints if there was a limited timeline.
A sync call may not have all events that happened since the last time
the client synced. In such a case the room is marked as limited and
events need to be fetched separately.

When such a sync call happens our event index will have a gap. To
close the gap checkpoints are added to start crawling our room again.
Unnecessary full re-crawls are prevented by checking if our current
/room/roomId/messages request contains only events that were already
present in our event index.
2019-10-11 16:55:01 +02:00
Damir Jelić
5e7076e985 MatrixChat: Add live events to the event index as well. 2019-10-11 16:55:01 +02:00
Damir Jelić
b23ba5f881 MatrixChat: Stop the crawler function and delete the index when logging out. 2019-10-11 16:55:01 +02:00
Damir Jelić
9ce478cb0e MatrixChat: Create an event index and start crawling for events.
This patch adds support to create an event index if the clients platform
supports it and starts an event crawler.

The event crawler goes through the room history of encrypted rooms and
eventually indexes the whole room history of such rooms.

It does this by first creating crawling checkpoints and storing them
inside a database. A checkpoint consists of a room_id, direction and
token.

After the checkpoints are added the client starts a crawler method in
the background. The crawler goes through checkpoints in a round-robin
way and uses them to fetch historic room messages using the
rooms/roomId/messages API endpoint.

Every time messages are fetched a new checkpoint is created that will
be stored in the database with the fetched events in an atomic way, the
old checkpoint is deleted at the same time as well.
2019-10-11 16:55:01 +02:00
Damir Jelić
b8a3ee1841 BasePlatform: Add prototype methods for event indexing. 2019-10-11 16:55:01 +02:00
Weblate
a975ecb009 Merge branch 'origin/develop' into Weblate. 2019-10-11 14:54:19 +00:00
송태섭
cb11182e20 Translated using Weblate (Korean)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-11 14:54:19 +00:00
Kévin C
03d1454ee7 Translated using Weblate (French)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-11 14:54:18 +00:00
J. Ryan Stinnett
d7631ed9f8 Catch errors in Settings when IS is unreachable
A few bits of Settings try to talk to the IS when Settings is opened. This
changes them to handle failure by logging warnings to the console.
2019-10-11 15:52:15 +01:00
Travis Ralston
61cc6c8293 Correctly update the banned users list when a user is unbanned
Fixes https://github.com/vector-im/riot-web/issues/11123

Error wasn't actually the user being unbanned twice - it was a React error about "cannot call enqueueForceUpdate of undefined", which was a binding problem with onUnbanned. However, fixing that didn't do the intended thing - the user was still shown in the settings. We now just listen for membership and  fix it that way.
2019-10-11 12:56:48 +01:00
Weblate
ab05e9eaf7 Merge branch 'origin/develop' into Weblate. 2019-10-11 08:53:32 +00:00
Kaa Jii
df01af0f66 Translated using Weblate (Italian)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-11 08:53:32 +00:00
Michael Telatynski
6e33cc0650
Merge pull request #3433 from matrix-org/t3chguy/nvl/react16/EventListSummary
Summarise state events after room creation
2019-10-11 09:53:26 +01:00
Weblate
91925781a7 Merge branch 'origin/develop' into Weblate. 2019-10-10 16:52:15 +00:00
Michael Telatynski
dcc948f43d
Merge pull request #3543 from matrix-org/t3chguy/timeline_keyboard_focus
Don't intercept TAB on the app outside of the composer, fix tabIndex > 0
2019-10-10 17:52:10 +01:00
Weblate
557c78af27 Merge branch 'origin/develop' into Weblate. 2019-10-10 16:46:31 +00:00
David Baker
c2a5253479
Merge pull request #3546 from matrix-org/dbkr/malformed_events
Add some type checking on event body
2019-10-10 17:46:26 +01:00
David Baker
847acff894 Add some type checking on event body 2019-10-10 17:36:22 +01:00
Weblate
0d350c92ef Merge branch 'origin/develop' into Weblate. 2019-10-10 14:57:25 +00:00
random
efa5ae0aac Translated using Weblate (Italian)
Currently translated at 99.9% (1828 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-10 14:57:25 +00:00
Bruno Windels
f8a610687f don't persist caret when selection is missing
so caret will be put back at end of editor when remounting
2019-10-10 16:40:03 +02:00
Bruno Windels
905aa81bf8 safeguard if the offsetnode is null when determining caret position 2019-10-10 16:39:41 +02:00
Michael Telatynski
5643743167 Don't intercept TAB on the app outside of the composer, fix tabIndex > 0
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-10 14:13:29 +01:00
Weblate
2d94fe8852 Merge branch 'origin/develop' into Weblate. 2019-10-10 08:39:38 +00:00
Michael Telatynski
7160922b77
Merge pull request #3541 from matrix-org/t3chguy/fix_150rc1
SettingsFlag always run ToggleSwitch fully-controlled
2019-10-10 09:39:33 +01:00
Weblate
fb50db5695 Merge branch 'origin/develop' into Weblate. 2019-10-10 08:13:13 +00:00
Sava Radoš
eb3e2e5049 Translated using Weblate (Serbian (latin))
Currently translated at 1.2% (22 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr_Latn/
2019-10-10 08:13:13 +00:00
Sava Radoš
7a3bf5639f Translated using Weblate (Serbian)
Currently translated at 55.7% (1020 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr/
2019-10-10 08:13:12 +00:00
송태섭
6427054d66 Translated using Weblate (Korean)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-10 08:13:12 +00:00
jadiof
103d7fe748 Translated using Weblate (German)
Currently translated at 84.0% (1537 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-10 08:13:11 +00:00
Kévin C
c37ea98cd0 Translated using Weblate (French)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-10 08:13:11 +00:00
Claus Conrad
116425f346 Translated using Weblate (Danish)
Currently translated at 29.6% (542 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/da/
2019-10-10 08:13:11 +00:00
Michael Telatynski
0d42b8629e remove SettingsFlag manualSave altogether
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 23:20:59 +01:00
Sava Radoš
09978e40eb Added translation using Weblate (Serbian (latin)) 2019-10-09 21:55:50 +00:00
Michael Telatynski
685c2f494a actually always run fully controlled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 22:33:14 +01:00
Michael Telatynski
2b9c102f07 SettingsFlag always run ToggleSwitch fully-controlled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 22:27:49 +01:00
Michael Telatynski
58317b1608 Use Keyboard Key variables instead of hardcoded strings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 19:59:11 +01:00
Weblate
5fba897754 Merge branch 'origin/develop' into Weblate. 2019-10-09 15:26:28 +00:00
Szimszon
3771b9fd60 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-09 15:26:28 +00:00
Tentarial
fddf13aa49 Translated using Weblate (German)
Currently translated at 84.0% (1537 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-09 15:26:28 +00:00
jadiof
ef6f722d2c Translated using Weblate (German)
Currently translated at 84.0% (1537 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-09 15:26:27 +00:00
Michael Telatynski
ff18a04da1
Merge pull request #3529 from matrix-org/t3chguy/react16_cleanup2
React error/warning cleanup
2019-10-09 16:26:24 +01:00
Weblate
ab21265b81 Merge branch 'origin/develop' into Weblate. 2019-10-09 11:38:46 +00:00
J. Ryan Stinnett
93ff43f7e1
Merge pull request #3535 from matrix-org/jryans/tag-react-soft-crashes
Add label to rageshakes for React soft crashes
2019-10-09 12:38:42 +01:00
Weblate
eefcbecd78 Merge branch 'origin/develop' into Weblate. 2019-10-09 11:02:11 +00:00
송태섭
642e58b2c1 Translated using Weblate (Korean)
Currently translated at 100.0% (1828 of 1828 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-09 11:02:11 +00:00
Kévin C
8ce810830a Translated using Weblate (French)
Currently translated at 100.0% (1828 of 1828 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-09 11:02:11 +00:00
Jeff Huang
17dc3aa093 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1828 of 1828 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-09 11:02:10 +00:00
David Baker
aa6ce97b2f
Merge pull request #3534 from matrix-org/dbkr/add_threepid_ui_auth
Support UI Auth on adding email addresses & phone numbers
2019-10-09 12:02:05 +01:00
J. Ryan Stinnett
e905abe5ce Add label to rageshakes for React soft crashes
This adds a label all rageshakes submitted via the React error boundary marking
them as soft crashes for triage.

Fixes https://github.com/vector-im/riot-web/issues/11072
2019-10-09 11:59:10 +01:00
Michael Telatynski
f2d73793ee delint again
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
9331ca9d07 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
6be318b59d Only insert ELS if it'll be non-empty
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
efeb6e87c4 Use new React Shallow renderer with hooks support
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
efde7f289f Use EventListSummary on m.room.create events and state events thereafter
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:50:03 +02:00
Michael Telatynski
34530843f4 Factor out generic EventListSummary from MELS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:50:03 +02:00
David Baker
93aebf9e68 Return promises a better way 2019-10-09 11:30:44 +01:00