Commit graph

27547 commits

Author SHA1 Message Date
Travis Ralston
fed20d46c5 Replace i18n generation script with something matching our project
We've been relying on flow being close enough to TypeScript for so long that it is starting to run into issues. Here we switch to babel's parser given we already use babel in the project.

Babel's parser is also *slightly* faster, allowing us to generate strings 0.1s faster.
2020-07-31 13:33:33 -06:00
J. Ryan Stinnett
7aaa4997c2 Convert jump to bottom button 2020-07-31 20:33:15 +01:00
J. Ryan Stinnett
e9fcbfe3c8
Merge pull request #5075 from matrix-org/jryans/rm-tslint
Remove leftover bits of TSLint
2020-07-31 20:30:51 +01:00
Travis Ralston
e8d1024c45
Merge pull request #5076 from matrix-org/travis/cleanup/1
Clean up documentation of Whenable + fix other code concerns
2020-07-31 11:27:19 -06:00
J. Ryan Stinnett
f28bce36e1 Merge remote-tracking branch 'origin/develop' into jryans/adjust-chevrons 2020-07-31 18:23:57 +01:00
J. Ryan Stinnett
5cf86c7573
Merge pull request #5074 from matrix-org/bwindels/center-jump-down-chevron
Center the jump down/up icon, looks misaligned
2020-07-31 18:21:56 +01:00
J. Ryan Stinnett
1a33104877 Use thinner chevron for network, adjust placement 2020-07-31 18:15:51 +01:00
Travis Ralston
3443761007
Merge pull request #5062 from matrix-org/travis/settings/ts
Convert SettingsStore to TypeScript
2020-07-31 11:07:07 -06:00
J. Ryan Stinnett
805b8f5299 Add comment on network chevron placement 2020-07-31 18:00:35 +01:00
J. Ryan Stinnett
31180d3df9 Adjust room list colours to match designs 2020-07-31 17:52:19 +01:00
J. Ryan Stinnett
8441763a71 Fix show less icon 2020-07-31 17:48:30 +01:00
Travis Ralston
c888b1f401 It's a Context Transaction (ctxn) now 2020-07-31 10:00:53 -06:00
Travis Ralston
7645fe6b23 Update context transaction states 2020-07-31 10:00:02 -06:00
Travis Ralston
16ebcf70c9 Clean up documentation of Whenable 2020-07-31 09:41:19 -06:00
Bruno Windels
c0dc8905e4 update i18n 2020-07-31 16:57:35 +02:00
J. Ryan Stinnett
40cba3b3a7 Remove leftover bits of TSLint 2020-07-31 14:36:18 +01:00
Bruno Windels
6b667a93bd also center chevron in top unread button 2020-07-31 14:39:34 +02:00
RiotRobot
d08a08daeb v3.1.0-rc.1 2020-07-31 13:30:45 +01:00
RiotRobot
bc66ec851a Prepare changelog for v3.1.0-rc.1 2020-07-31 13:30:45 +01:00
Bruno Windels
29e17af2f8 scale the icon a bit, as centering changed it's size 2020-07-31 14:30:38 +02:00
RiotRobot
31c66a1128 Upgrade matrix-js-sdk to 8.0.1-rc.1 2020-07-31 13:24:17 +01:00
Bruno Windels
561b8752b9 actually center the icon 2020-07-31 14:23:24 +02:00
Bruno Windels
5c05b494df remove emoji icons in autocomplete/reply by designer request 2020-07-31 14:14:37 +02:00
J. Ryan Stinnett
de51fe3116
Merge pull request #5071 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Update from Weblate
2020-07-31 12:50:33 +01:00
Szimszon
b017983efd Translated using Weblate (Hungarian)
Currently translated at 100.0% (2338 of 2338 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/hu/
2020-07-31 11:35:39 +00:00
Weblate
06625f3c31 Merge branch 'origin/develop' into Weblate. 2020-07-31 11:20:25 +00:00
J. Ryan Stinnett
af49639bd8
Merge pull request #5065 from matrix-org/travis/echo/audit
Add local echo for notifications in the new room list
2020-07-31 12:20:20 +01:00
Weblate
2f604d4516 Merge branch 'origin/develop' into Weblate. 2020-07-31 10:46:35 +00:00
J. Ryan Stinnett
76293970f4
Merge pull request #5070 from matrix-org/travis/room-list/regressions
Fix various small regressions in the room list's behaviour
2020-07-31 11:46:30 +01:00
Weblate
1073e0ba56 Merge branch 'origin/develop' into Weblate. 2020-07-31 10:42:37 +00:00
strix aluco
235295249f Translated using Weblate (Ukrainian)
Currently translated at 46.9% (1091 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-07-31 10:42:37 +00:00
call_xz
b8f93df22d Translated using Weblate (Japanese)
Currently translated at 58.2% (1353 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/ja/
2020-07-31 10:42:36 +00:00
Priit Jõerüüt
d72394bacc Translated using Weblate (Estonian)
Currently translated at 99.8% (2319 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-31 10:42:35 +00:00
J. Ryan Stinnett
0404c7d9ae
Merge pull request #5059 from matrix-org/jryans/cleanup-lint-deps
Remove redundant lint dependencies
2020-07-31 11:42:29 +01:00
Weblate
8ec3326a77 Merge branch 'origin/develop' into Weblate. 2020-07-30 21:46:32 +00:00
David Baker
d1bf333cce
Merge pull request #5069 from matrix-org/dbkr/fix_soft_logout_warning
Fix key backup warning on soft logout page
2020-07-30 22:46:28 +01:00
Weblate
9a9d52cd33 Merge branch 'origin/develop' into Weblate. 2020-07-30 21:21:11 +00:00
HelaBasa
15cc1475c5 Translated using Weblate (Sinhala)
Currently translated at 0.3% (6 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/si/
2020-07-30 21:21:10 +00:00
Travis Ralston
409f65de7b
Merge pull request #5066 from matrix-org/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-07-30 15:21:05 -06:00
Travis Ralston
49abfc1fb2 Ensure sublists are updated when rooms are removed from them
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 2)

This is in two parts itself: The `RoomSublist` needs to break its references to the `RoomListStore`, so it now clones the room arrays. The `Algorithm` is the other part, which is slightly more complicated.

It turns out that we weren't handling splicing as a change in the `ImportanceAlgorithm`, therefore the `Algorithm` wasn't really feeling like it needed to change anything. Further, the `Algorithm` was using the wrong reference to where it should be dumping rooms (`this.cachedRooms` is a getter which returns a different object depending on conditions), so having fixed that we need to ensure that the filtered and sticky maps are also updated when we remove a room. Because we send the new tag through a Timeline update, we'll end up updating the tag later on and don't need to update the filter and sticky collections.
2020-07-30 15:06:04 -06:00
Travis Ralston
da05cac1b6 Listen for our own membership changes on notification states
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 1)

When we transition from invite to not-invite we need to ensure we clear the invite notification state.
2020-07-30 14:33:38 -06:00
Travis Ralston
5b15d12865 Ensure list visibility changes get counted as list changes
Fixes https://github.com/vector-im/riot-web/issues/14799

We were checking to see if the tags were visible at render time, but we needed to ensure that they were(n't) included when checking for diffs. This introduces a new kind of object cloning for semantic reasons.

This also fixes the selection indicator being a bit off on custom tags.
2020-07-30 14:18:54 -06:00
Travis Ralston
e953bfbf88 Replace flawed objectHasValueChange usage with objectHasDiff
Fixes https://github.com/vector-im/riot-web/issues/14782

We need to check if the keys changed, not just the values.
2020-07-30 14:08:18 -06:00
HelaBasa
f233778095 Added translation using Weblate (Sinhala) 2020-07-30 19:56:26 +00:00
Travis Ralston
80d072171f Merge remote-tracking branch 'origin/develop' into travis/echo/audit 2020-07-30 13:12:20 -06:00
Weblate
505ae870a2 Merge branch 'origin/develop' into Weblate. 2020-07-30 19:03:05 +00:00
Marcelo Filho
c861df49bd Translated using Weblate (Portuguese (Brazil))
Currently translated at 92.3% (2144 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/pt_BR/
2020-07-30 19:03:05 +00:00
Christopher May-Townsend
1e4ab627df Translated using Weblate (Icelandic)
Currently translated at 19.6% (456 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/is/
2020-07-30 19:02:50 +00:00
XoseM
13130c5ed4 Translated using Weblate (Galician)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/gl/
2020-07-30 19:02:49 +00:00
Txopi
f0f691b70e Translated using Weblate (Basque)
Currently translated at 96.5% (2243 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/eu/
2020-07-30 19:02:49 +00:00