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 Improve account media query (#10121) 2019-02-26 15:23:24 +01:00
apps Add vapid_key to the application entity in the REST API (#10058) 2019-02-16 05:27:05 +01:00
instances
lists
polls Add polls (#10111) 2019-03-03 22:18:23 +01:00
push
statuses Fix REST API showing non-public reblogs for a given status (#9850) 2019-01-18 20:58:00 +01:00
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 Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 2019-02-26 15:21:36 +01:00
statuses_controller.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
streaming_controller.rb
suggestions_controller.rb