instante-social/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 Add vapid_key to the application entity in the REST API (#10058) 2019-02-16 05:27:05 +01:00
context_serializer.rb
conversation_serializer.rb
credential_account_serializer.rb
custom_emoji_serializer.rb
filter_serializer.rb
instance_serializer.rb Add registrations attribute to instance entity in REST API (#10060) 2019-02-16 05:23:47 +01:00
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 Fix wrong param name in scheduled statuses and return params in API (#9725) 2019-01-06 12:03:27 +01:00
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