Commit graph

97 commits

Author SHA1 Message Date
Dawid Tarasiuk
dd4022dcd7 use Apollo useMutation instead of custom hook 2020-07-27 12:17:38 +02:00
Dawid Tarasiuk
9b97e3279b Use useAuth hook 2020-07-27 12:17:37 +02:00
Dawid Tarasiuk
03a2fff2a5 Refactor AuthProvider 2020-07-27 12:16:14 +02:00
Dawid Tarasiuk
b633e2f470 Create mutation hooks for auth provider 2020-07-27 12:16:13 +02:00
Krzysztof Wolski
c778c200ed
Move from test cafe to Cypress (#584)
* Typo

* Add cypress config

* Login and logout tests

* Typo

* Add basic test for warehouse

* Wrong password test

* Fixes and docs

* Remove testcafe

* Add gh action

* Update changelog

* Fix typo

* Update msgs

* Work on GH action

* Record artifacts

* Fix warehouse test
2020-07-20 11:42:44 +02:00
dominik-zeglen
eddec1a5c2 Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
Krzysztof Wolski
f4d570c7e5
Fix warnings and better test tag (#582)
* Resolve test warnings

* Tename data-tc to data-test

* Update src/orders/components/OrderFulfillPage/OrderFulfillPage.tsx
2020-07-02 12:59:09 +02:00
dominik-zeglen
7e11db8c52 Fix refresh token 2020-07-01 13:11:08 +02:00
Krzysztof Wolski
375762a144 Conditional demo mode 2020-05-26 02:01:27 +02:00
dominik-zeglen
b673c12eea Let user know that he's in demo 2020-05-26 01:46:34 +02:00
dominik-zeglen
47bd37e6ad Add default credentials 2020-05-26 01:45:51 +02:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters (#519)
* Add circleci config

* Season linting config

* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
a5e72c456e Handle session expiration 2020-05-07 13:48:15 +02:00
Krzysztof Wolski
082a12e0b8
Permission groups section (#406)
* Add permission groups 👪
2020-04-23 17:43:08 +02:00
dominik-zeglen
1ede1a33b1 Update types 2020-04-20 13:11:07 +02:00
Gabriel L Martinez
3ee7ce5777 Pass the errors directly to NewPasswordPage component 2020-04-07 10:00:17 -04:00
Gabriel L Martinez
06e78acbf6 Adding storyshot for password too short error 2020-04-07 09:29:31 -04:00
Gabriel L Martinez
e8375d6627 Display validation errors on NewPassword page 2020-04-06 20:18:14 -04:00
dominik-zeglen
93ba9378ef Update types 2020-03-24 13:54:08 +01:00
dominik-zeglen
4c27d69229 Fix form errors 2020-03-03 14:33:35 +01:00
dominik-zeglen
537f4a80d5 Simplify code 2020-02-13 16:32:55 +01:00
dominik-zeglen
1812d6752d Handle invalid token error 2020-02-11 17:36:53 +01:00
dominik-zeglen
f3ef7455ab Do not render password change if authenticating 2020-01-20 16:42:23 +01:00
dominik-zeglen
421da92cb3 Use eslint instead of tslint 2019-12-02 16:33:58 +01:00
dominik-zeglen
b12f3c35fa Add app state 2019-11-14 15:10:52 +01:00
dominik-zeglen
15f9535ca6 Update messages 2019-11-07 14:42:05 +01:00
dominik-zeglen
74d6794679 Update @material-ui to v4 2019-11-07 14:29:07 +01:00
dominik-zeglen
d84ba84e91 Update @material-ui 2019-11-07 14:22:40 +01:00
dominik-zeglen
33e956ea57 Use FC instead of deprecated StatelessComponent 2019-11-07 12:34:54 +01:00
dominik-zeglen
4110006e22 Fix login error 2019-10-25 14:41:04 +02:00
dominik-zeglen
4da2d84926 Add error boundary 2019-10-21 13:44:13 +02:00
dominik-zeglen
4e2ae6ad2b Wrap code into if supported check 2019-09-16 15:42:28 +02:00
dominik-zeglen
6d6312248d Add a thin layer of abstraction 2019-09-16 15:42:28 +02:00
Patryk Zawadzki
ae4d3e81ba Implement the Credential Management API
Fixes #156
2019-09-16 15:42:28 +02:00
dominik-zeglen
a618a91a62 Disable autofocus from second field 2019-09-06 15:52:48 +02:00
dominik-zeglen
7cf9055889 Fix redirectUrl if mounted at root 2019-09-06 15:52:48 +02:00
dominik-zeglen
56bdf33c91 Fix stories 2019-09-06 15:52:48 +02:00
dominik-zeglen
92788a2d96 Fix story 2019-09-06 15:50:46 +02:00
dominik-zeglen
2cb559b537 Make password reset work 2019-09-06 15:50:46 +02:00
dominik-zeglen
48ca3b9e15 wip 2019-09-06 15:50:46 +02:00
dominik-zeglen
b582a7f51a Add password reset flow components 2019-09-06 15:50:46 +02:00
dominik-zeglen
70b8524239 Add reset password page 2019-09-06 15:50:46 +02:00
dominik-zeglen
faaaea773a Clean any trace of i18next 2019-08-29 14:43:00 +02:00
dominik-zeglen
6eb3e6d2dd Add tc tags for e2e tests 2019-08-27 15:29:00 +02:00
dominik-zeglen
bd211a6720 Update from saleor/master 2019-08-09 13:14:35 +02:00
dominik-zeglen
0c53e9883a Do not use asterisk imports 2019-08-09 12:26:22 +02:00
dominik-zeglen
5d959e6d6e Initial commit 2019-06-19 16:40:52 +02:00