Commit Graph

105 Commits

Author SHA1 Message Date
b5fa3be506
Move logs about stopping servers to the proper place 2023-03-20 19:27:17 +01:00
8783db018b
Use pointers to proper server initializing handling 2023-03-20 17:43:06 +01:00
e60d1ae5b7
Initial server handling refactor (#9) 2023-03-20 16:36:55 +01:00
84a767ade0
chore: Fix README.md typos 2023-03-18 21:14:08 +01:00
19c72f94a5
Add experimental support for HTTP/3 (#8)
* Wait for service in integration tests instead of watching for a string

* Add http3 experimental support
2023-03-18 21:06:51 +01:00
de78dcdf52
Bump dependencies due to minor security issues 2023-03-16 19:59:39 +01:00
eb200ddd81
Fix minor linting issues 2023-03-16 19:59:04 +01:00
5c4ac4a3ee
[skip ci] bump action-gh-release to v1 2023-03-10 20:03:32 +01:00
ee328892d6
Bump gin to v1.9.0 2023-03-10 19:30:03 +01:00
04d983d671
Remove redundant ifs 2023-03-10 19:27:10 +01:00
202518d547
Merge branch 'main' of github.com:dcarrillo/whatismyip 2023-02-16 19:27:07 +01:00
52d14fe78f
Update dependencies 2023-02-16 19:26:53 +01:00
8aadc4fbb6
Bump golang to 1.20 2023-02-16 19:24:16 +01:00
dependabot[bot]
b6391d8fd1
Bump github.com/containerd/containerd from 1.6.12 to 1.6.18 (#6)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.12 to 1.6.18.
2023-02-16 19:21:04 +01:00
35fac1bd57
chore: update linters and go action 2023-01-26 20:47:03 +01:00
b13a30c354
chore: disable go cache 2023-01-26 20:43:13 +01:00
5982683cdd
chore: use cache in CI and bump checkout action to v3 2023-01-26 20:38:31 +01:00
1a986a029f
Update gin to v1.8.2 (GO-2022-1144) and containerd (CVE-2022-27664) 2022-12-26 19:30:02 +01:00
ed0ddccab5
Update golang.org/x/net (CVE-2022-32149) 2022-11-05 13:37:05 +01:00
20ae50c115
Update golang.org/x/net (CVE-2022-27664) 2022-09-13 20:38:24 +02:00
9763ed0e29
Update to golang 1.19 2022-08-11 20:02:27 +02:00
88691a5149
Update README.md
Add CodeQL badge
2022-07-03 11:57:58 +02:00
Daniel Carrillo
6b7fc0bc6a
Bump gin and testify to latest versions 2022-07-03 11:39:51 +02:00
c5a659ff64
Create codeql-analysis.yml 2022-07-03 11:29:23 +02:00
bd06da7b2b
Bump gin-gonic to 1.8.0 2022-06-03 18:37:22 +02:00
b61d64a755
Moving secure again, this time to github.com/gin-contrib/secure 2022-05-07 15:56:21 +02:00
3df794ecc4
Bump testcontainers-go tp 0.13.0 2022-05-07 13:06:19 +02:00
ca1d002974
Use gin-gonic/contrib/secure instead of deprecated module 2022-05-07 12:51:13 +02:00
1ee7256506
Remove headers set by a trusted proxy from outputs 2022-05-02 18:07:40 +02:00
7c70abf07f
Add feature to get the right client port when using a trusted proxy 2022-05-02 17:56:57 +02:00
9070e9a2c2
Use Accept request header instead of user agent to figure out non-browser clients. Funny fact, I borrowed the idea from a fork ('8a3e142cf3/router/generic.go (L33)') 2022-04-30 17:35:12 +02:00
12da27ddab
Add optional secure headers to responses 2022-04-02 18:12:31 +02:00
aae2e08240
Bump maxminddb-golang to 1.9.0 2022-04-02 18:07:12 +02:00
e4667bda05
Remove timestamp snapshot from log when releasing 2022-03-19 19:08:02 +01:00
49b28b6536
Update golangci-lint and shadow 2022-03-19 19:02:41 +01:00
edd0713c21
Update modules and bump go version to 1.18 2022-03-19 18:59:15 +01:00
ab46275990
Tidy up the house 2022-01-27 13:17:51 +01:00
f7d0a679c9
Add test for geo model 2021-12-01 18:09:13 +01:00
ac32dc240f
Add release badge to README 2021-12-01 13:18:32 +01:00
2d330a99b7
Add CI and go-report badges. Add comments to make golint happy 2021-11-30 17:49:02 +01:00
9b10052cd1
refactor on some tests 2021-11-30 16:32:52 +01:00
def2b0f2f0
Update Gin and testcontainers to latest version 2021-11-30 16:07:31 +01:00
8b5cccd744
Refactor setting module and add tests (#4) 2021-11-29 18:16:27 +01:00
2571e22843
Fix format errors and add gofmt and golines to Makefile 2021-11-21 18:23:36 +01:00
2807e2afc9
Improve client port handling and fix IPv6 client port testing 2021-11-21 12:49:13 +01:00
pando85
1aa59f1b0b
Fix long lines (#2)
Using [golines](https://github.com/segmentio/golines):
`golines -w .`
2021-11-18 19:26:53 +01:00
126ae833b5
Fix LICENSE file, a tgz instead of text plain was commited by mistake 2021-11-18 13:04:38 +01:00
97b3245278
Enable automatic releases 2021-11-17 17:01:29 +01:00
7bc95f98c8
Add -s -w flags when building to omit the symbol table, debug information and the DWARF table 2021-11-16 19:10:19 +01:00
66f3436371
Add github releases 2021-11-16 19:10:01 +01:00