Lily He
|
cafb7d9277
|
created new debug helper class and debug sanitizer
|
7 years ago |
Lily He
|
07c7e7d483
|
test reverse, nearby, place sanitizer wrappers w/ proxyquire
|
7 years ago |
Lily He
|
a27ac0fc88
|
use strict for ecmascript 6 syntax, fix typos
|
7 years ago |
Lily He
|
670c673419
|
call runAllChecks for nearby, reverse, and place sanitizing
|
7 years ago |
Stephen Hess
|
3763d0b503
|
renamed `sanitise` -> `sanitize`
|
8 years ago |
Julian Simioni
|
ef78b2e0fd
|
Filter source and layer by new fields
This is functionally the same code as before, except that it uses the
new source and layer mapping.
|
9 years ago |
Julian Simioni
|
2811569bcd
|
Switch to source:layer:id ids format in /place
|
9 years ago |
Julian Simioni
|
2505e92a62
|
Expect an array of types from _ids sanitiser
This doesn't have any effect by itself but allows for the 3-part gid
sanitiser to possibly return multiple types (i.e. in the case of
osm:venue:1000)
|
9 years ago |
Stephen Hess
|
e90f70ce3d
|
added sanitizer that verifies that all parameters are single scalar values
|
9 years ago |
Julian Simioni
|
16450087ee
|
Use simpler, clearer error on invalid ids length
|
9 years ago |
Julian Simioni
|
73b289e9e5
|
Consider tests refactored :)
|
9 years ago |
Julian Simioni
|
03387722fb
|
Move _ids sanitiser tests to separate file
|
9 years ago |
Julian Simioni
|
5721841fb3
|
Clarify name and error message in ids test
|
9 years ago |
Julian Simioni
|
1b6c61c92e
|
Leave clean.ids undefined on error
|
9 years ago |
Julian Simioni
|
65b7db94d6
|
Fix typo
|
9 years ago |
Julian Simioni
|
cd63209085
|
Error on multiple ids parameters instead of warning
|
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
Disallow the other way that Node.js allows, which is to list the id
parameter multiple times in the querystring. See #272.
|
9 years ago |
Julian Simioni
|
47701277a3
|
Rename test with duplicate, non descriptive name
|
9 years ago |
Julian Simioni
|
2cc9107114
|
Add test for multiple ids
|
9 years ago |
Julian Simioni
|
bd4fbfe3bd
|
Whitespace
|
9 years ago |
Peter Johnson
|
7c46aed4a7
|
expose error messages in geojson
|
9 years ago |
Julian Simioni
|
2ebc935295
|
Rename query/indidces to query/types
It didn't really contain a list of indices.
|
9 years ago |
Julian Simioni
|
24349a3839
|
Rename query/indidces to query/types
It didn't really contain a list of indices.
|
9 years ago |
Julian Simioni
|
167547a6c1
|
Rename doc endpoint to place
|
9 years ago |
Julian Simioni
|
2fce64f75a
|
Move files
|
9 years ago |
Julian Simioni
|
4e74e9b681
|
Whitespace
|
9 years ago |
Harish Krishna
|
71499cd201
|
flipping default behavior - by default its details=true
|
10 years ago |
Harish Krishna
|
af45b4743c
|
oh so many more tests!
|
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
|
69a13e9105
|
fixing all the js lint related issues (lintified)
|
10 years ago |
Harish Krishna
|
81b3668b30
|
get to doc
|
10 years ago |
Harish Krishna
|
5e42b4ac0c
|
de-dupe as part of sanitizing
|
10 years ago |
Harish Krishna
|
b828a05b01
|
simplifying things, DRY - one endpoint 'GET' handles single/multiple requests. plus test coverage
|
10 years ago |
Harish Krishna
|
0dd495a378
|
going from ?id=123&type=geoname to ?id=geoname/123
tests updated
|
10 years ago |
Harish Krishna
|
ed5a1923d3
|
grouping test cases when appropriate
|
10 years ago |
Harish Krishna
|
018ee3b945
|
tests - adding get sanitizer tests, renaming sanitiser to suggest because that is what it is really.
|
10 years ago |