]> cat aescling's git repositories - mastodon.git/commit
Add tombstones for remote statuses (#9830)
authorThibG <thib@sitedethib.com>
Fri, 18 Jan 2019 14:56:55 +0000 (15:56 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 18 Jan 2019 14:56:55 +0000 (15:56 +0100)
commit75b1488cf4dfe54260deff8df20e5e9b9fd90aea
treeda5c67eabed97c45a55d6943a203a8fec8683095
parent31f396b57dea684685d0affc3727a75eed2f38c9
Add tombstones for remote statuses (#9830)

* Add Tombstone model to remember object deletion

* Do not recreate a status if it has been deleted

* Record Tombstone for remote deleted items

Also, only record deleted items from same-host actors

* Clear an user's tombstones when their key change
app/lib/activitypub/activity/create.rb
app/lib/activitypub/activity/delete.rb
app/models/tombstone.rb [new file with mode: 0644]
app/services/activitypub/process_account_service.rb
db/migrate/20190117114553_create_tombstones.rb [new file with mode: 0644]
db/schema.rb