Travis Ralston
35c9dce241
Fix browser navigation not working between /home, /login, /register, etc
...
All of the anchors were pointed at `#` which, when clicked, would trigger a hash change in the browser. This change races the change made by the screen handling where the screen handling ends up losing. Because the hash is then tracked as empty rather than `#/login` (for example), the state machine considers future changes as no-ops and doesn't do anything with them.
By using `preventDefault` and `stopPropagation` on the anchor click events, we prevent the browser from automatically going to an empty hash, which then means the screen handling isn't racing the browser, and the hash change state machine doesn't no-op.
After applying that fix, going between pages worked great unless you were going from /login to /home. This is because the MatrixChat state machine was now out of sync (a `view` of `LOGIN` but a `page` of `HomePage` - an invalid state). All we have to do here is ensure the right view is used when navigating to the homepage.
Fixes https://github.com/vector-im/riot-web/issues/4061
Note: the concerns in 4061 about logging out upon entering the view appear to have been solved. Navigating to the login page doesn't obliterate your session, at least in my testing.
2019-01-03 12:13:41 -07:00
David Baker
ad47144355
Merge pull request #2395 from matrix-org/dbkr/merge_develop_experimental
...
Merge develop into experimental
2019-01-03 18:55:56 +00:00
David Baker
982e037822
Fix merge
2019-01-03 18:05:38 +00:00
David Baker
7d161de35b
Partial merge of develop to experimental
...
Does not include #2336 as the file has been moved out from underneath it:
will do this separately
2019-01-03 15:02:58 +00:00
Szimszon
255688546c
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-01-03 11:51:57 +00:00
Kévin C
ea7b7797a7
Translated using Weblate (French)
...
Currently translated at 100.0% (1418 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-01-03 10:57:29 +00:00
Besnik Bleta
451743c459
Translated using Weblate (Albanian)
...
Currently translated at 99.2% (1408 of 1418 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-01-03 10:48:02 +00:00
Weblate
90622b58b1
Merge remote-tracking branch 'origin/develop' into develop
2019-01-03 10:27:40 +00:00
David Baker
c11d0bdf0c
Merge pull request #2394 from jryans/key-backup-unverified-creator
...
Show in-room reminder when key backup creating device unverified
2019-01-03 10:27:35 +00:00
Weblate
04b5100dcb
Merge remote-tracking branch 'origin/develop' into develop
2019-01-02 22:59:53 +00:00
Stephen Solka
0bb35944f9
replace expect.createSpy() with jest.fn()
...
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
2019-01-02 16:59:48 -06:00
Stephen Solka
c3185a4cdb
breaking changes from expect upgrade
...
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
2019-01-02 16:59:48 -06:00
Stephen Solka
22167f8538
upgrade expect to 23.6.0
...
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
2019-01-02 16:59:48 -06:00
Weblate
5c3d11dddc
Merge remote-tracking branch 'origin/develop' into develop
2019-01-02 22:35:55 +00:00
Silvano
8e9fcbefff
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-01-02 22:35:55 +00:00
Jeff Huang
1d5b3df5f1
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-01-02 22:35:54 +00:00
J. Ryan Stinnett
758e867208
Merge pull request #2389 from christopherjmedlin/consistent-flair-ordering
...
Consistent flair ordering.
2019-01-02 16:35:50 -06:00
J. Ryan Stinnett
402f58225f
Show in-room reminder when key backup creating device unverified
...
If the current device hasn't verified the device that created the account's
current key backup version, then the current device is won't use the key backup.
This change adjusts an existing in-room reminder to do the right thing for this
case by allowing the user to verify the device that created the key backup.
Fixes vector-im/riot-web#7902 .
2019-01-02 15:36:40 -06:00
J. Ryan Stinnett
00405e7f22
Use Nunito font from the server only
...
There are various versions of Nunito in circulation, and some have errors in
their metrics or smaller supported character sets. To ensure all users get the
expected experience, don't allow local copies of Nunito to be used.
Fixes vector-im/riot-web#7959 .
2018-12-31 12:26:35 -06:00
Osoitz
3f6bd1f94b
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-30 12:03:39 +00:00
Weblate
ae175910dd
Merge remote-tracking branch 'origin/develop' into develop
2018-12-29 03:01:23 +00:00
Travis Ralston
a3778dc822
Merge pull request #2387 from matrix-org/travis/fix-build
...
Fetch matching e2e-test branch
2018-12-28 20:01:18 -07:00
J. Ryan Stinnett
135a0884c9
Update scripts/fetchdep.sh
...
Co-Authored-By: turt2live <travpc@gmail.com>
2018-12-28 19:42:13 -07:00
Weblate
fb29eff011
Merge remote-tracking branch 'origin/develop' into develop
2018-12-29 02:16:13 +00:00
Karol Kosek
fbded08050
Translated using Weblate (Polish)
...
Currently translated at 92.0% (1304 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-29 02:16:13 +00:00
Szimszon
2340798fcf
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-29 02:16:12 +00:00
Osoitz
d4aab3dc81
Translated using Weblate (Basque)
...
Currently translated at 99.5% (1410 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-29 02:16:11 +00:00
Travis Ralston
1b8a8e9552
Merge pull request #2385 from matrix-org/travis/7838-logging
...
Add some logging for riot-web#7838
2018-12-28 19:16:07 -07:00
Christopher Medlin
384320e29f
Consistently order flairs based on room configuration.
2018-12-24 14:46:36 -08:00
Weblate
9d175f9a05
Merge remote-tracking branch 'origin/develop' into develop
2018-12-24 09:43:08 +00:00
Karol Kosek
09dc0f2a3a
Translated using Weblate (Polish)
...
Currently translated at 92.0% (1304 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-24 09:43:08 +00:00
Besnik Bleta
095f43c896
Translated using Weblate (Albanian)
...
Currently translated at 99.2% (1407 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-24 09:43:06 +00:00
Richard van der Hoff
3dab1b817c
Merge pull request #2384 from matrix-org/rav/well_known_in_login_response
...
Handle well-known data in the login response
2018-12-24 10:43:01 +01:00
Travis Ralston
310f634a0d
Ensure we install the master branch of the e2e tests as a default
2018-12-21 19:24:07 -07:00
Travis Ralston
df89d973a0
Fetch matching e2e-test branch
2018-12-21 18:48:27 -07:00
Travis Ralston
f5ff580e35
Add some logging for riot-web#7838
...
See https://github.com/vector-im/riot-web/issues/7838
2018-12-21 14:51:05 -07:00
Richard van der Hoff
9c781417ff
Merge remote-tracking branch 'origin/develop' into rav/well_known_in_login_response
2018-12-21 16:52:02 +00:00
random
cb7ba63494
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-12-21 14:14:03 +00:00
Slavi Pantaleev
0ea8eec304
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1417 of 1417 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-12-21 11:43:03 +00:00
Richard van der Hoff
991104d156
Handle well-known data in the login response
...
... as per [MSC1730](https://github.com/matrix-org/matrix-doc/pull/1730 ).
2018-12-21 09:51:03 +00:00
J. Ryan Stinnett
097d6fdede
Update room filter focus handling to avoid infinite loop
...
The classes on the search box input were changed without updating the focusing
loop in the room filter which used one of these classes as a boundary condition.
This led to a case that could loop forever.
Regressed by #2267 .
Fixes vector-im/riot-web#7926 .
2018-12-20 23:09:28 +00:00
J. Ryan Stinnett
7affd5fcff
Try fetching more branches for PRs
...
Attempt both the PR author's branch and the PR's target branch. This resolves
issues on experimental where we need riot-web to also be experimental.
2018-12-20 22:58:09 +00:00
Nad Chishtie
418bfbb3dc
Merge pull request #2379 from matrix-org/nadonomy/accent
...
Added colour var to all themes
2018-12-20 17:25:53 +00:00
Nad Chishtie
5723ae6040
Defined $accent-color-alt in all themes
2018-12-20 16:06:02 +00:00
J. Ryan Stinnett
95c739be11
Merge pull request #2378 from matrix-org/nadonomy/colours-and-contrast
...
Colour, contrast & legibility improvements
2018-12-20 14:22:04 +00:00
Nad Chishtie
09bf68b1bd
Improved colours.
2018-12-20 12:46:43 +00:00
Nad Chishtie
42c8d43065
Lint.
2018-12-20 11:35:58 +00:00
Nad Chishtie
9b8f07c19f
Don't override text colour of selected room in room list.
2018-12-20 11:35:43 +00:00
Nad Chishtie
d7473c4f4d
Various colour, contrast and legibility improvements.
2018-12-20 11:35:21 +00:00
Nad Chishtie
6c2d2f60cf
Polished left left panel.
2018-12-20 11:34:20 +00:00