- 11 Apr, 2018 1 commit
-
-
Yorick Peterse authored
This refactors the Markdown pipeline so it supports the rendering of multiple documents that may belong to different projects. An example of where this happens is when displaying the event feed of a group. In this case we retrieve events for all projects in the group. Previously we would group events per project and render these chunks separately, but this would result in many SQL queries being executed. By extending the Markdown pipeline to support this out of the box we can drastically reduce the number of SQL queries. To achieve this we introduce a new object to the pipeline: Banzai::RenderContext. This object simply wraps two other objects: an optional Project instance, and an optional User instance. On its own this wouldn't be very helpful, but a RenderContext can also be used to associate HTML documents with specific Project instances. This work is done in Banzai::ObjectRenderer and allows us to reuse as many queries (and results) as possible.
-
- 10 Apr, 2018 12 commits
-
-
Yorick Peterse authored
Reduce complexity of issuable finder query. Closes #37125 See merge request gitlab-org/gitlab-ce!18219
-
Dmitriy Zaporozhets authored
Update Security Products jobs definitions See merge request gitlab-org/gitlab-ce!18265
-
Olivier Gonzalez authored
-
Marin Jankovski authored
Revert "Merge branch 'improve-jobs-queuing-time-metric' into 'master'" See merge request gitlab-org/gitlab-ce!18276
-
Kamil Trzciński authored
This reverts merge request !17730
-
Phil Hughes authored
Replace vue resource with axios for pipelines table See merge request gitlab-org/gitlab-ce!18264
-
Sean McGivern authored
Document process for new Git features See merge request gitlab-org/gitlab-ce!18230
-
Jacob Vosmaer (GitLab) authored
-
Sean McGivern authored
Use Gitaly 0.95.0 See merge request gitlab-org/gitlab-ce!18256
-
Kamil Trzciński authored
Verify that deploy token has valid access when pulling container registry image Closes #45148 See merge request gitlab-org/gitlab-ce!18260
-
Mayra Cabrera authored
-
Robert Speicher authored
Migrate features/project/project.feature to RSpec and reorganize several Project feature specs See merge request gitlab-org/gitlab-ce!18223
-
- 09 Apr, 2018 27 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Mayra Cabrera authored
[ci skip]
-
Filipa Lacerda authored
-
Andreas Brandl authored
This removes the extra check for project-ids which is not needed at all. This does not necessarily reduce execution time of the query, but improves planning time by a few millseconds. Closes #37125.
-
Robert Speicher authored
Expose the target commit ID through the tag API See merge request gitlab-org/gitlab-ce!18248
-
Yorick Peterse authored
Use Goldiloader for handling N+1 queries See merge request gitlab-org/gitlab-ce!18217
-
Rémy Coutable authored
Bump Ruby to 2.3.7 and git to 2.17.0 in CI image See merge request gitlab-org/gitlab-ce!18244
-
Phil Hughes authored
Resolve "Cannot read property 'commit_path' of null" Closes #44296 See merge request gitlab-org/gitlab-ce!18231
-
Douwe Maan authored
Use gitlab-shell 7.1.2 See merge request gitlab-org/gitlab-ce!18258
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
-
Jacob Vosmaer authored
-
Tim Zallmann authored
Update GitLab SVGs version See merge request gitlab-org/gitlab-ce!18250
-
Jacob Vosmaer authored
-
Sean McGivern authored
Goldiloader is great, but has several issues with has_many :through relations: * https://github.com/salsify/goldiloader/issues/12 * https://github.com/salsify/goldiloader/issues/14 * https://github.com/salsify/goldiloader/issues/18 Rather than try to figure out which applies in each case, we should just do the drudge work of manually disabling autoloading for all relations of this type. We can always use regular preloading for specific cases, but this way we avoid generating invalid queries through Goldiloader's magic.
-
Sean McGivern authored
[Rails5] Fix `can't modify frozen Array` errors See merge request gitlab-org/gitlab-ce!18239
-
Yorick Peterse authored
Goldiloader (https://github.com/salsify/goldiloader) can eager load associations automatically. This removes the need for adding "includes" calls in a variety of different places. This also comes with the added benefit of not having to eager load data if it's not used.
-
Yorick Peterse authored
Resolve "Group owner cannot enable/disable specific-runners which was registered in a project under a subgroup" Closes #41981 See merge request gitlab-org/gitlab-ce!18009
-
Filipa Lacerda authored
Move BoardBlankState vue component See merge request gitlab-org/gitlab-ce!17666
-
Sean McGivern authored
Make email handler clearer Closes #37403 See merge request gitlab-org/gitlab-ce!17501
-
Riccardo Padovani authored
-
Grzegorz Bizon authored
Move FindLicense RPC to OPT OUT status See merge request gitlab-org/gitlab-ce!18228
-
Phil Hughes authored
-
Rémy Coutable authored
[Rails5] Add `rails-controller-testing` gem See merge request gitlab-org/gitlab-ce!18242
-
Grzegorz Bizon authored
Fix undefined method `one?` when pushing to an existing merge request Closes #45152 See merge request gitlab-org/gitlab-ce!18243
-