gotosocial/internal/gtsmodel
2024-10-08 08:51:13 +00:00
..
account.go
accountnote.go
accountsettings.go [feature/frontend] Add options to include Unlisted posts or hide all posts (#3272) 2024-09-09 18:07:25 +02:00
accountstats.go
adminaction.go
advancedmigration.go [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
application.go
block.go
client.go
conversation.go [chore] add some more slice related utility functions + remove duplicated functions (#3149) 2024-07-30 11:29:32 +02:00
domainallow.go
domainblock.go
domainpermission.go
emaildomainblock.go
emoji.go [chore] Allow gtsmodel to depend on util (#3068) 2024-07-03 15:53:54 -07:00
emojicategory.go
filter.go [bugfix] Use better plaintext representation of status for filtering (#3301) 2024-09-16 14:00:23 +02:00
follow.go
followrequest.go
headerfilter.go
instance.go
interaction.go [feature] Distribute + ingest Accepts to followers (#3404) 2024-10-08 08:51:13 +00:00
interactionpolicy.go [chore] Add interaction filter to complement existing visibility filter (#3111) 2024-07-24 12:27:42 +01:00
list.go [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
marker.go
mediaattachment.go [feature] Use gifv type for short soundless mp4 videos (#3182) 2024-08-08 08:12:16 +00:00
mention.go [chore] status dereferencing improvements (#3255) 2024-09-10 12:33:32 +00:00
move.go
notification.go [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
poll.go
README.md
report.go
routersession.go
rule.go
sinbinstatus.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
status.go [chore] status dereferencing improvements (#3255) 2024-09-10 12:33:32 +00:00
statusbookmark.go
statusfave.go [feature] Federate interaction policies + Accepts; enforce policies (#3138) 2024-07-26 12:04:28 +02:00
statusmute.go
tag.go [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
thread.go
threadmute.go
token.go
tombstone.go
user.go
usermute.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
workertask.go [feature] persist worker queues to db (#3042) 2024-07-30 13:58:31 +02:00

A note on when we should set data structures linked to objects in the database to use the bun nullzero tag -- this should only be done if the member type is a pointer, or if the this primitive type is literally invalid with an empty value (e.g. media IDs which when empty signifies a null database value, compared to say an account note which when empty could mean either an empty note OR null database value).

Obviously it is a little more complex than this in practice, but keep it in mind!