mastodon/spec
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
..
controllers Fix response of signature_verification_failure_reason (#6441) 2018-02-08 05:00:45 +01:00
fabricators CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures Fix XML oEmbed support discovery (#6104) 2017-12-27 03:29:49 +01:00
helpers Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
lib Revert #5772 (#6221) 2018-01-08 10:57:52 +01:00
mailers Make text e-mails consistent with HTML ones in UserMailer (#6291) 2018-01-20 01:32:05 +01:00
models CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
policies
presenters Add tests for AccountRelationshipsPresenter (#5805) 2017-11-24 14:41:04 +01:00
requests
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Perform request spec (#6446) 2018-02-09 08:12:35 +09:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Count all URLs in text as 23 characters flat, do not count domain part of usernames (#4427) 2017-07-29 00:06:29 +02:00
views Uploads for admin site settings (#4913) 2017-09-14 00:04:30 +02:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00
rails_helper.rb Fix force_ssl conditional (#6201) 2018-01-07 15:19:23 +01:00
spec_helper.rb Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00