OAuthScopesPlug: disallowed nil token (unless with :fallback option). WIP: controller...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Sun, 15 Dec 2019 19:32:42 +0000 (22:32 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Sun, 15 Dec 2019 19:32:42 +0000 (22:32 +0300)
commit7973cbdb9fa9120306cb5a265a477eeccd315ee6
tree4df03f3ccaffa065f7a07e171740aae49262b1db
parent8efacfed677ea2f06ac228294faec77a38060976
OAuthScopesPlug: disallowed nil token (unless with :fallback option). WIP: controller tests modification: OAuth scopes usage.
14 files changed:
lib/pleroma/plugs/oauth_scopes_plug.ex
lib/pleroma/user.ex
lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
lib/pleroma/web/twitter_api/controllers/util_controller.ex
test/notification_test.exs
test/plugs/oauth_scopes_plug_test.exs
test/support/conn_case.ex
test/support/factory.ex
test/web/admin_api/admin_api_controller_test.exs
test/web/mastodon_api/controllers/status_controller_test.exs
test/web/oauth/oauth_controller_test.exs
test/web/pleroma_api/controllers/pleroma_api_controller_test.exs
test/web/twitter_api/util_controller_test.exs