mastodon/spec/controllers/api/v1
Eugen Rochko 48fee1a800
Fix poll API not requiring authentication on non-public polls (#10960)
* Fix poll API not requiring authentication on non-public polls

That API does not reveal the content of the status, i.e. the question
itself, nor who the author is, nor which status it belongs to, but it
does reveal the poll options and how many answers they got

Fix #10959

* Add test
2019-06-04 20:10:26 +02:00
..
accounts Change bio limit from 160 to 500 (#10790) 2019-05-19 22:51:44 +02:00
apps
instances
lists
polls Add polls (#10111) 2019-03-03 22:18:23 +01:00
push
statuses
timelines Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
accounts_controller_spec.rb
apps_controller_spec.rb
blocks_controller_spec.rb
conversations_controller_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
custom_emojis_controller_spec.rb
domain_blocks_controller_spec.rb
endorsements_controller_spec.rb
favourites_controller_spec.rb
filters_controller_spec.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
follow_requests_controller_spec.rb
follows_controller_spec.rb
instances_controller_spec.rb
lists_controller_spec.rb
media_controller_spec.rb Not to skip executable specs (#9753) 2019-01-10 15:12:31 +01:00
mutes_controller_spec.rb
notifications_controller_spec.rb Add account_id param to GET /api/v1/notifications (#10796) 2019-05-21 13:28:49 +02:00
polls_controller_spec.rb Fix poll API not requiring authentication on non-public polls (#10960) 2019-06-04 20:10:26 +02:00
reports_controller_spec.rb
search_controller_spec.rb
statuses_controller_spec.rb
streaming_controller_spec.rb
suggestions_controller_spec.rb