Commit graph

2882 commits

Author SHA1 Message Date
Vesa Luusua
116df03f14 EditListingPoliciesForm 2018-01-23 16:51:28 +02:00
Vesa Luusua
effae8fb25
Merge pull request #664 from sharetribe/mobile-wizard-tabs-srollable
EditListingWizard: tabs should be srollable when their layout is horizontal
2018-01-23 16:47:48 +02:00
Vesa Luusua
3b8c698959 EditListingWizard: smooth scroll to visible tab on mobile 2018-01-23 16:35:12 +02:00
Vesa Luusua
2b10b1544f Tabs can have ids 2018-01-23 13:50:48 +02:00
Kimmo Puputti
5cc126b348
Merge pull request #662 from sharetribe/remove-address-attr-usage
Stop using address attribute
2018-01-22 16:10:46 +02:00
Kimmo Puputti
97308e5029 Format JS 2018-01-22 16:03:59 +02:00
Kimmo Puputti
44ac0d7a82 Remove wizard example to fix weird redirect based on missing data 2018-01-22 15:55:25 +02:00
Kimmo Puputti
7fc3f2847b Stop using address attribute 2018-01-22 15:43:43 +02:00
Kimmo Puputti
4b8c6a1cbd
Merge pull request #661 from sharetribe/address-to-public-data
Use extended data for listing address
2018-01-22 14:51:35 +02:00
Kimmo Puputti
059a161872 Use publicData attribute for custom metadata
- Store location in publicData
- Read location from publicData
- Store category to publicData
2018-01-22 13:47:10 +02:00
Kimmo Puputti
2b94a8a721 Make publicData attribute required 2018-01-22 13:45:54 +02:00
Hannu Lyytikäinen
24390c3b8d
Merge pull request #660 from sharetribe/multi-select-component
Field component for multiple checkboxes
2018-01-22 11:48:12 +02:00
Hannu Lyytikainen
f073ae773c Change FieldGroupCheckbox name param to id
Change name param to id and improve the way ids are constructed for
FieldCheckbox components.
2018-01-22 11:41:26 +02:00
Hannu Lyytikainen
23001ec9ab Rename FieldSetCheckbox to FieldGroupCheckbox 2018-01-22 11:28:50 +02:00
Hannu Lyytikainen
294b67b181 Extract the checkbox svg into a separate component
However, the icon component is not exposed to be used elsewhere as it is
so tightly coupled to the input and label tags in the css.
2018-01-22 11:15:10 +02:00
Hannu Lyytikainen
0d32e60ae6 Highlight checkbox text on focus 2018-01-22 11:14:41 +02:00
Hannu Lyytikainen
6bf7c85528 Remove unused prop 2018-01-22 11:02:26 +02:00
Kimmo Puputti
cfa119b1d3
Merge pull request #658 from sharetribe/improve-api-data-handling
Improve API response data handling
2018-01-22 10:07:41 +02:00
Hannu Lyytikainen
eaa199305c Add FieldSetCheckbox component 2018-01-19 16:55:54 +02:00
Hannu Lyytikainen
4358a016bd Add FieldCheckbox component 2018-01-19 16:55:54 +02:00
Vesa Luusua
42e042c66f
Merge pull request #659 from sharetribe/fix-contact-modal
Bug fix for modal opening for unauthenticated user
2018-01-19 16:11:03 +02:00
Vesa Luusua
0b6f83e6cd Bug fix for modal opening for unauthenticated user 2018-01-19 16:02:44 +02:00
Kimmo Puputti
abb2d16def Improve data denormalisation
- Use resource refs (id, type) instead of separate type and ids
- Throw an error only when it makes sense
2018-01-19 15:30:12 +02:00
Kimmo Puputti
ed2319e781 Add helper to get denormalised entities from an SDK response 2018-01-19 15:30:12 +02:00
Kimmo Puputti
9a64952105 Separate sdkResponse and apiResponse in naming 2018-01-19 11:16:14 +02:00
Vesa Luusua
76a5f7af44
Merge pull request #657 from sharetribe/thumbnaillinks-params-prop
NamedLink props in SectionThumbnailLinks should accept params prop
2018-01-18 16:35:59 +02:00
Mikko Koski
5051eaf43a Add createOwnListing test data helper, and start using it.
Fixes propType warnings in tests
2018-01-18 16:33:55 +02:00
Vesa Luusua
e9d8b1811e NamedLink props in SectionThumbnailLinks should accept params prop 2018-01-18 16:29:18 +02:00
Mikko Koski
6131235534
Merge pull request #651 from sharetribe/api-endpoint-update
Api endpoint update
2018-01-18 15:23:19 +02:00
Kimmo Puputti
828df9ae8e
Merge pull request #656 from sharetribe/add-sentry-to-csp-whitelist
If enabled, add Sentry API to the CSP whitelist
2018-01-18 14:49:50 +02:00
Kimmo Puputti
fe73399d4b If enabled, add Sentry API to the CSP whitelist 2018-01-18 14:42:24 +02:00
Kimmo Puputti
57d504d18a
Merge pull request #652 from sharetribe/csp-policy
Content Security Policy (CSP)
2018-01-18 14:18:28 +02:00
Kimmo Puputti
510b2d7303 Add CSP docs 2018-01-18 14:08:48 +02:00
Kimmo Puputti
4552a9cf29 Add Content Security Policy (CSP) middleware 2018-01-18 14:08:27 +02:00
Kimmo Puputti
37cd1fdb4c Use https placeholder images 2018-01-18 14:08:27 +02:00
Kimmo Puputti
4fb2a4ce95 Update image placeholder URLs 2018-01-18 14:08:27 +02:00
Kimmo Puputti
ca510877b6 Log code and data as well 2018-01-18 14:08:27 +02:00
Kimmo Puputti
9f25c42f8c Add body-parser middleware 2018-01-18 14:08:27 +02:00
Kimmo Puputti
4f4f460863
Merge pull request #655 from sharetribe/google-maps-api-key
Make Google Maps API key configurable
2018-01-18 14:03:00 +02:00
Kimmo Puputti
46c7e34d27 Document adding a Google Maps API key 2018-01-18 13:36:27 +02:00
Kimmo Puputti
db4023e9be Read Google Maps API key from the environment 2018-01-18 13:21:50 +02:00
Mikko Koski
c8994c11ed Review: Use generic getMarketplaceEntities instead 2018-01-18 12:58:33 +02:00
Kimmo Puputti
5081d91e13
Merge pull request #654 from sharetribe/fix-feed-translations
Fix activity feed translations
2018-01-18 12:38:49 +02:00
Kimmo Puputti
0e6b44244a Fix activity feed translations
- Add missing displayName
- Rename autoDecline to expire to align with the new transition names
- Sort translations file
2018-01-18 12:24:26 +02:00
Janne Koivistoinen
1ff644960d
Merge pull request #653 from sharetribe/filters-dr
filter dr done
2018-01-18 11:26:33 +02:00
Boyan Tabakov
e2813fb346 Update to use current API endpoints for own listings 2018-01-18 10:05:20 +02:00
Boyan Tabakov
de47b54462 Fix implementation for finding whether user has any listings
Previously, closed listings wouldn't be returned by the query.
2018-01-18 10:05:20 +02:00
Boyan Tabakov
f0f2d8832c Update SDK to latest version 2018-01-18 10:05:19 +02:00
Janne Koivistoinen
3d1e9f0b96 filter dr done 2018-01-18 00:58:28 +02:00
Vesa Luusua
b8071ef906
Merge pull request #650 from sharetribe/sectionthumbnaillinks
SectionThumbnailLinks
2018-01-17 16:12:43 +02:00