180 Commits (fe171d2211222da91e8584106234703bf8283281)

Author SHA1 Message Date
Peter Johnson c609ae3ccf http friendly status codes. resolves #321 9 years ago
Stephen Hess 00d033101b removed redundant is-ids-an-array check (already covered by _single_scalar_parameter sanitizer) 9 years ago
Julian Simioni c3417a0ace Cleanup comments for usage of groups sanitizer 9 years ago
Julian Simioni b315adc6aa Use groups sanitiser in sanitize_circle 9 years ago
Julian Simioni 415029e02b Use groups sanitiser in sanitize_rect and sanitize_point 9 years ago
Julian Simioni aa08fb9772 Add optional and required group parameter sanitizers 9 years ago
Stephen Hess 1c066b65e7 switched undefined check to positive lodash call 9 years ago
Stephen Hess 2ba206f122 removed debug 9 years ago
Julian Simioni 2811569bcd Switch to source:layer:id ids format in /place 9 years ago
Julian Simioni d11d185429 Fix missing space in error message 9 years ago
Julian Simioni 2505e92a62 Expect an array of types from _ids sanitiser 9 years ago
Julian Simioni 882aad4916 Extract code to sanitize single id to separate function 9 years ago
Julian Simioni 8b1037d7c8 Separate real layers and alias layers into separate objects 9 years ago
Julian Simioni 68c9661c70 Remove all mappings other than helper/type_mapping 9 years ago
Stephen Hess 56d8600218 modified warning message for brevity 9 years ago
Stephen Hess 5da4e4b36b removed unused variable 9 years ago
Stephen Hess 0f6d08c0ec set boundary.circle.radius to default if caller did not supply it 9 years ago
Stephen Hess 0595a29052 renamed parameters for readability 9 years ago
Stephen Hess 9fdddd3834 unrolled not-not conditional to positive conditional 9 years ago
Stephen Hess 947797f41e added warning if any of boundary.circle.lat/lon/radius are supplied + tests 9 years ago
Stephen Hess e16e2bbb4e fixed comment 9 years ago
Diana Shkolnikov 553f9780c5 Remove admin matching when address is not parsed 9 years ago
Stephen Hess e90f70ce3d added sanitizer that verifies that all parameters are single scalar values 9 years ago
Peter Johnson 348d2e70e2 more conformance 9 years ago
Julian Simioni 72e3ea1381 Use check-types.contains to express intent a bit better 9 years ago
Julian Simioni 16450087ee Use simpler, clearer error on invalid ids length 9 years ago
Julian Simioni edaf175aa7 Provide better, more consistent, errors on invalid ids 9 years ago
Julian Simioni 3101aad399 Simplify ids sanitizing logic 9 years ago
Julian Simioni 1b6c61c92e Leave clean.ids undefined on error 9 years ago
Julian Simioni 1b512fc643 Remove empty array check that will always fail 9 years ago
Julian Simioni 399e566551 Remove unnecessary calls to function 9 years ago
Julian Simioni cd63209085 Error on multiple ids parameters instead of warning 9 years ago
Julian Simioni 2bfe8785e5 Rename sanitiser/_id.js to sanitiser/_ids.js 9 years ago
Julian Simioni c687102374 Rename /place id parameter to ids 9 years ago
Julian Simioni 8592c37bf6 Expect multiple ids to be specified as a comma-delimited string 9 years ago
Julian Simioni bd4fbfe3bd Whitespace 9 years ago
Peter Johnson 82ab899ecc progress commit 9 years ago
Julian Simioni d6abe09447 Use flat clean structure in /reverse 9 years ago
Julian Simioni 97044f655b Flatten structure of clean for /search focus.point.lat|lon 9 years ago
Julian Simioni 4260442f59 Change boundary.circle params to flat string structure 9 years ago
Julian Simioni 66e1cab007 Whitespace 9 years ago
Diana Shkolnikov f1fdc2bc26 Remove categories from response json 9 years ago
Diana Shkolnikov 0348f36671 Remove warning when no size param specified 9 years ago
Peter Johnson 7c46aed4a7 expose error messages in geojson 9 years ago
Stephen Hess 6c85e5892e converted warnings to errors 9 years ago
Julian Simioni 4e74c4db86 Add autocomplete sanitiser 9 years ago
Stephen Hess ba22912507 implemented Diana's suggestions to use check-types and delete key rather than set to undefined 9 years ago
Stephen Hess 13635a2c16 added boundary.country to search and reverse queries (with test fixtures) 10 years ago
Stephen Hess 78c335d072 modified sanitizer to read from flattened parameter structure 10 years ago
Stephen Hess d07a501682 requirements updates 10 years ago