Refactoring of :if_func / :unless_func plug options (general availability). Added...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 30 Apr 2020 15:19:51 +0000 (18:19 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 30 Apr 2020 15:19:51 +0000 (18:19 +0300)
commit2c4844237f294d27f58737f9694f77b1cfcb10e7
treee6c3b4eef691c5559ed32676bc9e3a955649990d
parent4c4344b7b17a2ddb1c597b059e0a7dcc043e02b2
Refactoring of :if_func / :unless_func plug options (general availability). Added tests for Pleroma.Web.Plug.
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/static_fe/static_fe_controller.ex
lib/pleroma/web/web.ex
test/plugs/ensure_authenticated_plug_test.exs
test/web/plugs/plug_test.exs [new file with mode: 0644]