Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Sep 03, 2019
  3. Sep 02, 2019
  4. Aug 20, 2019
  5. Aug 10, 2019
  6. Aug 09, 2019
  7. Aug 06, 2019
    • Patrick Bajao's avatar
      Support selective highlighting of lines · 46631e10
      Patrick Bajao authored
      Instead of highlighting all lines when not all of them are
      needed, only highlight specific lines.
      
      The `BlobPresenter#highlight` method has been updated to
      support `since` and `to` params. These params will be used to
      limit the content to be highlighted.
      
      Modify `Gitlab::Highlight` to support `since` param which will
      then be used to determine the starting line number.
      46631e10
  8. Aug 05, 2019
    • Nick Thomas's avatar
      Speed up loading and filtering deploy keys and their projects · d3a3db42
      Nick Thomas authored
      This commit changes how we eager-load projects, routes, and namespaces
      required by the deploy keys endpoint, getting a 10x improvement in my
      local testing.
      
      The endpoint still doesn't scale in-general, but going from ~13 seconds
      to dump a 63K result to generating the same thing in ~1.6 seconds seems
      like a good improvement to me.
      d3a3db42
  9. Jul 22, 2019
    • Patrick Bajao's avatar
      Fix suggestion on lines that are not part of an MR · 866bef80
      Patrick Bajao authored
      Return the `text` as plain string in the response instead of
      including HTML tags but keep `rich_text` as is.
      
      The fix is to modify `Blob::UnfoldPresenter#diff_files` to map
      each raw diff line (limited by the range specified) to a
      corresponding line in an array of highlighted lines to use as
      `rich_text`.
      866bef80
  10. Jul 11, 2019
    • Dylan Griffith's avatar
      Refactor: model errors for multi cluster validation · dacd0ee1
      Dylan Griffith authored
      The current approach requires catching exceptions to handle these errors
      and callers are already handling model validations so it seems more
      appropriate.  Also it seemed to convoluted to add this logic directly to
      the model since the model needs to check too many possible associations
      to determine whether or not there are more than one cluster since the
      model doesn't know what it's being created on. Additionally we only
      wanted to validate during create to avoid the risk of existing models
      becoming invalid by many different edge cases.
      dacd0ee1
  11. Jun 28, 2019
  12. Jun 12, 2019
    • Fabio Pitino's avatar
      Expose ci_default_git_depth via project API · 3ac527b4
      Fabio Pitino authored
      Enable Get and Update of ci_default_git_depth for
      Project API.
      
      Renaming Project#default_git_depth to :ci_default_git_depth
      to give more context through the API usage.
      
      Add API documentation
      3ac527b4
  13. Jun 10, 2019
  14. Jun 06, 2019
    • Krasimir Angelov's avatar
      Add project level git depth setting · ad9ae16d
      Krasimir Angelov authored and Fabio Pitino's avatar Fabio Pitino committed
      Introduce default_git_depth in project's CI/CD settings and set it to
      50. Use it if there is no GIT_DEPTH variable specified. Apply this
      default only to newly created projects and keep it nil for old ones
      in order to not break pipelines that rely on non-shallow clones.
      
      default_git_depth can be updated from CI/CD Settings in the UI, must be
      either nil or integer between 0 and 1000 (incl).
      
      Inherit default_git_depth from the origin project when forking projects.
      
      MR pipelines are run on a MR ref (refs/merge-requests/:iid/merge) and it
      contains unique commit (i.e. merge commit) which doesn't exist in the
      other branch/tags refs. We need to add it cause otherwise it may break
      pipelines for old projects that have already enabled Pipelines for merge
      results and have git depth 0.
      
      Document new default_git_depth project CI/CD setting
      ad9ae16d
  15. Jun 05, 2019
  16. Jun 03, 2019
    • Shinya Maeda's avatar
      Abstract auto merge processes · d4b46936
      Shinya Maeda authored
      We have one auto merge strategy today - Merge When Pipeline
      Succeeds.
      
      In order to add more strategies for Merge Train feature,
      we abstract the architecture to be more extensible.
      
      Removed arguments
      
      Fix spec
      d4b46936
  17. Jun 02, 2019
  18. May 31, 2019
  19. May 30, 2019
  20. May 28, 2019
    • Jan Provaznik's avatar
      Fix display of promote to group label · 4df0e259
      Jan Provaznik authored
      Since label presenter is used in label index view, label class
      check doesn't work as expected because the class is now LabelPresenter.
      
      Also `label.subject` doesn't work as expected now because Label's model
      `subject` method is shadowed by Gitlab's presenter's method which uses
      `subject` for referencing the original object.
      
      Instead we use a presenter's method for both checks now.
      
      `label_deletion_confirm_text` is not used anywhere so it's removed
      4df0e259
  21. May 27, 2019
  22. May 06, 2019
  23. Apr 30, 2019
  24. Apr 23, 2019
    • Jan Provaznik's avatar
      Move scoped_label into label presenter · 8ce4b609
      Jan Provaznik authored
      When rendering a label we want to check 'scoped_label' feature
      availability on a project/group where label is being used. For
      this reason a label presenter is used in UI and information about
      context project/group is passed to this presenter.
      8ce4b609
  25. Apr 19, 2019
  26. Apr 16, 2019
  27. Apr 15, 2019
  28. Apr 03, 2019
  29. Mar 29, 2019
  30. Mar 20, 2019
    • Tiger Watson's avatar
      Create framework for build prerequisites · 00f0d356
      Tiger Watson authored
      Introduces the concept of Prerequisites for a CI build.
      If a build has unmet prerequisites it will go through the
      :preparing state before being made available to a runner.
      
      There are no actual prerequisites yet, so current
      behaviour is unchanged.
      00f0d356
  31. Mar 19, 2019
Loading