Read about our upcoming Code of Conduct on this issue

  1. 05 Dec, 2018 1 commit
  2. 19 Nov, 2018 1 commit
  3. 07 Nov, 2018 1 commit
    • Tiago Botelho's avatar
      User can keep their commit email private · 8e351c54d5a2
      Tiago Botelho authored
      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.
      8e351c54d5a2
  4. 03 Oct, 2018 1 commit
  5. 06 Sep, 2018 2 commits
  6. 21 Aug, 2018 3 commits
  7. 10 Aug, 2018 1 commit
  8. 26 Jul, 2018 1 commit
  9. 17 May, 2018 1 commit
    • Yorick Peterse's avatar
      Preload pipeline data for project pipelines · 3c64ad01bc13
      Yorick Peterse authored
      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.
      3c64ad01bc13
  10. 01 May, 2018 1 commit
  11. 29 Apr, 2018 1 commit
    • blackst0ne's avatar
      [Rails5] Add `touch_later` to `Commit` model · fc176a8c95ea
      blackst0ne authored
      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)>'
      ```
      fc176a8c95ea
  12. 19 Apr, 2018 1 commit
    • Stan Hu's avatar
      Fix N+1 queries when loading participants for a commit note · a6c53ff8d658
      Stan Hu authored
      We saw about 10,000 SQL queries for some commits in the NewNoteWorker,
      which stalled the Sidekiq queue for other new notes. The notification
      service took up to 8 minutes to process the commits. Avoiding this
      N+1 query brings the time down significantly.
      
      Closes #45526
      a6c53ff8d658
  13. 06 Apr, 2018 1 commit
  14. 04 Apr, 2018 1 commit
  15. 26 Mar, 2018 1 commit
  16. 06 Mar, 2018 1 commit
  17. 01 Mar, 2018 1 commit
  18. 16 Feb, 2018 1 commit
    • Micaël Bergeron's avatar
      stop ProcessCommitWorker from processing MR merge commit · c00cdb3d94ec
      Micaël Bergeron authored
      When a merge request is merged, it creates a commit with the
      description of the MR, which may contain references and issue
      closing references. As this will be handled in the PostMergeService
      anyways, let's ignore merge commit generated from a MR.
      c00cdb3d94ec
  19. 14 Feb, 2018 1 commit
  20. 15 Jan, 2018 1 commit
  21. 12 Jan, 2018 2 commits
  22. 04 Jan, 2018 1 commit
  23. 19 Dec, 2017 1 commit
    • Zeger-Jan van de Weg's avatar
      Load commit in batches for pipelines#index · 360f4832c8de
      Zeger-Jan van de Weg authored
      Uses `list_commits_by_oid` on the CommitService, to request the needed
      commits for pipelines. These commits are needed to display the user that
      created the commit and the commit title.
      
      This includes fixes for tests failing that depended on the commit
      being `nil`. However, now these are batch loaded, this doesn't happen
      anymore and the commits are an instance of BatchLoader.
      360f4832c8de
  24. 13 Dec, 2017 1 commit
    • Jacopo's avatar
      Adds ordering to projects contributors in API · 16aefa34dd00
      Jacopo authored
      Allows ordering in GET api/v4/projects/:project_id/repository/contributors
      through `order_by` and `sort` params.
      The available `order_by` options are: name|email|commits.
      The available `sort` options are: asc|desc.
      16aefa34dd00
  25. 07 Dec, 2017 1 commit
  26. 23 Nov, 2017 1 commit
  27. 21 Nov, 2017 1 commit
  28. 16 Nov, 2017 2 commits
  29. 15 Nov, 2017 2 commits
  30. 25 Sep, 2017 2 commits
  31. 06 Sep, 2017 1 commit
  32. 05 Sep, 2017 1 commit
  33. 21 Aug, 2017 1 commit