- 18 11月, 2015 2 次提交
-
-
由 Yorick Peterse 提交于
In the previous setup the GroupsFinder class had two distinct tasks: 1. Finding the projects user A could see 2. Finding the projects of user A that user B could see Task two was actually handled outside of the GroupsFinder (in the UsersController) by restricting the returned list of groups to those the viewed user was a member of. Moving all this logic into a single finder proved to be far too complex and confusing, hence there are now two finders: * GroupsFinder: for finding groups a user can see * JoinedGroupsFinder: for finding groups that user A is a member of, restricted to either public groups or groups user B can also see.
-
由 Yorick Peterse 提交于
-
- 05 11月, 2015 1 次提交
-
-
由 Valery Sizov 提交于
-
- 07 10月, 2015 1 次提交
-
-
由 Stan Hu 提交于
Closes #2619 Closes https://github.com/gitlabhq/gitlabhq/issues/9631
-
- 06 10月, 2015 2 次提交
-
-
由 Yorick Peterse 提交于
This changes the query to use a COUNT nested in an INNER JOIN, instead of a COUNT plus a GROUP BY. There are two reasons for this: 1. Using a COUNT in an INNER JOIN can be quite a bit faster. 2. The use of a GROUP BY means that method calls such as "any?" (and everything else that calls "count") operate on a Hash that counts the amount of notes on a per project basis, instead of just counting the total amount of projects. The query has been moved into Project.trending as its logic is simple enough. As a result of this testing the TrendingProjectsFinder class simply involves testing if the right methods are called, removing the need for setting up database records.
-
由 Yorick Peterse 提交于
-
- 07 8月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
-
- 27 5月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 01 5月, 2015 1 次提交
-
-
由 Dominik Sander 提交于
This groups milestones by title for issue views like it has been done for the milestone dashboard/project overview. Before milestones with the same title would show up multiple times in the filter dropdown and one could only filter per project and milestone. Now the milestone filter is based on the title of the milestone, i.e. all issues marked with the same milestone title are shown.
-
- 13 2月, 2015 1 次提交
-
-
由 Jeroen van Baarsen 提交于
Signed-off-by: NJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
- 05 12月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 25 10月, 2014 1 次提交
-
-
由 Valery Sizov 提交于
-
- 09 10月, 2014 1 次提交
-
-
由 Valery Sizov 提交于
-
- 28 4月, 2014 6 次提交
-
-
由 Jacob Vosmaer 提交于
-
由 Jacob Vosmaer 提交于
-
由 Jacob Vosmaer 提交于
-
由 Jacob Vosmaer 提交于
-
由 Jacob Vosmaer 提交于
-
由 Jacob Vosmaer 提交于
-
- 03 4月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 19 3月, 2014 2 次提交
-
-
由 Robert Speicher 提交于
-
由 Robert Speicher 提交于
Uses the :simple merge request factory trait introduced by d166e70; cuts execution time of this spec in half.
-
- 26 2月, 2014 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-