Commit Graph

12 Commits (cf51e07bde14bb21161f8bbe592207c2ef88ad16)

Author SHA1 Message Date
Matt Jankowski 20c37ed0f9 Add specs (and refactor) of FetchRemoteResourceService and SearchService ()
* Coverage for fetch remote resource service

* Refactor fetch remote resource service

* Coverage for search service

* Refactor search service
Eugen Rochko d93d6f5124 Fix reworked search
Eugen Rochko 05cf086766 New API method: /api/v1/search
Returns accounts, statuses, hashtags arrays
Eugen Rochko ad0d82d3ce Make account search blazing fast and rank followers/followees higher in the results
Eugen Rochko 175a9b9caa Fix - Style OAuth authorized applications page
Add ability to search accounts by display name
Eugen Rochko 6cdcac1396 Fix - arrow keys to navigate media; fix - non-exact matches no longer
overshadow requirement for remote-lookup
Eugen Rochko 58b3f4fd67 Fix - avatar errors no longer prevent remote accounts from being saved
(without avatar). Also improved search position of exact matches
Eugen Rochko 054138797f Fix - Strip first @ from search query, don't search accounts if it begins with #
Eugen Rochko fc90d38893 Moving some counter queries out of subqueries in the API
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko afded319d2 Add limit to search results
Eugen Rochko 09218d4c01 Use full-text search for autosuggestions