Commit graph

734 commits

Author SHA1 Message Date
Mikko Koski
ec9d28ab07 Add ENFORCE_SSL config. Redirect to HTTPS if true. 2017-05-15 16:51:39 +03:00
Kimmo Puputti
f828e83aa2 Merge pull request #154 from sharetribe/payout-details
PayoutDetailsForm
2017-05-15 10:00:17 +03:00
Kimmo Puputti
0fdce2b0fd Implement PayoutDetailsForm 2017-05-15 09:52:20 +03:00
Kimmo Puputti
ee1cdd859c Change StripeBankAccountToken styles
- Display routing number and account number on top of each other
 - Use ValidationError to show error messages
2017-05-15 09:52:20 +03:00
Kimmo Puputti
f6a1aa3331 Add support for clearing enhanced input value when it unmounts
With forms that hide/show fields based on some other field
value, we don't want to leave the old input values to the form data if
the field is not shown.
2017-05-15 09:52:20 +03:00
Kimmo Puputti
f599e0f299 Change Stripe country config format 2017-05-15 09:47:18 +03:00
Kimmo Puputti
f234a4c3fd Remove countries not in EU (except US and AU) 2017-05-15 09:47:18 +03:00
Kimmo Puputti
dde84cb3be Use Select component in BirthdayInput 2017-05-15 09:47:18 +03:00
Kimmo Puputti
34b6873e18 Add Select component 2017-05-15 09:47:18 +03:00
Vesa Luusua
e763d8a897 Merge pull request #158 from sharetribe/autofocus-wizard-inputs
Add autoFocus to wizard input fields
2017-05-12 17:18:21 +03:00
Vesa Luusua
aa538a2eae Add autoFocus to wizard input fields 2017-05-12 17:10:30 +03:00
Vesa Luusua
e418bb1590 Merge pull request #157 from sharetribe/pricing-tab-restyled
Per night added to pricing and title removed.
2017-05-12 17:01:57 +03:00
Vesa Luusua
4e1326caed Per night added to pricing and title removed. 2017-05-12 16:51:26 +03:00
Vesa Luusua
751aceb819 Merge pull request #156 from sharetribe/add-photos-restyled
Add photos restyled
2017-05-12 16:41:31 +03:00
Vesa Luusua
abd11255d0 File input is taking thumbnail's form factor in current MVP design 2017-05-12 16:37:10 +03:00
Vesa Luusua
587a06e3af Thumbnails are taking full width and 5:2 aspect ratio on mobile 2017-05-12 16:37:09 +03:00
Vesa Luusua
843ad2cf0b Merge pull request #151 from sharetribe/editlistingwizard-empty-tabs
Tabs + EditListingWizard + splitted EditListingForm
2017-05-12 16:21:30 +03:00
Vesa Luusua
de487d9cff Use splitted edit-listing-form in wizard and pass needed functions from EditListingPage 2017-05-12 16:15:41 +03:00
Vesa Luusua
73d98b5689 EditListingPhotosPanel and form within 2017-05-12 16:09:32 +03:00
Vesa Luusua
dcfac16948 EditListingPricingPanel and form within 2017-05-12 16:09:26 +03:00
Vesa Luusua
d14fcef98f EditListingLocationPanel and form within 2017-05-12 16:09:20 +03:00
Vesa Luusua
c3a5036497 EditListingDescriptionPanel and form within 2017-05-12 16:09:14 +03:00
Vesa Luusua
5561a42568 Remove EditListingForm 2017-05-12 16:09:14 +03:00
Vesa Luusua
9ea6dc42e9 bug fix: not exported even though called. 2017-05-12 16:09:14 +03:00
Vesa Luusua
de2670fe70 EditListingPage uses EditListingWizard (no forms yet) 2017-05-12 16:09:14 +03:00
Vesa Luusua
5cf36aaef0 EditListingWizard 2017-05-12 16:09:07 +03:00
Vesa Luusua
c5c4ce94d8 Tabs component and refactoring TabNavs styling 2017-05-12 16:04:42 +03:00
Mikko Koski
8ba20bef5d Merge pull request #160 from sharetribe/configurable-currency
Make marketplace currency configurable
2017-05-12 15:21:11 +03:00
Mikko Koski
2e98414b40 Make marketplace currency configurable 2017-05-12 15:18:04 +03:00
Kimmo Puputti
c9de403b1b Merge pull request #159 from sharetribe/hide-empty-inbox-pagination
Hide pagination links when no transactions are found
2017-05-12 14:53:49 +03:00
Kimmo Puputti
89121b47b1 Hide pagination links when no transactions are found 2017-05-12 12:54:24 +03:00
Kimmo Puputti
1a80ca3ebc Merge pull request #153 from sharetribe/birthday-input-component
BirtdayInput component
2017-05-11 14:07:27 +03:00
Kimmo Puputti
830f06922f BirtdayInput component 2017-05-11 13:59:57 +03:00
Kimmo Puputti
3d3e4e5cc9 Merge pull request #155 from sharetribe/fix-inbox-links
Revert back to inbox tab as path param
2017-05-11 10:30:12 +03:00
Kimmo Puputti
afdf009af3 Revert back to inbox tab as path param
Inbox links were broken, and could not simply be fixed by editing the
links. The loadData function needs to know the tab as well, and
currently it doesn't have the information if the tab isn't in the path
params.
2017-05-11 10:22:58 +03:00
Kimmo Puputti
389e376abf Merge pull request #152 from sharetribe/topbar-inbox-link
Inbox links
2017-05-09 15:07:11 +03:00
Kimmo Puputti
3e59adfc9a Avoid extra request and set hasListings flag directly 2017-05-09 15:02:54 +03:00
Kimmo Puputti
a9e8ecf052 Make inbox tab names configurable in routesConfiguration 2017-05-09 10:26:16 +03:00
Kimmo Puputti
4337493cad Link to sales/orders in Topbar modal based on users listings
If the current user has created listings, always link to sales,
otherwise to orders.
2017-05-09 10:17:32 +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
d087a3e1fa Remove currentUserHasListings call from Inbox duck 2017-05-09 09:32:12 +03:00
Vesa Luusua
f7d090c350 Merge pull request #147 from sharetribe/fix-showing-old-tx-data
path params vs state are out of sync on OrderPage and SalePage
2017-05-08 16:04:59 +03:00
Vesa Luusua
809ebdb4ab path params vs state are out of sync on OrderPage and SalePage 2017-05-08 15:34:47 +03:00
Kimmo Puputti
3d1707d1f6 Merge pull request #149 from sharetribe/tabnav-component
TabNav component
2017-05-08 15:21:25 +03:00
Kimmo Puputti
7e5ba1fde5 Merge pull request #150 from sharetribe/default-form-name
Change reduxForm call `form` argument name
2017-05-08 15:10:00 +03:00
Kimmo Puputti
b9943f1b53 Change reduxForm call form argument name
- Since the form name can be overriden with component props, the
   initial name is just a default, this changes the var name to
   communicate that

Note: The names of the forms with selectors cannot be changed,
otherwise the selector doesn't find the correct data from the Redux
store with the initial form name.
2017-05-08 14:59:09 +03:00
Kimmo Puputti
8f797ce74d Merge pull request #148 from sharetribe/current-search-in-modal-input
Current search in modal input
2017-05-08 14:50:13 +03:00
Kimmo Puputti
612414436c Show current location search in the search input 2017-05-08 14:46:12 +03:00
Kimmo Puputti
3a437c6de1 Fix URL parsing with commas
The helper function tries to parse a float number from a URL param,
ignoring the trailing chars. If an SDK type was in the param and the
parsing option was not given, the part after the comma was dropped,
loosing information.

The fix only parses numbers if the whole param is numeric.
2017-05-08 14:46:12 +03:00