Commit Graph

5 Commits (6ed6c41724e9a80c9cbb068d7a59271b583d671c)

Author SHA1 Message Date
Eugen Rochko 282ea17078
Add soft delete for statuses for instant deletes through API ()
* Add soft delete for statuses to allow them to appear instant

* Allow reporting soft-deleted statuses and show them in the admin UI

* Change index for getting an account's statuses
Eugen Rochko 97192d9a77
Fix remote and staff-removed statuses leaving media behind for a day ()
The reason for unattaching media instead of removing it is to support
delete & redraft functionality, but remote or staff-removed statuses
will never be redrafted, so the media should be deleted immediately
Eugen Rochko 4c6809f6ab Adding some rescues to workers, e.g. don't fail removal job when status can't be found in the first place (already removed)
Eugen Rochko f90133d2ad Thread resolving no longer needs to be separate from ProcessFeedService,
since that is only ever called in the background
Eugen Rochko 93a90cd9c3 Delete statuses asynchronously but provide instant feedback in the API