Commit graph

27331 commits

Author SHA1 Message Date
Bruno Windels
dc5ca0e34d Merge branch 'bwindels/fixinvitedialogcrash' into bwindels/fixinvitedialogcrash-release 2020-08-04 11:21:13 +02:00
Bruno Windels
71a9fef491 fix InviteDialog crash 2020-08-03 17:42:54 +02:00
J. Ryan Stinnett
5e67c07afc
Merge pull request #5080 from matrix-org/jryans/release-sticky-favourite
Handle tag changes in sticky room updates
2020-08-03 13:35:29 +01:00
Travis Ralston
7b7105f3f7 Handle tag changes in sticky room updates
Fixes https://github.com/vector-im/element-web/issues/14848

When we're filtering the sticky room will be excluded from the filtered set, and thus won't even appear in the `getOrderedRoomsWithoutSticky()` result. Further, we will likely have to update the position ourselves to ensure the sticky room can be placed appropriately in the list.
2020-08-03 13:26:19 +01: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
RiotRobot
31c66a1128 Upgrade matrix-js-sdk to 8.0.1-rc.1 2020-07-31 13:24:17 +01: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
David Baker
e810a31fe3
Merge pull request #5068 from matrix-org/dbkr/fix_soft_logout_crash
Fix crash on logging in again after soft logout
2020-07-30 20:02:42 +01:00
David Baker
aaf0c7d269 Put back code
with comment hopefully explaining why it's necessary
2020-07-30 19:46:27 +01:00
iortega
76630f6be0 Translated using Weblate (Basque)
Currently translated at 95.7% (2225 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 18:35:24 +00:00
Txopi
3393f58191 Translated using Weblate (Basque)
Currently translated at 95.7% (2225 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 18:35:24 +00:00
David Baker
f3320f5041 Fix key backup warning on soft logout page
It always showed the warning (if you had at least one session key
in your store) because flagAllGroupSessionsForBackup returns the
number of keys pending backup after flagging them all for backup,
ie. all of them. Seems like the intention was to only show the
warning if there were keys that had not yet been backed up.

Fixes https://github.com/vector-im/riot-web/issues/14829
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1429
2020-07-30 19:09:47 +01:00
David Baker
9d247321f5 Fix crash on logging in again after soft logout
Fixes https://github.com/vector-im/riot-web/issues/14834
2020-07-30 18:52:47 +01:00
Travis Ralston
968fbd5cba Merge branch 'develop' into travis/echo/audit 2020-07-30 10:18:30 -06:00
Travis Ralston
7522380763 Update copy 2020-07-30 10:17:47 -06:00
Travis Ralston
3b346161a5 Actually include the docs for local echo 2020-07-30 09:24:38 -06:00
Travis Ralston
fca6def588 Rename and document what local echo is 2020-07-30 09:15:19 -06:00
dependabot[bot]
8610760288
Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 12:52:17 +00:00
Weblate
48c191aa55 Merge branch 'origin/develop' into Weblate. 2020-07-30 12:37:08 +00:00
Priit Jõerüüt
34312d4144 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-30 12:37:08 +00:00
Besnik Bleta
c880759101 Translated using Weblate (Albanian)
Currently translated at 99.8% (2320 of 2324 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sq/
2020-07-30 12:37:07 +00:00
Jorik Schellekens
b1f8fe40d6
Merge pull request #5036 from swapnilraj/swapnilraj/right-panel-ts
Convert right_panel to TS
2020-07-30 13:37:01 +01:00
Swapnil Raj
1b4b594f92 Change public to protected for onAction 2020-07-30 16:13:13 +05:30