Commit graph

1995 commits

Author SHA1 Message Date
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
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
Vesa Luusua
294e107c4f Read error page before request logic. 2017-10-04 11:27:23 +03:00
Vesa Luusua
992defa6c6 500.html added 2017-10-04 11:27:22 +03:00
Kimmo Puputti
812ee891ea Merge pull request #457 from sharetribe/notfound-page
404 not found page content and styles
2017-10-04 09:53:30 +03:00
Kimmo Puputti
c7238e9a50 Change flex to flex-grow to be more explicit 2017-10-03 15:38:56 +03:00
Janne Koivistoinen
6ff38219f6 Merge pull request #456 from sharetribe/fix-svg-animation
firefox fix for the svg spinner
2017-10-03 15:07:14 +03:00
Kimmo Puputti
e86f04fc92 Add NotFoundPage content and styling 2017-10-03 15:06:23 +03:00
Kimmo Puputti
dcb8396af4 Add modal title styles 2017-10-03 14:57:59 +03:00
Kimmo Puputti
5dc0658ee5 Fix component name in translation key 2017-10-03 14:57:34 +03:00
Janne Koivistoinen
6da8149b67 firefox fix for the svg spinner 2017-10-03 14:09:45 +03:00
Kimmo Puputti
7b0db4e35f Merge pull request #455 from sharetribe/validate-email-addresses
Validate email addresses
2017-10-03 12:44:46 +03:00
Vesa Luusua
3eaf7a9e4d Merge pull request #453 from sharetribe/server-dataload-failed
If dataload has errors on server side, return empty store
2017-10-03 12:37:13 +03:00