You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/services
Claire 1145dbd327
Improve error reporting and logging when processing remote accounts (#15605)
* Add a more descriptive PrivateNetworkAddressError exception class

* Remove unnecessary exception class to rescue clause

* Remove unnecessary include to JsonLdHelper

* Give more neutral error message when too many webfinger redirects

* Remove unnecessary guard condition

* Rework how “ActivityPub::FetchRemoteAccountService” handles errors

Add “suppress_errors” keyword argument to avoid raising errors in
ActivityPub::FetchRemoteAccountService#call (default/previous behavior).

* Rework how “ActivityPub::FetchRemoteKeyService” handles errors

Add “suppress_errors” keyword argument to avoid raising errors in
ActivityPub::FetchRemoteKeyService#call (default/previous behavior).

* Fix Webfinger::RedirectError not being a subclass of Webfinger::Error

* Add suppress_errors option to ResolveAccountService

Defaults to true (to preserve previous behavior). If set to false,
errors will be raised instead of caught, allowing the caller to be
informed of what went wrong.

* Return more precise error when failing to fetch account signing AP payloads

* Add tests

* Fixes

* Refactor error handling a bit

* Fix various issues

* Add specific error when provided Digest is not 256 bits of base64-encoded data

* Please CodeClimate

* Improve webfinger error reporting
2 years ago
..
activitypub Improve error reporting and logging when processing remote accounts (#15605) 2 years ago
account_search_service_spec.rb
account_statuses_cleanup_service_spec.rb Add feature to automatically delete old toots (#16529) 3 years ago
after_block_domain_from_account_service_spec.rb
after_block_service_spec.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
app_sign_up_service_spec.rb Add ability to block sign-ups from IP (#19037) 2 years ago
authorize_follow_service_spec.rb Refactor and improve tests (#17386) 3 years ago
batched_remove_status_service_spec.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
block_domain_service_spec.rb Fix various typos (#17621) 3 years ago
block_service_spec.rb Refactor and improve tests (#17386) 3 years ago
bootstrap_timeline_service_spec.rb Add tests for BootstrapTimelineService (#16476) 4 years ago
clear_domain_media_service_spec.rb Fix various typos (#17621) 3 years ago
delete_account_service_spec.rb Fix test-related issues (#17888) 3 years ago
fan_out_on_write_service_spec.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
favourite_service_spec.rb Refactor and improve tests (#17386) 3 years ago
fetch_link_card_service_spec.rb Add support for structured data and more OpenGraph tags to link cards (#16938) 3 years ago
fetch_oembed_service_spec.rb Fix some link previews being incorrectly generated from other prior links (#16885) 3 years ago
fetch_remote_status_service_spec.rb Fix NoMethodError when resolving a link that redirects to a local post (#18314) 3 years ago
fetch_resource_service_spec.rb
follow_service_spec.rb Refactor and improve tests (#17386) 3 years ago
import_service_spec.rb Add import/export feature for bookmarks (#14956) 4 years ago
mute_service_spec.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
notify_service_spec.rb Fix test-related issues (#17888) 3 years ago
post_status_service_spec.rb Fix scheduled statuses decreasing statuses counts (#16791) 3 years ago
precompute_feed_service_spec.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
process_mentions_service_spec.rb Add support for editing for published statuses (#16697) 3 years ago
purge_domain_service_spec.rb Add ability to purge undeliverable domains from admin interface (#16686) 3 years ago
reblog_service_spec.rb Add test for reblog race condition fix (#17732) 3 years ago
reject_follow_service_spec.rb Refactor and improve tests (#17386) 3 years ago
remove_from_follwers_service_spec.rb Add remove from followers api (#16864) 3 years ago
remove_status_service_spec.rb Fix Undo Announce sometimes inlining the originally Announced status (#17516) 3 years ago
report_service_spec.rb Fix crash when a remote Flag activity mentions a private post (#18760) 3 years ago
resolve_account_service_spec.rb Improve error reporting and logging when processing remote accounts (#15605) 2 years ago
resolve_url_service_spec.rb Fix NoMethodError when resolving a link that redirects to a local post (#18314) 3 years ago
search_service_spec.rb
suspend_account_service_spec.rb Fix test-related issues (#17888) 3 years ago
unallow_domain_service_spec.rb Fix various warnings in rspec (#14729) 4 years ago
unblock_domain_service_spec.rb
unblock_service_spec.rb Refactor and improve tests (#17386) 3 years ago
unfollow_service_spec.rb Refactor and improve tests (#17386) 3 years ago
unmute_service_spec.rb
unsuspend_account_service_spec.rb Fix test-related issues (#17888) 3 years ago
update_account_service_spec.rb Refactor and improve tests (#17386) 3 years ago
update_status_service_spec.rb Fix edits with no actual changes being allowed (#17843) 3 years ago
verify_link_service_spec.rb