Commit graph

134 commits

Author SHA1 Message Date
Vesa Luusua
f29854a4d8 user.duck uses storableError 2017-10-18 18:13:09 +03:00
Vesa Luusua
171c86d6eb EmailVerification.duck uses storableError 2017-10-18 18:13:09 +03:00
Vesa Luusua
13df1c3abb Auth.duck uses storableError 2017-10-18 18:13:09 +03:00
Kimmo Puputti
90ab9c9a69 Format with latest Prettier 2017-10-13 10:11:51 +03:00
Hannu Lyytikainen
2eea847df9 Disable logging for signup test 2017-10-04 14:40:21 +03:00
Hannu Lyytikainen
e1a820fa18 Add more extra data to log requests 2017-10-04 14:04:12 +03:00
Hannu Lyytikainen
b35658accb Remove log.duck.js 2017-10-04 13:17:43 +03:00
Hannu Lyytikainen
2cfd3deaa1 Move clearUserId to Auth.duck.js
Clear user ID from the logger in logout thunk instead of the Topbar.

Also call dispatch logging function also as the last action of a thunk
function where possible.
2017-10-04 13:17:43 +03:00
Hannu Lyytikainen
de5ec59119 Add error codes
An error code can be passed to logger. This code gets added to the
Sentry error report as a tag and can be used to search this specific
error.
2017-10-04 13:17:43 +03:00
Hannu Lyytikainen
e5a62a24ef Improve logging 2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
3a4e420ea4 Add log.duck.js to ducks index.js file
Also remove unused parameter from logError thunk function.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
3c4f20f2ad Add log.duck.js
Logging requests from duck files can now be dispatched to a logging
thunk action that does not interrupt the application.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
8520edd1d2 Fix logging errors
Fix cases where wrong (kind of) data is passed to the logger.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
796bf17c93 Add user id to logger 2017-10-04 13:16:28 +03:00
Kimmo Puputti
ba3b61ac29 Try to keep auth info up to date when fetching current user 2017-10-04 11:36:02 +03:00
Kimmo Puputti
2de579c325 Fetch notifications based on last transition
As the transaction state was removed from the API, also filtering by
state was removed. This changes the tx query to use the new API param
for filtering by last transition to get the notification count for the
user.
2017-10-02 16:22:51 +03:00
Kimmo Puputti
d9996c9084 Use the current state filtering until API is changed 2017-10-02 16:05:06 +03:00
Kimmo Puputti
0c7b8ca355 Use transaction lastTransition instead of state 2017-10-02 15:50:38 +03:00
Kimmo Puputti
1814a0d960 Add proper inProgress and ready states for listing creation 2017-09-21 16:35:44 +03:00
Vesa Luusua
cda5042d28 PayoutDetailsForm can handle generic error 2017-09-20 14:08:55 +03:00
Vesa Luusua
e121f0c3ae Fix mutated initial state 2017-09-15 15:03:54 +03:00
Vesa Luusua
b76cbadca3 Clear store after logout 2017-09-15 15:03:53 +03:00
Vesa Luusua
9a8642b752 Change comments from current user fetches since profileImage wasn't added to attributes 2017-09-14 22:03:50 +03:00
Vesa Luusua
9acae53053 Topbar shows nagging verify-email modal after every page change 2017-09-14 12:52:40 +03:00
Kimmo Puputti
d71bf1b0aa Move verification email sending to user duck 2017-09-13 12:57:49 +03:00
Vesa Luusua
d4310d4a0f Include profileImage and denormalize it 2017-09-08 01:29:34 +03:00
Boyan Tabakov
c13c5598b2 Update tests 2017-08-10 14:21:38 +03:00
Boyan Tabakov
e4d5033a3a Update Core API calls to follow latest API hierarchy 2017-08-09 14:08:39 +03:00
Mikko Koski
110b7b28c0 Review comments fixed 2017-08-08 10:00:18 +03:00
Mikko Koski
7b5d5d5fab Email verification page 2017-08-07 16:04:46 +03:00
Vesa Luusua
e4ff07773c Notifications fetched again after accept and reject 2017-07-13 15:56:49 +03:00
Vesa Luusua
33c4b938d2 Fetch notifications (pending accept-actions on provider side only) 2017-07-10 19:02:06 +03:00
Vesa Luusua
e35eda5c71 UI related states: manage disable scrolling 2017-07-04 21:26:29 +03:00
Vesa Luusua
64303b37e7 Fetch in progress handling for payout form 2017-05-16 13:22:36 +03:00
Kimmo Puputti
05bd75d26b Take payout details as a generic object 2017-05-15 16:49:48 +03:00
Vesa Luusua
9ea6dc42e9 bug fix: not exported even though called. 2017-05-12 16:09:14 +03:00
Kimmo Puputti
841c00a4aa Keep currentUserHasListings in sync
- Update when current user is fetched
 - Update when a new listing is created
2017-05-09 10:08:48 +03:00
Kimmo Puputti
02a478f76d Move fetchCurrentUserHasListings to the user duck 2017-05-09 09:35:26 +03:00
Kimmo Puputti
5676103177 Add signup to Auth duck 2017-05-05 09:42:20 +03:00
Vesa Luusua
a77bc3a2b7 createStripeAccount API call changed 2017-05-04 16:59:22 +03:00
Kimmo Puputti
1f25e63d60 getMarketplaceEntities selector: full Redux store state as param 2017-05-02 12:46:18 +03:00
Kimmo Puputti
d42957de2a Rename getEntities to getMarketplaceEntities 2017-05-02 12:43:12 +03:00
Kimmo Puputti
58ce53c0d9 getListingsById selector: take full Redux store state as parameter 2017-05-02 12:42:14 +03:00
Kimmo Puputti
6f3d8efb0d Rename addEntities to addMarketplaceEntities 2017-05-02 11:39:57 +03:00
Kimmo Puputti
6354600d34 User generic addEntities action to add entities to the global store 2017-05-02 11:35:10 +03:00
Kimmo Puputti
e2955bfa13 Remove redux-saga and all unused actions in marketplaceData.duck 2017-05-02 11:27:50 +03:00
Kimmo Puputti
20f263a7d7 Rename data to marketplaceData in Redux store 2017-05-02 11:09:10 +03:00
Kimmo Puputti
d64744588c Rename sdk.duck.js file to marketplaceData.duck.js 2017-05-02 10:43:31 +03:00
Kimmo Puputti
0747fc170a Fetch current user on app init instead of in various loadData fns 2017-04-28 14:17:06 +03:00
Kimmo Puputti
2bb3a6e63e Fix current user fetch order after login
fetchCurrentUser relies on the values that loginSuccess changes in the
store, and should therefore be done after login
2017-04-28 14:14:54 +03:00