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
Eugen Rochko 3ebc0ad4d3
Full-text search for authorized statuses (#6423)
* Add full-text search for authorized statuses

- Search API will return statuses that match the query
- Only for logged in users
- Only if you are author of the status,
- Or you were mentioned in it
- Or you favourited or reblogged it
- Configuration over `ES_ENABLED`, `ES_HOST`, `ES_PORT`, `ES_PREFIX`
- Run `rails chewy:deploy` to create & populate index

Fix #5880
Fix #4293
Fix #1152

* Add commented out docker-compose configuration for ES container

* Optimize index import, filter search results

* Add basic normalization to the index

* Add better stemming and normalization to the index

* Skip webfinger request if search query includes both @ and a space

* Fix code style

* Visually separate search result sections

* Fix code style issues
7 years ago
..
admin Change belongs_to_required_by_default to true (#5888) 7 years ago
concerns CAS + SAML authentication feature (#6425) 7 years ago
form Add option to show only local toots in timeline preview (#6292) 7 years ago
web Change user_id column non-nullable (#6435) 7 years ago
account.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 7 years ago
account_domain_block.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
account_filter.rb Clean up admin UI for accounts (#6004) 7 years ago
account_moderation_note.rb Lists (#5703) 7 years ago
admin.rb Add logging of admin actions (#5757) 7 years ago
application_record.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 8 years ago
block.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 8 years ago
conversation.rb Lists (#5703) 7 years ago
conversation_mute.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
custom_emoji.rb Lists (#5703) 7 years ago
custom_emoji_filter.rb Add filters to admin UI for custom emojis (#6003) 7 years ago
domain_block.rb Lists (#5703) 7 years ago
email_domain_block.rb Lists (#5703) 7 years ago
export.rb Settings export refactor (#1646) 8 years ago
favourite.rb Full-text search for authorized statuses (#6423) 7 years ago
feed.rb Lists (#5703) 7 years ago
follow.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
follow_request.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
home_feed.rb Lists (#5703) 7 years ago
identity.rb CAS + SAML authentication feature (#6425) 7 years ago
import.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
instance.rb Add Instance class to list admin records (#3443) 8 years ago
instance_filter.rb Add instance search feature (#4925) 8 years ago
invite.rb Change user_id column non-nullable (#6435) 7 years ago
invite_filter.rb Add invite filter (#5862) 7 years ago
list.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
list_account.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
list_feed.rb Lists (#5703) 7 years ago
media_attachment.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
mention.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
mute.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
notification.rb Clear account cache of notification target_status (#6442) 7 years ago
preview_card.rb Ensure link thumbnails are not stretched to super low quality (#5932) 7 years ago
remote_follow.rb Using double splat operator (#5859) 7 years ago
remote_profile.rb Introduce OStatus::TagManager (#5008) 7 years ago
report.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
report_filter.rb Admin reports with accounts (#2092) 8 years ago
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 8 years ago
session_activation.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
setting.rb Lists (#5703) 7 years ago
site_upload.rb Lists (#5703) 7 years ago
status.rb Full-text search for authorized statuses (#6423) 7 years ago
status_pin.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
stream_entry.rb Lists (#5703) 7 years ago
subscription.rb Change belongs_to_required_by_default to true (#5888) 7 years ago
tag.rb Fix account and tag searches with leading/trailing spaces (#5965) 7 years ago
user.rb Add preference to always display sensitive media (#6448) 7 years ago
web.rb Add extended about page stub 8 years ago