Commit graph

12289 commits

Author SHA1 Message Date
Weblate
d8dbc316fa Merge remote-tracking branch 'origin/develop' into develop 2018-12-08 19:16:36 +00:00
Slavi Pantaleev
4a5f0a5b71 Translated using Weblate (Bulgarian)
Currently translated at 91.9% (1283 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-12-08 19:16:35 +00:00
Besnik Bleta
ec0c3f3cd1 Translated using Weblate (Albanian)
Currently translated at 99.3% (1386 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-08 19:16:34 +00:00
Travis Ralston
780315817c
Merge pull request #2339 from matrix-org/travis/speed-up-room-list
Speed up room unread checks by not hitting the SettingsStore so often
2018-12-08 12:16:30 -07:00
Travis Ralston
ebdba32393
Add a comment about the SettingsStore being slow 2018-12-08 12:06:37 -07:00
Szimszon
a5e79415d7 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1395 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-08 13:42:49 +00:00
Kévin C
007ee0fa19 Translated using Weblate (French)
Currently translated at 100.0% (1395 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-08 10:03:34 +00:00
Travis Ralston
f2468f562d Speed up room unread checks by not hitting the SettingsStore so often
This was noticed as a problem after `Unread.doesRoomHaveUnreadMessages` started being called a lot more frequently. Down the call stack, `shouldHideEvent` is called which used to call into the `SettingsStore` frequently, causing performance issues in many cases. The `SettingsStore` tries to be as fast as possible, however there's still code paths that make it less than desirable to use as the first condition in an AND condition. By not hitting the `SettingsStore` so often, we can shorten those code paths.

As for how much this improves things, I ran some profiling before and after this change. This was done on my massive 1200+ room account. Before it was possible to see nearly 2 seconds spent generating room lists where 20-130ms per room was spent figuring out if the room has unread messages. Afterwards, the room list was generating within ~330ms and each unread check taking 0-2ms. There's still room for improvement on generating the room list, however the significant gains here seem worth it.
2018-12-07 20:15:21 -07:00
Weblate
bc61e06da3 Merge remote-tracking branch 'origin/develop' into develop 2018-12-07 20:13:08 +00:00
J. Ryan Stinnett
a92d2902c4 Add an in-room reminder to set up key recovery
This adds an in-room reminder above the message timeline to set up Secure
Message Recovery so that your keys will be backed up. If you try to ignore it,
an additional dialog is shown to confirm.

Fixes vector-im/riot-web#7783.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-07 14:13:02 -06:00
Weblate
532489879d Merge remote-tracking branch 'origin/develop' into develop 2018-12-07 18:08:43 +00:00
David Baker
d40225bf55
Merge pull request #2337 from jryans/rm-outdated-skin-info
Remove outdated info about custom skins
2018-12-07 18:08:38 +00:00
Weblate
4ce8e507c4 Merge remote-tracking branch 'origin/develop' into develop 2018-12-07 18:01:08 +00:00
David Baker
8f217dc3a4
Merge pull request #2333 from matrix-org/travis/callbox-hidden
Show the IncomingCallBox if the call is for the RoomSubList
2018-12-07 18:00:53 +00:00
Weblate
60e885b2f8 Merge remote-tracking branch 'origin/develop' into develop 2018-12-07 17:59:55 +00:00
Travis Ralston
482e6b57da
Merge pull request #2331 from matrix-org/travis/mto-via
Don't consider ACL'd servers as permalink candidates
2018-12-07 10:59:50 -07:00
Weblate
5d85421603 Merge remote-tracking branch 'origin/develop' into develop 2018-12-07 17:44:41 +00:00
David Baker
d7319d7e4f
Merge pull request #2330 from matrix-org/travis/fix-pinned-rooms
Fix pinning of rooms without badges
2018-12-07 17:44:36 +00:00
Weblate
9fb658fcd6 Merge remote-tracking branch 'origin/develop' into develop 2018-12-07 17:44:03 +00:00
Slavi Pantaleev
8e2233dc6c Translated using Weblate (Bulgarian)
Currently translated at 92.1% (1279 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-12-07 17:44:02 +00:00
David Baker
6d58296fa6
Merge pull request #2329 from matrix-org/travis/sort-i18n-2
Sort translations by file name
2018-12-07 17:43:57 +00:00
J. Ryan Stinnett
0b65a1ee1a Remove outdated info about custom skins
It has been marked outdated for several years. Since it appears on the repo home
page, it makes the project feel unmaintained.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-06 19:25:07 -06:00
Weblate
6bf89477bf Merge remote-tracking branch 'origin/develop' into develop 2018-12-06 23:12:36 +00:00
Matthew Hodgson
245c839962
Merge pull request #2335 from jryans/react-style-guide
Update React guide in code style
2018-12-06 23:12:30 +00:00
J. Ryan Stinnett
757181c322 Update React guide in code style
This updates React guidance to prefer JS classes and adds additional info about
how to handle specific situations when using them.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-06 16:34:54 -06:00
Travis Ralston
ca1313099f Show the IncomingCallBox if the call is for the RoomSubList
Fixes https://github.com/vector-im/riot-web/issues/4369

Previously the RoomSubList would filter its list of rooms to verify that the incoming call belongs to it. This causes problems when the sub list is being told some rooms don't exist (ie: the list is filtered). It is trivial for the RoomList to instead track which RoomSubList (tag) it should be handing the call off to so we do that instead now. The RoomSubList trusts that the caller has already filtered it and will render the IncomingCallBox if it has an incoming call.
2018-12-06 11:45:58 -07:00
Weblate
97fcabe566 Merge remote-tracking branch 'origin/develop' into develop 2018-12-06 17:45:11 +00:00
Karol Kosek
c0f888f43c Translated using Weblate (Polish)
Currently translated at 90.9% (1262 of 1387 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-06 17:45:10 +00:00
Krombel
dbb0a34456 Translated using Weblate (German)
Currently translated at 97.9% (1359 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-12-06 17:45:10 +00:00
Travis Ralston
31b7a0ddcb
Merge pull request #2259 from matrix-org/t3chguy/account_deactivation_preferences
Remove temporary account_deactivation_preferences
2018-12-06 10:45:04 -07:00
Akarshan Biswas
50461c9306 Translated using Weblate (Hindi)
Currently translated at 27.3% (380 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hi/

Use native number system instead
2018-12-06 15:40:45 +00:00
Akarshan Biswas
e52eb52db9 Translated using Weblate (Hindi)
Currently translated at 27.2% (378 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hi/
2018-12-06 15:34:05 +00:00
Osoitz
3f04f8116f Translated using Weblate (Basque)
Currently translated at 100.0% (1388 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-06 14:49:49 +00:00
random
b1728b6415 Translated using Weblate (Italian)
Currently translated at 100.0% (1388 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-12-06 11:52:51 +00:00
Angelo Martinovic
5c59da8732 Added translation using Weblate (Croatian) 2018-12-06 09:18:31 +00:00
Kévin C
8e029ea048 Translated using Weblate (French)
Currently translated at 100.0% (1388 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-06 09:16:28 +00:00
Jeff Huang
4f64513402 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1388 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-12-06 05:33:06 +00:00
Travis Ralston
45bc1f7dbd Appease the linter 2018-12-05 18:14:22 -07:00
Travis Ralston
f08a54ed1e Don't consider ACL'd servers as permalink candidates
and fix the bug where it was picking 4 servers instead of 3. This was due to `<=` instead of `<` in the `MAX_SERVER_CANDIDATES` loop. Added tests for all the things.

Fixes https://github.com/vector-im/riot-web/issues/7752
Fixes https://github.com/vector-im/riot-web/issues/7682
2018-12-05 18:00:09 -07:00
Szimszon
62aae2aa02 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1388 of 1388 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-05 21:01:27 +00:00
Travis Ralston
93c90896b5 Regenerate en_EN.json 2018-12-05 14:00:09 -07:00
Travis Ralston
79ad95c853 Merge remote-tracking branch 'origin/develop' into travis/sort-i18n-2 2018-12-05 13:58:18 -07:00
Weblate
03c24c3e9b Merge remote-tracking branch 'origin/develop' into develop 2018-12-05 20:53:29 +00:00
Karol Kosek
21ebe2746b Translated using Weblate (Polish)
Currently translated at 90.2% (1252 of 1387 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-05 20:53:29 +00:00
Besnik Bleta
b33a0b1952 Translated using Weblate (Albanian)
Currently translated at 99.3% (1378 of 1387 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-05 20:53:28 +00:00
Travis Ralston
daa0ddd21d
Merge pull request #2306 from matrix-org/travis/cors-on-join
Suppress CORS errors in the 'failed to join room' dialog
2018-12-05 13:53:24 -07:00
Travis Ralston
216fc6412a Fix pinning of rooms without badges
Fixes https://github.com/vector-im/riot-web/issues/7723

This adds consideration for rooms that are "mentions only" (or "unread-muted" as internally referenced).
2018-12-05 13:52:27 -07:00
Szimszon
fc7bb448bd Translated using Weblate (Hungarian)
Currently translated at 100.0% (1387 of 1387 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-05 20:17:47 +00:00
Travis Ralston
a2b825ba92 Sort translations by file name
This keeps the strings close together and roughly in the same area as the others, and makes it easier to maintain the translation file.
2018-12-05 11:52:10 -07:00
Travis Ralston
c06d42d560
Merge pull request #2317 from matrix-org/travis/invite-errors
Check if users exist before inviting them and communicate errors
2018-12-05 11:50:03 -07:00