gotosocial/internal/middleware
Markus Unterwaditzer a48cce82b9
[chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420)
* [chore] Bump tooling versions, bump go -> v1.23.0

* undo silly change

* sign

* bump go version in go.mod

* allow overflow in imaging

* goreleaser deprecation notices

* [chore] Upgrade golangci-lint, ignore existing int overflow warnings

There is a new lint for unchecked int casts. Integer overflows are bad,
but the old code that triggers this lint seems to be perfectly fine.
Instead of disabling the lint entirely for new code as well, grandfather
in existing code.

* fix golangci-lint documentation link

* revert unrelated changes

* revert another unrelated change

* get rid of remaining nolint:gosec

* swagger updates

* apply review feedback

* fix wrong formatting specifier thing

* fix the linter for real

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-10-16 14:13:58 +02:00
..
cachecontrol.go
contentsecuritypolicy.go [feature] Set some security related headers (#3065) 2024-07-04 10:07:02 +02:00
contentsecuritypolicy_test.go
cors.go
extraheaders.go [feature] Beef up our AI opt-outs (#3165) 2024-08-02 18:22:39 +02:00
gzip.go
headerfilter.go [chore] header filter improvements (#3329) 2024-09-23 11:36:56 +00:00
headerfilter_test.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
logger.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
ratelimit.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
ratelimit_test.go
requestid.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
session.go
session_test.go
signaturecheck.go [feature] Try HTTP signature validation with and without query params for incoming requests (#2591) 2024-01-31 14:15:28 +00:00
throttling.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
throttling_test.go [bugfix] increases sleep time before check in throttle test, to give more leeway (#2482) 2024-01-03 10:27:55 +00:00
tokencheck.go
useragent.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
util.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00