Dawid Tarasiuk
db4fc1d8c5
Fix failing login in Firefox browser ( #970 )
...
The bug was introduced in OAuth2 implementation (1645e2fd
), where the tokenAuthLoading flag from AuthProvider was not used and it did not blocked UI in loading state.
2021-02-03 09:22:04 +01:00
Dawid Tarasiuk
1645e2fdab
Implement Oauth2 flow with OpenID
2021-01-28 14:11:00 +01:00
Jakub Majorek
383055a2de
SALEOR-2064 Add generic error tracker with Sentry adapter ( #956 )
...
* Add generic error tracker with Sentry extension
* Add Sentry webpack plugin
* Update variable names and README
* Update deploy-staging template
* Update changelog
2021-01-22 15:05:26 +01:00
Jakub Majorek
18f09812a8
Saleor 2067 - Guard against non-staff users logging in ( #947 )
...
* Guard against non-staff users logging in
* Scope channel permissions
* Update changelog
* Update tests
2021-01-18 12:19:04 +01:00
Krzysztof Wolski
6762e7bf3f
[chore] Update dependencies, fix warnings during tests ( #845 )
...
* Fix attr name typo
* Use proper string serialization
* Use proper image URL
* Remove unused draft component
* Fix classname for invoice card
* Update deps
* Remove unused testcafe
* Resolve issue with missing intl in one of the stories, bump intl package version
* Update packages
* Update commit hooks
* Bump ts to last pre4.0 version
* Center metadata image
* Unused property
* Bump enzyme
* Revert
* Fix logo on login screen
* Fix console errors on entering translations pages
* Fix styles for invoice card
2020-11-27 17:32:12 +01:00
dominik-zeglen
7849ebf3f9
Fix Value PermissionDenied not found in enum
2020-08-18 17:20:06 +02:00
dominik-zeglen
4ffbcd069d
Do not match requests by url and headers
2020-07-29 15:10:39 +02:00
dominik-zeglen
dd6f261f78
Remove duplicated functtion
2020-07-27 12:23:49 +02:00
dominik-zeglen
377147f5a1
Apply review changes
2020-07-27 12:23:48 +02:00
dominik-zeglen
d23202bf00
Handle token refreshing
2020-07-27 12:23:47 +02:00
dominik-zeglen
2823dee161
Fix logging out if token has expired
2020-07-27 12:23:45 +02:00
dominik-zeglen
987315edb2
Fix endless loading screen
2020-07-27 12:23:44 +02:00
Dominik Żegleń
7be748eed7
Apply suggestions from code review
...
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-07-27 12:23:43 +02:00
dominik-zeglen
41e60b6418
Add tests to auth
2020-07-27 12:23:42 +02:00
dominik-zeglen
b5029deca0
wip
2020-07-27 12:21:25 +02:00
dominik-zeglen
24f4aecd97
Separate hook from component
2020-07-27 12:17:41 +02:00
dominik-zeglen
816e21e4b7
Fail if user errors
2020-07-27 12:17:41 +02:00
dominik-zeglen
4de1a6682c
Fix logout
2020-07-27 12:17:39 +02:00
Dawid Tarasiuk
d203a26bde
Update auth provider
2020-07-27 12:17:39 +02:00
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