Merge branch 'remake-remodel-2' into 'develop'
authorlain <lain@soykaf.club>
Mon, 6 Apr 2020 11:59:01 +0000 (11:59 +0000)
committerlain <lain@soykaf.club>
Mon, 6 Apr 2020 11:59:01 +0000 (11:59 +0000)
Ingestion Pipeline Revamp

See merge request pleroma/pleroma!2315

18 files changed:
1  2 
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/activity_pub/transmogrifier.ex
lib/pleroma/web/common_api/common_api.ex
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
test/notification_test.exs
test/object_test.exs
test/user_test.exs
test/web/activity_pub/activity_pub_test.exs
test/web/activity_pub/transmogrifier_test.exs
test/web/activity_pub/views/object_view_test.exs
test/web/common_api/common_api_test.exs
test/web/mastodon_api/controllers/notification_controller_test.exs
test/web/mastodon_api/controllers/status_controller_test.exs
test/web/mastodon_api/views/notification_view_test.exs
test/web/ostatus/ostatus_controller_test.exs
test/web/pleroma_api/controllers/account_controller_test.exs
test/web/push/impl_test.exs
test/web/streamer/streamer_test.exs

index 7cfa40c5178d5e4798b4628ac25ebb83493b4de6,b22c238613d44b8741def1e047aca6dde3ecc665..837a9dacd17a9ea854878580817ebd4a39515430
@@@ -537,12 -455,9 +537,12 @@@ defmodule Pleroma.NotificationTest d
            "status" => "hey @#{other_user.nickname}!"
          })
  
-       {:ok, activity_two, _} = CommonAPI.favorite(activity_one.id, third_user)
+       {:ok, activity_two} = CommonAPI.favorite(third_user, activity_one.id)
  
 -      assert other_user not in Notification.get_notified_from_activity(activity_two)
 +      {enabled_receivers, _disabled_receivers} =
 +        Notification.get_notified_from_activity(activity_two)
 +
 +      assert other_user not in enabled_receivers
      end
  
      test "it does not send notification to mentioned users in announces" do
Simple merge
Simple merge
Simple merge
Simple merge