Stephen Hess
|
30b7290990
|
added stub request_language sanitizer that just allows lang param
|
7 years ago |
Lily He
|
cafb7d9277
|
created new debug helper class and debug sanitizer
|
7 years ago |
Lily He
|
db56ce45c3
|
remove exporting sanitize for testing
|
7 years ago |
Lily He
|
9a88d5a28b
|
unmerge nearby sanitizers from reverse sanitizer_list
|
7 years ago |
Lily He
|
80a3a259ef
|
remove callback in sanitizeAll.runAllChecks for sync processing
|
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 |
Diana Shkolnikov
|
c38b67aeb4
|
Add nearby sanitizer and revert reverse to not have categories
|
8 years ago |
Diana Shkolnikov
|
cc9c4148bb
|
Refactor geojsonify code and add ability to pass in clean query params
|
8 years ago |
Diana Shkolnikov
|
68c6b15e0f
|
Add categories sanitizer to reverse
|
8 years ago |
Peter Johnson
|
51279ce2cf
|
quattroshapes deprecation warning and wof fallback
|
9 years ago |
Peter Johnson
|
8431763a12
|
fix handling of ?size= param for autocomplete
|
9 years ago |
Julian Simioni
|
e97d72d7b6
|
Send warning when sources=quattroshapes
|
9 years ago |
Julian Simioni
|
616dd606a7
|
Add sources and layers sanitiser
This sanitiser can do a better job of determining when an invalid
combination of sources and layers was specified, and produce helpful
error messages.
|
9 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
|
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
|
e90f70ce3d
|
added sanitizer that verifies that all parameters are single scalar values
|
9 years ago |
Diana Shkolnikov
|
f1fdc2bc26
|
Remove categories from response json
|
9 years ago |
Peter Johnson
|
7c46aed4a7
|
expose error messages in geojson
|
9 years ago |
Stephen Hess
|
13635a2c16
|
added boundary.country to search and reverse queries (with test fixtures)
|
9 years ago |
Peter Johnson
|
e726636c3d
|
merge with master
|
9 years ago |
Peter Johnson
|
bf42290c7c
|
refactor sanitizers: first pass
|
9 years ago |
Diana Shkolnikov
|
c069933d5b
|
Refactored layers and sources into a common targets module
|
9 years ago |
Diana Shkolnikov
|
67e034f5f2
|
Rename `source` to `sources`
... with a dash of refactoring thrown in for good measure
|
9 years ago |
Diana Shkolnikov
|
feb1b0a6cd
|
Update /reverse endpoint params and query as per API spec
|
9 years ago |
Julian Simioni
|
0d23792591
|
Split geo sanitiser into geo_reverse and geo_search
Common functions are moved to geo_common. This is required to allow
separate behavior for search and reverse.
|
9 years ago |
Julian Simioni
|
040871cbe4
|
Whitespace
|
9 years ago |
Diana Shkolnikov
|
31bed0d104
|
Change /reverse default size to 10
|
10 years ago |
Diana Shkolnikov
|
45ba29cc54
|
Add categories param to /reverse
|
10 years ago |
Harish Krishna
|
53bfab2529
|
simplifying things
|
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
|
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
|
84670180f7
|
renaming _latlonzoom to _geo
|
10 years ago |
Harish Krishna
|
69a13e9105
|
fixing all the js lint related issues (lintified)
|
10 years ago |
Harish Krishna
|
ceecf5837d
|
fix indentation
|
10 years ago |
Harish Krishna
|
51f23c4410
|
expand/ reverse size
|
10 years ago |
Harish Krishna
|
32275aca56
|
split sanitizers into reusable pieces. renaming sanitise to suggest. using suggest sanitizer for search. adding reverse sanitizer. updating tests..
|
10 years ago |