schedule activity expiration in Oban
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Sat, 22 Aug 2020 17:46:01 +0000 (20:46 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 10 Sep 2020 18:50:40 +0000 (21:50 +0300)
commit9bf1065a06837b4c753549d89afe23a636a20972
tree1637cfc658487fd95b89282b87212b9b7f354a83
parent0254696e30132f48e585154450aff87afb259e1d
schedule activity expiration in Oban
23 files changed:
config/config.exs
config/description.exs
lib/mix/tasks/pleroma/database.ex
lib/pleroma/activity.ex
lib/pleroma/activity_expiration.ex [deleted file]
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/activity_pub/mrf/activity_expiration_policy.ex
lib/pleroma/web/activity_pub/side_effects.ex
lib/pleroma/web/common_api/activity_draft.ex
lib/pleroma/web/common_api/common_api.ex
lib/pleroma/web/mastodon_api/views/status_view.ex
lib/pleroma/workers/cron/purge_expired_activities_worker.ex [deleted file]
lib/pleroma/workers/purge_expired_activity.ex [new file with mode: 0644]
test/activity_expiration_test.exs [deleted file]
test/activity_test.exs
test/support/factory.ex
test/tasks/database_test.exs
test/web/activity_pub/activity_pub_test.exs
test/web/activity_pub/mrf/activity_expiration_policy_test.exs
test/web/common_api/common_api_test.exs
test/web/mastodon_api/controllers/status_controller_test.exs
test/workers/cron/purge_expired_activities_worker_test.exs [deleted file]
test/workers/purge_expired_activity_test.exs [new file with mode: 0644]