mirror of
1
Fork 0
gotosocial/internal/processing/user
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
..
changepassword.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
changepassword_test.go [feature] Add first iteration of a user panel at `/user` (#736) 2022-08-08 10:40:51 +02:00
emailconfirm.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
emailconfirm_test.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
user_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00