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
2018-02-09 23:04:47 +01:00
..
admin Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
concerns CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
form Add option to show only local toots in timeline preview (#6292) 2018-02-04 06:00:10 +01:00
web Change user_id column non-nullable (#6435) 2018-02-07 16:35:44 +01:00
account.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
account_domain_block.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
account_filter.rb
account_moderation_note.rb
admin.rb
application_record.rb
block.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
context.rb
conversation.rb
conversation_mute.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
custom_emoji.rb
custom_emoji_filter.rb
domain_block.rb
email_domain_block.rb
export.rb
favourite.rb Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00
feed.rb
follow.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
follow_request.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
home_feed.rb
identity.rb CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
import.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
instance.rb
instance_filter.rb
invite.rb Change user_id column non-nullable (#6435) 2018-02-07 16:35:44 +01:00
invite_filter.rb
list.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
list_account.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
list_feed.rb
media_attachment.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
mention.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
mute.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
notification.rb Clear account cache of notification target_status (#6442) 2018-02-08 15:33:23 +01:00
preview_card.rb
remote_follow.rb
remote_profile.rb
report.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
report_filter.rb
search.rb
session_activation.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
setting.rb
site_upload.rb
status.rb Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00
status_pin.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
stream_entry.rb
subscription.rb Change belongs_to_required_by_default to true (#5888) 2018-01-19 20:56:47 +01:00
tag.rb
user.rb Add preference to always display sensitive media (#6448) 2018-02-09 00:26:57 +01:00
web.rb