mirror of
1
Fork 0
gotosocial/internal/processing/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
..
create.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
delete.go [performance] update storage backend and make use of seek syscall when available (#2924) 2024-05-22 11:46:24 +02:00
getemoji.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
getemoji_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
getfile.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
getfile_test.go [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
getmedia.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
media.go [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00
media_test.go [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00
profile.go [feature] Implement profile API (#2926) 2024-05-29 12:57:44 +02:00
unattach.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
unattach_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
update.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
util.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00