[#1560] Ensured authentication or enabled federation for federation-related routes...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 9 Mar 2020 17:51:44 +0000 (20:51 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 9 Mar 2020 17:51:44 +0000 (20:51 +0300)
commit5fc92deef37dcc4db476520d89dd79e616356e63
treee9cbf49b1cd01dc145f162d6f1fc8cd334b0a208
parent027714b519cca63ac943369d0bcc9534ba448a80
[#1560] Ensured authentication or enabled federation for federation-related routes. New tests + tests refactoring.
12 files changed:
lib/pleroma/plugs/ensure_authenticated_plug.ex
lib/pleroma/plugs/federating_plug.ex
lib/pleroma/web/activity_pub/activity_pub_controller.ex
lib/pleroma/web/feed/user_controller.ex
lib/pleroma/web/ostatus/ostatus_controller.ex
lib/pleroma/web/router.ex
test/plugs/ensure_authenticated_plug_test.exs
test/support/conn_case.ex
test/web/activity_pub/activity_pub_controller_test.exs
test/web/feed/user_controller_test.exs
test/web/media_proxy/media_proxy_controller_test.exs
test/web/ostatus/ostatus_controller_test.exs