mirror of
1
Fork 0
gotosocial/internal/typeutils
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
..
astointernal.go [bugfix] Ensure `pending_approval` set on statuses + status faves (#3415) 2024-10-11 15:21:45 +02:00
astointernal_test.go [bugfix] relax missing preferred_username, instead using webfingered username (#3189) 2024-08-13 09:01:50 +00:00
converter.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
converter_test.go [bugfix] Fix incorrect reply shown in interaction request (#3344) 2024-09-24 17:28:46 +00:00
csv.go [chore] make csv export ordering determinate (#3318) 2024-09-18 10:23:28 +00:00
defaulticons.go [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
frontendtointernal.go [feature/frontend] Add options to include Unlisted posts or hide all posts (#3272) 2024-09-09 18:07:25 +02:00
internal.go [feature] Process `Reject` of interaction via fedi API, put rejected statuses in the "sin bin" 😈 (#3271) 2024-09-10 12:34:49 +00:00
internaltoas.go [chore] Don't cc Accept of likes to followers (#3417) 2024-10-11 15:22:05 +02:00
internaltoas_test.go [chore] Don't cc Accept of likes to followers (#3417) 2024-10-11 15:22:05 +02:00
internaltofrontend.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
internaltofrontend_test.go [bugfix] Account.last_status_at is a date, not datetime (#3419) 2024-10-12 10:02:26 +02:00
internaltorss.go [chore]: Bump github.com/gorilla/feeds from 1.1.2 to 1.2.0 (#3035) 2024-06-24 09:04:27 +00:00
internaltorss_test.go [feature/frontend] Respect `prefers-reduced-motion` for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
util.go [feature] Show info for pending replies, allow implicit accept of pending replies (#3322) 2024-09-23 14:42:19 +02:00
util_test.go [bugfix] Use better plaintext representation of status for filtering (#3301) 2024-09-16 14:00:23 +02:00
wrap.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
wrap_test.go [bugfix] Fix incorrect json-ld `@context` serialization (#3243) 2024-08-26 19:17:45 +02:00