mastodon/spec/services
Matt Jankowski 40fd1de488 Account search service refactor ()
* Begin coverage for account search service

* Coverage for hashtag query

* Coverage for calling local vs remote find based on domain presence

* Spec to check that exact matches are not duped

* Coverage of resolve option

* Coverage for account being provided

* Start to refactor account search service

* Isolate query username and domain methods

* Isolate exact_match method

* Extract methods for local and remote results

* Simplify local vs remote and account isoliation

* Extract methods for local and remote results

* Simplify de-dupe of exact match

* Simplify logic to check for non exact remotes

* Cache some methods

* Remove nil from exact_match from results array

* Return exact matches first

* Use find_remote even with no domain

Account.find_local is just an alias for Account.find_remote(user, nil) - so we
can not bother with the conditional here, and call find_remote directly.
..
account_search_service_spec.rb Account search service refactor ()
authorize_follow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML
block_domain_service_spec.rb Add basic logging of who resolved report
block_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML
fan_out_on_write_service_spec.rb Quick attempt to get pull requests passing
favourite_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML
fetch_atom_service_spec.rb Fix - Fetch remote accounts by URL from mentions
fetch_remote_account_service_spec.rb Fix - Fetch remote accounts by URL from mentions
fetch_remote_status_service_spec.rb Fix - Fetch remote accounts by URL from mentions
follow_remote_account_service_spec.rb Fixing some bugs, adding pending test examples
follow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML
mute_service_spec.rb Mute button progress so far. WIP, doesn't entirely work correctly.
post_status_service_spec.rb Use I18n for media attachment validation errors
precompute_feed_service_spec.rb Adding more test stubs
process_feed_service_spec.rb Split SalmonWorker into smaller parts, move profile updating into another job
process_interaction_service_spec.rb Stop trying to shoehorn all Salmon updates into the poor database-connected
process_mentions_service_spec.rb Fixing some bugs, adding pending test examples
reblog_service_spec.rb Removing external hub completely, fix fixing digit-only hashtags,
reject_follow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML
send_interaction_service_spec.rb Fixing some bugs, adding pending test examples
unblock_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML
unfollow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML
unmute_service_spec.rb Mute button progress so far. WIP, doesn't entirely work correctly.
update_remote_profile_service_spec.rb Fix , fix - Avatar/profile info fetching ()