Commit Graph

245 Commits

Author SHA1 Message Date
Martin Polden
0cd84ada1e Extract useragent package
Fixes #30
2017-05-27 15:33:46 +02:00
Martin Polden
6fa3c34c19 Fix import path 2017-05-25 13:07:40 +02:00
Martin Polden
803697b91a Update readme 2017-05-18 18:58:27 +02:00
Martin Polden
81b7c71ce1 Update documentation 2017-03-30 22:25:37 +02:00
Martin Polden
a838be0efd Fix GitHub links 2017-03-20 19:00:57 +01:00
Martin Polden
01b37bbc3a Add FAQ
Fixes #27
2017-03-20 18:59:41 +01:00
Martin Polden
7f02886d75 Use Open Sans font 2017-03-20 18:53:07 +01:00
Martin Polden
6f23c2af4a Bump pure 2017-03-20 18:45:34 +01:00
Martin Polden
debf126ab6 Update badge link 2017-03-14 18:27:36 +01:00
Martin Polden
e8e322edcb Update import paths 2017-03-14 18:17:15 +01:00
Martin Polden
53e28ee519 Build latest minor version 2017-03-05 15:04:41 +01:00
Martin Polden
73e5d426c5 Document /ip path
Closes #25
2017-02-06 19:07:52 +01:00
Martin Polden
3cc33c85b6 Update copyright year 2017-02-05 18:25:45 +01:00
Martin Polden
faf2f62612 Send plain response for Accept: text/plain
Fixes #24
2016-11-16 20:00:03 +01:00
Martin Polden
4a9710dcea Update readme 2016-10-09 16:21:07 +02:00
Martin Polden
b1b3fbb5f3 Rename Handlers -> Router 2016-10-09 16:18:38 +02:00
Martin Polden
d560f6108a Build Go 1.7 2016-09-14 22:06:36 +02:00
Martin Polden
2495b3803a Remove user agent check for non-root CLI handlers
Fixes #23
2016-09-06 19:35:23 +02:00
Martin Polden
36fba6ff54 Use logrus for logging 2016-08-13 20:32:19 +02:00
Martin Polden
c7668386de Use https link for v6.ifconfig.co 2016-08-02 17:12:47 +02:00
Martin Polden
6a9202851d Include IP in decimal format
Fixes #19
2016-07-06 23:47:11 +02:00
Martin Polden
cfb86fe124 Follow golang convention for constants 2016-05-26 21:38:55 +02:00
Martin Polden
6e1ad53a3b Add support for ddclient
Fixes #16
2016-05-26 21:36:23 +02:00
Martin Polden
3df93d15a7 Use non-https link for v6
See #15
2016-05-01 17:16:49 +02:00
Martin Polden
c628a5bded Correct field order 2016-05-01 17:13:40 +02:00
Martin Polden
2c5f4e08b5 Refactor 2016-04-27 17:07:53 +02:00
Martin Polden
c8db4935ca Use https in links 2016-04-27 16:58:43 +02:00
Martin Polden
74e6f4dd31 Ensure hostname is unrooted 2016-04-17 21:34:00 +02:00
Martin Polden
73fd32f37e Remove ipFromRequest field 2016-04-17 16:03:00 +02:00
Martin Polden
3134de8260 Do not trust X-Real-IP header by default
Use -H option to whitelist header to trust for remote IP address. This
is useful when a reverse proxy is used in front of ipd.
2016-04-17 15:57:46 +02:00
Martin Polden
270ffec441 Distinguish IP from port
In case IP is an IPv6 address.
2016-04-17 15:23:38 +02:00
Martin Polden
9d8a541caf Remove CORS support 2016-04-17 14:23:20 +02:00
Martin Polden
0d390d0d19 Use GitHub corners
Looks better on mobile.
2016-04-17 13:54:08 +02:00
Martin Polden
e4bf08de8c Update readme 2016-04-17 13:31:43 +02:00
Martin Polden
65d9d8ccf1 Cleanup examples 2016-04-17 11:42:20 +02:00
Martin Polden
8f71576357 Add support for city lookup 2016-04-17 11:28:47 +02:00
Martin Polden
8027c55fdf Refactor lookup methods 2016-04-17 11:16:30 +02:00
Martin Polden
7d23fe9853 Add /json route 2016-04-17 09:31:33 +02:00
Martin Polden
26fdb23f37 Update user agent regexp 2016-04-16 20:18:20 +02:00
Martin Polden
5e2c67573c Remove unused methods 2016-04-16 11:11:19 +02:00
Martin Polden
837a32db56 Use correct method 2016-04-16 10:54:41 +02:00
Martin Polden
7ffaf5e9ac Cleanup 2016-04-16 10:45:43 +02:00
Martin Polden
ed29f49139 Update http command 2016-04-16 10:29:23 +02:00
Martin Polden
a2d26b2f0e Rewrite tests 2016-04-16 10:17:15 +02:00
Martin Polden
c6aad1b5b7 Use responsive grid 2016-04-16 10:17:15 +02:00
Martin Polden
abcae5fc26 Minor style changes 2016-04-16 10:17:15 +02:00
Martin Polden
4664693b0a Close connection when testing port 2016-04-16 09:48:39 +02:00
Martin Polden
55d72fd053 Add country lookup as separate handler 2016-04-16 09:19:26 +02:00
Martin Polden
95b5b76ef7 Only display enabled features on web page 2016-04-15 21:23:03 +02:00
Martin Polden
100131e420 Update readme 2016-04-15 20:57:35 +02:00