summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42GitLab Bot2022-08-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42GitLab Bot2022-06-201-1/+6
|
* Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42GitLab Bot2022-02-181-3/+1
|
* Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42GitLab Bot2021-12-201-27/+11
|
* Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42GitLab Bot2021-10-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot2021-08-191-1/+15
|
* Add latest changes from gitlab-org/security/gitlab@14-1-stable-eeGitLab Bot2021-08-021-0/+4
|
* Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot2021-06-161-7/+27
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-0/+1
|
* Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot2021-04-201-1/+10
|
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher2021-01-201-4/+4
|
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-2/+14
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-9/+23
|
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-1/+5
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-1/+0
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-2/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-121-16/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-111-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-211-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-131-2/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-071-6/+26
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-041-25/+28
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-291-3/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-111-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-101-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-071-3/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-281-0/+12
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-141-4/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-091-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-301-25/+13
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-171-1/+0
|
* Fix moving issues API failing when text includes commit URLssh-fix-issue-move-apiStan Hu2019-08-281-1/+6
| | | | | | | | | | | | | | | When a issue is moved from one project to another, all associated Markdown text is rewritten in the context of the new project. If the note contained a link to a commit URL, `CommitRewriter#rewrite` would fail because `Commit#link_reference_pattern` would match `nil` `commit` values in the HTML generated from the Markdown. These `nil` values were passed along to `Project#commits_by` because `Commit#reference_valid?` was always returning `true`. To prevent this issue from happening, we tighten up the check for `Commit#reference_valid?` to look for valid SHA values. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66666
* Enable Rubocop Performance/ReverseEachsh-rubocop-reverse-eachStan Hu2019-07-241-1/+1
| | | | | | | `Array.reverse_each` is faster than `Array.reverse.each` because: * reverse.each creates a new array then loops each element * reverse_each loops in reverse order (no intermediate array created)
* Speed up merge request loads by disabling BatchLoader replace_methodsStan Hu2019-06-131-1/+1
| | | | | | | | | | | In production, we've seen the rendering times of the merge request widget increase as a result of loading commit data. BatchLoader attempts to call replace_methods on the lazy object, but this has a significant performance penalty for modules that have many methods. Disabling this mode (https://github.com/exAspArk/batch-loader/pull/45) appears to cut load times by about 50% for MergeRequestsController#show. Relates to https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6941
* Use Redis for CacheMarkDownField on non AR modelsPatrick Bajao2019-06-051-7/+4
| | | | | | | | | | | | | | | | | | This allows using `CacheMarkdownField` for models that are not backed by ActiveRecord. When the including class inherits `ActiveRecord::Base` we include `Gitlab::MarkdownCache::ActiveRecord::Extension`. This will cause the markdown fields to be rendered and the generated HTML stored in a `<field>_html` attribute on the record. We also store the version used for generating the markdown. All other classes that include this model will include the `Gitlab::MarkdownCache::Redis::Extension`. This add the `<field>_html` attributes to that model and will generate the html in them. The generated HTML will be cached in redis under the key `markdown_cache:<class>:<id>`. The class this included in must therefore respond to `id`.
* Allow custom squash commit messagesLuke Duncalfe2019-02-061-1/+1
|
* [master] Pipelines section is available to unauthorized usersKamil Trzciński2019-01-311-1/+4
|
* Skip per-commit validations which have already passed on another change/branchFrancisco Javier López2018-12-281-0/+4
|
* Truncate merge request titles with periods instead of ellipsisStan Hu2018-12-061-1/+3
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54862
* Rename project's pipelines relationFrancisco Javier López2018-12-051-2/+2
|
* Match users better by their private commit emailNick Thomas2018-11-191-18/+7
| | | | | | Private commit emails were introduced in !22560, but some parts of GitLab were not updated to take account of them. This commit adds support in places that were missed.
* User can keep their commit email private43521-keep-personal-emails-privateTiago Botelho2018-11-071-1/+1
| | | | | | | | The private commit email is automatically generated in the format: id-username@noreply.HOSTNAME GitLab instance admins are able to change the HOSTNAME portion, that defaults to Gitlab's hostname, to whatever they prefer.
* Add pipeline status to diffs/commit_item49329-mr-show-commit-detailsPaul Slaughter2018-10-031-1/+5
| | | | | **Notes:** - Also exposes commit.pipeline_status_path in diffs.json
* Properly fix an introduced N+1 SQL issue loading commit authorsNick Thomas2018-09-061-6/+1
|
* Bulk-render commit titles in the tree view to improve performanceNick Thomas2018-09-061-1/+7
|
* Make it clearer when Commit#description returns no_commit_messageSean McGivern2018-08-211-5/+2
|
* use #blank? instead #nil?yisiliang2018-08-211-1/+1
|
* to avoid “NoMethodError (undefined method `split' for nil:NilClass)” ↵yisiliang2018-08-211-1/+5
| | | | while safe_message is nil.
* Create empty Commits::UpdateService and wire it upPeter Leitzen2018-08-101-0/+4
|