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
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
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
account_pin.rb
account_stat.rb
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
account_suggestions.rb
account_summary.rb
account_warning.rb
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
application_record.rb
backup.rb
block.rb
bookmark.rb
canonical_email_block.rb
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
custom_filter_status.rb
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
encrypted_message.rb
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
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
follow_recommendation_filter.rb
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
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
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
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
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
status_stat.rb
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
tombstone.rb
trends.rb Fix missing `skip_review?` (#19335) 2 years ago
unavailable_domain.rb
user.rb Add webhook `account.approved` (#22938) 2 years ago
user_invite_request.rb
user_ip.rb
user_role.rb
web.rb
webauthn_credential.rb
webhook.rb Add webhook `account.approved` (#22938) 2 years ago