-
- Downloads
Merge branch '468_oauth2_scopes' into 'develop'
[#468] OAuth2 scopes Closes #468 See merge request pleroma/pleroma!799
Showing
- lib/pleroma/plugs/oauth_scopes_plug.ex 41 additions, 0 deletionslib/pleroma/plugs/oauth_scopes_plug.ex
- lib/pleroma/web/controller_helper.ex 5 additions, 0 deletionslib/pleroma/web/controller_helper.ex
- lib/pleroma/web/mastodon_api/mastodon_api_controller.ex 26 additions, 3 deletionslib/pleroma/web/mastodon_api/mastodon_api_controller.ex
- lib/pleroma/web/oauth.ex 20 additions, 0 deletionslib/pleroma/web/oauth.ex
- lib/pleroma/web/oauth/app.ex 1 addition, 1 deletionlib/pleroma/web/oauth/app.ex
- lib/pleroma/web/oauth/authorization.ex 4 additions, 1 deletionlib/pleroma/web/oauth/authorization.ex
- lib/pleroma/web/oauth/oauth_controller.ex 31 additions, 15 deletionslib/pleroma/web/oauth/oauth_controller.ex
- lib/pleroma/web/oauth/token.ex 5 additions, 2 deletionslib/pleroma/web/oauth/token.ex
- lib/pleroma/web/router.ex 242 additions, 145 deletionslib/pleroma/web/router.ex
- lib/pleroma/web/templates/layout/app.html.eex 4 additions, 0 deletionslib/pleroma/web/templates/layout/app.html.eex
- lib/pleroma/web/templates/o_auth/o_auth/show.html.eex 12 additions, 1 deletionlib/pleroma/web/templates/o_auth/o_auth/show.html.eex
- mix.lock 3 additions, 3 deletionsmix.lock
- priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs 11 additions, 0 deletions...grations/20190208131753_add_scopes_to_o_auth_entities.exs
- priv/repo/migrations/20190213185503_change_apps_scopes_to_varchar_array.exs 17 additions, 0 deletions...ns/20190213185503_change_apps_scopes_to_varchar_array.exs
- priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs 11 additions, 0 deletions.../20190213185600_data_migration_populate_o_auth_scopes.exs
- test/integration/mastodon_websocket_test.exs 1 addition, 1 deletiontest/integration/mastodon_websocket_test.exs
- test/plugs/oauth_scopes_plug_test.exs 122 additions, 0 deletionstest/plugs/oauth_scopes_plug_test.exs
- test/support/factory.ex 1 addition, 1 deletiontest/support/factory.ex
- test/web/mastodon_api/mastodon_api_controller_test.exs 18 additions, 0 deletionstest/web/mastodon_api/mastodon_api_controller_test.exs
- test/web/oauth/authorization_test.exs 19 additions, 27 deletionstest/web/oauth/authorization_test.exs
Loading
Please register or sign in to comment