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/app/models
Darius Kazemi 264655c53a
Fix account search not returning followed accounts first (#22956)
* Make autosuggest for mentions return followed accounts first

This makes it so that (when elasticsearch is disabled) when a user types '@foo' in the compose box, they are first going to get accounts they follow ordered by the ranking algorithm, and then second they will get accounts they do not follow, also ordered by the ranking algorithm.

This makes behavior more consistent with user expectation and also with results when elasticsearch is enabled.

* Fix ranking order to correct direction

* One more fixup per @gargron suggestion

* Tweak to ranking to no longer include following modifier
2 years ago
..
account Don't allow URLs that contain non-normalized paths to be verified (#20999) 2 years ago
account_suggestions Fix single Redis connection being used across all threads (#18135) 3 years ago
admin Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2 years ago
concerns Add follow request banner on account header (#20785) 2 years ago
form Fix site upload validations (#22479) 2 years ago
trends Fix error when passing unknown filter param in REST API (#20626) 2 years ago
web
account.rb Fix account search not returning followed accounts first (#22956) 2 years ago
account_alias.rb Micro-optimization: only split `acct` into two Strings (#19901) 2 years ago
account_conversation.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
account_deletion_request.rb
account_domain_block.rb
account_filter.rb Add "disabled" user filter for admin/accounts UI (#21282) 2 years ago
account_migration.rb Fix 500 error when trying to migrate to an invalid address (#21462) 2 years ago
account_moderation_note.rb
account_note.rb Fix AccountNote not having a maximum length (#16942) 3 years ago
account_pin.rb
account_stat.rb Fix follower and other counters being able to go negative (#18517) 3 years ago
account_statuses_cleanup_policy.rb Micro-optimization: use `if`/`else` instead of `Array#compact` and `Array#min` (#19906) 2 years ago
account_statuses_filter.rb Fix performance of account timelines (#17709) 3 years ago
account_suggestions.rb
account_summary.rb Fix FollowRecommendationsScheduler failing because of unpopulated views (#16189) 4 years ago
account_warning.rb Add audit log entries for user roles (#19040) 2 years ago
account_warning_preset.rb
admin.rb
announcement.rb Change admin announcement edition interface to use datetime-local (#18321) 2 years ago
announcement_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
announcement_mute.rb
announcement_reaction.rb
appeal.rb Add audit log entries for user roles (#19040) 2 years ago
application_record.rb
backup.rb
block.rb
bookmark.rb Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) (#16915) 3 years ago
canonical_email_block.rb Add admin API for managing canonical e-mail blocks (#19067) 2 years ago
content_retention_policy.rb Add retention policy for cached content and media (#19232) 2 years ago
context.rb
conversation.rb
conversation_mute.rb
custom_emoji.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
custom_emoji_category.rb
custom_emoji_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
custom_filter.rb Fix irreversible and whole_word parameters handling in /api/v1/filters (#21988) 2 years ago
custom_filter_keyword.rb Change how hashtags are normalized (#18795) 3 years ago
custom_filter_status.rb Add ability to select all accounts matching search for batch actions (#19053) 2 years ago
device.rb
domain_allow.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2 years ago
domain_block.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2 years ago
email_domain_block.rb Add admin API for managing e-mail domain blocks (#19066) 2 years ago
encrypted_message.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
export.rb Add ability to filter followed accounts' posts by language (#19095) 2 years ago
extended_description.rb Change about page to be mounted in the web UI (#19345) 2 years ago
favourite.rb Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) (#16915) 3 years ago
featured_tag.rb Improve performance by avoiding regex construction (#20215) 2 years ago
feed.rb
follow.rb Add ability to filter followed accounts' posts by language (#19095) 2 years ago
follow_recommendation.rb Fix FollowRecommendationsScheduler failing because of unpopulated views (#16189) 4 years ago
follow_recommendation_filter.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
follow_recommendation_suppression.rb
follow_request.rb Add ability to filter followed accounts' posts by language (#19095) 2 years ago
home_feed.rb
identity.rb
import.rb
instance.rb Add audit log entries for user roles (#19040) 2 years ago
instance_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
invite.rb
invite_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
ip_block.rb Fix IP blocks not having a unique index (#19456) 2 years ago
list.rb
list_account.rb
list_feed.rb
login_activity.rb Add authentication history (#16408) 4 years ago
marker.rb
media_attachment.rb Change remote media files to be downloaded outside of transactions (#21796) 2 years ago
mention.rb
message_franking.rb
mute.rb
notification.rb Add notifications for new reports (#18697) 3 years ago
one_time_key.rb
poll.rb Clear voter count when poll is reset (#21700) 2 years ago
poll_vote.rb
preview_card.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
preview_card_provider.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
preview_card_trend.rb Add support for language preferences for trending statuses and links (#18288) 2 years ago
privacy_policy.rb Fix privacy policy being empty if custom setting exists but is empty (#19318) 2 years ago
public_feed.rb Revert filtering public timelines by locale by default (#20294) 2 years ago
relationship_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
relay.rb Strip spaces around URL when adding a relay (#22655) 2 years ago
remote_follow.rb
report.rb Fix notifications about deleted reports not being also deleted (#19475) 2 years ago
report_filter.rb Fix error when passing unknown filter param in REST API (#20626) 2 years ago
report_note.rb
rule.rb Fix rules with same priority being sorted non-deterministically (#20623) 2 years ago
scheduled_status.rb
search.rb
session_activation.rb Add Ruby 3.0 support (#16046) 4 years ago
setting.rb
site_upload.rb Fix metadata scrubbing removing color profile from images (#20389) 2 years ago
status.rb refactor(vacuum statuses): reduce amount of db queries and load for each query - improve performance (#21487) 2 years ago
status_edit.rb Add ability to view previous edits of a status in admin UI (#19462) 2 years ago
status_pin.rb Add feature to automatically delete old toots (#16529) 3 years ago
status_stat.rb Fix follower and other counters being able to go negative (#18517) 3 years ago
status_trend.rb Fix trending statuses returning more than one post by the same author (#19349) 2 years ago
system_key.rb
tag.rb Fix ・ detection in hashtag regex to construct hashtag correctly (#22888) 2 years ago
tag_feed.rb Revert filtering public timelines by locale by default (#20294) 2 years ago
tag_follow.rb Add ability to follow hashtags (#18809) 3 years ago
tombstone.rb
trends.rb Fix missing `skip_review?` (#19335) 2 years ago
unavailable_domain.rb Add audit log entries for user roles (#19040) 2 years ago
user.rb Add webhook `account.approved` (#22938) 2 years ago
user_invite_request.rb
user_ip.rb Remove IP tracking columns from users table (#16409) 3 years ago
user_role.rb Add audit log entries for user roles (#19040) 2 years ago
web.rb
webauthn_credential.rb
webhook.rb Add webhook `account.approved` (#22938) 2 years ago