Commit graph

50 commits

Author SHA1 Message Date
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
Kimmo Puputti
55e9574ce8 Avoid passing around currencyConfig 2017-08-25 10:59:15 +03:00
Vesa Luusua
b270bf1cb1 Inbox: review changes 2017-07-06 16:26:21 +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
Mikko Koski
2e98414b40 Make marketplace currency configurable 2017-05-12 15:18:04 +03:00
Kimmo Puputti
bebb4b5483 Stripe uses only GB, not UK country code 2017-04-04 10:49:54 +03:00
Kimmo Puputti
14aab54982 Verify that country code is supported by Stripe 2017-04-04 10:49:54 +03:00
Kimmo Puputti
a346297aa5 Load and setup Stripe library 2017-04-04 10:49:54 +03:00
Vesa Luusua
9344bdc00d Pass subUnitDivisor through config to components 2017-03-23 15:32:41 +02:00
Kimmo Puputti
6d7e35fb61 Enable configuring SDK in the ENV 2017-02-27 10:09:27 +02:00
Kimmo Puputti
f17a5ec36b Add a config file for the frontend app 2017-02-21 11:35:45 +02:00