gotosocial/internal/processing
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
..
account [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
admin [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
federation [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
media [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
status [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
streaming [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
user [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
account.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00
account_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
admin.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
app.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
blocks.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
federation.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
followrequest.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
followrequest_test.go [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
fromclientapi.go [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
fromclientapi_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
fromcommon.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
fromfederator.go [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
fromfederator_test.go [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
instance.go [chore] Standardize database queries, use bun.Ident() properly (#886) 2022-10-08 13:50:48 +02:00
media.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
notification.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
notification_test.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
oauth.go [feature] oob oauth token support (#889) 2022-10-08 13:49:56 +02:00
processor.go [feature] oob oauth token support (#889) 2022-10-08 13:49:56 +02:00
processor_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
search.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
status.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
statustimeline.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
streaming.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go [performance] use GetAccountByUsernameDomain() for local account lookups to rely on cache (#793) 2022-09-02 11:56:33 +02:00