aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/user/search.ex
AgeCommit message (Collapse)Author
2022-09-16User: search: exclude deactivated users from user searcha1batross
This way we don't pollute search results with deactivated and deleted users
2022-02-25Copyright bump for 2022Sean King
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-11-19[#2301] Proper handling of `User.is_discoverable`: users appear in ↵Ivan Tashkinov
in-service search but are hidden from external services like search bots.
2020-11-19[#2301] Quick fix: users with is_discoverable == false (default!) are ↵Ivan Tashkinov
included in search results.
2020-10-13Change user.discoverable field to user.is_discoverableMark Felder
2020-09-30User search: Once again, change uri handling.lain
They can indeed be non-unique.
2020-09-25Linter fixeslain
2020-09-25User Search: Also find user by urilain
2020-09-24User Search: Boost resolved results and exact ap_id matches.lain
2020-09-17User search respect discoverable flagstwf
2020-09-08search: Apply following filter only when user is usableHaelwenn (lanodan) Monnier
2020-09-02search: fix 'following' query parameterKarol Kosek
The parameter included the accounts that are following you (followers) instead of those you are actually following. Co-Authored-By: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-08Removed unused trigram index on `users`. Fixed `users_fts_index` usage.Ivan Tashkinov
2020-07-08Improved search results for localized nickname match. Tweaked user search to ↵Ivan Tashkinov
rank nickname matches higher than name matches.
2020-07-03[#1892] Excluded internal users (applications) from user search results, ↵Ivan Tashkinov
reinstated service actors in search results.
2020-06-30[#1892] Excluded bot actors (applications, services) from search results.Ivan Tashkinov
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-02-25Fix Dialyzer warningsEgor Kislitsyn
2019-11-21Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1335-user-api-id-fields-relations # Conflicts: # lib/pleroma/user/search.ex # test/user_test.exs
2019-11-18[#1335] Refactored UserMute and UserBlock into UserRelationship, introduced ↵Ivan Tashkinov
EctoEnum.
2019-11-11[#1335] Applied code review suggestions.Ivan Tashkinov
2019-11-10[#1335] User: refactored :blocks field into :blocked_users relation.Ivan Tashkinov
Introduced UserBlock.
2019-11-05excluded invisible users from search resultsMaksim Pechnikov
2019-11-04User Search: Remove superfluous setweight and random test.lain
The test tested for a behavior that isn't actually enforced anymore.
2019-10-20Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1304-user-info-deprecation # Conflicts: # CHANGELOG.md # lib/pleroma/notification.ex # lib/pleroma/user.ex # lib/pleroma/user/info.ex # lib/pleroma/web/activity_pub/activity_pub.ex # lib/pleroma/web/admin_api/admin_api_controller.ex # lib/pleroma/web/ostatus/handlers/follow_handler.ex # lib/pleroma/web/ostatus/ostatus.ex # lib/pleroma/web/salmon/salmon.ex # lib/pleroma/web/websub/websub.ex # test/web/admin_api/admin_api_controller_test.exs # test/web/federator_test.exs # test/web/mastodon_api/controllers/conversation_controller_test.exs # test/web/ostatus/ostatus_controller_test.exs # test/web/ostatus/ostatus_test.exs # test/web/salmon/salmon_test.exs # test/web/websub/websub_test.exs
2019-10-20[#1304] Moved remaining fields from User.Info to User.Ivan Tashkinov
Misc. fixes / improvements.
2019-10-16Order fts results by trigramrinpatch
2019-10-16User search: Remove trigram and refactor the modulerinpatch
- Remove trigram as it tends to rank garbage results highly, resulting in it prioritized above fts, which gives actually decent results. ACKed by kaniini and lain on irc. - Remove a test for handling misspelled requests, since we no longer have trigram - Remove a test for searching users with `nil` display names, because it is unrealistic, we don't accept usernames that are not >1 char strings - Make rank boosting for followers/followees sane again, previous values resulted in garbage matches getting on top just because the users are followers/followees
2019-08-03Remove spaces from the domain searchSergey Suprunenko
2019-07-11Extend Pleroma.Pagination to support offset-based pagination, use ↵Eugenij
async/await to execute status and account search in parallel
2019-07-10support for idna domainsAlexander Strizhakov
2019-07-09change for local user searchAlexander Strizhakov
2019-07-05[#1043] fix search accounts.Maksim
2019-06-14[#948] /api/v1/account_search added optional parameters (limit, offset, ↵Maksim
following)
2019-06-11Add option to restrict all users to local contentEgor Kislitsyn
2019-06-06User Search: Boost friends more strongly.lain
2019-06-06[#943] Make the unauthenticated users limitation optionalEgor
2019-06-05Limit search for unauthenticated users to local users onlyEgor Kislitsyn