Commit Graph

20521 Commits (a2892f5b02a8998a7d19985b59f65d246d99c99f)

Author SHA1 Message Date
Michael Telatynski ffa2ac172c delint 2019-12-15 14:09:41 +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 0362ea6c4a
Merge pull request #3725 from matrix-org/t3chguy/LinkPreviewWidget_a11y
Make URL previews dismissable via keyboard and accessible to screen readers
2019-12-13 17:19:23 +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
Michael Telatynski 18f81d80db Initial jest stuff. Blocked on Babel 7 2019-12-13 13:43:48 +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 f5264db028 Disable end-to-end tests too
They rely on a working riot-web build, which this is not.
2019-12-12 14:44:46 -07:00
Travis Ralston 59ddefdb8f Disable tests for new TypeScript build
We're switching to Jest anyways, and getting these things to run is basically impossible at the moment.
2019-12-12 14:39:01 -07:00
Travis Ralston ff584d1644 yarn.lock changes for upgrade 2019-12-12 14:38:12 -07:00
Travis Ralston a5dadda63b Convert SdkConfig to TypeScript as a proof of concept 2019-12-12 14:37:32 -07:00
Travis Ralston 97af0403e5 Upgrade to babel@7 and support typescript
This breaks the tests
2019-12-12 14:37:14 -07:00
Travis Ralston c02beb9ba3 Copy typescript configs from js-sdk 2019-12-12 14:35:28 -07:00
Travis Ralston 25f5cca8a9 Remove unused jenkins.sh 2019-12-12 14:35:15 -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 afac8827ca
Merge pull request #3721 from matrix-org/jryans/sign-in-to-session
Replace sign-ins with sessions
2019-12-12 17:03:10 +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