| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
| |
This allows more fine grained control over the geocoder search, e.g. to
specify the administrative area or town. See the geocoder api docs:
https://developers.google.com/maps/documentation/geocoding/intro#ComponentFiltering
|
|
|
|
|
| |
This was causing an error in "Test ajax decimal points" in fixamingata.t
due to "importance" being encoded with a comma decimal separator.
|
|
|
|
|
|
| |
It turns out that HTTP::Message (as used by LWP::Simple::get) only
decodes text/* and 'XML', not application/json, as used by all the
geocoders. Work around this, hopefully in a future-proof way.
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Don't think the return data ever needs decoding.
|
|/
|
|
|
| |
URLs have to be manually constructed, but specifying multiple ward names
separated by "|" will show all those wards and their reports on the map.
|
| |
|
|
|
|
| |
A confirmation code is sent via Twilio to be entered on the site.
|
|
|
|
|
|
|
|
|
| |
Admin page to show some simple summary stats for an area.
If the user has been assigned to an area then they will see the stats
for that area. Superusers can pick which area they want to view.
For mysociety/fixmystreetforcouncils#2
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Update the map/list if the map is zoomed/panned, and make sure the
updated HTML list is returned.
|
|
|
|
|
|
| |
If the longitude was very close to 0, it was being sent as e.g. 1e-6
in the request to MapIt. Mock out the Bing query so that this can be
tested (the closest.t tests were previously always being skipped).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
0.09 was communicating with v2.2 of the Facebook API which was switched off
on 25th March 2017, so Facebook logins were no longer working.
Mock::Facebook was updated to correctly return JSON from /oauth/access_token,
to match the behaviour expected since v2.3 of the FB API.
Fixes #1681
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Zurich::admin_type function was setting $c->stash->{body}, meaning that
when trying to edit a superuser the 'fetch_contacts' function wasn't being
called, causing an "Can't call method "all" on an undefined value" error as
$c->stash->{live_contacts} wasn't ever being set.
Fixed by changing the conditional to simply determine whether fetch_contacts
needs to be called.
Included a regression test that meant a small addition to the MapItZurich mock.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #1315.
|
|
|