mirror of
1
Fork 0
gotosocial/testrig
tobi 13e4bbdbfa
[chore] Duplicated media cleanup (#649)
* add migration to clean up duplicated media

* use /tmp/gotosocial for testrig storage path

* defer remove storage tempdir

* skip if not attached to status or status not found

* log errors at error level

* only log delete as else clause if successful

* just return nil on down

* reword delete logic a little bit

* check if storage base path is defined

* check for status id more thoroughly

* don't log error if just no rows

* go fmt

* break statusIDLoop when found

* break currentlyUsedLoop when found
2022-06-14 17:00:57 +01:00
..
media [bugfix] Fix images not being processed correctly sometimes (#437) 2022-03-21 19:46:51 +01:00
config.go [chore] Duplicated media cleanup (#649) 2022-06-14 17:00:57 +01:00
db.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
email.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
federatingdb.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
federator.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
log.go [bugfix] update syslog tests to listen/connect specifically to ipv4 loopback (#561) 2022-05-13 13:35:41 +02:00
mediahandler.go test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
oauthserver.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
processor.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
router.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
storage.go [chore] Duplicated media cleanup (#649) 2022-06-14 17:00:57 +01:00
testmodels.go [chore] Fix testrig emoji bug (#646) 2022-06-11 16:41:34 +02:00
transportcontroller.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
typeconverter.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00