88 Commits (__BETA__)

Author SHA1 Message Date
Julian Simioni d5421089c6 Revert "Merge branch 'rename-doc-to-place'" 9 years ago
Julian Simioni b547111d52 Remove latitude restrictions 9 years ago
Julian Simioni 17ba5da6d5 Replace array iteration boilerplate with .map 9 years ago
Julian Simioni b68bae2555 Remove latitude limits 9 years ago
Severyn Kozak 78bea9d814 sanitiser/_geo.js: don't pass base to parseFloat(). 9 years ago
Severyn Kozak 8868039835 Verify that bbox longitude is not NaN. 9 years ago
Severyn Kozak d000868800 Remove checks for longitude validity. 9 years ago
Julian Simioni 2fce64f75a Move files 9 years ago
Julian Simioni 4e74e9b681 Whitespace 9 years ago
Harish Krishna 495c3251a4 moving all query parsing logic into its own helper. Tests to come 9 years ago
Harish Krishna a8c090252a if the query has a number - search addresses 9 years ago
Harish Krishna 346f187c3e updateing isNumber regex 9 years ago
Harish Krishna e1f3cfa0d3 no need to hit address parser if the input has just one token or two and no numbers 9 years ago
Harish Krishna ebd4a5a08a splitOnDelim first followed by a space tokenizer 9 years ago
Harish Krishna a4d09f8e12 no address parsing required if there are only 2 or less tokens 9 years ago
Harish Krishna bdffe758d4 commenting out the overkill 9 years ago
Harish Krishna 96a21570be fixing layers related bug - adding a default_layers_set flag to clean obj. 9 years ago
Harish Krishna 042772cf3b only do address parsing when necessary 9 years ago
Harish Krishna 1d24890b27 introducing target_layer that gets set part of input_parsing 9 years ago
Diana Shkolnikov 1f6f5a9d52 Refactor truthy check into separate function 10 years ago
Harish Krishna 5accecfa6c adding postcode support for usa 10 years ago
Harish Krishna 46cc1a6569 disabling parse-address 10 years ago
Diana Shkolnikov 63ed198320 Details param not working as expected 10 years ago
Harish Krishna 0b5b1dce85 address parser initial pass - breaks 68 tests! (ignoring tests for now) 10 years ago
Diana Shkolnikov 31bed0d104 Change /reverse default size to 10 10 years ago
Severyn Kozak a007af3572 Replace src/logger with pelias-logger. 10 years ago
Diana Shkolnikov e3cdda9778 ugh another comment fix 10 years ago
Diana Shkolnikov 6ae1a4f7df fix comments and tests 10 years ago
Diana Shkolnikov 7c81c56cf3 Fix bbox comment 10 years ago
Diana Shkolnikov 8ac17d0cb2 Fix bbox parsing 10 years ago
Diana Shkolnikov 8c22f33dc7 Add details sanitizer to suggest/coarse 10 years ago
Diana Shkolnikov 45ba29cc54 Add categories param to /reverse 10 years ago
Harish Krishna fdb0d939bb simplifying logic: replacing the complicated ternary statement with an if statement 10 years ago
Harish Krishna 176f580215 using is-object 10 years ago
Harish Krishna 7667a898dd param layers should be called layers consistently across the API 10 years ago
Harish Krishna 53bfab2529 simplifying things 10 years ago
Harish Krishna 71499cd201 flipping default behavior - by default its details=true 10 years ago
Harish Krishna 719e73f3bd taking default_value into account 10 years ago
Harish Krishna c99c5f712a adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests 10 years ago
Harish Krishna 217a5c1049 seperating suggest and search sanitizers because suggest requires geoBias (lat/lon) until ES 2.0.0 lands. 10 years ago
Harish Krishna 7a8422025a latlon is a required field for reverse (updated _geo sanitizer) and added ability to filter by layers on /reverse 10 years ago
Harish Krishna d2d76be8fa changing a commented line to reflect reality 10 years ago
Harish Krishna a003b7b9bf strip out leading and trailing whitespace if any 10 years ago
Harish Krishna 84a9b3e20e splitting on comma (trying to find/assume admin values) 10 years ago
Harish Krishna 827a93be11 Revert "adding geoname to coarse [experimental]" 10 years ago
Harish Krishna 2424b0c9e2 adding geoname to coarse [experimental] 10 years ago
Harish Krishna 650e88d79f making geo bias optional - first pass with all tests passing 10 years ago
Harish Krishna a67f640acb adding address type to layers by default 10 years ago
Harish Krishna 103ed5f006 using alias layer names in queryMixer and expanding them in helper/layers.js (keeping things DRY) 10 years ago
Harish Krishna 143d8ad93a _geo 10 years ago