-
- Downloads
Merge branch 'feature/admin-api' into 'develop'
Add a admin API See merge request pleroma/pleroma!366
No related branches found
No related tags found
Showing
- lib/mix/tasks/relay_follow.ex 6 additions, 4 deletionslib/mix/tasks/relay_follow.ex
- lib/mix/tasks/relay_unfollow.ex 6 additions, 4 deletionslib/mix/tasks/relay_unfollow.ex
- lib/mix/tasks/set_admin.ex 32 additions, 0 deletionslib/mix/tasks/set_admin.ex
- lib/pleroma/plugs/user_is_admin_plug.ex 19 additions, 0 deletionslib/pleroma/plugs/user_is_admin_plug.ex
- lib/pleroma/web/activity_pub/relay.ex 8 additions, 6 deletionslib/pleroma/web/activity_pub/relay.ex
- lib/pleroma/web/admin_api/admin_api_controller.ex 158 additions, 0 deletionslib/pleroma/web/admin_api/admin_api_controller.ex
- lib/pleroma/web/router.ex 32 additions, 0 deletionslib/pleroma/web/router.ex
- test/plugs/user_is_admin_plug_test.exs 39 additions, 0 deletionstest/plugs/user_is_admin_plug_test.exs
- test/web/admin_api/admin_api_controller_test.exs 112 additions, 0 deletionstest/web/admin_api/admin_api_controller_test.exs
lib/mix/tasks/set_admin.ex
0 → 100644
lib/pleroma/plugs/user_is_admin_plug.ex
0 → 100644
test/plugs/user_is_admin_plug_test.exs
0 → 100644
Please register or sign in to comment