Fix :
- Fixing message when there is no validation item for GeoIP2.
Features:
- New 'type' option that takes 3 possible values : lite, legacy or geoip2. This option allows updating any of the 3 DB types.
Features:
- PHP errors on failures. Shell can now catch errors if PHP return code is not 0.
- Dependency injection
Features:
- Extended validation (matches function to IP and expected result)
- Checks for valid validation list
- First archives the current db files before retrieving the new ones
- README updated
Fixes:
- Malformed validation CSV throws exception with instructions on how to format the CSV file
Fixes:
- Using exec to validate geoip API
- Fixed constants for CSV files
- Using full date times for archives folders
- Using hashes only to compare DB versions
- Moved maximum number of archives conatnt to config
- Not writing DB contents to a file for sha1 generation, simply adding to a variable
- Checking an archive before loading it during rollback
- Removed a few useless logs
Features:
- New version system using sha1 of DB files
- Blacklist
Features:
- Update mode
- Rollback mode
First release.