Commit graph

2006 commits

Author SHA1 Message Date
Vesa Luusua
0ebd799c56 update sdk reference 2017-10-05 12:57:48 +03:00
Kimmo Puputti
1bf851ce89 Merge pull request #463 from sharetribe/fix-ssr-form-submit
Fix form data submitting as GET when client side is not mounted
2017-10-05 12:46:57 +03:00
Vesa Luusua
082122856a Merge pull request #465 from sharetribe/prettier-run-missed
Prettier run was forgotten in previous PR
2017-10-05 12:37:42 +03:00
Vesa Luusua
7518750328 Prettier run was forgotten in previous PR 2017-10-05 12:37:02 +03:00
Vesa Luusua
97ea57f323 Merge pull request #462 from sharetribe/canceled-state
Canceled state
2017-10-05 11:08:57 +03:00
Vesa Luusua
067947d1e2 Tests for cancel state in Order and Sale details 2017-10-05 10:35:45 +03:00
Kimmo Puputti
4a3983f77e Use Form instead of form 2017-10-05 10:31:41 +03:00
Kimmo Puputti
9064edac2a Remove old unused form 2017-10-05 10:31:29 +03:00
Kimmo Puputti
cfae14105e Add Form component to wrap forms with some default props 2017-10-04 16:19:02 +03:00
Kimmo Puputti
1bf7cc9963 Disable Buttons until component is mounted 2017-10-04 16:18:25 +03:00
Vesa Luusua
03097132d6 txIsCanceled checked and rendered correctly on BookingBreakdown 2017-10-04 15:41:46 +03:00
Vesa Luusua
1f7e7b7985 txIsCanceled checked and rendered correctly on SaleDetailsPanel 2017-10-04 15:19:26 +03:00
Vesa Luusua
687754ba1d txIsCanceled checked and rendered correctly on OrderDetailsPanel 2017-10-04 15:19:15 +03:00
Vesa Luusua
d329afffd7 txIsCanceled checked and rendered correctly on InboxPage 2017-10-04 15:18:46 +03:00
Vesa Luusua
055d58568c txIsCanceled check for transaction state 2017-10-04 15:17:29 +03:00
Kimmo Puputti
5da52521e1 Merge pull request #461 from sharetribe/add-info-about-too-low-tx-amount
Show specific error text when tx amount is too low
2017-10-04 15:05:06 +03:00
Kimmo Puputti
5fb5ce42ee Remove unneeded translation param 2017-10-04 14:59:42 +03:00
Kimmo Puputti
67acea907b Show a specific error when the tx amount is too low 2017-10-04 14:51:01 +03:00
Kimmo Puputti
b74ffebb3e Fix null handling 2017-10-04 14:50:41 +03:00
Hannu Lyytikäinen
2685d616a8 Merge pull request #428 from sharetribe/sentry
Sentry integration
2017-10-04 14:46:11 +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
6b771153f3 Add documentation about using Sentry 2017-10-04 13:17:43 +03:00
Hannu Lyytikainen
65e9889656 Log failed server-side data loading 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
e35628660c Change the way util/log.js is imported
Always import the whole module when using util/log.js.
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
9977e9a5a3 Remove transition keys
Instead use the common ones from util/propTypes.js.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
9c286cceec Remove image read error logging
Instead of logging the error to Sentry print it to console.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
d56c17b887 Change invalid commission error logging
In case of an invalid commission, only pass the transaction id as extra
data to the logger.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
09f4fc9b9d Improve comments for Sentry client setup 2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
a75615707b Remove Sentry config from logger setup functions
The Sentry DSN key and environment are read from environment
parameters/config in the logger modules.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
f95702c313 Add error logging 2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
796bf17c93 Add user id to logger 2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
5bf9d0f072 Send errors to sentry 2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
d46e4cdfc5 Return empty request and error handlers
In case Sentry is not set up, empty request and error handler functions
are returned instead of nulls.
2017-10-04 13:15:10 +03:00
Hannu Lyytikainen
1882e25d00 Equalize logger setup in server and browser
Set up logger in the server side with the same parameters as in the
browser and clean the environment variables out of the server/log.js
file.

Code commenting improved.
2017-10-04 13:15:10 +03:00
Hannu Lyytikainen
81e945eae3 Add error logging for BookingBreakdown 2017-10-04 13:12:47 +03:00
Hannu Lyytikainen
8a595eda4e Add Sentry integration for the server 2017-10-04 13:12:47 +03:00
Hannu Lyytikainen
e37a0be42a Add Sentry integration to the browser application 2017-10-04 13:11:50 +03:00
Hannu Lyytikäinen
251e0b2beb Merge pull request #460 from sharetribe/manage-listings-title-plurality
Add plurality to manage listings title
2017-10-04 13:09:56 +03:00
Hannu Lyytikainen
8bb4f2d903 Add plurality to manage listings title 2017-10-04 12:53:55 +03:00
Vesa Luusua
321a23c07d Merge pull request #458 from sharetribe/add-500-page
500.html added
2017-10-04 12:35:23 +03:00
Kimmo Puputti
af708a4fae Merge pull request #459 from sharetribe/fix-weird-auth-state
Try to keep auth info up to date when fetching current user
2017-10-04 12:34:59 +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