- 17 Jul, 2017 26 commits
-
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
We also try to use instance variable to cache the result if RequestStore is not available, so we could keep the same logic, using the same cache key. Also introduce a way to specify method specific cache key
-
Lin Jen-Shin authored
I don't like the idea of `RequestStore` at all, because it's just a global state which shouldn't be used at all. But we have a number of places calling `ProtectedBranch.protected?` and `ProtectedTag.protected?` in a loop for the same user, project, and ref whenever we're checking against if the jobs for a given pipeline is accessible for a given user. This means we're effectively making N queries for the same thing over and over. To properly fix this, we need to change how we check the permission, and that could be a huge work. To solve this quickly, adding a cache layer for the given request would be quite simple to do. We're already doing this in Commit#author, and this is extending that idea and make it generalized.
-
Sean McGivern authored
Promote visibility level helpers from Group to Namespace Closes gitlab-ee#2950 See merge request !12910
-
Phil Hughes authored
move click handler to button. when on the icon it wasn't triggered in firefox Closes #35164 See merge request !12905
-
Yorick Peterse authored
Process scheduled background migrations as well Closes #34951 See merge request !12787
-
Sean McGivern authored
Expire cached user IDs that can see the performance after 5 minutes See merge request !12911
-
Grzegorz Bizon authored
Simply re-raise an exception when it occurs, but guarantee that no background migration is lost in the process.
-
Rémy Coutable authored
Added cop to blacklist the use of hash indexes See merge request !12869
-
Rémy Coutable authored
If we don't expire the cached user IDs, the list of IDs would become outdated when a new member is added, or when a member ios removed from the allowed group. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Sean McGivern authored
Remove Repository#search_files See merge request !12879
-
Phil Hughes authored
Fix label creation from new list for subgroup projects Closes #35181 See merge request !12906
-
Nick Thomas authored
In EE, we make use of `namespace#public?` in projects. When the project is in a personal namespace, this breaks as the `public?` helper isn't present.
-
Sean McGivern authored
Branch and tag refactors for Gitaly See merge request !12872
-
Rémy Coutable authored
Bump fog-core to 1.44.3 and fog providers' plugins to latest Closes #35155 See merge request !12897
-
Rémy Coutable authored
Introduce have_gitlab_http_status Closes #34964 See merge request !12883
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
It also makes it possible to gracefully retry a migration in order to avoid problems like deadlocks.
-
Phil Hughes authored
Reduce padding on context header Closes #35064 See merge request !12855
-
Mark Fletcher authored
-
Phil Hughes authored
Add white background to context header avatar See merge request !12857
-
Tim Zallmann authored
Fix incorrect AWS ELB metrics. Closes #35174 See merge request !12902
-
Simon Knox authored
-
Joshua Lambert authored
-
- 16 Jul, 2017 14 commits
-
-
Robert Speicher authored
Update Google launcher details [ci skip] See merge request !12899
-
Marcia Ramos authored
Fix wrong link to docs in docs styleguide See merge request !12901
-
Marcia Ramos authored
Update health check docs See merge request !12794
-
Achilleas Pipinellis authored
-
Achilleas Pipinellis authored
Update issue-related docs See merge request !12881
-
Marcia Ramos authored
-
Achilleas Pipinellis authored
Refactor groups docs See merge request !12888
-
Marcia Ramos authored
-
Achilleas Pipinellis authored
Add subgroups limitations to Pages docs Closes #34621 See merge request !12891
-
Marcia Ramos authored
-
Achilleas Pipinellis authored
Update MR-related docs See merge request !12875
-
Achilleas Pipinellis authored
Add AD matching rule filter and more information See merge request !12871
-
eliran.mesika authored
-
Achilleas Pipinellis authored
-