Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-19Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot
2021-08-03Add latest changes from gitlab-org/security/gitlab@14-1-stable-eeGitLab Bot
2021-06-16Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot
2021-05-19Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot
2021-04-21Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot
2021-02-18Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot
2021-01-20Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42Robert Speicher
2020-11-19Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot
2020-10-21Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-03-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-04Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-29Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-10Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-28Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-09Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-30Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-28Fix moving issues API failing when text includes commit URLsStan Hu
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
2019-07-25Enable Rubocop Performance/ReverseEachStan Hu
`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)
2019-06-13Speed up merge request loads by disabling BatchLoader replace_methodsStan Hu
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
2019-06-05Use Redis for CacheMarkDownField on non AR modelsPatrick Bajao
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`.
2019-02-06Allow custom squash commit messagesLuke Duncalfe
2019-01-31[master] Pipelines section is available to unauthorized usersKamil Trzciński
2018-12-28Skip per-commit validations which have already passed on another change/branchFrancisco Javier López
2018-12-07Truncate merge request titles with periods instead of ellipsisStan Hu
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54862
2018-12-05Rename project's pipelines relationFrancisco Javier López
2018-11-19Match users better by their private commit emailNick Thomas
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.
2018-11-07User can keep their commit email privateTiago Botelho
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.
2018-10-03Add pipeline status to diffs/commit_itemPaul Slaughter
**Notes:** - Also exposes commit.pipeline_status_path in diffs.json
2018-09-06Properly fix an introduced N+1 SQL issue loading commit authorsNick Thomas
2018-09-06Bulk-render commit titles in the tree view to improve performanceNick Thomas
2018-08-21Make it clearer when Commit#description returns no_commit_messageSean McGivern
2018-08-21use #blank? instead #nil?yisiliang
2018-08-21to avoid “NoMethodError (undefined method `split' for nil:NilClass)” ↵yisiliang
while safe_message is nil.
2018-08-10Create empty Commits::UpdateService and wire it upPeter Leitzen
2018-07-27Enable frozen string in app/models/*.rbgfyoung
Partially addresses #47424.
2018-05-17Preload pipeline data for project pipelinesYorick Peterse
When displaying the pipelines of a project we now preload the following data: 1. Authors of the commits that belong to these pipelines 2. The number of warnings per pipeline, which is used by Ci::Pipeline#has_warnings? == Commit Authors Previously this data was queried for every Commit separately, leading to 20 SQL queries being executed in the worst case. With an average of 3 to 5 milliseconds per SQL query this could result in 100 milliseconds being spent in _just_ getting Commit authors. To preload this data Commit#author now uses BatchLoader (through Commit#lazy_author), and a separate module Gitlab::Ci::Pipeline::Preloader is used to ensure all authors are loaded before they are used. == Number of warnings This changes Ci::Pipeline#has_warnings? so it supports preloading of the number of warnings per pipeline. This removes the need for executing a COUNT(*) query for every pipeline just to see if it has any warnings or not.
2018-05-02Merge branch 'blackst0ne-rails5-add-touch-later-to-commit-model' into 'master'Rémy Coutable
[Rails5] Add `touch_later` to `Commit` model See merge request gitlab-org/gitlab-ce!18642
2018-05-01Merge request and commit discussions APIJan Provaznik
2018-04-29[Rails5] Add `touch_later` to `Commit` modelblackst0ne
This commit fixes errors like: ``` 1) API::Todos GET /todos when unauthenticated returns authentication error Failure/Error: @raw.__send__(method, *args, &block) # rubocop:disable GitlabSecurity/PublicSend NoMethodError: undefined method `touch_later' for #<Gitlab::Git::Commit:0x00005573f5196270> # ./app/models/commit.rb:259:in `method_missing' # ./spec/requests/api/todos_spec.rb:12:in `block (2 levels) in <top (required)>' ```