gotosocial/internal/transport
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
..
delivery [chore] bump go-byteutil v1.2.0 -> v1.3.0 (#3356) 2024-09-26 19:50:08 +00:00
controller.go [feature] Federate interaction policies + Accepts; enforce policies (#3138) 2024-07-26 12:04:28 +02:00
deliver.go [chore] Close copied request body in SignDelivery (#3254) 2024-08-30 17:00:55 +00:00
dereference.go [feature] Federate interaction policies + Accepts; enforce policies (#3138) 2024-07-26 12:04:28 +02:00
derefinstance.go [bugfix] Set the Host header within the signing transport (#2799) 2024-04-02 14:28:36 +02:00
derefmedia.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
finger.go [bugfix] Use punycode for host part of resource query param when doing webfinger requests (#3133) 2024-07-26 13:11:07 +02:00
finger_test.go [bugfix] Use punycode for host part of resource query param when doing webfinger requests (#3133) 2024-07-26 13:11:07 +02:00
signing.go [chore] Roll back use of (created) pseudo-header pending #2991 (#2992) 2024-06-10 19:42:26 +01:00
transport.go [feature] persist worker queues to db (#3042) 2024-07-30 13:58:31 +02:00
transport_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00