| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| | |
Reduce complexity of issuable finder query.
Closes #37125
See merge request gitlab-org/gitlab-ce!18219
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
Update Security Products jobs definitions
See merge request gitlab-org/gitlab-ce!18265
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Revert "Merge branch 'improve-jobs-queuing-time-metric' into 'master'"
See merge request gitlab-org/gitlab-ce!18276
|
|/ /
| |
| | |
This reverts merge request !17730
|
|\ \
| | |
| | |
| | |
| | | |
Replace vue resource with axios for pipelines table
See merge request gitlab-org/gitlab-ce!18264
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Document process for new Git features
See merge request gitlab-org/gitlab-ce!18230
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Use Gitaly 0.95.0
See merge request gitlab-org/gitlab-ce!18256
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Verify that deploy token has valid access when pulling container registry image
Closes #45148
See merge request gitlab-org/gitlab-ce!18260
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Migrate features/project/project.feature to RSpec and reorganize several Project feature specs
See merge request gitlab-org/gitlab-ce!18223
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Project feature specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| |/
|/|
| | |
[ci skip]
|
|\ \
| | |
| | |
| | |
| | | |
Expose the target commit ID through the tag API
See merge request gitlab-org/gitlab-ce!18248
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is useful for annotated tags, where the deferenced target is not the same as the tag object. At the moment there is no way to differentiate the two through the tag API.
This change adds a "target" property and leaves the existing "commit" property alone so that existing behaviour is not altered.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'fix-n-plus-one-when-getting-notification-settings-for-recipients' into 'master'
Use Goldiloader for handling N+1 queries
See merge request gitlab-org/gitlab-ce!18217
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Bump Ruby to 2.3.7 and git to 2.17.0 in CI image
See merge request gitlab-org/gitlab-ce!18244
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolve "Cannot read property 'commit_path' of null"
Closes #44296
See merge request gitlab-org/gitlab-ce!18231
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use gitlab-shell 7.1.2
See merge request gitlab-org/gitlab-ce!18258
|
| | |_|_|_|/
| |/| | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Update GitLab SVGs version
See merge request gitlab-org/gitlab-ce!18250
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[Rails5] Fix `can't modify frozen Array` errors
See merge request gitlab-org/gitlab-ce!18239
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
'master'
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
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
projects to speed up query (#41981)
|
| | |_|_|_|_|/
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | |
| | | | | | |
| | | | | | | |
Move BoardBlankState vue component
See merge request gitlab-org/gitlab-ce!17666
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Make email handler clearer
Closes #37403
See merge request gitlab-org/gitlab-ce!17501
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | |
| | | | | | |
| | | | | | | |
Move FindLicense RPC to OPT OUT status
See merge request gitlab-org/gitlab-ce!18228
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Acceptance testing was successful in
https://gitlab.com/gitlab-org/gitaly/issues/1058. So this is moved to
OPT OUT.
Part of https://gitlab.com/gitlab-org/gitaly/issues/1026
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
[Rails5] Add `rails-controller-testing` gem
See merge request gitlab-org/gitlab-ce!18242
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In Rails 5.0 `assert_template` and `assigns()` have been extracted to
the `rails-controller-testing` gem.
https://github.com/rails/rails/pull/20138/files
This commit adds this gem for rails5.
|