- 02 3月, 2018 3 次提交
-
-
由 Andreas Brandl 提交于
-
由 Andreas Brandl 提交于
This applies the changes introduced in `Project.public_or_visible_to_user` to the snippets finder only. We know that for `SnippetsFinder`, this change improves SQL timing from 5/23/25s to 0.7/2/4s (mean/p95/p99). At the same time, the scope was too broad, (negatively) affecting SQL timings in various other places: https://gitlab.com/gitlab-com/infrastructure/issues/3772 With this commit, the snippets dashboard stays usuable as we generally don't run into statement timeouts. In contrast to the earlier change in !17088, the scope of the change is limited to `SnippetsFinder` only, thus not affecting other places.
-
由 Yorick Peterse 提交于
These changes were introduced in MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17088. In https://gitlab.com/gitlab-com/infrastructure/issues/3772 we discovered these changes lead to a pretty drastic increase in SQL response timings. We'll revert these changes so we can work on a better solution in the mean time without GitLab.com (or other installations) experiecing reduced performance in the mean time.
-
- 23 2月, 2018 1 次提交
-
-
由 Bob Van Landuyt 提交于
-
- 21 2月, 2018 1 次提交
-
-
由 Andreas Brandl 提交于
-
- 20 2月, 2018 3 次提交
-
-
由 Andreas Brandl 提交于
Immediately using #from here requires a lot of changes in other finders (e.g. IssuableFinder, TodosFinder). In all places where we use #merge, this goes completely the wrong way when passed in a relation that was built with `#from(...)`: The original query's FROM part gets completely replaced. This avoids changing all other places and focuses on improving SnippetFinder with the downside of two (small) codepaths to do the same thing.
-
由 Andreas Brandl 提交于
-
由 Andreas Brandl 提交于
-
- 10 2月, 2018 1 次提交
-
-
由 Douwe Maan 提交于
Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4' [Port for security-10-4]: Makes SnippetFinder ensure feature visibility
-
- 07 2月, 2018 1 次提交
-
-
由 Andreas Brandl 提交于
Closes #40755.
-
- 10 5月, 2017 1 次提交
-
-
由 Douwe Maan 提交于
Refactor snippets finder & dont return internal snippets for external users See merge request !2094
-
- 10 12月, 2016 3 次提交
-
-
由 Mike Greiling 提交于
-
由 Mike Greiling 提交于
-
由 Mike Greiling 提交于
-
- 02 12月, 2016 1 次提交
-
-
由 Guyzmo 提交于
Adding the necessary API for the new /snippets Restful resource added with this commit. Added a new Grape class `Snippets`, as well as a `PersonalSnippet` entity. Issue: #20042 Merge-Request: !6373 Signed-off-by: NGuyzmo <guyzmo+gitlab+pub@m0g.net>
-
- 16 6月, 2016 2 次提交
-
-
由 James Lopez 提交于
This reverts commit 13e37a3e.
-
由 James Lopez 提交于
-
- 14 6月, 2016 1 次提交
-
-
- 26 4月, 2016 1 次提交
-
-
- 06 3月, 2016 1 次提交
-
-
由 Robert Speicher 提交于
This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years.
-
- 03 2月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
-
- 25 10月, 2014 1 次提交
-
-
由 Valery Sizov 提交于
-
- 13 10月, 2014 1 次提交
-
-
由 Valery Sizov 提交于
-
- 09 10月, 2014 1 次提交
-
-
由 Valery Sizov 提交于
-