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
Vesa Luusua
28b08265b2
If dataload has errors on server side, return empty store
2017-10-03 12:25:05 +03:00
Vesa Luusua
12e0531d25
Merge pull request #454 from sharetribe/orderdetails-correct-imagewrappers
...
Orderdetails correct imagewrappers
2017-10-03 12:24:30 +03:00
Vesa Luusua
f9b50617e0
Update tests
2017-10-03 12:16:30 +03:00
Vesa Luusua
59d0f718cf
SaleDetailsPage needed correct imageWrappers (and aspect wrappers)
2017-10-03 12:14:59 +03:00
Vesa Luusua
de7d822a2e
OrderDetailsPage needed correct imageWrappers (and aspect wrappers)
2017-10-03 12:14:59 +03:00
Vesa Luusua
e7adefbd8d
Merge pull request #452 from sharetribe/server-rendering-status-improvements
...
Send 200 or 401 from server side on auth=true pages
2017-10-03 12:14:24 +03:00
Kimmo Puputti
e544ea8692
Validate email address format in email inputs
2017-10-03 11:28:32 +03:00
Kimmo Puputti
a897c71afd
Add validator for email address format
2017-10-03 11:26:59 +03:00
Vesa Luusua
91251bd26c
Send 200 or 401 from server side on auth=true pages
2017-10-02 17:19:11 +03:00
Kimmo Puputti
de629316d4
Merge pull request #451 from sharetribe/tx-filter-sales-by-last-transition
...
Fetch notifications based on last transition
2017-10-02 16:28:35 +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
3757177d17
Merge pull request #444 from sharetribe/tx-state-to-last-transition
...
Use transaction lastTransition instead of state
2017-10-02 16:13:45 +03:00
Kimmo Puputti
d9996c9084
Use the current state filtering until API is changed
2017-10-02 16:05:06 +03:00
Kimmo Puputti
da7f2e686d
Use ensureTransaction instead of something similar manual
2017-10-02 16:04:43 +03:00
Kimmo Puputti
df9bd83e80
Use tx state helpers in Inbox
2017-10-02 15:50:38 +03:00
Kimmo Puputti
449d47b199
Rebase to changed listing shape
2017-10-02 15:50:38 +03:00