- Feb 04, 2020
-
-
GitLab Bot authored
-
- Feb 02, 2020
-
-
GitLab Bot authored
-
- Dec 18, 2019
-
-
GitLab Bot authored
-
- Dec 17, 2019
-
-
GitLab Bot authored
-
- Dec 16, 2019
-
-
GitLab Bot authored
-
- Oct 16, 2019
-
-
GitLab Bot authored
-
- Oct 09, 2019
-
-
GitLab Bot authored
-
- Sep 23, 2019
-
-
GitLab Bot authored
-
- Sep 13, 2019
-
-
GitLab Bot authored
-
- Apr 09, 2019
-
-
Zeger-Jan van de Weg authored
To make sure all known issues are linked to the correct epic, I've gone through the code base, and updated the comments where required.
-
- Dec 27, 2018
-
-
Francisco Javier López authored
This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812, fixes a problem creating a displaying image diff notes when the image is stored in LFS. The main problem was that `Gitlab::Diff::File` was returning an invalid valid in `text?` for this kind of files. It also fixes a rendering problem with other LFS files, like text ones. They LFS pointer shouldn't be shown when LFS is enabled for the project, but they were.
-
- Nov 26, 2018
-
-
Douwe Maan authored
By specifying `key`, we get a different lazy batch loader for each repository, which means that accessing a lazy object from one repository will only result in that repository's objects being fetched, not those of other repositories, saving us some unnecessary Gitaly lookups.
-
- Oct 30, 2018
-
-
Mark Chao authored
Extract language_from_git_attributes as a concern so it can ben included in two blob classes.
-
Mark Chao authored
This is to DRY the repeated file size check. Move spec and constants to Highlight
-
Mark Chao authored
Force FoundBlob to use BlobPresenter
-
Mark Chao authored
Ported from Highlight class since it as a concept is more related to blob, and this allows more flexibility.
-
- Oct 13, 2018
-
-
Zeger-Jan van de Weg authored
This saves about 128 MB of baseline RAM usage per Unicorn and Sidekiq process (!). Linguist wasn't detecting languages anymore from CE/EE since 9ae8b574. However, Linguist::BlobHelper was still being depended on by BlobLike and others. This removes the Linguist gem, given it isn't required anymore. EscapeUtils were pulled in as dependency, but given Banzai depends on it, it is now added explicitly. Previously, Linguist was used to detect the best ACE mode. Instead, we rely on ACE to guess the best mode based on the file extension.
-
- Jul 26, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Feb 20, 2018
-
-
Ken authored
26039 - add merge request id 26039 change due to lingust source file updates
-
- Dec 14, 2017
-
-
Douwe Maan authored
-
- Nov 21, 2017
-
-
Zeger-Jan van de Weg authored
After installing a new gem, batch-loader, a construct can be used to queue data to be fetched in bulk. The gem was also introduced in both gitlab-org/gitlab-ce!14680 and gitlab-org/gitlab-ce!14846, but those mrs are not merged yet. For the generation of diffs, both the old blob and the new blob need to be loaded. This for every file in the diff, too. Now we collect all these so we do 1 fetch. Three `.allow_n_plus_1_calls` have been removed, which I expect to be valid, but this needs to be confirmed by a full CI run. Possibly closes: - https://gitlab.com/gitlab-org/gitlab-ce/issues/37445 - https://gitlab.com/gitlab-org/gitlab-ce/issues/37599 - https://gitlab.com/gitlab-org/gitlab-ce/issues/37431
-
- Oct 12, 2017
-
-
Sean McGivern authored
The basename appears to have been a holdover from the past - it doesn't look necessary now. Some of the regexes were unanchored on one side, so explicitly ensure that they only match the root. Apart from that, this means that pushing to foo/README.md will no longer invalidate the main README cache for a project.
-
- Jun 08, 2017
-
-
Douwe Maan authored
Detect if file that appears to be text in the first 1024 bytes is actually binary afer loading all data
-
Douwe Maan authored
-
- Jun 07, 2017
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- May 29, 2017
-
-
Douwe Maan authored
-
- May 17, 2017
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
- May 16, 2017
-
-
Douwe Maan authored
-
- May 11, 2017
-
-
Douwe Maan authored
-
- May 10, 2017
-
-
Rémy Coutable authored
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- May 03, 2017
-
-
Douwe Maan authored
-
- Apr 28, 2017
-
-
Douwe Maan authored
-
- Apr 27, 2017
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-