1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
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 Add whitelist mode (#11291) 2019-07-30 11:10:46 +02:00
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 Change account domain block to clear out notifications and follows (#11393) 2019-07-25 04:17:35 +02:00
after_block_service.rb Change account domain block to clear out notifications and follows (#11393) 2019-07-25 04:17:35 +02:00
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 Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
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 Fix BlockService trying to reject incorrect follow request (#11288) 2019-07-11 14:50:27 +02:00
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 Fix non-lowercase hashtags not being picked up by the streaming API (#11508) 2019-08-07 10:01:19 +02:00
favourite_service.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
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 Refactor fetching of remote resources (#11251) 2019-07-10 18:59:28 +02:00
fetch_remote_status_service.rb Refactor fetching of remote resources (#11251) 2019-07-10 18:59:28 +02:00
fetch_resource_service.rb Add HTTP signatures to all outgoing ActivityPub GET requests (#11284) 2019-07-11 14:49:55 +02:00
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 Export and import show_reblogs together with following list (#10495) 2019-04-08 07:28:27 +02:00
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 Fix poll update handler calling method was that was not available (#10246) 2019-03-12 22:58:59 +01:00
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 Change hashtags to preserve first-used casing (#11416) 2019-07-28 05:59:51 +02:00
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 Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
reject_follow_service.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
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 Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966) 2019-06-04 23:11:18 +02:00
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 Add domain block notes (#11515) 2019-08-07 20:20:23 +02:00
unblock_service.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
unfavourite_service.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
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