mirror of
1
Fork 0
gotosocial/internal/gtsmodel
tobi 2796a2e82f
[feature] Hashtag federation (in/out), hashtag client API endpoints (#2032)
* update go-fed

* do the things

* remove unused columns from tags

* update to latest lingo from main

* further tag shenanigans

* serve stub page at tag endpoint

* we did it lads

* tests, oh tests, ohhh tests, oh tests (doo doo doo doo)

* swagger docs

* document hashtag usage + federation

* instanceGet

* don't bother parsing tag href

* rename whereStartsWith -> whereStartsLike

* remove GetOrCreateTag

* dont cache status tag timelineability
2023-07-31 15:47:35 +02:00
..
README.md Prune unnecessary nullzeros, fixup db tags (#200) 2021-09-10 10:08:21 +02:00
account.go [feature] Add partial text search for accounts + statuses (#1836) 2023-06-21 17:26:40 +01:00
accountnote.go [feature] Support setting private notes on accounts (#1982) 2023-07-27 10:30:39 +02:00
admin.go [chore] Admin CLI + new account creation refactoring (#2008) 2023-07-23 12:33:17 +02:00
application.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
block.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
client.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
domainblock.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
emaildomainblock.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
emoji.go [feature/performance] support uncaching remote emoji + scheduled cleanup functions (#1987) 2023-07-24 13:14:13 +01:00
emojicategory.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
follow.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
followrequest.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
instance.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
list.go [feature] Add List functionality (#1802) 2023-05-25 10:37:38 +02:00
marker.go [feature] Implement markers API (#1989) 2023-07-29 12:49:14 +02:00
mediaattachment.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
mention.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
notification.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
report.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
routersession.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
status.go [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
statusbookmark.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusfave.go [bugfix] Add proper constraints on status faves, dedupe (#1674) 2023-04-05 20:10:05 +02:00
statusmute.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
tag.go [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
token.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
tombstone.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
user.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00

README.md

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!