mirror of
1
Fork 0
gotosocial/internal/media
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
..
test [bugfix] Wrap media reader in length reader to determine length if no `content-length` given (#848) 2022-09-24 11:11:47 +02:00
image.go [bugfix] Check orientation when reading width/height of images (#749) 2022-08-10 15:54:15 +02:00
manager.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
manager_test.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
media_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
png-stripper.go [bugfix] Allow processing of .png files where checksum is not correct (#487) 2022-04-25 14:45:44 +02:00
processingemoji.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
processingmedia.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
prunemeta.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
prunemeta_test.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
pruneremote.go [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
pruneremote_test.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
pruneunusedlocal.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
pruneunusedlocal_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
types.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00
util.go [feature] update config types to use bytesize.Size (#828) 2022-09-29 21:50:43 +01:00