mastodon/spec/services
ThibG 89f40b6c3e
Make domain block/silence/reject-media code more robust (#13424)
* Split media cleanup from reject-media domain blocks to its own service

* Slightly improve ClearDomainMediaService error handling

* Lower DomainClearMediaWorker to lowest-priority queue

* Do not catch ActiveRecord::RecordNotFound in domain block workers

* Fix DomainBlockWorker spec labels

* Add some specs

* Change domain blocks to immediately mark accounts as suspended

Rather than doing so sequentially, account after account, while cleaning
their data. This doesn't change much about the time the block takes to
complete, but it immediately prevents interaction with the blocked domain,
while up to now, it would only be guaranteed when the process ends.
2020-06-09 10:32:00 +02:00
..
activitypub Add Event activity-type support (#12637) 2019-12-16 23:55:28 +01:00
account_search_service_spec.rb
after_block_domain_from_account_service_spec.rb
after_block_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
app_sign_up_service_spec.rb
authorize_follow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
batched_remove_status_service_spec.rb Remove WebSub subscriptions (#11303) 2019-07-21 04:08:00 +02:00
block_domain_service_spec.rb
block_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
bootstrap_timeline_service_spec.rb
clear_domain_media_service_spec.rb Make domain block/silence/reject-media code more robust (#13424) 2020-06-09 10:32:00 +02:00
fan_out_on_write_service_spec.rb
favourite_service_spec.rb
fetch_link_card_service_spec.rb
fetch_oembed_service_spec.rb
fetch_remote_status_service_spec.rb Clean up OStatus-related codepaths (#12173) 2019-12-17 13:32:57 +01:00
fetch_resource_service_spec.rb
follow_service_spec.rb Change silences to always require approval on follow (#11975) 2019-09-27 21:13:51 +02:00
hashtag_query_service_spec.rb Allow joining several hashtags in a single column (#8904) 2018-11-05 18:53:25 +01:00
import_service_spec.rb Fix background jobs not using locks like they are supposed to (#13361) 2020-03-31 21:59:03 +02:00
mute_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
notify_service_spec.rb Fix NotifyService test with regards to reblogs (#10928) 2019-06-02 18:08:26 +02:00
post_status_service_spec.rb
precompute_feed_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
process_mentions_service_spec.rb Fix IDN mentions not being processed, IDN domains not being rendered (#12715) 2019-12-30 19:20:43 +01:00
reblog_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
reject_follow_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
remove_status_service_spec.rb Remove WebSub subscriptions (#11303) 2019-07-21 04:08:00 +02:00
report_service_spec.rb Set and store report URIs (#10303) 2019-03-17 15:34:56 +01:00
resolve_account_service_spec.rb Refactor domain block checks (#11268) 2019-07-09 03:27:35 +02:00
resolve_url_service_spec.rb Refactor fetching of remote resources (#11251) 2019-07-10 18:59:28 +02:00
search_service_spec.rb Fix hashtag search performing account search as well (#13758) 2020-05-14 23:37:37 +02:00
suspend_account_service_spec.rb Remove WebSub subscriptions (#11303) 2019-07-21 04:08:00 +02:00
unblock_domain_service_spec.rb Add domain block notes (#11515) 2019-08-07 20:20:23 +02:00
unblock_service_spec.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
unfollow_service_spec.rb
unmute_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
update_account_service_spec.rb Change silences to always require approval on follow (#11975) 2019-09-27 21:13:51 +02:00
verify_link_service_spec.rb Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00