Commit Graph

6 Commits

Author SHA1 Message Date
Yorick Peterse 090eeb581b
Added changelog for user search improvements 2018-02-22 18:55:36 +01:00
Yorick Peterse d2e43fbde6
Removed pagination from AutocompleteUsersFinder
The frontend code doesn't use this so there's no practical point in
supporting this. We also hardcode the limit to 20 so users can no longer
request their own limit, which could overload the database (depending on
any upper bounds perhaps enforced by Kaminari).
2018-02-22 18:55:36 +01:00
Yorick Peterse dd52915dc6
Don't pluck IDs in AutocompleteUsersFinder
We can instead just use a UNION. This removes the need for plucking
hundreds if not thousands of IDs into memory when a project has many
members.
2018-02-22 18:55:36 +01:00
Sean McGivern cf6ff60165 Fix users autocomplete in a subgroup
We should include users who have access from parent groups, not just direct
members of the current group.
2017-11-13 13:19:54 +00:00
Maxim Rydkin fa276e3029
move `find_users` method into finder and add `load_group` method 2017-09-10 18:31:06 +03:00
Maxim Rydkin 20ff87a261
rename yet_another_users_finder into autocomplete_users_finder 2017-09-10 18:31:06 +03:00