piwik/piwik — pull request #6146 by czolnowski (2014-09-07 10:09:28+00:00)
Title: Locations attribution task.

It's initial commit in this PR. I would like to test this in travis (if it's working now) and I need to write some tests to this.

Main steps:
- location recognizing and fetching extracted from tracker to separate component - I need to reuse this functionality in my command
- it's similar to https://github.com/piwik/piwik/blob/master/misc/others/geoipUpdateRows.php but my command use default provider for current piwik and give option to choose date range for attribution
- tested with ~2 milion visits. Command has executed in 57 minutes. I assumed that it's pretty good result.

@mattab, @tsteur: Any suggestions, ideas, things that should I change, fixed or improve in this code? (except tests which are next step)