* Avoids breaking tests * Just caches the repeated query, not the permission check
Conflicts: sql/upgrade101-102.sql sql/ushahidi.sql Moved existing upgrade 101-102 to upgrade 102-103
Caches result in a static variable after first call
* Remove GoogleMapAPI library as its mostly unused * Move http request for map::geocoder() from GoogleMapAPI * Use map::geocoder() instead of Geocoder::geocoder_location() from ReportsImporter * Remove unused Proximity library * Make Geocoder::geocoder_location() use map::geocoder() instead of implementing the geocoder call twice.
* Changes externals urls to use HTTP/HTTPS based on site protocol (for js) or external_site_protocol for remote requests from PHP * Adds external_site_protocol config option This is so users in firewalled locations (ie. China) can still set up a working site * Also change settings.api_url_all to be built from map::base() data
Fixes security issue discovered by Timothy D. Morgan <firstname.lastname@example.org> Forgotten password challenges were guessable based on users last login and email address. Tokens are now generated based on a HMAC of login time and email address using a salt and secret key specifically for these tokens.
* Render profiler output in scheduler * Disable profiler in /json controller Conflicts: application/controllers/scheduler.php