gotosocial/internal/api/model
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 [bugfix] Account.last_status_at is a date, not datetime (#3419) 2024-10-12 10:02:26 +02:00
admin.go [feature/frontend] Let admins send test email to validate SMTP config (#2934) 2024-05-27 17:03:54 +00:00
announcement.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
announcementreaction.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
application.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
attachment.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
block.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
card.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
content.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
conversation.go [bugfix] Include own account in conversation when no other accounts involved (#3387) 2024-10-04 19:22:52 +02:00
domain.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
emoji.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
emojicategory.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
exportimport.go [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
featuredtag.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
field.go [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
filter.go [feature] Filters v1 (#2594) 2024-03-06 11:15:58 +01:00
filterresult.go feature: filters v2 server-side warning/hiding (#2793) 2024-05-06 12:49:08 +01:00
filterv1.go [chore] Fix a Swagger warning that only manifests during Go client code generation (#2729) 2024-03-06 18:44:58 +01:00
filterv2.go [feature] filter API v2: Restore keywords_attributes and statuses_attributes (#2995) 2024-06-14 10:11:41 +02:00
headerfilter.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
history.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
instance.go [Frontend] Settings for profile fields (#1885) 2023-06-13 12:21:26 +02:00
instancev1.go [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
instancev2.go [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
interaction.go [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
interactionpolicy.go [feature] Allow users to set default interaction policies per status visibility (#3108) 2024-07-17 16:46:52 +02:00
list.go [feature] Implement exclusive lists (#3280) 2024-09-09 15:56:58 -07:00
marker.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
mention.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
multistatus.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
notification.go [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
oauth.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
poll.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
preferences.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
pushsubscription.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
relationship.go [feature] Add requested_by to relationship model (#2672) 2024-02-20 17:50:54 +00:00
report.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
results.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
rule.go [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
scheduledstatus.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
search.go [feature] Add from: search operator and account_id query param (#2943) 2024-05-31 12:57:42 +02:00
source.go [feature/frontend] Add options to include Unlisted posts or hide all posts (#3272) 2024-09-09 18:07:25 +02:00
status.go [feature] Allow users to submit interaction_policy on new statuses (#3314) 2024-09-18 16:35:35 +00:00
statuscontext.go [chore/frontend] Tweak threading a bit, inform about hidden replies (#3097) 2024-07-13 12:26:16 +02:00
tag.go [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
theme.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
token.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
user.go [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
usermute.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
well-known.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00