WIP: fix attachment cleanup after media domain migration #818

Draft
Oneric wants to merge 2 commits from Oneric/akkoma:attachcleanup-uploadmigration into develop

2 commits

Author SHA1 Message Date
219fffa0c3 Allow deleting uploaded files after media migration
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
Until now only the current base_url was checked.
After a media domain migration all pre-existing files
thus turned undeletable. Fix this with a new config
option allowing to list all old media base urls.
(This may also come in handy for a later db refactor, see
 #765)
2024-07-05 22:21:38 +02:00
34cb5b350c [TMP] following commits depend on #789
this is #789
squahsed into a single commit
2024-07-05 22:21:38 +02:00