Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
authorkaniini <nenolod@gmail.com>
Thu, 27 Dec 2018 19:37:55 +0000 (19:37 +0000)
committerkaniini <nenolod@gmail.com>
Thu, 27 Dec 2018 19:37:55 +0000 (19:37 +0000)
Create tombstone instead of object deletion

See merge request pleroma/pleroma!593

1  2 
lib/pleroma/notification.ex
lib/pleroma/object.ex
test/activity_test.exs
test/object_test.exs
test/web/activity_pub/activity_pub_test.exs
test/web/mastodon_api/mastodon_api_controller_test.exs
test/web/ostatus/ostatus_controller_test.exs

Simple merge
index cc4a2181a060c5d5c9e965bce9b4cebd34b5e4fc,5b1347b37251fec130ac21ac68fa6c1eb9b263f1..e2b64872785dfca64084526243028e235951d97d
@@@ -1,10 -1,6 +1,10 @@@
 +# Pleroma: A lightweight social networking server
 +# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
 +# SPDX-License-Identifier: AGPL-3.0-only
 +
  defmodule Pleroma.Object do
    use Ecto.Schema
-   alias Pleroma.{Repo, Object, User, Activity}
+   alias Pleroma.{Repo, Object, User, Activity, ObjectTombstone}
    import Ecto.{Query, Changeset}
  
    schema "objects" do
index cf27fbbc50bf4e054675ee210c6136d709b3761a,ddcf548030327dcd169ce7675f8f11f8375dbc9d..36c718869cc5acde56ac301ec69066faba1e2bff
@@@ -1,9 -1,6 +1,10 @@@
 +# Pleroma: A lightweight social networking server
 +# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
 +# SPDX-License-Identifier: AGPL-3.0-only
 +
  defmodule Pleroma.ActivityTest do
    use Pleroma.DataCase
+   alias Pleroma.Activity
    import Pleroma.Factory
  
    test "returns an activity by it's AP id" do
Simple merge