mastodon/app/controllers/api/v1
Eugen Rochko 230a012f00
Add polls (#10111)
* Add polls

Fix #1629

* Add tests

* Fixes

* Change API for creating polls

* Use name instead of content for votes

* Remove poll validation for remote polls

* Add polls to public pages

* When updating the poll, update options just in case they were changed

* Fix public pages showing both poll and other media
2019-03-03 22:18:23 +01:00
..
accounts
apps
instances
lists
polls Add polls (#10111) 2019-03-03 22:18:23 +01:00
push
statuses
timelines
accounts_controller.rb
apps_controller.rb
blocks_controller.rb
conversations_controller.rb
custom_emojis_controller.rb
domain_blocks_controller.rb
endorsements_controller.rb
favourites_controller.rb
filters_controller.rb
follow_requests_controller.rb
follows_controller.rb
instances_controller.rb
lists_controller.rb
media_controller.rb
mutes_controller.rb
notifications_controller.rb
polls_controller.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
reports_controller.rb
scheduled_statuses_controller.rb
search_controller.rb
statuses_controller.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
streaming_controller.rb
suggestions_controller.rb