mastodon/app/models
ThibG 3a92885a86 Support pushing and receiving updates to poll tallies (#10209)
* Process incoming poll tallies update

* Send Update on poll vote

* Do not send Updates for a poll more often than once every 3 minutes

* Include voters in people to notify of results update

* Schedule closing poll worker on poll creation

* Add new notification type for ending polls

* Add front-end support for ended poll notifications

* Fix UpdatePollSerializer

* Fix Updates not being triggered by local votes

* Fix tests failure

* Fix web push notifications for closing polls

* Minor cleanup

* Notify voters of both remote and local polls when those close

* Fix delivery of poll updates to mentioned accounts and voters
2019-03-11 00:49:31 +01:00
..
admin
concerns Add polls (#10111) 2019-03-03 22:18:23 +01:00
form
web
account.rb
account_conversation.rb
account_domain_block.rb Add option to overwrite imported data (#9962) 2019-02-03 03:59:51 +01:00
account_filter.rb
account_moderation_note.rb
account_pin.rb
account_stat.rb
account_tag_stat.rb
account_warning.rb
account_warning_preset.rb
admin.rb
application_record.rb
backup.rb
block.rb
context.rb
conversation.rb
conversation_mute.rb
custom_emoji.rb
custom_emoji_filter.rb
custom_filter.rb
domain_block.rb
email_domain_block.rb
export.rb Fix lists export (#10136) 2019-03-03 15:38:47 +01:00
favourite.rb
featured_tag.rb
feed.rb
follow.rb
follow_request.rb
home_feed.rb
identity.rb
import.rb Add option to overwrite imported data (#9962) 2019-02-03 03:59:51 +01:00
instance.rb
instance_filter.rb
invite.rb
invite_filter.rb
list.rb Update dependencies for Ruby (2018-04-23) (#7237) 2018-04-23 11:29:17 +02:00
list_account.rb
list_feed.rb
media_attachment.rb
mention.rb
mute.rb
notification.rb
poll.rb
poll_vote.rb
preview_card.rb Add WebP support (#9879) 2019-02-02 12:25:04 +01:00
relay.rb
remote_follow.rb
remote_profile.rb [WIP] Enable custom emoji on account pages and in the sidebar (#6124) 2018-04-01 23:55:42 +02:00
report.rb
report_filter.rb
report_note.rb Fix scope latest of ReportNote (#9630) 2018-12-26 06:38:59 +01:00
scheduled_status.rb
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
session_activation.rb
setting.rb
site_upload.rb
status.rb Fix status creation API silently discarding invalid poll (#10171) 2019-03-05 15:21:31 +01:00
status_pin.rb
status_stat.rb
stream_entry.rb
subscription.rb
tag.rb
tombstone.rb
trending_tags.rb
user.rb correct opt-out showing application (#10086) 2019-02-20 17:47:38 +01:00
web.rb