GeoTools ChangeLog
==================

Version: 1.0.0
Date:    03/09/2014
Initial Release

Version: 1.0.1
Date:    09/09/2014
* Added some field-level validations to the GeoTools Core Editor 
* Re-ordered the fields to make more sense
* Removed potential issue with trailing linebreaks at end of some php classes

Version 1.0.2
Date:   22/10/2014
* Added French translation pack kindly supplied by Régis ROBERT
* Re-ordered the two Settings options in Module Manager
* Introduce support for picklist fields for address values (some customers
  use picklists for Countries or States)
* Fix a minor bug whereby the GeoTools Module Editor would offer fields that
  were set to hidden in the respective Module's Layout Editor
  
Version 1.0.3
Date:   07/11/2014
* Added mapbox leaflet plugin to allow the user to switch the map to full screen
* Fixed bug which prevented certain User Profiles from accessing the map display

Version 1.0.4
Date 19/11/2014
* Imported the Leaflet javascript libraries into the GeoTools module. Fixes 
  issue with https only vtiger users (Thanks to Stephane for the report)
* Working on support for shared hosts with very limited cron script timeouts
  Added some code and new queries but not yet ready for prime-time. Needs some 
  configuration options to be added
* Replaced 2 queries and code with a single INSERT ... ON DUPLICATE KEY UPDATE
* Replaced lastrun date code to support older version of PHP (mostly for shared 
  hosts)
* Introduced code to actually use the Rate Limit setting
* Added some help for shared host when MySQL connections disappear
* Stop passing records with no address data to the Geocoder
* Changed vtlib installation queries to pquery

Version 1.0.5
Date 06/01/2015
* Added a small change to the Geocoding Cron Service to randomise the order of
  the queries (mostly to help on shared hosts)
* Improved the Geocoding process [again] to prevent repeated attempts re-coding
  the same records that are not capable of being geocoded (Mostly for shared
  hosting). Required minor change to database schema to allow NULL values
* Fixed minor bug in SaveLocationAjax not reporting a successful save correctly

Version 1.0.6
Date 06/02/2015
* Fixed issue with extended character sets in address data. These were being 
  converted to htmlentities when they shouldn't have been and were adversely 
  affecting the geocoding results
* Introduced an Event Handler to automatically try and Geocode new records
  when they are first saved and also re-geocode records if their address
  information changes
* Added the ability to lock and unlock individual records using the map marker

Version 1.1.0
Date 14/04/2015
* Included support for vtiger OnDemand - thanks to vtiger for help with this
* Fixed bug where GeoTools wasn't honouring default map Zoom configuration
  under certain circumstances
* Moved this file into the module's main directory
* Fixed bug where PBXManager click-to-call wasn't working in the GeoTools map
  display
* Fix minor bug where Module name is not translated on Delete popup (Thanks 
  vtiger devs for the report)
  
Version 1.1.1
Date 30/04/2015
* Removed Mandatory check on Company Details field in Core Settings Editor
  which made it hard to save the settings page if you could not geocode the 
  location
* Fixed quite serious bug with the Non-Geocoded custom filter. It was returning
  deleted records

Version 1.1.2
Date 05/05/2015
* Updated fix for non-geocoding filter for the On-Demand system (Thanks Uma)

Version 1.1.3
Date 16/06/2015
* Included Spanish and Mexican Language translations. Thanks to Francisco 
  Mendoza of Odin Consultores (www.odin.mx)
* Fix bug with Event Handler using die; vtiger report No. #387747

Version 1.1.4
Date 03/08/2015
* Fixed minor issue with search not working after changing the Target Module 
  in the GeoTools Popup. Refs #1321
* Fixed another potential issue with shared hosts which disable use of 
  file_get_contents. Refs #1324
* Introduce much requested new feature. Show a different coloured map marker 
  icon based on a user configurable option (a Picklist per module). Makes use
  of the Leaflet.VectorMarkers plugin 
  https://github.com/hiasinho/Leaflet.vector-markers
* Included German language translations. Thanks to Kozure for the files
* Added support for "Send Email/SMS" mass actions in the embedded list.
  Thanks Tobias Block for pointing it out

Version 1.1.5
Date 20/08/2015
* Added support for translation of Distance values (Miles & Kms). Thanks
  Oleg for bringing this to my attention. #1380
* Included Russian language translation. Thanks to Oleg Antonov of PIN
  http://pinstudio.ru
* Added a custom user agent string and slowed down the Geocodes per second 
  rate to comply with Nominatim requirements
* Fixed bug that prevented the "From Other Entity Record" search feature 
  from working. Refs #1477. Thanks Alexis Bedoin for reporting this.

Version 1.1.6
Date 02/11/2015
* Added Persian Language translation courtesy of Elham Ahmadloo. Thanks
  for your kind work
* Moved GeoTools module image to correct directory
* Added ability to select a Filter to use for the Radius Search Action Links

Version 1.1.7
Date 05/11/2015
* Updated the max version in the Manifest to support version 7 of vtiger 
  On-Demand

Version 1.1.8
Date 30/08/2016
* Added Italian language translation courtesy of Dario Vernelli & Caurio 
  Maurizio. Grazie Mille!

Version 2.0.0
Date 21/07/2016
* Import and merge code from vtiger to properly support vtiger 7 On-Demand UI

Version 2.0.1
Date 20/09/2016
* Add support to configure a default filter for each module when viewing in
* the GeoTools embedded ListView

Version 2.0.2
Date 07/11/2016
* Fixed level of precision from Geocoder to 7 decimal places. Thanks to Stephan
  Scharf for reporting this.

Version 2.0.3
Date 08/10/2017
* Fixed issue when installing on the new vtiger 7 Open Source. Thanks to 
  Jonathan Delince for reporting this
* Fixed missing parameter in Delete module query

Version 2.1.0
Date 11/01/2018
* Fixed multiple layout issues with vtiger v7:
  * ListView Filters were in the wrong place
  * The Non-geocoded records "virtual" filter now works
  * The Map Search tools were too cramped
  * The Module change picklist did not work
  * The Popup used to choose another record as the search centre didn't work
  * The Popup layout broke when trying to change pages
  * Clicking on a row made the wrong marker display on the map
  * The icon for adding a non-geocoded record to the map was visible on the 
    first row of the list of already geocoded records
  * When dragging the centre radius marker, the map centre picklist is now 
    updated correctly
  * The ability to edit the filter list columns in-line is now working
  * Inline editing of records in the embedded list view now works
Improvements:
  * Improved error message when trying to geolocate on http (this is now
    barred by all major browsers)
  * The Core GeoTools Settings Editor more closely reflects the v7 User 
    interface
  * The geoTools Module Settings Editor more closely reflects the v7 User 
    interface
  * Fixed bug causing white page if no default module was configured. Thanks to
    Satish at vtiger for reporting this
  * Replaced deprecated progressIndicatorElement code in v7 Javascript
  * Fixed bug when clicking Save in the Module Editor would redirect to the 
    Home page. Thanks Uma at vtiger for reporting this

Version 2.1.1
Date 26/02/2018
* Add support for Mass actions such as Sending of Emails and SMS messages from
  within the GeoTools embeded ListView

Version 2.2.0
Date 17/09/2018
* Add support for the version 8 layout of vtiger Ondemand. Thanks to vtiger for
  this work

Version 2.2.1
Date 30/10/2018
* Change nominatim API URL to https. Thanks Jonathan Delincé for reporting this

Version 3.0.0
Date 20/11/2018
* Major redesign of backend to support multiple service providers. GeoTools 
  can now support independent provoders of both Geocoding Services and 
  Mapping Tiles
* Create new Geocoding Provider class for Opencage Data Ltd. Service requires
  a registration and API Key: https://geocoder.opencagedata.com/
* Update Leaflet javascript libraries to v1.3.4
* Fix minor bug with Module updates where GeoTools would overwrite the Core 
  settings every time the module was updated
* Attempt to improve efficacy of geocoding on 2nd pass
* Update language files to improve layout when no default module is configured
* Add new configuration option to independently control number of entries per
  page in the GeoTools Listview
* Improve the distribution of hues in the function which determines a colour 
  for the ListView picklist
* Increase height of map slightly
* Fix missing vtiger Picklist value colours in GeoTools Listview
* Support vtiger on-demand. Thanks for vtiger devs for testing and providing
  patches

Version 3.0.1
Date 14/11/2019
* Minor update to reduce PHP incompatible method declaration warnings
* Stop duplicate entries being entered into the settings table on updates

Version 3.0.2
Date 06/10/2020
* Minor change to prevent records with insufficient data from repeated 
  geocoding attempts
* Move GeoTools image to correct location for 
  Vtiger_Module_Model->getModuleIcon()

Version 3.0.3
Date 09/10/2020
* Minor change to further prevent repeated geocoding attempts of 
  records with unsuitable data
* Move usleep function to speed up processing of records with no suitable data
* Fix Undefined Offset php warning (thanks Uma from vtiger)
* Remove unneccessary files

Version 3.0.4
Date 16/11/2020
* Fix typo in farsi language translation (thanks Uma from vtiger)
* Remove arbitrary restriction on geocoding the Events module
* Fix error with list search in non-geocoded view

Version 3.0.5
Date 17/1102020
* Fix issues with CustomView Lists when using Events module
  in GeoTools
