Commit Graph

35 Commits

Author SHA1 Message Date
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
7d2209d390
Fix workflow when pushing artifact to Dockerhub 2021-11-12 19:01:19 +01:00
255660374f
Update README.md 2021-11-11 18:30:50 +01:00
36f82eb6a7
Add github workflow (#1)
* Add github workflow
2021-11-11 17:09:05 +01:00
c0d1143de6
Fix Makefile 2021-11-10 20:27:02 +01:00
2fcfa91545
first commit 2021-11-10 20:06:12 +01:00