GoToSocial/internal/processing/admin
tobi b143877995
[feature] Unused avatar and header cleanup (#574)
* rename + tidy up remote pruning

* fix media attachment account join
see https://bun.uptrace.dev/guide/golang-orm.html#table-relationships

* update logging to new function name

* add get avatars and headers to bun

* add pruneallmeta function

* don't set uncached since we're deleting anyway

* fix totalPruned being in wrong place

* test pruning meta

* go fmt ./...

* rename mediaprune

* add meta pruning to routine mediaprune

* tidy up cleanup job scheduling

* rename adminmediaremoteprune

* update mediacleanup to use renamed prune func

* update swagger docs a little bit

* reuse cancel + context
2022-05-15 15:45:04 +01:00
..
accountaction.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
admin.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
createdomainblock.go [performance] Speed up some of the slower db queries (#523) 2022-05-02 11:53:46 +01:00
deletedomainblock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
emoji.go [feature] Add postDataCallbackFunc to allow cleanup (#408) 2022-02-22 13:50:33 +01:00
getdomainblock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getdomainblocks.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
importdomainblocks.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
mediaprune.go [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00