Commit Graph

356 Commits

Author SHA1 Message Date
Martin Polden a6b0a95581 Bump github.com/oschwald/geoip2-golang 2018-08-27 21:39:21 +02:00
Mike Raunsbæk ac4a9de770 Added coordinates from City database 2018-08-27 21:30:57 +02:00
Martin Polden b821b1efcc Remove megacheck from lint target 2018-08-27 21:24:28 +02:00
Martin Polden fefe371369 Use Go modules 2018-08-27 21:13:06 +02:00
Martin Polden 988f3fd19a Rename ipd -> echoip 2018-08-27 20:50:56 +02:00
Martin Polden bc5e1ae713 Deploy to Heroku 2018-08-20 21:02:02 +02:00
Martin Polden 68479cc8d6 Use Go stable when building 2018-08-20 21:00:30 +02:00
Martin Polden f601732585 Use https when downloading databases 2018-08-20 20:51:56 +02:00
Martin Polden c32aedac95 Add Heroku config 2018-08-20 20:46:56 +02:00
Martin Polden 2fbc25d39b Add vendor config 2018-08-20 20:46:18 +02:00
Martin Polden 3048066a9b
Merge pull request #61 from rufoa/master
Use big.Int for decimal IPs rather than uint64
2018-08-20 17:38:43 +02:00
rufo 6d915d0f96 use big int for decimal IP rather than uint64 2018-08-20 03:03:49 +01:00
Martin Polden a9c0587f87 Simplify 2018-08-14 21:32:29 +02:00
Martin Polden 569c2f3879 Update gitignore 2018-08-14 21:09:02 +02:00
Martin Polden 33a8516004 Handle multiple IPs in X-Forwarded-For 2018-08-14 21:04:58 +02:00
Martin Polden 122fd3dcfa Exclude vendor in check-fmt target 2018-08-14 21:04:54 +02:00
Martin Polden 059db6372c Rename package database -> geo 2018-08-14 21:04:54 +02:00
Martin Polden 3497e6e28a
Merge pull request #59 from maximbaz/add-health-endpoint
Add /health endpoint
2018-08-14 20:27:32 +02:00
Maxim Baz 12bc12fa7e
Add /health endpoint 2018-07-30 22:32:42 +02:00
Martin Polden 2b72ea66e8 Update FAQ 2018-07-25 22:44:43 +02:00
Martin Polden 91f0c17c94 Add support for multiple trusted headers 2018-07-25 21:05:08 +02:00
Martin Polden e282ac2729 Avoid printing nested diff 2018-07-14 16:29:14 +02:00
Martin Polden 61ac57720a
Merge pull request #56 from LucaTNT/white-background
Added explicit white background color in the CSS
2018-07-07 13:58:02 +02:00
Martin Polden 266f337c97 Add format check and megacheck to build 2018-06-28 17:39:45 +02:00
Luca Zorzi ca311fe5cc
Added explicit white background color in the CSS
Required to make the web page look ok with macOS Mojave's Dark Mode.
2018-06-13 20:59:58 +02:00
Martin Polden 2b22328c8c Update readme 2018-03-21 22:15:39 +01:00
Martin Polden 184676ba29 Simplify 2018-03-19 19:54:24 +01:00
Martin Polden b01bddb63e Only allow a single matcher per route 2018-03-19 19:45:32 +01:00
Martin Polden 055496906d Remove logrus 2018-03-18 23:15:26 +01:00
Martin Polden 1efde17791 Replace gorilla/mux with own router 2018-03-18 22:17:41 +01:00
Martin Polden 5ff72def9c Remove map
Requires Google API key.
2018-03-04 16:49:01 +01:00
Martin Polden 3f1e267750 Update gitignore 2018-03-01 21:05:38 +01:00
Martin Polden 686eb84f53 Reword 2018-03-01 21:05:38 +01:00
Martin Polden 8940a3cdfe Update readme
Fixes #47
2018-02-12 15:12:32 +01:00
Martin Polden d49f1f7376 Simplify 2018-02-11 11:24:11 +01:00
Martin Polden 5d43f175d4 Rename package 2018-02-11 11:16:28 +01:00
Martin Polden 1fdaa8f9b1 Fix IsEmpty 2018-02-10 20:47:35 +01:00
Martin Polden 8b1d263e58 Remove unnecessary imports 2018-02-10 18:10:16 +01:00
Martin Polden da3502d429 Update template 2018-02-10 18:05:13 +01:00
Martin Polden 148451b883 Simplify 2018-02-10 18:04:16 +01:00
Martin Polden 215cce290c Disable handlers for disabled features 2018-02-10 17:52:55 +01:00
Martin Polden 8112536125 Extract iputil package 2018-02-10 14:37:04 +01:00
Martin Polden 35061bfe83 Restructure 2018-02-10 13:24:32 +01:00
Martin Polden 7362c9043a Update copyright year 2018-02-09 22:13:25 +01:00
Martin Polden ddb1aa2bb9 Move main to subpackage 2018-02-09 21:57:33 +01:00
Martin Polden a7ff603ab1 Update database URLs
Fixes #46
2018-02-09 21:45:22 +01:00
Martin Polden b3e0079aa4 Rearrange columns 2018-02-09 21:02:41 +01:00
Martin Polden 64bb0e56c7 Collapse country examples 2018-02-09 20:43:39 +01:00
Johann Richard c195bae4fb Patch for ISO and Map display (#45) 2018-02-09 20:41:30 +01:00
Martin Polden 9f839c5f36 Add back IPv6 support 2017-12-19 13:22:56 +01:00