0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Michael Matloka
1b3d208d2e
Add built-in GeoIP capabilities (#247)
* Add @maxmind/geoip2-node as dependency

* Add Server.geoIp with downloaded and cached MMDB

* Inject GeoIP extension into plugin meta

* Upgrade plugin-scaffold

* Disable MMDB fetching in tests

* Update README.md

* Fix "plugin meta has what it should have"

* Fix imports

* Use mmdb.posthog.net

* Rework MMDB approach for plugin attachments and Brotli

* Run prettier

* Improve concurrency handling and restructure files

* Add periodic in-flight MMDB staleness check with no-interrupt update

* Polish up staleness check

* Fix schedule

* Gracefully handle airgapped systems

* Update plugins.test.ts

* Update README.md

* Roll back unrelated config updates

* Add tests

* Fix plugin attachments in tests
2021-03-26 03:22:18 +01:00
Marius Andra
8c7141b3b8 fix deprecations in tests 2020-12-07 16:07:44 +01:00
Marius Andra
c169b421a5 add fetch test 2020-11-30 16:57:02 +01:00