mastodon/app/services
ThibG 00c219aa45 Fix empty poll options not being filtered on remote poll update (#12484)
If a poll contains empty options (which is apparently possible on Pleroma),
it is created without them. However, the poll update code doesn't filter
empty options, and thus:
1. Clear known votes, as it assumes the set of options has changed
2. Errors out because it tries adding empty options, which fails validation

This commit fixes that by filtering them out the same way they are filtered
out at poll creation time.
2019-11-26 22:46:31 +01:00
..
activitypub Fix empty poll options not being filtered on remote poll update (#12484) 2019-11-26 22:46:31 +01:00
concerns
account_search_service.rb Add abilityto add oneself to lists (#12271) 2019-11-04 13:02:01 +01:00
after_block_domain_from_account_service.rb
after_block_service.rb
app_sign_up_service.rb Add `reason` param to `POST /api/v1/accounts` REST API (#12064) 2019-10-03 17:50:59 +02:00
authorize_follow_service.rb
backup_service.rb Add bookmarks (#7107) 2019-11-13 23:02:10 +01:00
base_service.rb
batched_remove_status_service.rb Fix remote and staff-removed statuses leaving media behind for a day (#11638) 2019-08-22 04:17:12 +02:00
block_domain_service.rb Change domain block behavior to update user records before deleting data (#12247) 2019-11-21 11:36:15 +01:00
block_service.rb
bootstrap_timeline_service.rb Fix BootstrapTimelineService crashing when bootstrapped accounts are invalid (#12037) 2019-10-01 15:10:00 +02:00
fan_out_on_write_service.rb
favourite_service.rb
fetch_link_card_service.rb Fix FetchLinkCardServices crashing on a tags without a target (#12159) 2019-11-21 16:04:52 +01:00
fetch_oembed_service.rb Fix OEmbed discovery not handling different URL variants in query (#12439) 2019-11-21 19:03:07 +01:00
fetch_remote_account_service.rb
fetch_remote_status_service.rb
fetch_resource_service.rb
follow_service.rb Fix various issues with account migration (#12301) 2019-11-07 09:05:07 +02:00
hashtag_query_service.rb Fix hashtag timeline REST API accepting too many hashtags (#12091) 2019-10-07 03:56:21 +02:00
import_service.rb
move_service.rb Fix account migration not affecting followers on origin server (#11980) 2019-09-29 16:23:13 +02:00
mute_service.rb
notify_service.rb
post_status_service.rb Add voters count support (#11917) 2019-09-29 22:58:01 +02:00
precompute_feed_service.rb
process_hashtags_service.rb
process_mentions_service.rb Change spam check to apply to local accounts and add a threshold (#11806) 2019-09-18 12:53:13 +02:00
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb Change deletes to preserve soft-deleted statuses in unresolved reports (#11805) 2019-09-11 16:32:44 +02:00
report_service.rb
resolve_account_service.rb Fix acct URIs with IDN domains not being resolved (#11520) 2019-08-07 21:14:08 +02:00
resolve_url_service.rb Fix already-known remote private toots not being searchable by URL (#12336) 2019-11-11 00:04:48 +02:00
search_service.rb Add `exclude_unreviewed` param to `GET /api/v2/search` REST API (#11977) 2019-09-28 01:02:21 +02:00
suspend_account_service.rb Change deletes to preserve soft-deleted statuses in unresolved reports (#11805) 2019-09-11 16:32:44 +02:00
tag_search_service.rb Add `exclude_unreviewed` param to `GET /api/v2/search` REST API (#11977) 2019-09-28 01:02:21 +02:00
unallow_domain_service.rb Change deletes to preserve soft-deleted statuses in unresolved reports (#11805) 2019-09-11 16:32:44 +02:00
unblock_domain_service.rb
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb Fix Move handler queuing jobs that will fail if account is suspended (#11864) 2019-09-17 08:44:45 +02:00
unmute_service.rb
update_account_service.rb Fix follow requests N+1 (#12004) 2019-09-30 17:02:03 +02:00
verify_link_service.rb
vote_service.rb Add voters count support (#11917) 2019-09-29 22:58:01 +02:00