Commit graph

61 commits

Author SHA1 Message Date
Kimmo Puputti
46a8e2bbfc Require an env var to show default searches 2018-08-24 14:16:54 +03:00
Kimmo Puputti
669e1a7edb Reorganize maps configuration 2018-08-24 14:16:54 +03:00
Hannu Lyytikäinen
920d11b5ba
Merge pull request #902 from sharetribe/availability-env-var
Availability environment variable
2018-08-17 13:11:29 +03:00
Hannu Lyytikainen
a293c144fe Put availability behind an env varaible 2018-08-16 17:45:23 +03:00
Hannu Lyytikainen
30a49d7e18 Add a second time slots query
In case max bookable day count exceeds 90 days, fetch a second batch of
time slots.
2018-08-16 15:39:51 +03:00
Hannu Lyytikainen
19dd70c433 Enable availability by default 2018-08-10 08:55:47 +03:00
Hannu Lyytikainen
8c2033ccc6 Add a config flag for fetching availability 2018-07-23 18:39:03 +03:00
Hannu Lyytikainen
58cd6211b1 Extract max number of days for booking to config 2018-07-23 18:15:13 +03:00
Vesa Luusua
17e87a8501 Add StaticMap sub component for Map 2018-07-19 14:41:27 +03:00
Boyan Tabakov
9eb06c9d30 Fix default transaction process alias 2018-05-08 10:55:13 +03:00
Vesa Luusua
181883862d Add configurable processAlias (new API feature) 2018-05-03 13:01:46 +03:00
Mikko Koski
759844112a Use Transit Verbose mode in development 2018-04-12 16:28:16 +03:00
Kimmo Puputti
952138535d Add support for configuring a minimum price for a listing 2018-03-28 16:37:49 +03:00
Olli Vanhapiha
6380d7569f Harmonize client & server env handling
* Remove defaults from multiple places in code. Put them to .env-template instead
* Do not use imported config.js in server. Access process.env directly instead
* Instruct using .env for local development, not .env.development.local
2018-03-15 14:27:57 +02:00
Olli Vanhapiha
23dd28b812 Remove our local config defaults 2018-03-15 13:18:05 +02:00
Mikko Koski
cea07182d3 Do not sort by distance 2018-03-08 16:32:34 +02:00
Vesa Luusua
3a0f202e50 Sort search by distance (send origin to API) 2018-03-07 12:52:59 +02:00
Kimmo Puputti
f401363940 Improve the coordinate obfuscation
- Use a proper algorithm to offset correctly in different latitudes
- Only configure the offset in meters, infer circle radius from that
2018-02-08 10:31:23 +02:00
Kimmo Puputti
760d0cc3c2 Improve coordinate obfuscation configuration 2018-02-07 14:52:59 +02:00
Vesa Luusua
5f8323cd71 Add new unit type 2018-02-02 16:20:35 +02:00
Kimmo Puputti
505cafdb7a Improve coordinate obfuscation
Now the obfuscation results are memoized so that the results stay
stable for each listing id.
2018-02-02 12:04:10 +02:00
Kimmo Puputti
cd995ec908 Obfuscated coordinates with a circle on the map 2018-02-01 16:09:09 +02:00
Kimmo Puputti
3b15497006 Remove customAttribute config and data 2018-01-29 10:08:26 +02:00
Kimmo Puputti
5fd0c39dc1 Remove listing closed attribute 2018-01-26 10:28:37 +02:00
Hannu Lyytikainen
a1b8fd2a2b Review changes
- Rename redux-form in EditListingFeaturesForm.js
 - Rename FieldCheckbox props
 - Add a custom config file
2018-01-25 16:13:41 +02:00
Hannu Lyytikainen
2a25da3005 Move amenities to a distinct file 2018-01-25 12:00:29 +02:00
Hannu Lyytikainen
7e79c5595d Add EditListingFeaturesForm component 2018-01-25 11:36:16 +02:00
Kimmo Puputti
8452ea68c8 Add note about translations when changing the booking unit type 2018-01-10 14:06:17 +02:00
Kimmo Puputti
4097f7bb9d Add daily bookings support to BookingDatesForm 2018-01-10 13:46:02 +02:00
Kimmo Puputti
1354435c59 Disable example custom attributes by default 2018-01-08 16:15:10 +02:00
Kimmo Puputti
14763906c5 Make booking unit type configurable 2018-01-03 13:22:17 +02:00
Vesa Luusua
b1fca2bc6e review changes 2017-12-20 15:28:25 +02:00
Vesa Luusua
8fc4ce1b9c Custom attribute configuration 2017-12-20 15:17:46 +02:00
Kimmo Puputti
ed7eb293d7 Fix typo in config 2017-11-28 10:02:42 +02:00
Kimmo Puputti
7ea3c3b30d Improve and document changing locale 2017-11-24 15:47:20 +02:00
Hannu Lyytikainen
85fbccb2fd Change to cleaner syntax for environment check 2017-11-17 15:10:13 +02:00
Hannu Lyytikainen
29160d6a45 Default to production environment 2017-11-17 14:49:26 +02:00
Hannu Lyytikainen
ce07746bee Add runtime environment variable
Add a variable that can be used to differentiate between dev, staging
and production environments.
2017-11-16 18:31:31 +02:00
Vesa Luusua
4eb449715d Footer content 2017-10-20 15:15:54 +03:00
Vesa Luusua
7acb4f035e Add organization data to schema (will be used on footer and about page too. 2017-10-19 16:25:44 +03:00
Kimmo Puputti
90ab9c9a69 Format with latest Prettier 2017-10-13 10:11:51 +03:00
Vesa Luusua
1586685633 dev-server script sets canonical-root-url 2017-10-05 15:11:46 +03:00
Vesa Luusua
020c81103d Created a environment variable and using it when creating sdk instances. 2017-10-05 12:57:49 +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
e37a0be42a Add Sentry integration to the browser application 2017-10-04 13:11:50 +03:00
Vesa Luusua
e6d22d7992 Review changes 2017-09-29 15:24:54 +03:00
Vesa Luusua
82f73a8016 Render more Helmet stuff 2017-09-29 15:15:31 +03:00
Vesa Luusua
12db9a1d05 Stripe config: added country specific currency and input fields needed when creating bank account 2017-09-06 13:17:53 +03:00
Kimmo Puputti
03d2c93d5a Add documentation 2017-08-28 13:41:48 +03:00
Kimmo Puputti
178937ab27 Try not to pass around subUnitDivisor 2017-08-28 11:14:22 +03:00