23 Commits

Author SHA1 Message Date
Martin Raifer
a454aa35c1 fix nominatim API search syntax
see https://github.com/osm-search/Nominatim/issues/3134
2023-08-03 11:41:06 +02:00
Kyℓe Hensel
a17b5faf5f Send 'Accept-Language' header on Nominatim API calls (#9501) 2023-03-03 18:34:24 +01:00
Martin Raifer
c8a3cf154b make more cdn's and API urls/settings configurable
* CDNs for OCI, NSI, etc.
* OSM API (URL and oauth API settings)
* taginfo API
* nominatim API
2022-10-14 19:19:29 +02:00
Quincy Morgan
271a4cbac7 Update rbush to 3.0.1 (close #6359) 2019-11-08 18:17:17 +01:00
Bryan Housel
b99be67169 When calling an errback from a Promise.catch, pass err.message 2019-04-25 21:58:36 -04:00
Bryan Housel
e6bc9d9e8f Swap out d3-request, swap in d3-fetch 2019-04-24 16:25:25 -04:00
Bryan Housel
4a8c20c56e Remove lodash forEach
(re: 6087)
2019-03-28 19:50:20 -04:00
Bryan Housel
11bfeaabfc Add browser-polyfills, remove lodash assign, compact, values
(re: #6087)
2019-03-22 17:14:41 -04:00
Bryan Housel
50da78c1fd Convert lodah-es and d3 to named imports for services 2017-09-25 15:10:47 -04:00
Bryan Housel
1c303edf18 Add generic reverse geocoder function to nominatim service 2017-06-29 01:23:33 -04:00
Bryan Housel
108150faf9 Don't re-request inflight nominatim requests 2017-04-20 14:45:22 -04:00
Bryan Housel
bc39bbf2d6 Object.assign not supported on IE11 or PhantomJS, use _.assign 2017-02-02 16:00:19 -05:00
Bryan Housel
0419230321 Use common apibase for search and countryCode 2017-02-02 15:55:52 -05:00
Kushan Joshi
781f4540e0 Add a pluggable geocoder 2017-01-13 15:42:03 +05:30
Bryan Housel
053074d076 Export live binding for services in iD.services, fix init/reset
(closes #3324)

Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.

This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding.  `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel
a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright
cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Kushan Joshi
fc680a2e9a external modules for services 2016-07-06 14:39:58 -04:00
Bryan Housel
197b936d50 Upgrade rbush to 2.x 2016-07-01 23:12:51 -04:00
Bryan Housel
2e10c9e21e Eliminate vendored rbush library
(re: #3180)
2016-06-26 21:34:10 -04:00
Bryan Housel
82f0a81308 Resolve module variable collisions 2016-06-16 11:11:00 -04:00
Bryan Housel
0c0642e321 Attempt to put services into module 2016-06-16 11:11:00 -04:00