mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MediaDeletePipeline skips deletion when media->status_id is set. status_id has no FK/cascade, so deleting a status never clears it, and the delete jobs dispatched by the status-delete paths were always skipped, leaking media files. Detach media (status_id = null) before dispatching the delete in StatusDelete, RemoteStatusDelete and DeleteRemoteStatusPipeline, so the row is genuinely orphaned by the time the guard checks it and the deletion proceeds. Also adds a status:media diagnostic command that dumps all metadata for a media id (DB columns, computed URLs, attachment state, parent status including the dangling status_id case, owner, metadata, and an optional live URL check). |
4 weeks ago | |
|---|---|---|
| .. | ||
| NewStatusPipeline.php | 1 month ago | |
| RemoteStatusDelete.php | 4 weeks ago | |
| StatusActivityPubDeliver.php | 4 weeks ago | |
| StatusDelete.php | 4 weeks ago | |
| StatusEntityLexer.php | 1 month ago | |
| StatusLocalUpdateActivityPubDeliverPipeline.php | 4 weeks ago | |
| StatusRemoteUpdatePipeline.php | 1 month ago | |
| StatusReplyPipeline.php | 4 weeks ago | |
| StatusTagsPipeline.php | 1 month ago | |