@diosmosis opened this Issue on October 18th 2012 Member

One of the improvements in: #3442

The goal of this ticket is to create an admin function that will automatically download a GeoIP database after Maxmind updates it.

  • It should support free & commercial databases.
  • There should be a way to download a free database to get started using GeoIP as quickly as possible.
    • The download should display a progress bar.
  • This download should take place during installation if possible.
@halfdan commented on October 22nd 2012 Member

Can't that just be done via a Scheduled Task?

For the GeoLite City database the task would only have to run on the first Wednesday of each month. (The database is updated on the first Tuesday of each month - http://www.maxmind.com/en/geolite)

That of course leaves out the commercial database.

On a related note: Maxmind offers a Web API for Geolocation that could potentially be added as a provider (http://www.maxmind.com/en/web_services), although I think it would hurt the performance of tracking when calling the Maxmind API for each request.

@hpvd commented on November 10th 2012

Replying to halfdan:

On a related note: Maxmind offers a Web API for Geolocation that could potentially be added as a provider (http://www.maxmind.com/en/web_services), although I think it would hurt the performance of tracking when calling the Maxmind API for each request.

yes using web api would be very interesting. Some words on this topic are also posted in ticket #3442

@diosmosis commented on November 26th 2012 Member

(In [7550]) Fixes #3456, added updating scheduled task for GeoIP databases w/ manager UI and easy-install for GeoLiteCity.

Notes:

  • Added new PEAR lib Archive_Tar and new Unzip implmentations for .tar.gz, .tar.bz2 & .gz files.
  • Modified Http class to allow use of Range HTTP header.
  • Added ability to download file in chunks to Http class.
  • Moved GeoIP admin page styles to separate CSS file.
  • Allowed monthly scheduled tasks to specify day of week to run on.
@diosmosis commented on December 5th 2012 Member

(In [7576]) Refs #3456, add extra security for GeoIP auto-updater/downloader & fix a couple bugs in the code. Also made the UX a tiny bit more robust.

@diosmosis commented on December 5th 2012 Member

(In [7577]) Refs #3456, various UX improvements to GeoIP updater/auto-downloader.

@diosmosis commented on December 6th 2012 Member

(In [7578]) Refs #3456, remove downloaded files on all exceptions, even sanity check.

@diosmosis commented on February 14th 2013 Member

In 4169d90b648d695d1ce40a8345cff2c5c8e7b2fd: Refs #3456, add redundant checks of GeoIP database wellness to GeoIP auto updater.

@diosmosis commented on February 15th 2013 Member

In 91098c7f1b817b5ca9442445bb4cdaca4185ab20: Refs #3456, only save one broken file when doing redundant checks & add unit test for checks.

@anonymous-piwik-user commented on February 16th 2013

In a2e7a87c3d0ba4a85ad9e2b3c573225acfa45cc0: Refs #3456, fixing build.

@anonymous-piwik-user commented on February 16th 2013

In 62da3a21ce071aeda1ba7148cb4bb722c3eb2c8d: Refs #3456, fixing build.

@anonymous-piwik-user commented on February 16th 2013

In 5aa918f8549c3a64318d88cbccc29aa560567827: this should help the build refs #3456

@anonymous-piwik-user commented on February 20th 2013

In 8905b08e843414f8b1af9bc94a0283d9e775b95a: Refs #3456, fixing build.

@anonymous-piwik-user commented on February 20th 2013

In 8adc8cb45f7e1e6b8bff18ee5e5bb69b5ceab79b: Refs #3456, fixing build.

@anonymous-piwik-user commented on February 20th 2013

In 7f9332dd486c57c3a720732d3d5e794406ad0e3e: this should help the build refs #3456

@diosmosis commented on March 7th 2013 Member

In 34d65f2442c8a3d929da1092bb506b0520ab16de: Refs #3456, if geoip updater has not been run, display inline help saying so in geoip updater setup.

This Issue was closed on March 7th 2013
Powered by GitHub Issue Mirror