mastodon/app/serializers/rest
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
..
v2
account_serializer.rb
application_serializer.rb
context_serializer.rb
conversation_serializer.rb
credential_account_serializer.rb
custom_emoji_serializer.rb
filter_serializer.rb
instance_serializer.rb
list_serializer.rb
media_attachment_serializer.rb
notification_serializer.rb
poll_serializer.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
preview_card_serializer.rb
relationship_serializer.rb
report_serializer.rb
scheduled_status_serializer.rb
search_serializer.rb
status_serializer.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
tag_serializer.rb
web_push_subscription_serializer.rb