summaryrefslogtreecommitdiff
path: root/spec/finders/concerns
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-162-0/+4
|
* Ignore ordering when calling find_by on findersSean McGivern2019-02-201-1/+21
| | | | | | | We shouldn't care about the ordering here; if we did, it would be more appropriate to use `take` or `first`. Having the ordering can result in the database picking a bad query plan, as it might think sorting the whole table first is the best option.
* Hide confidential events in rubyBob Van Landuyt2018-12-171-0/+16
| | | | | | | | | | | | We're filtering the events using `Event#visible_to_user?`. At most we're loading 100 events at once. Pagination is also dealt with in the finder, but the resulting array is wrapped in a `Kaminari.paginate_array` so the API's pagination helpers keep working. We're passing the total count into that paginatable array, which would include confidential events. But we're not disclosing anything.
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-1/+1
|
* Port `read_cross_project` ability from EEBob Van Landuyt2018-02-222-0/+188