Commit graph

16 commits

Author SHA1 Message Date
GitLab Bot
888264e6b7 Add latest changes from gitlab-org/gitlab@master 2021-05-21 12:10:27 +00:00
GitLab Bot
e3042fc5ce Add latest changes from gitlab-org/gitlab@master 2021-05-11 15:10:20 +00:00
GitLab Bot
c9bef85d79 Add latest changes from gitlab-org/gitlab@master 2021-04-19 21:09:27 +00:00
GitLab Bot
7f408a3831 Add latest changes from gitlab-org/gitlab@master 2021-04-14 12:09:25 +00:00
GitLab Bot
383ec6808b Add latest changes from gitlab-org/gitlab@master 2021-04-08 18:09:32 +00:00
GitLab Bot
d15aa4cf2e Add latest changes from gitlab-org/gitlab@master 2020-12-29 12:10:19 +00:00
GitLab Bot
da50206243 Add latest changes from gitlab-org/gitlab@master 2020-08-27 18:10:29 +00:00
GitLab Bot
4f5c8572e9 Add latest changes from gitlab-org/gitlab@master 2020-06-16 18:09:01 +00:00
GitLab Bot
1219a9dce9 Add latest changes from gitlab-org/gitlab@master 2020-04-01 15:07:45 +00:00
GitLab Bot
a89cb5cbdd Add latest changes from gitlab-org/gitlab@master 2020-02-06 21:08:48 +00:00
GitLab Bot
25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
GitLab Bot
914ea32e0e Add latest changes from gitlab-org/gitlab@master 2019-10-16 09:07:51 +00:00
Sean McGivern
843f4b94b5 Ignore ordering when calling find_by on finders
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.
2019-02-20 11:31:06 +00:00
Bob Van Landuyt
28acd2b087 Hide confidential events in ruby
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.
2018-12-17 18:47:53 +01:00
Mark Chao
a63bce1a4b Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
Bob Van Landuyt
148816cd67 Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00