gotosocial/internal/media
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
..
ffmpeg [feature/OFFICIALLY UNSUPPORTED] add nowasm build tag to disable building with WebAssembly (#3429) 2024-10-14 11:59:12 +02:00
test [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
ffmpeg.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
imaging.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
manager_test.go [performance] use single-threaded image transforms (#3252) 2024-08-31 10:41:38 +02:00
manager.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
media_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
metadata.go [performance] use native Go code to probe JPEGs (#3206) 2024-08-19 13:38:10 +00:00
probe.go [performance] use native Go code to probe JPEGs (#3206) 2024-08-19 13:38:10 +00:00
processingemoji.go [bugfix] s3 media uploaded without content-type (#3353) 2024-09-26 14:43:10 +02:00
processingmedia.go [bugfix] s3 media uploaded without content-type (#3353) 2024-09-26 14:43:10 +02:00
refetch_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
refetch.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
thumbnail.go [performance] use single-threaded image transforms (#3252) 2024-08-31 10:41:38 +02:00
types.go [feature] more filetype support! (#3107) 2024-07-15 15:24:53 +01:00
util.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00