mirror of
1
Fork 0
gotosocial/internal
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
..
ap [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
api [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
cache [bugfix] Fix existing bio text showing as HTML (#531) 2022-05-07 17:55:27 +02:00
concurrency [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
config [chore] Validate/set account domain (#619) 2022-06-11 11:09:31 +02:00
db [chore] Duplicated media cleanup (#649) 2022-06-14 17:00:57 +01:00
email [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
federation [chore] Refactor thread dereference a bit for clarity (#647) 2022-06-11 16:25:41 +02:00
gotosocial test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
gtserror [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
gtsmodel [feature] Unused avatar and header cleanup (#574) 2022-05-15 15:45:04 +01:00
httpclient [performance] Don't retry/backoff invalid http requests that will never succeed (#609) 2022-05-26 13:38:41 +02:00
id change muchos things 2021-09-01 11:11:26 +02:00
log [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
media [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
messages Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
netutil [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
oauth [feature] Add `created_at` and `error_description` to `/oauth/token` endpoint (#645) 2022-06-11 10:39:39 +02:00
oidc [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
processing [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
regexes [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
router [feature] Start adding advanced configuration options, starting with `samesite` (#628) 2022-06-03 15:40:38 +02:00
stream Fix streamed messages ending up in wrong timeline(s) (#325) 2021-11-22 19:03:21 +01:00
text [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
timeline [chore] Timeline test updates (#578) 2022-05-16 18:48:59 +02:00
trans Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
transport [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
typeutils [chore] Fix testrig emoji bug (#646) 2022-06-11 16:41:34 +02:00
uris [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
util [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
validate [feature] Include password strength in error message when password strength is too low (#550) 2022-05-09 10:31:46 +02:00
visibility [bugfix] Stop some statuses from being home timelined when they shouldn't be (#585) 2022-05-18 22:23:49 +01:00
web [frontend] Restructure Frontend Sources (#634) 2022-06-09 12:51:19 +02:00