GoToSocial/cmd/gotosocial
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
..
action [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
admin.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
common.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
debug.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
main.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
server.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
testrig.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00