Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42 | GitLab Bot | 2022-08-18 | 1 | -2/+2 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42 | GitLab Bot | 2022-04-20 | 1 | -1/+5 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42 | GitLab Bot | 2022-02-18 | 1 | -0/+4 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42 | GitLab Bot | 2021-07-20 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43 | GitLab Bot | 2021-04-20 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-3-stable-ee | GitLab Bot | 2020-08-20 | 1 | -0/+2 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-1-stable-ee | GitLab Bot | 2020-06-18 | 1 | -0/+2 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-0-stable-ee | GitLab Bot | 2020-05-20 | 1 | -3/+3 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-04-10 | 1 | -2/+0 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-04 | 1 | -8/+11 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-02 | 1 | -2/+2 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-12-18 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-12-17 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@masterogolowinski-master-patch-80898 | GitLab Bot | 2019-12-16 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-10-16 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-10-09 | 1 | -0/+4 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-09-23 | 1 | -1/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-09-13 | 1 | -0/+2 |
| | |||||
* | Update comments about N + 1 Gitaly calls | Zeger-Jan van de Weg | 2019-04-09 | 1 | -1/+1 |
| | | | | | 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. | ||||
* | Fixing image lfs bug and also displaying text lfs | Francisco Javier López | 2018-12-27 | 1 | -5/+5 |
| | | | | | | | | | | | 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. | ||||
* | Batch load only data from same repository when lazy object is accessed | Douwe Maan | 2018-11-26 | 1 | -9/+3 |
| | | | | | | | 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. | ||||
* | Allow FoundBlob to access language from gitattributes | Mark Chao | 2018-10-30 | 1 | -7/+1 |
| | | | | | Extract language_from_git_attributes as a concern so it can ben included in two blob classes. | ||||
* | Move :plain option to Highlight class | Mark Chao | 2018-10-30 | 1 | -6/+0 |
| | | | | | | This is to DRY the repeated file size check. Move spec and constants to Highlight | ||||
* | Add BlobPresenter for highlighting | Mark Chao | 2018-10-30 | 1 | -1/+3 |
| | | | | Force FoundBlob to use BlobPresenter | ||||
* | Add access to Blob's language from gitattributes | Mark Chao | 2018-10-30 | 1 | -0/+7 |
| | | | | | Ported from Highlight class since it as a concept is more related to blob, and this allows more flexibility. | ||||
* | Remove dependencies on Linguist | Zeger-Jan van de Weg | 2018-10-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This saves about 128 MB of baseline RAM usage per Unicorn and Sidekiq process (!). Linguist wasn't detecting languages anymore from CE/EE since 9ae8b57467ac8b38f1fa9020a466d94a93cbb9dd. 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. | ||||
* | Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models | gfyoung | 2018-07-26 | 1 | -0/+2 |
| | | | | Partially addresses #47424. | ||||
* | 26039 - update github-linguist to 5.3.3 version | Ken | 2018-02-21 | 1 | -1/+1 |
| | | | | | | | | 26039 - add merge request id 26039 change due to lingust source file updates | ||||
* | Include project in BatchLoader key to prevent returning blobs for the wrong ↵ | Douwe Maan | 2017-12-14 | 1 | -3/+9 |
| | | | | project | ||||
* | Batchload blobs for diff generation | Zeger-Jan van de Weg | 2017-11-21 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | Match full file path in FileDetector | Sean McGivern | 2017-10-12 | 1 | -1/+3 |
| | | | | | | | | | 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. | ||||
* | Detect if file that appears to be text in the first 1024 bytes is actually ↵dm-blob-binaryness-change | Douwe Maan | 2017-06-08 | 1 | -2/+5 |
| | | | | binary afer loading all data | ||||
* | Merge branch 'dm-blob-file-type' into 'master' | Grzegorz Bizon | 2017-06-08 | 1 | -0/+4 |
|\ | | | | | | | | | Add Blob#file_type convenience method See merge request !11982 | ||||
| * | Add Blob#file_type convenience methoddm-blob-file-type | Douwe Maan | 2017-06-08 | 1 | -0/+4 |
| | | |||||
* | | Merge branch 'dm-empty-blob-viewer-binary' into 'master' | Grzegorz Bizon | 2017-06-08 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | Empty blob viewer isn’t binary-only See merge request !11979 | ||||
| * | Empty blob viewer isn’t binary-onlydm-empty-blob-viewer-binary | Douwe Maan | 2017-06-07 | 1 | -1/+1 |
| | | |||||
* | | Blob#load_all_data! doesn’t need an argumentblob-load-all-data | Douwe Maan | 2017-06-07 | 1 | -0/+4 |
|/ | |||||
* | Consistent diff and blob size limit names | Douwe Maan | 2017-05-29 | 1 | -8/+4 |
| | |||||
* | Merge branch 'dm-gemfile-viewer' | Rémy Coutable | 2017-05-18 | 1 | -1/+13 |
|\ | | | | | | | See merge request !11346. | ||||
| * | Add auxiliary blob viewers to dependency files | Douwe Maan | 2017-05-17 | 1 | -1/+13 |
| | | |||||
* | | Add auxiliary viewer for READMEdm-readme-viewer | Douwe Maan | 2017-05-17 | 1 | -0/+1 |
|/ | |||||
* | Add auxiliary blob viewer for CHANGELOG | Douwe Maan | 2017-05-17 | 1 | -1/+2 |
| | |||||
* | Add auxiliary viewer for CONTRIBUTINGdm-contributing-viewer | Douwe Maan | 2017-05-16 | 1 | -1/+3 |
| | |||||
* | Implement auxiliary blob viewers | Douwe Maan | 2017-05-10 | 1 | -12/+22 |
| | |||||
* | Enable the Style/TrailingCommaInLiteral cop | Rémy Coutable | 2017-05-10 | 1 | -1/+1 |
| | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Merge branch 'balsalmiq-support' into 'master' | Phil Hughes | 2017-05-05 | 1 | -0/+1 |
|\ | | | | | | | | | Initial balsamiq support See merge request !10564 | ||||
| * | Merge branch 'master' into balsalmiq-support | Luke "Jared" Bennett | 2017-04-30 | 1 | -0/+2 |
| |\ | |||||
| * \ | Merge branch 'master' into balsalmiq-support | Luke "Jared" Bennett | 2017-04-28 | 1 | -60/+118 |
| |\ \ | |||||
| * | | | BE review changes | Luke "Jared" Bennett | 2017-04-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'master' into 'balsalmiq-support' | Luke "Jared" Bennett | 2017-04-12 | 1 | -5/+25 |
| |\ \ \ | | | | | | | | | | | | | | | | # Conflicts: # app/models/blob.rb |