gitlab-org--gitlab-foss/spec/finders
Yorick Peterse fbcf3bd3fc Refactor ProjectsFinder to not pluck IDs
This class now uses a UNION (when needed) instead of plucking tens of
thousands of project IDs into memory. The tests have also been
re-written to ensure all different use cases are tested properly
(assuming I didn't forget any cases).

The finder has also been broken up into 3 different finder classes:

* ContributedProjectsFinder: class for getting the projects a user
  contributed to.
* PersonalProjectsFinder: class for getting the personal projects of a
  user.
* ProjectsFinder: class for getting generic projects visible to a given
  user.

Previously a lot of the logic of these finders was handled directly in
the users controller.
2015-11-18 13:05:45 +01:00
..
contributed_projects_finder_spec.rb Refactor ProjectsFinder to not pluck IDs 2015-11-18 13:05:45 +01:00
groups_finder_spec.rb Refactoed GroupsFinder into two separate classes 2015-11-18 13:05:45 +01:00
issues_finder_spec.rb Support filtering by "Any" milestone or issue and fix "No Milestone" and "No Label" filters 2015-10-07 07:21:50 -07:00
joined_groups_finder_spec.rb Refactoed GroupsFinder into two separate classes 2015-11-18 13:05:45 +01:00
merge_requests_finder_spec.rb Set milestone on new issue when creating issue from index with milestone filter active. 2015-05-27 14:22:11 +02:00
notes_finder_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
personal_projects_finder_spec.rb Refactor ProjectsFinder to not pluck IDs 2015-11-18 13:05:45 +01:00
projects_finder_spec.rb Refactor ProjectsFinder to not pluck IDs 2015-11-18 13:05:45 +01:00
snippets_finder_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
trending_projects_finder_spec.rb Revamp trending projects query 2015-10-06 17:26:32 +02:00