Skip to content

Commit

Permalink
Updating changeling
Browse files Browse the repository at this point in the history
  • Loading branch information
viscosho committed Mar 26, 2020
1 parent c57b659 commit b8b2f8c
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 179 deletions.
22 changes: 19 additions & 3 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
## Change log
# Change log

### 1.0.0
* First Version

## [Unreleased] - Minor version 1.1.1

### Security
- General testing to ensure compatibility with latest WordPress version (5.4).
- General testing to ensure compatibility with latest LSX Theme version (2.7).


## [[1.1.0]](https://github.com/lightspeeddevelopment/lsx-geo-content/releases/tag/v1.0.0) - 2018-11-21

### Security
- Tested for Wordpress 4.9.8.


## [[1.0.0]]()

### Added
- Initial version.
18 changes: 16 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# LSX Geo Content
<p align="center"><a target="_blank" href="https://lsx.lsdev.biz/"><img width="100px;" src="https://lsx.lsdev.biz/wp-content/uploads/2019/02/geolocate_550_x550_480.png" alt="LSX Geo Content Extension"></a>
</p>
<h1 align="center">LSX Geo Content</h1>

The LSX Geo Content plugin detects your IP address and the Protocol Version (v4 or v6) used. Your country code is then determined using the downloaded DB from https://dev.maxmind.com. This is cached for 1 hour.
<p align="center">
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html"><img src="https://poser.pugx.org/woocommerce/woocommerce/license" alt="license"></a>
<a href="http://gulpjs.com/"><img src="https://img.shields.io/badge/built%20with-gulp.js-green.svg" alt="Built with gulp.js"></a>
<a href="https://travis-ci.org/github/lightspeeddevelopment/lsx-geo-content"><img src="https://travis-ci.org/lightspeeddevelopment/lsx-geo-content.svg?branch=master" alt="Build Status"></a>
<a href="https://lsx.lsdev.biz/"><img src="https://lsx.lsdev.biz/wp-content/uploads/2019/06/Designed-for-LSX-Theme-blue.png" alt="Made for LSX"></a>
</p>

Welcome to the [LSX Geo Content](https://lsx.lsdev.biz/documentation/lsx-geo-content/). The LSX Geo Content plugin detects your IP address and the Protocol Version (v4 or v6) used. Your country code is then determined using the downloaded DB from https://dev.maxmind.com. This is cached for 1 hour.

It is compatible with Caldera Forms plugin, as it allows to pre-populate content based on the location.

## Description
The LSX Geo Content plugin detects your IP address and the Protocol Version (v4 or v6) used. Your country code is then determined using the downloaded DB from https://dev.maxmind.com. This is cached for 1 hour.
Expand Down Expand Up @@ -72,3 +83,6 @@ No; the Geo Content plugin will not work with any theme, it requires LSX Theme t
Bugs can be reported either in our support forum or preferably on the [to Search GitHub repository](https://github.com/lightspeeddevelopment/to/issues).
### The to Search plugin is awesome! Can I contribute?
Yes you can! Join in on our [GitHub repository](https://github.com/lightspeeddevelopment/lsx-geo-content) :)

## Like what you see?
<a href="https://www.lsdev.biz/contact/"><img src="https://www.lsdev.biz/wp-content/uploads/2020/02/work-with-lightspeed.png" width="850" alt="Work with us at LightSpeed"></a>
265 changes: 110 additions & 155 deletions vendor/geoip/geoip/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,205 +1,160 @@
# Change log
# Change Log #

## 1.17 (2016-05-16)

## [Unreleased] - Minor version 1.1.1

### Security
- General testing to ensure compatibility with latest WordPress version (5.4).
- General testing to ensure compatibility with latest LSX Theme version (2.7).


## [[1.1.0]](https://github.com/lightspeeddevelopment/lsx-geo-content/releases/tag/v1.0.0) - 2018-11-21

### Security
- Tested for Wordpress 4.9.8.


## [[1.0.17]]() - 2016-05-16

### Fixed
- Previously data records at the end of the database were incorrectly returned
* Previously data records at the end of the database were incorrectly returned
as `null` values when using shared memory. This was due to attempting to
read beyond the end of the database. This bug only affected users using
`GEOIP_SHARED_MEMORY`.

## 1.16 (2016-01-29)

## [[1.0.16]]() - 2016-01-29

### Fixed
- Fixed issue that could cause a notice about using a property on a non-object
* Fixed issue that could cause a notice about using a property on a non-object
when calling `geoip_record_by_addr()` on a City database. Reported by
Justinas Rakašis. GitHub #34.

Justinas Rakašis. GitHub #34.

## [[1.0.15]]() - 2015-05-01
## 1.15 (2015-05-01)

### Fixed
- Calls to `die()` where replaced with calls to `trigger_error()`. This
* Calls to `die()` where replaced with calls to `trigger_error()`. This
allows these (rare) errors to be gracefully handled by an error handler.
Pull request by Dirk Weise. GitHub #28.
- Removed broken distributed queries code.
- Previously if a time zone was not found, an undefined variable error would
* Removed broken distributed queries code.
* Previously if a time zone was not found, an undefined variable error would
be outputted. `get_time_zone` now returns `null` if there is no matching
time zone. (Fixed by justgoodman. GitHub #30.)
- `$GEOIP_REGION_NAME` is now prefixed with `global` to make it autoloaded by
* `$GEOIP_REGION_NAME` is now prefixed with `global` to make it autoloaded by
Composer. Pull request by Laurent Goussard. GitHub #15.
- The script from updating the timezone data was improved to work with the
* The script from updating the timezone data was improved to work with the
new CSV format. Pull request by Shadman Kolahzary. GitHub #19.

## 1.14 (2013-11-05)

## [[1.0.14]]() - 2013-11-05
* Fix lookup issues with some domain databases ( Boris Zentner )
* Reorganize and clean up code ( Gregory Oschwald )
* Fix for module when mbstring extension is missing ( Gregory Oschwald )
* Update time zones ( Boris Zentner )

### Fixed
- Fix lookup issues with some domain databases ( Boris Zentner ).
- Reorganize and clean up code ( Gregory Oschwald ).
- Fix for module when mbstring extension is missing ( Gregory Oschwald ).
- Update time zones ( Boris Zentner ).
## 1.13 (2013-05-27)

* Composer support ( Maksim Kotlyar )
* Remove duplicate key - A placeholder for unused countries.
( Boris Zentner )

## [[1.0.13]]() - 2013-05-27
## 1.12 (2013-02-20)

### Fixed
- Composer support ( Maksim Kotlyar ).
- Remove duplicate key - A placeholder for unused countries.
( Boris Zentner ).
* Update FIPS Codes ( Boris Zentner )
* Add South Sudan ( Boris Zentner )
* Remove trailing space ( Boris Zentner )

## 1.11 (2012-07-08)

## [[1.0.12]]() - 2013-02-20
* Update Time Zones ( Boris Zentner )
* Update FIPS codes ( Boris Zentner )

### Fixed
- Update FIPS Codes ( Boris Zentner ).
- Add South Sudan ( Boris Zentner ).
- Remove trailing space ( Boris Zentner ).
## 1.10 (2012-03-26)

* Update time zones and country codes ( Boris Zentner )
* Add example for netspeedcell databases. ( Boris Zentner )

## [[1.0.11]]() - 2012-07-08
## 1.9 (2011-08-23)

### Added
- Update Time Zones ( Boris Zentner ).
- Update FIPS codes ( Boris Zentner ).


## [[1.0.10]]() - 2012-03-26

### Added
- Update time zones and country codes ( Boris Zentner ).
- Add example for netspeedcell databases. ( Boris Zentner ).


## [[1.0.9]]() - 2011-08-23

### Added
- Add new datatypes
* Add new datatypes
GEOIP_COUNTRY_EDITION_V6, GEOIP_CITY_EDITION_REV1_V6
GEOIP_CITY_EDITION_REV0_V6, GEOIP_NETSPEED_EDITION_REV1,
GEOIP_NETSPEED_EDITION_REV1_V6, GEOIP_ASNUM_EDITION_V6,
GEOIP_ORG_EDITION_V6, GEOIP_DOMAIN_EDITION_V6,
GEOIP_ISP_EDITION_V6 ( Boris Zentner ).
- Add new functions
GEOIP_ISP_EDITION_V6 ( Boris Zentner )
* Add new functions
geoip_country_id_by_name_v6
geoip_country_code_by_name_v6
geoip_country_name_by_name_v6
geoip_country_id_by_addr_v6
geoip_country_code_by_addr_v6
geoip_country_name_by_addr_v6
geoip_name_by_addr_v6
GeoIP_record_by_addr_v6 ( Boris Zentner ).
- Add new examples sample-v6.php, sample_city-v6.php and
sample_asn-v6.php ( Boris Zentner ).
- Replace ereg with substr ( Boris Zentner ).
- replace split by explode ( Boris Zentner ).
- Add all missing timezones ( Boris Zentner ).
- Fix some 3letter codes ( Boris Zentner ).
- Fix some continent codes ( Boris Zentner ).
- Update FIPS codes 20100810 ( Boris Zentner ).
- Add new database types GEOIP_LOCATIONA_EDITION, GEOIP_DOMAIN_EDITION
and GEOIP_ACCURACYRADIUS_EDITION ( Boris Zentner ).
- Workaround php's broken usage of mb_substr instead of substr with
mbstring.func_overload and mbstring.internal_encoding ( Boris Zentner ).
- Change Turkey's continent code from AS to EU ( Boris Zentner ).
- Update FIPS codes 20090723 ( Boris Zentner ).


## [[1.0.8]]() - 2009-04-02

### Added
- Add continent_code to the city record. See: sample_city.php ( Boris Zentner ).
- Update FIPS codes 20090401 ( Boris Zentner ).
- Fixed spelling of Kazakhstan, was Kazakstan.
- Fix TN FIPS codes and add two new TH79 and TH80 ( Boris Zentner ).
- Fix geoip_country_code_by_addr when used with a city database for unknown or private records ( cpw ).
- Update timezone.php.
- Sync geoipregionvars.php with fips codes from Jan, 14th 2009 ( Boris Zentner ).
- use metro_code in sample_city.php ( Boris Zentner ).
- replace the depreciated dma_code field with metro_code ( Boris Zentner ).
- remove wrong but unreferenced Singapur SG fips regions codes ( Boris Zentner ).
- update regions ( geoipregionvars.php ) ( Boris Zentner ).
- Die when the database file is not found or readable ( Boris Zentner ).


## [[1.0.7]]() - 2008-01-08

### Added
- Added BL/Saint Barthelemy, MF/Saint Martin (ISO-3166-1 additions).
- fixed bug with newlines in Country Name.
- replaced $s_array[size] with $s_array['size'] (Daniel Horchner).
- Fix bug where PHP API didn't work with new edition of GeoIP ISP
1.6 2007-1-10.
- Added AX/Aland Islands, GG/Guernsey, IM/Isle of Man, JE/Jersey (ISO-3166-1 changes).
- Replaced CS/Serbia and Montenegro with RS/Serbia, removed ZR/Zaire, added ME/Montenegro.
- geoip_country_(code|name)_by_addr now work against Geo(IP|Lite) City (Frank Mather).
- Added code to lookup zoneinfo timezone given country and region (Frank Mather).
- TP/East Timor changed to TL/Timor-Leste, reflecting changes in ISO-3166.


## [[1.0.5]]() - 2005-11-01

### Added
- Added Shared Memory support for GeoIP City (Frank Mather).
- Replaced Yugoslavia with Serbia and Montenegro.
- Removed global declaration for $GEOIP_COUNTRY_CODE_TO_NUMBER, $GEOIP_COUNTRY_CODES,
and $GEOIP_COUNTRY_CODES3.


## [[1.0.4]]() - 2005-01-13

### Added
- Andrew Hill, Awarez Ltd. (http://www.awarez.net):
- Formatted file according to PEAR library standards.
- Moved $GEOIP_COUNTRY_CODE_TO_NUMBER, $GEOIP_COUNTRY_CODES,
GeoIP_record_by_addr_v6 ( Boris Zentner )
* Add new examples sample-v6.php, sample_city-v6.php and
sample_asn-v6.php ( Boris Zentner )
* Replace ereg with substr ( Boris Zentner )
* replace split by explode ( Boris Zentner )
* Add all missing timezones ( Boris Zentner )
* Fix some 3letter codes ( Boris Zentner )
* Fix some continent codes ( Boris Zentner )
* Update FIPS codes 20100810 ( Boris Zentner )
* Add new database types GEOIP_LOCATIONA_EDITION, GEOIP_DOMAIN_EDITION
and GEOIP_ACCURACYRADIUS_EDITION ( Boris Zentner )
* Workaround php's broken usage of mb_substr instead of substr with
mbstring.func_overload and mbstring.internal_encoding ( Boris Zentner )
* Change Turkey's continent code from AS to EU ( Boris Zentner )
* Update FIPS codes 20090723 ( Boris Zentner )

## 1.8 (2009-04-02)

* Add continent_code to the city record. See: sample_city.php ( Boris Zentner )
* Update FIPS codes 20090401 ( Boris Zentner )
* Fixed spelling of Kazakhstan, was Kazakstan
* Fix TN FIPS codes and add two new TH79 and TH80 ( Boris Zentner )
* Fix geoip_country_code_by_addr when used with a city database for unknown or private records ( cpw )
* Update timezone.php
* Sync geoipregionvars.php with fips codes from Jan, 14th 2009 ( Boris Zentner )
* use metro_code in sample_city.php ( Boris Zentner )
* replace the depreciated dma_code field with metro_code ( Boris Zentner )
* remove wrong but unreferenced Singapur SG fips regions codes ( Boris Zentner )
* update regions ( geoipregionvars.php ) ( Boris Zentner )
* Die when the database file is not found or readable ( Boris Zentner )

## 1.7 (2008-1-8)

* Added BL/Saint Barthelemy, MF/Saint Martin (ISO-3166-1 additions)
* fixed bug with newlines in Country Name
* replaced $s_array[size] with $s_array['size'] (Daniel Horchner)
* Fix bug where PHP API didn't work with new edition of GeoIP ISP
1.6 2007-1-10
* Added AX/Aland Islands, GG/Guernsey, IM/Isle of Man, JE/Jersey (ISO-3166-1 changes)
* Replaced CS/Serbia and Montenegro with RS/Serbia, removed ZR/Zaire, added ME/Montenegro
* geoip_country_(code|name)_by_addr now work against Geo(IP|Lite) City (Frank Mather)
* Added code to lookup zoneinfo timezone given country and region (Frank Mather)
* TP/East Timor changed to TL/Timor-Leste, reflecting changes in ISO-3166

## 1.5 (2005-11-01)

* Added Shared Memory support for GeoIP City (Frank Mather)
* Replaced Yugoslavia with Serbia and Montenegro
* Removed global declaration for $GEOIP_COUNTRY_CODE_TO_NUMBER, $GEOIP_COUNTRY_CODES,
and $GEOIP_COUNTRY_CODES3

## 1.4 (2005-01-13)

* Andrew Hill, Awarez Ltd. (http://www.awarez.net):
* Formatted file according to PEAR library standards.
* Moved $GEOIP_COUNTRY_CODE_TO_NUMBER, $GEOIP_COUNTRY_CODES,
$GEOIP_COUNTRY_CODES3 and $GEOIP_COUNTRY_NAMES into the
GeoIP class, so that library will still work even when
not included in the $GLOBAL context.
- Updated geoip_country_code_by_addr to work with PHP5 (Eric of Host Ultra).
- Replaced bit operators (| and &) with logical operators (|| and &&).
- Defined GEOIP_ISP_EDITION.


## [[1.0.3]]() - 2004-08-04
* Updated geoip_country_code_by_addr to work with PHP5 (Eric of Host Ultra)
* Replaced bit operators (| and &) with logical operators (|| and &&)
* Defined GEOIP_ISP_EDITION

### Added
- Changed license from GPL to LGPL so code can be included in PEAR.
- added global definitions to prevent undefined variables error when including.
from function (Cédric Dufour).
- Updated country names.
- Added support for GeoIP City, version 1 with DMA and Area codes.
## 1.3 (2004-08-04)

## [[1.0.2]]() - 2003-10-28
* Changed license from GPL to LGPL so code can be included in PEAR
* added global definitions to prevent undefined variables error when including
from function (Cédric Dufour)
* Updated country names
* Added support for GeoIP City, version 1 with DMA and Area codes

### Added
- Added support for Shared Memory (Jason Priebe).
- Added support for Distributed queries.
- Added support for GeoIP Region, version 1.
- Added Anonymous Proxy and Satellite Provider code/labels.
- Changed Taiwan, Province of China to Taiwan.
## 1.2 (2003-10-28)

## [[1.0.1]]() - 2003-01-15
* Added support for Shared Memory (Jason Priebe)
* Added support for Distributed queries
* Added support for GeoIP Region, version 1
* Added Anonymous Proxy and Satellite Provider code/labels
* Changed Taiwan, Province of China to Taiwan

### Added
- Added support for GeoIP Region and GeoIP City.
## 1.1 (2003-01-15)

* Added support for GeoIP Region and GeoIP City

## [[1.0.0]]() - 2002-11-21
## 1.0 (2002-11-21)

### Added
- Initial checking to CVS.
* Initial checkin to CVS
19 changes: 0 additions & 19 deletions vendor/geoip/geoip/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
<p align="center"><a target="_blank" href="https://lsx.lsdev.biz/"><img width="100px;" src="https://lsx.lsdev.biz/wp-content/uploads/2019/02/geolocate_550_x550_480.png" alt="LSX Geo Content Extension"></a>
</p>
<h1 align="center">LSX Geo Content</h1>

<p align="center">
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html"><img src="https://poser.pugx.org/woocommerce/woocommerce/license" alt="license"></a>
<a href="http://gulpjs.com/"><img src="https://img.shields.io/badge/built%20with-gulp.js-green.svg" alt="Built with gulp.js"></a>
<a href="https://travis-ci.org/github/lightspeeddevelopment/lsx-geo-content"><img src="https://travis-ci.org/lightspeeddevelopment/lsx-geo-content.svg?branch=master" alt="Build Status"></a>
<a href="https://lsx.lsdev.biz/"><img src="https://lsx.lsdev.biz/wp-content/uploads/2019/06/Designed-for-LSX-Theme-blue.png" alt="Made for LSX"></a>
</p>

Welcome to the [LSX Geo Content](https://lsx.lsdev.biz/documentation/lsx-geo-content/). The LSX Geo Content plugin detects your IP address and the Protocol Version (v4 or v6) used. Your country code is then determined using the downloaded DB from https://dev.maxmind.com. This is cached for 1 hour.

It is compatible with Caldera Forms plugin, as it allows to pre-populate content based on the location.


# MaxMind GeoIP Legacy PHP API #

## Important Note ##
Expand Down Expand Up @@ -119,6 +103,3 @@ version 2.1 or later.
## Thanks ##

Thanks to Jim Winstead.

## Like what you see?
<a href="https://www.lsdev.biz/contact/"><img src="https://www.lsdev.biz/wp-content/uploads/2020/02/work-with-lightspeed.png" width="850" alt="Work with us at LightSpeed"></a>

0 comments on commit b8b2f8c

Please sign in to comment.