GoToSocial/internal/cache
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
..
domain [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
cache.go [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
db.go [chore] local instance count query caching, improved status context endpoint logging, don't log ErrHideStatus when timelining (#3330) 2024-09-23 11:53:42 +00:00
invalidate.go [chore] local instance count query caching, improved status context endpoint logging, don't log ErrHideStatus when timelining (#3330) 2024-09-23 11:53:42 +00:00
size.go [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
util.go [bugfix] visibility after implicit approval not getting invalidated (#3370) 2024-09-28 22:47:46 +02:00
visibility.go [bugfix] visibility after implicit approval not getting invalidated (#3370) 2024-09-28 22:47:46 +02:00
wrappers.go [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00