gotosocial/internal/federation/dereferencing
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
..
account.go [security] harden account update logic (#3198) 2024-08-13 15:37:09 +00:00
account_test.go [security] harden account update logic (#3198) 2024-08-13 15:37:09 +00:00
announce.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
authenticate.go [security] harden account update logic (#3198) 2024-08-13 15:37:09 +00:00
collection.go [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
dereferencer.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
dereferencer_test.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
emoji.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
emoji_test.go [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
finger.go [bugfix] relax missing preferred_username, instead using webfingered username (#3189) 2024-08-13 09:01:50 +00:00
handshake.go [chore/security] refactor AuthenticateFederatedRequest() to handle account deref + suspension checks (#2371) 2023-11-21 11:35:30 +01:00
instance.go [chore] de-interface{} the federator and dereferencer structs (#2285) 2023-10-23 10:58:13 +01:00
media.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
status.go [feature] Distribute + ingest Accepts to followers (#3404) 2024-10-08 08:51:13 +00:00
status_permitted.go [bugfix] Fix replies not being stored pending approval (#3409) 2024-10-09 11:02:10 +02:00
status_test.go [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
thread.go [chore] status dereferencing improvements (#3255) 2024-09-10 12:33:32 +00:00
util.go [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00