Commit graph

16324 commits

Author SHA1 Message Date
Michael Telatynski
66783dff9e Fix scaling of the avatar in UserInfo 2019-12-19 12:27:25 +00:00
David Baker
6851ad04b6 Migrate key backups to SSSS
If there's a key backup set up when we bootstrap SSSS, use its key
for SSSS and add the key backup key as a passthrough secret.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/1128
Fixes https://github.com/vector-im/riot-web/issues/11210
2019-12-19 11:26:20 +00:00
Michael Telatynski
affc8b8459 Merge branches 'develop' and 't3chguy/jest' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/jest
 Conflicts:
	yarn.lock
2019-12-19 10:50:14 +00:00
Michael Telatynski
3196655524 Replace UserInfo avatar with <MemberAvatar/> for fallback logic 2019-12-19 10:42:47 +00:00
Michael Telatynski
a1df87a375 Make EmojiPicker an unmanaged Context Menu as it is too complex to be managed 2019-12-19 07:23:05 +00:00
David Baker
a5d5569af4 Translated using Weblate (Japanese)
Currently translated at 59.3% (1184 of 1998 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-12-18 21:46:59 +00:00
Michael Telatynski
d35b01b63a Get rid of stripped-emoji.json in favour of an in-memory single truth source 2019-12-18 15:40:19 +00:00
Travis Ralston
38e75aaae0
Merge pull request #3722 from matrix-org/travis/babel7
[BREAKING] Refactor the entire build process for babel@7 and TypeScript (chunk 1 of many)
2019-12-17 10:44:20 -07:00
Weblate
ce995d1a1e Merge branch 'origin/develop' into Weblate. 2019-12-17 17:39:47 +00:00
Michael Telatynski
f30e919f9e
Merge pull request #3741 from matrix-org/t3chguy/dropdown_keyboard_propagation
Dropdown stop keyboard propagation if key handled
2019-12-17 17:39:41 +00:00
Michael Telatynski
da4d72b3c4 delint 2019-12-17 17:34:03 +00:00
Michael Telatynski
b094f0fe47 delint 2019-12-17 17:31:29 +00:00
Michael Telatynski
937b32663c Migrate away from Legacy React Contexts 2019-12-17 17:26:12 +00:00
Weblate
7811bd8859 Merge branch 'origin/develop' into Weblate. 2019-12-17 17:02:41 +00:00
Travis Ralston
1a44f01f0a
Merge pull request #3742 from matrix-org/travis/rp-memberinfo
Fix right panel for multiple member info viewings
2019-12-17 10:02:35 -07:00
Michael Telatynski
2e8d66fa36 Null-guard member mention pills for rooms you have left (notif panel) 2019-12-17 16:54:59 +00:00
Travis Ralston
16181ff0ed Fix right panel for multiple member info viewings
Fixes https://github.com/vector-im/riot-web/issues/11663

Member info is special because it has parameters associated with it. What was happening was the RightPanelStore was seeing that it was already on member info and deciding to hide the pane instead. What we do now is consider any phase change with parameters (such as the user to pass to member info) as a proper phase change.
2019-12-17 09:47:06 -07:00
Weblate
069129507f Merge branch 'origin/develop' into Weblate. 2019-12-17 16:45:54 +00:00
Michael Telatynski
3f5dc4fcdc
Merge pull request #3740 from matrix-org/t3chguy/field_validation_async_tooltip_sticks
Fix Field validation tooltip sticking if blurred before async validation resolved
2019-12-17 16:45:48 +00:00
Weblate
1d9d812b04 Merge branch 'origin/develop' into Weblate. 2019-12-17 15:14:04 +00:00
Michael Telatynski
7f78f55c94 Dropdown stop keyboard propagation if key handled 2019-12-17 15:14:01 +00:00
Michael Telatynski
0c89ab9fb5
Merge pull request #3738 from matrix-org/t3chguy/null-guard-useIsEncrypted
Fix UserInfo exploding without a room being passed to it
2019-12-17 15:13:59 +00:00
Weblate
b4f9b88025 Merge branch 'origin/develop' into Weblate. 2019-12-17 15:07:19 +00:00
Travis Ralston
590ef79300
Merge pull request #3737 from matrix-org/travis/room-dir
Fix room directory maintaining and error state
2019-12-17 08:07:12 -07:00
Michael Telatynski
0e86c2648d improve comment 2019-12-17 14:36:20 +00:00
Michael Telatynski
213bc4c3ac Fix Field validation tooltip sticking if blurred before async validation resolved 2019-12-17 14:28:18 +00:00
Michael Telatynski
c1133ebfc6 null-guard useIsEncrypted 2019-12-17 14:05:51 +00:00
Michael Telatynski
e6d8487302 Fix more tests 2019-12-17 11:47:01 +00:00
Michael Telatynski
ab3fb6581b Down to 7 test failures 2019-12-17 11:24:37 +00:00
Weblate
c0f3db1678 Merge branch 'origin/develop' into Weblate. 2019-12-17 10:07:18 +00:00
Michael Telatynski
17463c401f post-merge fix 2019-12-17 09:58:04 +00:00
Weblate
285667d653 Merge branch 'origin/develop' into Weblate. 2019-12-17 09:55:22 +00:00
Szimszon
a7a7a9cb23 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1998 of 1998 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-17 09:55:22 +00:00
Jeff Huang
284a1fdde7 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1998 of 1998 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-17 09:55:21 +00:00
Michael Telatynski
3a8ab6ec2b
Merge pull request #3736 from matrix-org/t3chguy/stop_using_deprecated_keyCode
Stop using KeyboardEvent.keyCode as it is deprecated
2019-12-17 09:55:13 +00:00
Travis Ralston
b2a1a40961 Fix room directory maintaining and error state
Fixes https://github.com/vector-im/riot-web/issues/11665

We weren't clearing the error from a previous lookup, which effectively prevented the UI from working after an error happened.
2019-12-16 16:47:33 -07:00
Travis Ralston
9865ce899b Add a bunch of docs
We're making an assumption here that the decorator is actually all over the app when it's not.
2019-12-16 16:34:46 -07:00
Travis Ralston
0a9985fb48 Rename decorator for clarity 2019-12-16 16:10:11 -07:00
Travis Ralston
434570eca9 Explain why MatrixClientPeg is the way it is 2019-12-16 16:07:58 -07:00
Weblate
b7e2acc5f0 Merge branch 'origin/develop' into Weblate. 2019-12-16 17:25:34 +00:00
Kévin C
eb5ebaf754 Translated using Weblate (French)
Currently translated at 100.0% (2001 of 2001 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-16 17:25:34 +00:00
Michael Telatynski
3b0f8233e8 delint 2019-12-16 17:22:00 +00:00
Michael Telatynski
d28a892bb0 Stop using KeyboardEvent.keyCode as it is deprecated 2019-12-16 17:14:03 +00:00
Michael Telatynski
bf06b1f379 Merge branches 'develop' and 't3chguy/remove_avatar_2.0' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/remove_avatar_2.0
 Conflicts:
	res/css/views/settings/_ProfileSettings.scss
2019-12-16 16:23:25 +00:00
Michael Telatynski
5ab98e9899 open ImageView when clicking on a set avatar 2019-12-16 15:21:05 +00:00
Michael Telatynski
9fa2680dc6 Implement new design for uploading/removing avatars 2019-12-16 14:58:12 +00:00
Michael Telatynski
85ade7e1a1 Switch to react-focus-lock for it to comprehend Portals 2019-12-16 12:16:41 +00:00
Michael Telatynski
2569b78db3
Merge pull request #3729 from matrix-org/t3chguy/aria_dropdown
Make combobox dropdown keyboard and screen reader accessible
2019-12-16 11:14:46 +00:00
David Baker
be914c7b0c
Merge pull request #3728 from matrix-org/jryans/verify-users
Verify users when cross-signing enabled
2019-12-16 10:12:46 +00:00
Michael Telatynski
9c4eb1d649 clean up new code 2019-12-16 10:03:40 +00:00
random
ed5bfb7acf Translated using Weblate (Italian)
Currently translated at 99.9% (1993 of 1994 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-12-16 09:57:03 +00:00
Stanislav Lukeš
671ec51c01 Translated using Weblate (Czech)
Currently translated at 98.4% (1962 of 1994 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-12-16 09:57:02 +00:00
Jeff Huang
460d4fc150 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1994 of 1994 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-16 09:57:02 +00:00
Osoitz
6dedc8d7bb Translated using Weblate (Basque)
Currently translated at 100.0% (1994 of 1994 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-12-16 09:57:01 +00:00
Michael Telatynski
224ee05b62 this is a combobox, HOME/END should pertain to the input, not selection 2019-12-15 15:07:49 +00:00
Michael Telatynski
cecf581e04 Make Combobox dropdown keyboard and screen reader accessible 2019-12-15 15:04:57 +00:00
Michael Telatynski
f67eedf843 Fix keyboard handling including scroll into view, add aria roles 2019-12-15 14:24:56 +00:00
Szimszon
ad6329a0b0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1994 of 1994 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-15 09:46:48 +00:00
Kévin C
5f8647ab8a Translated using Weblate (French)
Currently translated at 100.0% (1994 of 1994 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-15 09:46:45 +00:00
J. Ryan Stinnett
2df72bfde2 Update room / user decoration for cross-signing 2019-12-13 17:57:26 +00:00
Weblate
a4c277f387 Merge branch 'origin/develop' into Weblate. 2019-12-13 17:53:35 +00:00
Michael Telatynski
9f0e2412c7
Merge pull request #3727 from matrix-org/t3chguy/unignore_a11y
Improve a11y of the unignore button in Settings
2019-12-13 17:53:30 +00:00
Weblate
300db712a0 Merge branch 'origin/develop' into Weblate. 2019-12-13 17:53:27 +00:00
Michael Telatynski
2313285be2
Merge pull request #3726 from matrix-org/t3chguy/fix_ToggleSwitch_a11y
Fix ToggleSwitch A11Y (trapping tab and switch v. checkbox)
2019-12-13 17:53:21 +00:00
Weblate
a382836ae3 Merge branch 'origin/develop' into Weblate. 2019-12-13 17:19:42 +00:00
random
71a5cf6616 Translated using Weblate (Italian)
Currently translated at 99.9% (1992 of 1993 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-12-13 17:19:42 +00:00
Szimszon
d4c6b0cb9b Translated using Weblate (Hungarian)
Currently translated at 99.7% (1988 of 1993 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-13 17:19:38 +00:00
Kévin C
f0147f5517 Translated using Weblate (French)
Currently translated at 100.0% (1993 of 1993 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-13 17:19:35 +00:00
Jeff Huang
5eec97830f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1993 of 1993 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-13 17:19:34 +00:00
Michael Telatynski
0bc02564bc Improve a11y of the unignore button in Settings 2019-12-13 14:31:34 +00:00
Michael Telatynski
9d0bf13ca0 Fix ToggleSwitch A11Y (trapping tab and switch v. checkbox) 2019-12-13 14:18:41 +00:00
Michael Telatynski
17a42cd287 Make LInkPreviewWidget close button Keyboard & SR Accessible 2019-12-13 14:02:50 +00:00
J. Ryan Stinnett
3ac0deebab Use static modals for verification
Verification with cross-signing may requiring asking for your secret storage
passphrase, which is displayed in it's own modal on top of flows. For now while
verification takes in modals also, mark the verification ones as static so they
don't lose state when secret storage appears on top mid-flow.
2019-12-13 13:55:28 +00:00
Travis Ralston
20a615396b Implementation of new potential skinning mechanism
With a switch to Only One Webpack™ we need a way to help developers generate the component index without a concurrent watch task. The best way to do this is to have developers import their components, but how do they do that when we support skins? The answer in this commit is to change skinning.

Skinning now expects to receive your list of overrides instead of the react-sdk+branded components. For Riot this means we send over *only* the Vector components and not Vector+react-sdk. 

Components can then be annotated with the `replaceComponent` decorator to have them be skinnable. The decorator must take a string with the dot path of the component because we can't reliably calculate it ourselves, sadly. 

The decorator does a call to `getComponent` which is where the important part of the branded components not including the react-sdk is important: if the branded app includes the react-sdk then the decorator gets executed before the skin has finished loading, leading to all kinds of fun errors. This is also why the skinner lazily loads the react-sdk components to avoid importing them too early, breaking the app.

The decorator will end up receiving null for a component because of the getComponent loop mentioned: the require() call is still in progress when the decorator is called, therefore we can't error out. All usages of getComponent() within the app are safe to not need such an error (the return won't be null, and developers shouldn't use getComponent() after this commit anyways).

The AuthPage, being a prominent component, has been converted to demonstrate this working. Changes to riot-web are required to have this work.

The reskindex script has also been altered to reflect these skinning changes - it no longer should set the react-sdk as a parent. The eventual end goal is to get rid of `getComponent()` entirely as it'll be easily replaced by imports.
2019-12-12 19:48:45 -07:00
Travis Ralston
225695ab5c Fix exports for rate limited functions and MatrixClientPeg
MatrixClientPeg in particular doesn't work very well with this.
2019-12-12 19:33:08 -07:00
Travis Ralston
a5dadda63b Convert SdkConfig to TypeScript as a proof of concept 2019-12-12 14:37:32 -07:00
Weblate
8f89e97f86 Merge branch 'origin/develop' into Weblate. 2019-12-12 17:33:19 +00:00
J. Ryan Stinnett
b7fe06706d
Merge pull request #3720 from matrix-org/jryans/4s-new-key-backup
Create new key backups using secret storage
2019-12-12 17:33:11 +00:00
Weblate
199af37bf0 Merge branch 'origin/develop' into Weblate. 2019-12-12 17:03:51 +00:00
random
aa92327165 Translated using Weblate (Italian)
Currently translated at 98.8% (1960 of 1983 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-12-12 17:03:50 +00:00
Szimszon
084a6feb3b Translated using Weblate (Hungarian)
Currently translated at 98.9% (1962 of 1983 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-12 17:03:46 +00:00
Kévin C
9eb9921ed0 Translated using Weblate (French)
Currently translated at 100.0% (1983 of 1983 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-12 17:03:44 +00:00
Stanislav Lukeš
e1ad4b25ce Translated using Weblate (Czech)
Currently translated at 99.1% (1966 of 1983 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-12-12 17:03:38 +00:00
Jeff Huang
7e383b771a Translated using Weblate (Chinese (Traditional))
Currently translated at 98.9% (1961 of 1983 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-12 17:03:21 +00:00
J. Ryan Stinnett
38ee1aed09 Replace sign-ins with sessions
The designs were changed to use the term "sessions" instead of "sign-ins".
2019-12-12 16:35:02 +00:00
J. Ryan Stinnett
3cbb3c12cd Update cross-signing details on trust changes 2019-12-12 15:42:27 +00:00
J. Ryan Stinnett
6338ee9683 Only allow key caching inside the access helper 2019-12-12 15:34:01 +00:00
J. Ryan Stinnett
458cc9598d Support restoring key backup with stored secret 2019-12-12 15:18:36 +00:00
J. Ryan Stinnett
e87ff54eee Clean up cross-signing debug panel 2019-12-12 14:27:57 +00:00
J. Ryan Stinnett
4417235d9e Show whether backup key is stored 2019-12-12 14:06:44 +00:00
J. Ryan Stinnett
d2f2d3b344 Handle cross-singing sigs in key backup details 2019-12-12 13:51:45 +00:00
Weblate
47c6023b1a Merge branch 'origin/develop' into Weblate. 2019-12-11 17:50:53 +00:00
Travis Ralston
7230d51cca
Merge pull request #3703 from matrix-org/travis/right-panel-v2
Refactor RightPanel to match expected behaviour
2019-12-11 10:50:45 -07:00
Weblate
e4134a485b Merge branch 'origin/develop' into Weblate. 2019-12-11 17:50:43 +00:00
Szimszon
eb671c3724 Translated using Weblate (Hungarian)
Currently translated at 98.9% (1944 of 1966 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-11 17:50:43 +00:00
Kévin C
53692c0938 Translated using Weblate (French)
Currently translated at 98.5% (1936 of 1966 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-11 17:50:41 +00:00
Besnik Bleta
24ea1424c5 Translated using Weblate (Albanian)
Currently translated at 99.3% (1952 of 1966 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-12-11 17:50:40 +00:00
Travis Ralston
633aa59e6c
Merge pull request #3716 from matrix-org/travis/mjolnir-render
Render policy room event updates in the timeline
2019-12-11 10:50:27 -07:00
David Baker
2a90f287c6 Added translation using Weblate (Mongolian) 2019-12-11 17:29:58 +00:00
J. Ryan Stinnett
8cbc9baddd Add testing flow for new key backups with SSSS
This adds a path to test key backups with SSSS via an extra button only visible
when the cross-signing feature is enabled.
2019-12-11 16:32:49 +00:00
J. Ryan Stinnett
66f7600969 Add accessSecretStorage helper with common flow setup
This moves the details of dialogs that may be needed when accessing secret
storage to centralised helper. In addition, this clears the secret storage key
cache so that keys are only live for a single operation.
2019-12-11 15:07:46 +00:00
J. Ryan Stinnett
c5099b9b96 Re-add the secret storage key cache 2019-12-11 14:28:02 +00:00
Weblate
6d77144e2a Merge branch 'origin/develop' into Weblate. 2019-12-11 11:32:49 +00:00
J. Ryan Stinnett
2a91a6d08c
Merge pull request #3718 from matrix-org/travis/wrap-encryption
Wrap the await call for unknown device lookups
2019-12-11 11:32:43 +00:00
Weblate
00c694d691 Merge branch 'origin/develop' into Weblate. 2019-12-11 11:04:44 +00:00
Kévin C
9dbd6e815f Translated using Weblate (French)
Currently translated at 100.0% (1935 of 1935 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-11 10:39:16 +00:00
J. Ryan Stinnett
fae819dfe5 Merge remote-tracking branch 'origin/develop' into jryans/4s-new-key-backup 2019-12-11 10:05:20 +00:00
Weblate
4b9afe78c2 Merge branch 'origin/develop' into Weblate. 2019-12-11 09:36:54 +00:00
Szimszon
af890cd517 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1935 of 1935 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-11 09:36:54 +00:00
Jeff Huang
a4dc8c650e Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1935 of 1935 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-11 09:36:53 +00:00
Michael Telatynski
cb50f5ff5f
Merge pull request #3715 from matrix-org/t3chguy/fix_roomlist_context_menu_regression
Fix remaining context menu regressions
2019-12-11 09:36:45 +00:00
Travis Ralston
db91465c56 Wrap the await call for unknown device lookups
Otherwise we're awaiting the result of `map()`, which isn't accurate.
2019-12-10 22:00:08 -07:00
Weblate
ddfa28723b Merge branch 'origin/develop' into Weblate. 2019-12-10 17:43:44 +00:00
Michael Telatynski
c1b1f98201
Merge pull request #3712 from matrix-org/t3chguy/react16_refs
Migrate away from React Legacy string refs
2019-12-10 17:43:37 +00:00
Weblate
4c431dd88a Merge branch 'origin/develop' into Weblate. 2019-12-10 17:19:57 +00:00
random
adc96514e7 Translated using Weblate (Italian)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-12-10 17:19:57 +00:00
Tentarial
77da7afdc0 Translated using Weblate (German)
Currently translated at 79.9% (1545 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-12-10 17:19:56 +00:00
Krombel
03e0f6f8c5 Translated using Weblate (German)
Currently translated at 79.9% (1545 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-12-10 17:19:55 +00:00
Travis Ralston
b6d0308a54
Merge pull request #3706 from matrix-org/travis/dm-copy
Update copy for DM invites
2019-12-10 10:19:47 -07:00
Travis Ralston
c8c344804e Remove special case RHS resizer logic
It doesn't seem to affect anything by being removed.
2019-12-10 10:01:45 -07:00
Travis Ralston
b93cadf4d1 Reset the right panel when changing rooms/groups
This is to prevent the member info from staying open, which could explode if the user isn't in the room you're switching to.
2019-12-10 09:58:44 -07:00
J. Ryan Stinnett
4956e83228 Remove secret storage key cache for now 2019-12-10 16:53:15 +00:00
J. Ryan Stinnett
80c120b93b Cross-signing storage now handled in JS SDK 2019-12-10 16:47:18 +00:00
Travis Ralston
4548713c19 Appease the linter 2019-12-09 20:38:56 -07:00
Travis Ralston
f529a6c7a2 Render policy room event updates in the timeline
Fixes https://github.com/matrix-org/mjolnir/issues/15

This should be completely safe to deploy, even without a labs flag, because policy rooms (ban lists) are usually only joined by the people who know what they are. This also has no relation to the Mjolnir functionality currently in Riot, though it does make seeing your ban list a bit less awkward. 

Ban list rules only show up in ban list rooms and rarely show up in public rooms, hence the somewhat vague messaging. It should be obvious that it's a ban list room due to the surrounding room decoration/purpose.
2019-12-09 20:36:00 -07:00
Michael Telatynski
44adda3547 Add right-click context menu to GroupInviteTile.js
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-10 00:14:36 +00:00
Michael Telatynski
5c92f8ab25 Fix RoomTile right click context menu
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-10 00:08:45 +00:00
Michael Telatynski
52c20db963 Fix chevron offset for toRightOf
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-09 23:58:09 +00:00
Michael Telatynski
2691d1a611 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix_mab_regression 2019-12-09 14:13:11 +00:00
Michael Telatynski
69eeabd99e Fix accessibility to the reaction picker (not of it though)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-09 14:12:30 +00:00
Half-Shot
6225e402cc i18n'ed all over the plaace 2019-12-09 13:54:21 +00:00
Michael Telatynski
cd73162957
Merge branch 'develop' into t3chguy/react16_refs 2019-12-09 13:47:06 +00:00
Michael Telatynski
f079c2fdd2
Merge pull request #3709 from matrix-org/t3chguy/what-input
Add what-input to allow different scoping to focus-visible for MAB a11y
2019-12-09 13:45:59 +00:00
Michael Telatynski
b1788fb4b5
Merge pull request #3708 from matrix-org/t3chguy/search_accessible_radios
Mark the This/All Rooms scope buttons as radios for a11y
2019-12-09 13:43:32 +00:00
Michael Telatynski
21647cf596
Merge pull request #3707 from matrix-org/t3chguy/improve_a11y_reactions_row_button
Switch ReactionsRowButton to an AccessibleButton for space/enter handling
2019-12-09 13:43:06 +00:00
Michael Telatynski
36ad71e291
Merge pull request #3710 from matrix-org/t3chguy/edited_a11y_btn
Change the (edited) link to an AccessibleButton for a11y
2019-12-09 13:42:27 +00:00
Half-Shot
7ee5f7ba38 Add feature flag 2019-12-09 13:28:43 +00:00
Half-Shot
d9943754f7 Remove status as it's no longer part of the MSC 2019-12-09 13:28:16 +00:00
Will Hunt
ce21ce8bbe Lint 2019-12-09 13:22:45 +00:00
Half-Shot
9f2ccdf913 Add support for displaying avatars and links in bridge info 2019-12-09 13:22:45 +00:00
Half-Shot
2bc6e2e332 Add the one string I bothered to i18n 2019-12-09 13:22:45 +00:00
Half-Shot
7c35b16f4d Add bridge tab button 2019-12-09 13:22:45 +00:00
Half-Shot
0d537ecbb3 Add bridge info tab 2019-12-09 13:22:45 +00:00
Jeff Huang
f10e5c8660 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-09 10:04:16 +00:00
Michael Telatynski
702f061341 ref is used earlier so assign it earlier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:45:59 +00:00
Michael Telatynski
ff71f4ec8d Migrate RoomSubList to ES6 Class due to new/vs old React API incompat
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:43:06 +00:00
Michael Telatynski
d22985f12e Migrate string refs over to createRef
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:16:17 +00:00
Michael Telatynski
4c55f3c5b5 Remove unused refs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:12:06 +00:00
Weblate
a1e2babe4c Merge branch 'origin/develop' into Weblate. 2019-12-08 10:04:47 +00:00
David Prieto
2b0d534f76 Translated using Weblate (Spanish)
Currently translated at 70.5% (1363 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-12-08 10:04:47 +00:00
Kévin C
170a7a6908 Translated using Weblate (French)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-08 10:04:47 +00:00
Michael Telatynski
142a71cc67
Merge pull request #3694 from matrix-org/t3chguy/fix_SpecPermalinkConstructor
Fix ?via= args in SpecPermalinkConstructor.js
2019-12-08 10:04:41 +00:00
Michael Telatynski
702a8ff4a9 Change ref handling in TextualBody to prevent it parsing generated nodes
Remove unused paths

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 01:01:19 +00:00
Michael Telatynski
33eff43313 Change the (edited) link to an AccessibleButton for a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 21:01:21 +00:00
Michael Telatynski
4be8b87869 Add what-input to allow different scoping to focus-visible for MessageActionBar keyboard a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 13:07:52 +00:00
Michael Telatynski
86e52d1ef3 Mark the This/All Rooms scope buttons as radios for a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 12:45:28 +00:00
Michael Telatynski
680c5c2b27 Switch ReactionsRowButton to an AccessibleButton for space/enter handling
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 12:20:06 +00:00
Travis Ralston
0e1d5daee4 i18n 2019-12-06 17:08:55 -07:00
Travis Ralston
8d3418dfa9 Update copy for DM invites
Fixes https://github.com/vector-im/riot-web/issues/10766
2019-12-06 17:08:24 -07:00
Weblate
69093abcf2 Merge branch 'origin/develop' into Weblate. 2019-12-06 23:45:16 +00:00
Szimszon
836fdb4a57 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-06 23:45:16 +00:00
Aaron Raimist
aa8e6186eb
Don't mark a room as unread when server ACLs are set
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-12-06 17:34:31 -06:00
Travis Ralston
94ae06db4d Fix cold open of the RightPanel directly to MemberInfo
This requires us to track some of the phase's state in the RightPanelStore, which is not great - trying to get it through the app is a bit difficult.
2019-12-06 15:05:02 -07:00
Travis Ralston
78ce801c25 Fix incorrect function call into RightPanelStore
We dispatch to open, not call directly into the store.
2019-12-06 14:52:31 -07:00
Travis Ralston
4bcf99f65e Fix member info not opening
The subclasses listen for view_user and similar dispatches, which then start up the RightPanel. We weren't registering a listener though because we changed to using the RightPanelStore for most of our logic.
2019-12-06 14:51:49 -07:00
Travis Ralston
814c408e23 Disable the right panel when the app asks us to
Currently this is only used in the GroupView and for forwarding messages.
2019-12-06 14:18:18 -07:00
J. Ryan Stinnett
24d6e7e456 Use private key check to provide feedback 2019-12-06 17:54:00 +00:00
Weblate
ff6aa96334 Merge branch 'origin/develop' into Weblate. 2019-12-06 15:43:36 +00:00
David Prieto
e641a74452 Translated using Weblate (Spanish)
Currently translated at 70.6% (1363 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-12-06 15:43:36 +00:00
Kévin C
af31844a9d Translated using Weblate (French)
Currently translated at 100.0% (1931 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-06 15:43:30 +00:00
Marco Zehe
19e6587548 Add tabIndex to the button to make it keyboard focusable
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2019-12-06 16:03:19 +01:00
Marco Zehe
78555ed422 Make reaction buttons more accessible
Fixes vector-im/riot-web/issues/11608.

This patch:

1. Turns the container of reaction buttons into a toolbar.
2. Makes each button span into a button with a tabindex and an aria-label.
3. Constructs an alternative label that differs slightly from the text displayed by the tool tip:
   * It uses the names of the people who reacted.
   * It puts a space before the "reacted with" text.
   * It uses the actual emoji characters, not the converted colon-delimited shortNames, because the emojis usually tell blind users more about the expression.
   * It omits the number of reactions, since that information is already conveyed by the names.

Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2019-12-06 15:58:28 +01:00
J. Ryan Stinnett
9b9e074d30 Use consistent import style 2019-12-06 14:15:41 +00:00
Travis Ralston
a24bbdffd0 Appease the linter
Mid-PR cleanup.
2019-12-05 23:58:19 -07:00
Travis Ralston
75c32a2f02 Fix a bug where the icons need to be clicked twice after reload
Clicking on the member icon was fine, but clicking on the file panel wouldn't bring it up - it had to be clicked a second time to actually show the panel.
2019-12-05 23:50:19 -07:00
Travis Ralston
4873b526df Ensure the right panel stays the same between room changes if possible
Fixes https://github.com/vector-im/riot-web/issues/10149
2019-12-05 23:48:05 -07:00
Travis Ralston
bbdff701b4 Actually render the right panel in the new system 2019-12-05 23:40:25 -07:00
Travis Ralston
42898ec414 Rid ourselves of RightPanel.Phases completely 2019-12-05 23:35:12 -07:00
Travis Ralston
756cf3a88b Convert the GroupMemberList actions to the new RightPanelStore 2019-12-05 23:34:44 -07:00
Travis Ralston
eda712ece8 Update sticker picker handling for new right panel actions 2019-12-05 23:30:26 -07:00
Travis Ralston
d8d8e59002 Don't show/hide the right panel depending on window size
Fixes https://github.com/vector-im/riot-web/issues/8772
2019-12-05 23:30:13 -07:00
Travis Ralston
8b492fdaa5 Remove dead code from GroupView
This was for a caret that is no longer in the app. Instead, the header buttons act as a toggle.
2019-12-05 23:29:43 -07:00
Travis Ralston
ca0c393783 Use new right panel store for header buttons
This introduces a new dispatch action (unused, so far) and routes the buttons towards the RightPanelStore for processing.
2019-12-05 23:28:06 -07:00
Travis Ralston
6e882251bd Break the right panel completely
This lays a foundation for redirecting all the traffic through the new store, but for now the core parts of the app need to stop caring if the right panel is open.
2019-12-05 17:47:18 -07:00
Travis Ralston
5253f29928 Build out a store for the right panel state machine
This should make it easier to funnel the expected behaviour through a central block of code.
2019-12-05 15:31:01 -07:00
J. Ryan Stinnett
d66dbdea61 Indicate which access flow was used 2019-12-05 16:23:00 +00:00
J. Ryan Stinnett
2bdc16b4bd Key requests have an object wrapper 2019-12-05 16:11:12 +00:00
J. Ryan Stinnett
7601ce93d9 Add in-memory cache of secret storage keys 2019-12-05 15:34:07 +00:00
J. Ryan Stinnett
7446bcdedb Extract callbacks to a new module 2019-12-05 15:34:07 +00:00
J. Ryan Stinnett
9f1c2cd3e1 Add dialogs for creating and accessing secret storage
This adds dialogs for creating and accessing secret storage via a passphrase or
recovery key. These flows are adapted from the ones used for key backup.
2019-12-05 15:34:07 +00:00
Weblate
315f242fdc Merge branch 'origin/develop' into Weblate. 2019-12-05 14:33:12 +00:00
Szimszon
38612e4991 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1931 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-05 11:40:08 +00:00
Jeff Huang
1240580863 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1931 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-05 11:40:07 +00:00
David Baker
fc4926600a Fix propTypes declaration
With this version of babel (via babel-eslint), eslint now fails
with a somewhat confusing, "Unexpected reserved type number"
(from the flow plugin...) if you get this wrong.
2019-12-05 10:42:20 +00:00
J. Ryan Stinnett
a7d94ebcaa Convert RestoreKeyBackupDialog to modern style 2019-12-04 17:23:48 +00:00
Weblate
aa47e86a32 Merge branch 'origin/develop' into Weblate. 2019-12-04 17:17:57 +00:00
Szimszon
4a73f1d7f9 Translated using Weblate (Hungarian)
Currently translated at 99.6% (1922 of 1929 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-04 17:17:56 +00:00
Jeff Huang
87fc35ffd5 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.6% (1922 of 1929 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-04 17:17:56 +00:00
Michael Telatynski
be6da03348
Merge pull request #3611 from matrix-org/t3chguy/context_menus
ARIA compliant context menus
2019-12-04 17:17:47 +00:00
Weblate
d8618ebd7b Merge branch 'origin/develop' into Weblate. 2019-12-04 10:33:54 +00:00
David Baker
bc52db5423
Merge pull request #3697 from matrix-org/travis/e2e-icons
Match e2e icons on events to expectations
2019-12-04 10:33:47 +00:00
Weblate
04f535c4b6 Merge branch 'origin/develop' into Weblate. 2019-12-04 10:17:41 +00:00
Szimszon
6d3fd8cb28 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1928 of 1928 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-04 10:17:41 +00:00
Samu Voutilainen
7fdbeec517 Translated using Weblate (Finnish)
Currently translated at 100.0% (1928 of 1928 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-12-04 10:17:40 +00:00
David Baker
2058ba8fd9
Merge pull request #3695 from matrix-org/travis/new-upgrade-dialog
Match room upgrade warning to the new design
2019-12-04 10:17:33 +00:00
Travis Ralston
b4e60af61f Appease the linter and de-dupe code 2019-12-03 23:15:49 -07:00
Travis Ralston
33044d713e Match e2e icons on events to expectations
Fixes https://github.com/vector-im/riot-web/issues/11547

Steps taken:
* Convert `E2ePadlock` to a class-style component so the hover state can be tracked (tooltips).
* Convert the image mask to a background image to keep the `!` in the shield.
* Update copy.
2019-12-03 22:41:22 -07:00
Travis Ralston
f34347b08c
Merge pull request #3683 from matrix-org/travis/prune-i18n
Remove unused translations
2019-12-03 09:46:09 -07:00
Michael Telatynski
d3de792f79 fix bits which missed the review cutting block
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-03 10:53:32 +00:00
David Baker
910c50370b
Merge pull request #3678 from matrix-org/dbkr/remove_dead_velocity_ui
Remove broken velocity-ui animation
2019-12-03 10:38:40 +00:00
Travis Ralston
fd69cce44a Remove unused translations
```
F:\Workspaces\riot-web\matrix-react-sdk>yarn prunei18n
yarn run v1.19.1
$ matrix-prune-i18n
ar.json: removed 4 translations
az.json: removed 92 translations
be.json: removed 10 translations
bg.json: removed 426 translations
ca.json: removed 207 translations
cs.json: removed 337 translations
da.json: removed 56 translations
de_DE.json: removed 369 translations
el.json: removed 178 translations
en_US.json: removed 201 translations
eo.json: removed 295 translations
es.json: removed 279 translations
eu.json: removed 402 translations
fa.json: removed 15 translations
fi.json: removed 329 translations
fr.json: removed 459 translations
gl.json: removed 256 translations
he.json: removed 31 translations
hi.json: removed 91 translations
hr.json: removed 1 translations
hu.json: removed 447 translations
id.json: removed 54 translations
is.json: removed 108 translations
it.json: removed 406 translations
ja.json: removed 257 translations
jbo.json: removed 36 translations
ko.json: removed 303 translations
lt.json: removed 192 translations
lv.json: removed 233 translations
ml.json: removed 16 translations
nb_NO.json: removed 23 translations
nl.json: removed 345 translations
nn.json: removed 251 translations
pl.json: removed 295 translations
pt.json: removed 193 translations
pt_BR.json: removed 310 translations
ro.json: removed 3 translations
ru.json: removed 344 translations
sk.json: removed 340 translations
sl.json: removed 1 translations
sq.json: removed 417 translations
sr.json: removed 256 translations
sr_Latn.json: removed 1 translations
sv.json: removed 304 translations
ta.json: removed 17 translations
te.json: removed 66 translations
th.json: removed 117 translations
tr.json: removed 167 translations
uk.json: removed 81 translations
vi.json: removed 6 translations
vls.json: removed 86 translations
zh_Hans.json: removed 309 translations
zh_Hant.json: removed 452 translations
Done in 0.39s.
```

Fixes https://github.com/vector-im/riot-web/issues/11539
2019-12-02 20:32:51 -07:00
Travis Ralston
6d42da8160 Actually spawn a bug report dialog. 2019-12-02 17:26:08 -07:00
Weblate
38fea90b23 Merge branch 'origin/develop' into Weblate. 2019-12-03 00:22:07 +00:00
Travis Ralston
0d63a2bea1
Merge pull request #3685 from aaronraimist/edit-message-remove-btn
Hide Remove button in message editing history if you don't have permission to redact
2019-12-02 17:22:01 -07:00
Travis Ralston
e47752ff8d Match room upgrade warning to the new design
See https://github.com/matrix-org/matrix-react-sdk/pull/3684#issuecomment-560514872
2019-12-02 17:21:53 -07:00
Michael Telatynski
857f086501 Fix ?via= args in SpecPermalinkConstructor.js
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-03 00:05:19 +00:00
Weblate
340714841b Merge branch 'origin/develop' into Weblate. 2019-12-03 00:03:37 +00:00
Tirifto
0d4f6d6c22 Translated using Weblate (Esperanto)
Currently translated at 97.1% (1870 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-12-03 00:03:37 +00:00
Travis Ralston
4d5f133b17
Merge pull request #3684 from matrix-org/travis/auto-invite-upgrades
Add an option to invite users to upgraded private rooms
2019-12-02 17:03:25 -07:00
Michael Telatynski
901e402a5c apply renames suggested in PR review
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 23:23:11 +00:00
Michael Telatynski
757f811126 s/ContextualMenu/ContextMenu/
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 23:21:59 +00:00
Michael Telatynski
a062fe0096 Merge branches 'develop' and 't3chguy/context_menus' of github.com:matrix-org/matrix-react-sdk into t3chguy/context_menus 2019-12-02 23:20:47 +00:00
J. Ryan Stinnett
139e19630a Watch for account data changes in debug panel 2019-12-02 14:34:32 +00:00
J. Ryan Stinnett
c21c0e1150 Add error to debug panel 2019-12-02 14:22:47 +00:00
Weblate
87163735dc Merge branch 'origin/develop' into Weblate. 2019-12-02 11:37:31 +00:00
Michael Telatynski
a17df6dd38
Merge pull request #3689 from matrix-org/t3chguy/dont_trap_context_menu_keyboard
Do not trap Key ContextMenu into composer for keyboard a11y
2019-12-02 11:37:24 +00:00
Weblate
4dba269025 Merge branch 'origin/develop' into Weblate. 2019-12-02 10:28:33 +00:00
random
9466ce330c Translated using Weblate (Italian)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-12-02 10:28:32 +00:00
Samu Voutilainen
811ba17d71 Translated using Weblate (Finnish)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-12-02 10:28:31 +00:00
Jeff Huang
198ff306d4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-02 10:28:30 +00:00
Slavi Pantaleev
6f485d0989 Translated using Weblate (Bulgarian)
Currently translated at 96.3% (1854 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-12-02 10:28:30 +00:00
Osoitz
a0493b03ae Translated using Weblate (Basque)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-12-02 10:28:28 +00:00
Michael Telatynski
7a3b8a522f Make EmojiPicker filtering case-insensitive
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 10:18:02 +00:00
Michael Telatynski
e2733a27c4 add null-guard
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 10:06:58 +00:00
Michael Telatynski
3ad4b0fb64 Do not trap Key ContextMenu into composer for keyboard a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 10:01:08 +00:00
Weblate
c60149db47 Merge branch 'origin/develop' into Weblate. 2019-11-29 22:14:01 +00:00
Szimszon
1e9021d831 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-29 22:14:01 +00:00
Travis Ralston
f4b1c4f360 Remove useless file 2019-11-29 15:13:46 -07:00
J. Ryan Stinnett
798d5c8ada Always update cross-signing status even if error 2019-11-29 17:53:39 +00:00
J. Ryan Stinnett
c32c1d201c Rename device signing auth param 2019-11-29 17:49:51 +00:00
J. Ryan Stinnett
6140803b7f Fix key upload auth to test confirmation 2019-11-29 17:43:24 +00:00
Weblate
6df78e4be2 Merge branch 'origin/develop' into Weblate. 2019-11-29 17:18:04 +00:00
Slavi Pantaleev
778e14f716 Translated using Weblate (Bulgarian)
Currently translated at 95.7% (1843 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-29 17:18:04 +00:00
Travis Ralston
9cae685e22
Merge pull request #3686 from matrix-org/travis/theme-fix
Ensure the settings page accurately represents theme choices
2019-11-29 10:17:55 -07:00
J. Ryan Stinnett
92c0fdf085 Clarify current state of cross-signing private keys 2019-11-29 15:57:46 +00:00
Weblate
b767d3c15c Merge branch 'origin/develop' into Weblate. 2019-11-29 14:41:56 +00:00
Travis Ralston
1c766d8594
Merge pull request #3688 from matrix-org/travis/rr-fix
Ensure read receipts end up with a valid reference to checkUnmounting
2019-11-29 07:41:49 -07:00
Weblate
be9f1ce64a Merge branch 'origin/develop' into Weblate. 2019-11-29 14:41:26 +00:00
Kévin C
69d82bef67 Translated using Weblate (French)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-29 14:41:26 +00:00
Travis Ralston
7b1ee944c8
Merge pull request #3687 from matrix-org/travis/rr-velocity
Convert Velociraptor component to a class
2019-11-29 07:41:17 -07:00
J. Ryan Stinnett
a21285143f Add tbody to silence React warning 2019-11-29 11:55:36 +00:00
J. Ryan Stinnett
c6e56d98b3 Merge remote-tracking branch 'origin/develop' into jryans/4s-new-key-backup 2019-11-29 11:31:23 +00:00
J. Ryan Stinnett
c103fe4273 Add cross-signing diagnostic panel
This is not part of any designs, so it may be short-lived, but it's quite handy
for diagnosing issues with cross-signing at least while the feature is in
development.
2019-11-29 11:29:08 +00:00
Weblate
ba24e64f47 Merge branch 'origin/develop' into Weblate. 2019-11-29 05:07:55 +00:00
Samu Voutilainen
70aeafa77b Translated using Weblate (Finnish)
Currently translated at 100.0% (1925 of 1925 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-29 05:07:54 +00:00
Jeff Huang
cd7bbd2dc6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1925 of 1925 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-29 05:07:53 +00:00
Travis Ralston
5aad914c25
Merge pull request #3675 from aaronraimist/labs-explain
Add a link to the labs feature documentation
2019-11-28 22:07:47 -07:00
Aaron Raimist
4c50ac0e56
Improve wording
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-28 22:22:42 -06:00
Travis Ralston
36f9fab474 Ensure read receipts end up with a valid reference to checkUnmounting
Fixes https://github.com/vector-im/riot-web/issues/11496
Fixes https://github.com/vector-im/riot-web/issues/11385
Fixes https://github.com/vector-im/riot-web/issues/10007
Fixes https://github.com/vector-im/riot-web/issues/9769

React does (kinda) bind `this._isUnmounting` for us in the context of the EventTile, but the EventTile then passes the function straight through to the ReadReceiptMarker component, which then binds it in the context of EventTile. This results in `this._mounted` being falsey all the time, preventing the ReadReceiptMarker from hitting the code where it updates rrInfo in its unmount. 

The velocity stuff is smart enough to realize that it has a read receipt and shuffles everything over by one, but when it goes to check the starting height (which will be null/undefined because the RRMarker didn't update it) it assumes it has never seen the receipt before and appends it again - this is what causes some holes/stacking.

By forcefully binding the `this._isUnmounting` function we ensure that the `this._mounted` variable is correctly referenced in the context of the MessagePanel, allowing the RRMarker to update its position, and therefore allowing the velocity behaviour to be consistent.
2019-11-28 19:45:37 -07:00
Travis Ralston
24843cf25e Convert Velociraptor to a class 2019-11-28 19:36:30 -07:00
Michael Telatynski
bfb5706b4a don't consume all keys
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:51:21 +00:00
Michael Telatynski
29b59dde5b undo unrelated change
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:44:08 +00:00
Travis Ralston
37ec7e6f7e Ensure the settings page accurately represents theme choices
Fixes https://github.com/vector-im/riot-web/issues/11518

This also fixes a bug where the the theme logic can incorrectly get stuck in the light theme - the ThemeController was overriding *all* values, not just supposed themes. Null values aren't overridden so that the various theme logic bits don't assume the user has chosen the light theme explicitly.
2019-11-28 13:40:28 -07:00
Michael Telatynski
811454462d fix Stickerpicker and MessageContextMenu
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:38:58 +00:00
Michael Telatynski
3847996b5b transition Tooltips over to deprecated code
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:26:09 +00:00
Michael Telatynski
2daf3a96bf delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 18:42:38 +00:00
Michael Telatynski
6c5b777a77 Consolidate all except tooltips
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 18:16:59 +00:00
Michael Telatynski
5a540f5949 Migrate MemberStatusMessageAvatar over to new Context Menus
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 16:40:45 +00:00
Michael Telatynski
ecf51a0569 i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 16:28:53 +00:00
Michael Telatynski
6d69ec17d9 Merge branches 'develop' and 't3chguy/context_menus' of github.com:matrix-org/matrix-react-sdk into t3chguy/context_menus
 Conflicts:
	src/components/views/context_menus/RoomTileContextMenu.js
2019-11-28 16:25:59 +00:00
Travis Ralston
b833a030e7 Invite invited members too 2019-11-28 09:24:02 -07:00
Weblate
503aeac21f Merge branch 'origin/develop' into Weblate. 2019-11-28 16:16:59 +00:00
Travis Ralston
25809c54a7
Merge pull request #3682 from matrix-org/travis/fix-calltype-i18n
Improve translatable strings for calls
2019-11-28 09:16:52 -07:00
Weblate
064df930c8 Merge branch 'origin/develop' into Weblate. 2019-11-28 16:10:49 +00:00
Travis Ralston
01ba4aca45
Merge pull request #3680 from matrix-org/travis/fix-list-diff
Don't assume that diffs will have an appropriate child node
2019-11-28 09:10:43 -07:00
Travis Ralston
fde116458c
Words are hard 2019-11-28 09:08:24 -07:00
Weblate
d652e182aa Merge branch 'origin/develop' into Weblate. 2019-11-28 16:06:55 +00:00
Weblate
92e95d0c07 Merge branch 'origin/develop' into Weblate. 2019-11-28 16:06:51 +00:00
random
dc152a5409 Translated using Weblate (Italian)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-28 16:06:51 +00:00
Samu Voutilainen
94f19cbc2e Translated using Weblate (Finnish)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-28 16:06:50 +00:00
Travis Ralston
90a1cb68eb
Merge pull request #3681 from matrix-org/travis/fix-jitsi
Fix persisted widgets getting stuck at loading screens
2019-11-28 09:06:44 -07:00
Aaron Raimist
1bb55d4fa1
Hide Remove button in message editing history if you don't have permission to redact
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-27 22:30:39 -06:00
Travis Ralston
b9559ecf82 Appease the linter 2019-11-27 20:34:31 -07:00
Travis Ralston
f020929345 Add an option to invite users to upgraded private rooms
The option doesn't show up on public room upgrades.
2019-11-27 20:29:11 -07:00
Travis Ralston
96ffe94876 Merge remote-tracking branch 'origin/develop' into t3chguy/clear_notifications 2019-11-27 19:27:52 -07:00
Weblate
8c6056a90f Merge branch 'origin/develop' into Weblate. 2019-11-28 00:06:28 +00:00
thilobuchholz
ff90ae1972 Translated using Weblate (German)
Currently translated at 80.6% (1548 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-11-28 00:06:28 +00:00
Travis Ralston
3b5aa5e9b8
Update src/RoomInvite.js
Co-Authored-By: Michael Telatynski <7t3chguy@gmail.com>
2019-11-27 16:57:44 -07:00
Travis Ralston
97515511ce Improve translatable strings for calls
Fixes https://github.com/vector-im/riot-web/issues/11507
2019-11-27 13:03:51 -07:00
Travis Ralston
7b013ecc69 Fix persisted widgets getting stuck at loading screens
The widget itself is rendered underneath the loading screen, so we just have to disable the loading state.

This commit also removes the "is" attribute because React 16 includes unknown attributes: https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html

Fixes https://github.com/vector-im/riot-web/issues/11536
2019-11-27 12:54:31 -07:00
Travis Ralston
673e6c3162 Don't assume that diffs will have an appropriate child node
Fixes https://github.com/vector-im/riot-web/issues/11497

This is a regression from react-sdk v1.5.0 where the diff feature was added in the first place. It only affects lists.
2019-11-27 12:26:43 -07:00
Travis Ralston
275bd33a6c Move the description into the relevant branch 2019-11-27 10:48:05 -07:00
Travis Ralston
d6821ecb99 Fix multi-invite error dialog messaging
Fixes https://github.com/vector-im/riot-web/issues/11515
2019-11-27 10:44:36 -07:00
Weblate
ace950691b Merge branch 'origin/develop' into Weblate. 2019-11-27 14:52:12 +00:00
Travis Ralston
fbba55ab05
Merge pull request #3670 from matrix-org/travis/toggle-communities
Make the communities button behave more like a toggle
2019-11-27 07:52:05 -07:00
Kévin C
b52b8b4848 Translated using Weblate (French)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-27 13:31:57 +00:00
David Baker
c9b972116a Remove broken velocity-ui animation
The deactivate account dialog tried to shake the password box on
an incorrect password but it didn't work because we don't import
velocity-ui anywhere. Looks like we forgot to import it in
DeactivateAccountDialog.js and were relying on it being imported
elsewhere (so probably broke when BottomLeftMenu got removed).

Either way, we no longer use the field-shake animation anywhere else,
so just remove it.
2019-11-27 11:47:57 +00:00
Weblate
c13fefa1a2 Merge branch 'origin/develop' into Weblate. 2019-11-27 09:19:08 +00:00
Samu Voutilainen
b54ec3d708 Translated using Weblate (Finnish)
Currently translated at 97.5% (1873 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-27 09:19:08 +00:00
Jeff Huang
c3dd491eac Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-27 09:19:01 +00:00
David Baker
dd7b08ec25
Merge pull request #3674 from matrix-org/dbkr/read_marker_css_transition
Change read markers to use CSS transitions
2019-11-27 09:18:53 +00:00
Aaron Raimist
98c47265c9
Fix indentation
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-26 15:01:02 -06:00
Aaron Raimist
7905e6cc3b
Add a link to the labs feature documentation
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-26 14:31:48 -06:00
David Baker
a2e3f64963 Change read markers to use CSS transitions
Removes one of the two places we use Velocity, so we're one step
closer to getting rid of it for good.

Should therefore fix the fact that Velocity is leaking data entries
and therefore <hr> elements.

Hopefully also makes the logic in getEventTiles incrementally simpler,
if still somwewhat byzantine.
2019-11-26 19:06:02 +00:00
Weblate
8733bfdaa4 Merge branch 'origin/develop' into Weblate. 2019-11-26 17:33:13 +00:00
Travis Ralston
9f1df0ce8f
Merge pull request #3669 from matrix-org/travis/breadcrumb-upgrades
Update breadcrumbs when we do eventually see upgraded rooms
2019-11-26 10:33:07 -07:00
Weblate
3f0161c433 Merge branch 'origin/develop' into Weblate. 2019-11-26 17:05:03 +00:00
fenuks
088fb35a2f Translated using Weblate (Polish)
Currently translated at 75.8% (1456 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-26 17:05:02 +00:00
송태섭
3679dd73d4 Translated using Weblate (Korean)
Currently translated at 99.1% (1904 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-26 17:05:00 +00:00
take100yen
6d0cd2aa9c Translated using Weblate (Japanese)
Currently translated at 62.0% (1191 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-26 17:04:59 +00:00
Szimszon
daccdbc0a9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-26 17:04:55 +00:00
Kévin C
a36de8ed92 Translated using Weblate (French)
Currently translated at 100.0% (1921 of 1921 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-26 17:04:54 +00:00
tleydxdy
5bfcf00f5b Translated using Weblate (Chinese (Simplified))
Currently translated at 77.5% (1488 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2019-11-26 17:04:54 +00:00
Besnik Bleta
c40a331264 Translated using Weblate (Albanian)
Currently translated at 99.6% (1914 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-26 17:04:53 +00:00
Travis Ralston
d50d8877e0 Appease the linter 2019-11-26 09:56:04 -07:00
Travis Ralston
4cec7c41b1 Fix override behaviour of system vs defined themes
Fixes https://github.com/vector-im/riot-web/issues/11509
2019-11-26 09:52:35 -07:00
Matthew Hodgson
9f455fae4b
Merge branch 'develop' into matthew/fix_logging 2019-11-26 10:19:48 +00:00
Matthew Hodgson
9fd45d1f14 console.log doesn't take %s substitutions 2019-11-26 01:14:03 +00:00
Travis Ralston
1ff39f2524 Make the communities button behave more like a toggle
Fixes https://github.com/vector-im/riot-web/issues/10771

Clicking the button should toggle between your last page (room in our case) and the communities stuff.
2019-11-25 16:51:48 -07:00
Travis Ralston
9df227dbd0 Update breadcrumbs when we do eventually see upgraded rooms
Fixes https://github.com/vector-im/riot-web/issues/11469
2019-11-25 16:21:09 -07:00
Damir Jelić
21a15fdcb4 EventIndex: Move the checkpoint loading logic into the init method.
The checkpoints don't seem to be loaded anymore in the onSync method,
the reason why this has stopped working is left unexplored since loading
the checkpoints makes most sense during the initialization step anyways.
2019-11-25 18:11:50 +01:00
J. Ryan Stinnett
4039d60a43
Merge pull request #3668 from matrix-org/jryans/tweak-cs-lab-name
Clarify that cross-signing is in development
2019-11-25 16:37:04 +00:00
Travis Ralston
98693d2dbc
Merge pull request #3665 from matrix-org/travis/fix-flashing
Hide tooltips with CSS when they aren't visible
2019-11-25 09:13:43 -07:00
J. Ryan Stinnett
b55a1a1077 Appease linter 2019-11-25 14:41:12 +00:00
J. Ryan Stinnett
54294e4927 Clarify that cross-signing is in development
In an attempt to clarify the state of this highly anticipated feature, this
updates the labs flag name to match.

Part of https://github.com/vector-im/riot-web/issues/11492
2019-11-25 14:30:13 +00:00
Bruno Windels
694f2cb1dc make sure the toast container is always in the document 2019-11-25 13:20:20 +01:00
Bruno Windels
422ab81185 a11y adjustments for toasts 2019-11-25 12:31:57 +01:00
Jeff Huang
56a7de5157 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-25 09:55:45 +00:00
Travis Ralston
11fec80370 Hide tooltips with CSS when they aren't visible
Fixes https://github.com/vector-im/riot-web/issues/11456
2019-11-24 20:52:22 -07:00
dreboy30
4fb6e4b983 Translated using Weblate (Portuguese (Brazil))
Currently translated at 68.8% (1321 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-11-24 19:45:36 +00:00
dreboy30
1607bc329b Translated using Weblate (Portuguese)
Currently translated at 34.5% (663 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt/
2019-11-24 19:45:36 +00:00
Andrew
00fd329bfe Translated using Weblate (Italian)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-24 19:45:34 +00:00
Szimszon
1c02fa573f Translated using Weblate (Hungarian)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-24 19:45:33 +00:00
Kévin C
95e02899b4 Translated using Weblate (French)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-24 19:45:32 +00:00
Nathan Follens
d867f41f56 Translated using Weblate (Dutch)
Currently translated at 93.4% (1794 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-11-24 19:45:31 +00:00
Keunes
8254261f26 Translated using Weblate (Dutch)
Currently translated at 93.4% (1794 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-11-22 18:48:50 +00:00
Weblate
edbe7045d7 Merge branch 'origin/develop' into Weblate. 2019-11-22 16:59:21 +00:00
David Baker
7f7e51627c
Merge pull request #3664 from matrix-org/dbkr/nullcheck_thumbnail_file
Null check on thumbnail_file
2019-11-22 16:59:15 +00:00
Weblate
d3820b61f6 Merge branch 'origin/develop' into Weblate. 2019-11-22 16:52:53 +00:00
Bruno Windels
15b5ad7451
Merge pull request #3662 from matrix-org/bwindels/itsadoubledate
Fix double date separator for room upgrade tiles
2019-11-22 16:52:47 +00:00
David Baker
aae3150383 Null check on thumbnail_file 2019-11-22 16:50:32 +00:00
Weblate
0bd1952108 Merge branch 'origin/develop' into Weblate. 2019-11-22 16:39:30 +00:00
random
fab7dfd8e8 Translated using Weblate (Italian)
Currently translated at 99.9% (1916 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-22 16:39:29 +00:00
Stanislav Lukeš
9bb98e2b9c Translated using Weblate (Czech)
Currently translated at 95.8% (1837 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-11-22 16:39:27 +00:00
Slavi Pantaleev
f1d096e7aa Translated using Weblate (Bulgarian)
Currently translated at 95.9% (1840 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-22 16:39:27 +00:00
Bruno Windels
4a684d01a4
Merge pull request #3661 from matrix-org/bwindels/verif-toasts
Show incoming verification requests in in-app notifications
2019-11-22 16:39:18 +00:00
Bruno Windels
32b6fccbfc fix double date separator 2019-11-22 17:26:14 +01:00
Bruno Windels
309633181d use FormButton in verification request tile too and dedupe styles 2019-11-22 16:32:50 +01:00
Bruno Windels
0dfb0f5468 fix lint 2019-11-22 16:25:30 +01:00
Bruno Windels
8cb362002b show a toast instead of dialog when feature flag is enabled 2019-11-22 16:08:27 +01:00
Bruno Windels
c705752317 add toast for verification requests
this uses a verification requests as emitted by the js-sdk with
the `crypto.verification.request` rather than a verifier as emitted
by `crypto.verification.start` as this works for both to_device and
timeline events with the changes made in the js-sdk pr.
2019-11-22 16:08:27 +01:00
Bruno Windels
66cc68bae4 add new-styled button
might merge it later on with accessible button
2019-11-22 16:04:51 +01:00
Bruno Windels
e86d2b616e add ToastContainer 2019-11-22 16:04:51 +01:00
Weblate
b073e2b9de Merge branch 'origin/develop' into Weblate. 2019-11-22 13:41:41 +00:00
David Baker
7df8ef2f91
Merge pull request #3655 from matrix-org/t3chguy/fix_m.room.create_upgrade_notice
Show m.room.create event before the ELS on room upgrade
2019-11-22 13:41:36 +00:00
Weblate
f149962ce0 Merge branch 'origin/develop' into Weblate. 2019-11-22 13:20:03 +00:00
David Baker
ee40c7891b
Merge pull request #3656 from matrix-org/dbkr/messagepanel_react_class
Convert MessagePanel to React class
2019-11-22 13:19:57 +00:00
David Baker
25ba4c5f71 Fix read markers
init code needs to be a constructor or its run too late
2019-11-22 13:11:36 +00:00
Weblate
7f11869444 Merge branch 'origin/develop' into Weblate. 2019-11-22 13:09:13 +00:00
Szimszon
fed1ed3b50 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-22 13:09:12 +00:00
Kévin C
27c64db613 Translated using Weblate (French)
Currently translated at 100.0% (1918 of 1918 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-22 13:09:08 +00:00
David Baker
3f5a8faf37 PropTypes should be static 2019-11-22 13:01:56 +00:00
David Baker
fd5a5e13ee Make addEventListener conditional
Safari doesn't support addEventListener
2019-11-22 12:59:51 +00:00
David Baker
6d4abeef45 Convert MessagePanel to React class
I was about to add the getDerivedStateFromProps function to change
how read markers worked, but doing that in an old style class
means the statics object, so let;s just convert the thing.
2019-11-22 12:07:25 +00:00
Michael Telatynski
a02a285058 Show m.room.create event before the ELS on room upgrade
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-22 10:24:51 +00:00
Weblate
82ace51f90 Merge branch 'origin/develop' into Weblate. 2019-11-21 17:43:19 +00:00
David Baker
1a7d298319
Merge pull request #3654 from matrix-org/dbkr/call_crash_workaround
Workaround for soft-crash with calls on startup
2019-11-21 17:43:14 +00:00
David Baker
b239fde32d Workaround for soft-crash with calls on startup
Fixes https://github.com/vector-im/riot-web/issues/11458
2019-11-21 17:31:57 +00:00
Weblate
c1aa5f16db Merge branch 'origin/develop' into Weblate. 2019-11-21 17:29:30 +00:00
David Baker
53edbc743a
Merge pull request #3652 from matrix-org/dbkr/catch_play_failures
Catch exceptions when we can't play audio
2019-11-21 17:29:25 +00:00
Travis Ralston
812b0785bf Fix i18n post-merge 2019-11-21 10:22:31 -07:00
Travis Ralston
72f0401589 Merge branch 'develop' into jryans/4s-new-key-backup 2019-11-21 10:22:13 -07:00
Weblate
785f00e6d0 Merge branch 'origin/develop' into Weblate. 2019-11-21 17:14:05 +00:00
Travis Ralston
9d5f3ce32d
Merge pull request #3650 from matrix-org/travis/widget-integration-copy
Rename section heading for integrations in settings
2019-11-21 10:13:59 -07:00
Weblate
f532d625f8 Merge branch 'origin/develop' into Weblate. 2019-11-21 17:13:52 +00:00
Travis Ralston
9089744f07
Merge pull request #3651 from matrix-org/travis/widget-encryption-copy
Update copy for widgets not using message encryption
2019-11-21 10:13:47 -07:00
David Baker
5d8476185f Catch exceptions when we can't play audio
...or try to: the chrome debugger still breakpoints, even when we
catch the exception.

Related to, but probably does not fix https://github.com/vector-im/riot-web/issues/7657
2019-11-21 17:11:17 +00:00
Weblate
8819d5cf0c Merge branch 'origin/develop' into Weblate. 2019-11-21 16:28:10 +00:00
Szimszon
08e08376a2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1922 of 1922 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-21 16:28:10 +00:00
Travis Ralston
a55e5f7759 Update copy for widgets not using message encryption
Misc design update
2019-11-21 09:12:07 -07:00
David Baker
f0fbb20ee5 Detect support for mediaSession
Firefox doesn't support mediaSession so don't try setting handlers
2019-11-21 16:11:42 +00:00
Travis Ralston
f7f22444e8 Rename section heading for integrations in settings
Misc design update
2019-11-21 09:03:07 -07:00
David Baker
5c6ef10c6b Ignore media actions
Hopefully the comment explains all

Fixes https://github.com/vector-im/riot-web/issues/11118
2019-11-21 15:55:30 +00:00
Weblate
41a820acdf Merge branch 'origin/develop' into Weblate. 2019-11-21 15:11:04 +00:00
Travis Ralston
6597e0bd42
Merge pull request #3646 from matrix-org/travis/integration-manager-opt
Add an option to disable the use of integration managers for provisioning
2019-11-21 08:10:56 -07:00
Weblate
1e13cbb442 Merge branch 'origin/develop' into Weblate. 2019-11-21 15:10:35 +00:00
Travis Ralston
86783e4439
Merge pull request #3645 from matrix-org/travis/widget-menu
Move many widget options to a context menu
2019-11-21 08:10:28 -07:00
Weblate
f3ac2c2a1e Merge branch 'origin/develop' into Weblate. 2019-11-21 15:05:12 +00:00
Edgars Voroboks
598901b483 Translated using Weblate (Latvian)
Currently translated at 47.8% (918 of 1919 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lv/
2019-11-21 15:05:11 +00:00
random
87167f42f8 Translated using Weblate (Italian)
Currently translated at 99.9% (1917 of 1919 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-21 15:05:11 +00:00
Szimszon
d786017d08 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1919 of 1919 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-21 15:05:09 +00:00
Tuomas Hietala
670d44ecd8 Translated using Weblate (Finnish)
Currently translated at 96.1% (1845 of 1919 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-21 15:05:08 +00:00
Jeff Huang
5670a52469 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1919 of 1919 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-21 15:05:04 +00:00
Travis Ralston
5d612bb370
Merge pull request #3644 from matrix-org/travis/widget-encryption
Re-add encryption warning to widget permission prompt
2019-11-21 08:04:56 -07:00
Michael Telatynski
d3f872bf7a Merge branches 'develop' and 't3chguy/remove_bluebird' of github.com:matrix-org/matrix-react-sdk into t3chguy/remove_bluebird 2019-11-21 11:15:32 +00:00
David Baker
04641a0f87
Merge pull request #3638 from matrix-org/dbkr/dedup_theming_code
Remove getBaseTheme
2019-11-21 09:44:37 +00:00
Travis Ralston
670c14b2e3 Circumvent the linter 2019-11-20 20:54:21 -07:00