Adriaan de Groot
2cd4461b57
[locale] Rename JSON handler
...
- The handler for JSON data should be called that, not named
specially after the original provider it was implemented for.
- Make filename and classname consistent, GeoIPJSON.
2018-04-16 04:32:49 -04:00
Adriaan de Groot
5b98e58ae7
[locale] Refactor GeoIP handlers
...
- Read the data in the caller of the handler, instead of in the callers
2018-04-12 12:22:43 -04:00
Adriaan de Groot
aaae1507cd
[locale] Convenience function for TZ splitting
2018-04-12 11:51:50 -04:00
Adriaan de Groot
d5623af8ef
[locale] Refactor geoip handling
...
- Configuration **must** be a complete URL. The implementation no
longer appends /json to the URL.
2018-04-12 10:11:48 -04:00
Adriaan de Groot
445f181cc3
[locale] Start refactoring geoip handling
...
- Introduce a handler interface for GeoIP providers
- Move the implementation of FreeGeoIP into a struct of its own
2018-04-12 09:45:48 -04:00