[#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 5 Dec 2018 10:37:06 +0000 (13:37 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 5 Dec 2018 10:37:06 +0000 (13:37 +0300)
commit848151f7cbf372d008c178d13c9a74942164c955
tree1bc1cf906613de308d6c16dea7667908712dcdbc
parent53797d19c5e8463388862eaa20931c8cb78d66a6
[#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
to `update_media` action. Added controller tests for `upload` and `update_media` actions.
Refactoring.
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/twitter_api/twitter_api.ex
lib/pleroma/web/twitter_api/twitter_api_controller.ex
test/support/data_case.ex
test/upload_test.exs
test/web/mastodon_api/mastodon_api_controller_test.exs
test/web/twitter_api/twitter_api_controller_test.exs
test/web/twitter_api/twitter_api_test.exs