GoToSocial/internal/processing/status
tobi aa07750bdb
[chore] Standardize database queries, use `bun.Ident()` properly (#886)
* use bun.Ident for user queries

* use bun.Ident for account queries

* use bun.Ident for media queries

* add DeleteAccount func

* remove CaseInsensitive in Where+use Ident ipv Safe

* update admin db

* update domain, use ident

* update emoji, use ident

* update instance queries, use bun.Ident

* fix media

* update mentions, use bun ident

* update relationship + tests

* use tableexpr

* add test follows to bun db test suite

* update notifications

* updatebyprimarykey => updatebyid

* fix session

* prefer explicit ID to pk

* fix little fucky wucky

* remove workaround

* use proper db func for attachment selection

* update status db

* add m2m entries in test rig

* fix up timeline

* go fmt

* fix status put issue

* update GetAccountStatuses
2022-10-08 13:50:48 +02:00
..
boost.go [bugfix] Fix boost of boost issue (#764) 2022-08-23 10:46:10 +02:00
boost_test.go [bugfix] Fix boost of boost issue (#764) 2022-08-23 10:46:10 +02:00
boostedby.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
context.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
create.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
create_test.go fix emojis not showing in spoiler text (#878) 2022-10-02 13:01:47 +01:00
delete.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
fave.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
favedby.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
get.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
status_test.go [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
unboost.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
unfave.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
util.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
util_test.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00