mastodon/app/policies
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
..
account_moderation_note_policy.rb
account_policy.rb Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
account_warning_preset_policy.rb Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
application_policy.rb
backup_policy.rb
custom_emoji_policy.rb
domain_block_policy.rb
email_domain_block_policy.rb
instance_policy.rb Redesign admin instances area (#9645) 2019-01-08 13:39:49 +01:00
invite_policy.rb
poll_policy.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
relay_policy.rb
report_note_policy.rb
report_policy.rb
settings_policy.rb
status_policy.rb
subscription_policy.rb
tag_policy.rb
user_policy.rb