-
- Downloads
Fix leaking private configuration parameters in Mastodon and Twitter APIs, and...
Fix leaking private configuration parameters in Mastodon and Twitter APIs, and add new configuration parameters to Mastodon API This patch: - Fixes `rights` in twitterapi ignoring `show_role` - Fixes exposing default scope of the user to anyone in Mastodon API - Extends Mastodon API to be able to show and set `no_rich_text`, `default_scope`, `hide_follows`, `hide_followers`, `hide_favorites` (requested by the FE in #674) Sorry in advance for 500 line one commit diff, I should have split it up to separate MRs
Showing
- CHANGELOG.md 6 additions, 1 deletionCHANGELOG.md
- docs/api/differences_in_mastoapi_responses.md 15 additions, 2 deletionsdocs/api/differences_in_mastoapi_responses.md
- lib/pleroma/user/info.ex 0 additions, 8 deletionslib/pleroma/user/info.ex
- lib/pleroma/web/mastodon_api/mastodon_api_controller.ex 9 additions, 5 deletionslib/pleroma/web/mastodon_api/mastodon_api_controller.ex
- lib/pleroma/web/mastodon_api/views/account_view.ex 42 additions, 13 deletionslib/pleroma/web/mastodon_api/views/account_view.ex
- lib/pleroma/web/twitter_api/views/user_view.ex 64 additions, 48 deletionslib/pleroma/web/twitter_api/views/user_view.ex
- test/web/mastodon_api/account_view_test.exs 15 additions, 5 deletionstest/web/mastodon_api/account_view_test.exs
- test/web/mastodon_api/mastodon_api_controller_test.exs 60 additions, 0 deletionstest/web/mastodon_api/mastodon_api_controller_test.exs
- test/web/twitter_api/views/user_view_test.exs 9 additions, 24 deletionstest/web/twitter_api/views/user_view_test.exs
Please register or sign in to comment