gotosocial/internal/db/bundb
tobi 4cf76a2bfc
[chore] Tidy up status deletion, remove from cache too (#845)
* add func for deleting status from db + cache

* move deletes entirely back to processor
and also only do a delete if the requesting account owns the item being deleted

* tidy up unboost processing

* delete status more efficiently

* fix wrong account id on remote test attachments

* fix federator test
2022-09-21 19:55:52 +02:00
..
migrations [bug] fix unique constraint conflict (#820) 2022-09-12 13:58:31 +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 [bugfix] Fix potential dereference of accounts on own instance (#757) 2022-08-20 21:47:19 +01:00
admin.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
admin_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
basic.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
basic_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
bundb.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
bundb_test.go [feature] Clean up/uncache remote media (#407) 2022-03-07 11:08:26 +01:00
bundbnew_test.go [bugfix] Make accounts media_only query also work with pg (#643) 2022-06-10 10:56:49 +02:00
conn.go [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
domain.go [bugfix] Fix domains not being unblockable, log internal server errors from API (#833) 2022-09-17 19:12:12 +02:00
domain_test.go [performance] cache recently allowed/denied domains to cut down on db calls (#794) 2022-09-02 12:17:46 +02:00
emoji.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
emoji_test.go [feature] implement custom_emojis endpoint (#563) 2022-05-20 10:34:36 +02:00
errors.go [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
hook.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
instance.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
media.go [feature] Cleanup unattached local media (#680) 2022-06-30 12:22:10 +02:00
media_test.go [feature] Cleanup unattached local media (#680) 2022-06-30 12:22:10 +02:00
mention.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
mention_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01: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
relationship.go [feature] Sort follow requests, followers, and following by updated_at (#774) 2022-08-31 11:27:39 +02:00
relationship_test.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
session.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
session_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
status_test.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
timeline.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
timeline_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go [feature] Clean up/uncache remote media (#407) 2022-03-07 11:08:26 +01:00