1. 06 Jun, 2019 1 commit
    • Krasimir Angelov's avatar
      Add project level git depth setting · 4bf5744f969a
      Krasimir Angelov authored
      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
      4bf5744f969a
  2. 29 May, 2019 1 commit
  3. 20 May, 2019 1 commit
  4. 14 May, 2019 1 commit
  5. 10 May, 2019 1 commit
  6. 07 May, 2019 1 commit
  7. 06 May, 2019 2 commits
    • Ezekiel Kigbo's avatar
      Added blank lines to meet style guide · 5c1437e23f6e
      Ezekiel Kigbo authored
      Un-nest title variable output
      
      Update spec test names
      
      Rename sort_value_most_stars -> sort_value_stars_desc
      
      Rename sorted_by_stars -> sorted_by_stars_desc
      
      Renname sort_value_most_stars_asc -> sort_value_stars_asc
      
      Invert feature check, assign feature condition to a variable
      
      Inline conditional nav bar rendering
      
      Invert conditional label
      
      Added follow up task
      
      Fix filters returning 0 projects show the wrong view
      
      Move click action out of test expectation
      
      Use proper variable name for project in before block
      
      Rename projects_sort_admin_options_hash
      
      Renamed projects_sort_admin_options_has to
      old_projects_sort_options_hash as its not only used
      on the admin screen
      
      Fix extra whitespace errors
      
      Stub project_list_filter_bar in the projects_helper specs
      
      Added follow up task for `show_projects?`
      
      Removed url test expectations
      5c1437e23f6e
    • Ezekiel Kigbo's avatar
      c4a9b1132772
  8. 02 May, 2019 1 commit
  9. 30 Apr, 2019 1 commit
  10. 26 Apr, 2019 1 commit
  11. 23 Apr, 2019 1 commit
  12. 20 Apr, 2019 1 commit
  13. 12 Apr, 2019 1 commit
  14. 11 Apr, 2019 1 commit
    • Thong Kuah's avatar
      Align UrlValidator to validate_url gem implementation. · 77da24aaafd6
      Thong Kuah authored
      Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement.
      Make use of the options attribute of the parent class ActiveModel::EachValidator.
      Add more options: allow_nil, allow_blank, message.
      Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
      77da24aaafd6
  15. 10 Apr, 2019 2 commits
  16. 09 Apr, 2019 1 commit
  17. 08 Apr, 2019 1 commit
  18. 05 Apr, 2019 2 commits
  19. 02 Apr, 2019 1 commit
  20. 28 Mar, 2019 1 commit
  21. 27 Mar, 2019 2 commits
  22. 26 Mar, 2019 1 commit
    • Bob Van Landuyt's avatar
      Allow multiple repositories per project · 754b3795ec6b
      Bob Van Landuyt authored
      This changes the repository type from a binary `wiki?` to a type. So
      we can have more than 2 repository types.
      
      Now everywhere we called `.wiki?` and expected a boolean, we check
      that type.
      754b3795ec6b
  23. 22 Mar, 2019 1 commit
  24. 18 Mar, 2019 1 commit
  25. 13 Mar, 2019 2 commits
  26. 12 Mar, 2019 1 commit
  27. 06 Mar, 2019 2 commits
  28. 01 Mar, 2019 2 commits
  29. 27 Feb, 2019 1 commit
    • Jacopo's avatar
      Add project http fetch statistics API · 89bd31e7300c
      Jacopo authored
      The API get projects/:id/traffic/fetches allows user with write
      access to the repository to get the number of clones for the
      last 30 days.
      89bd31e7300c
  30. 26 Feb, 2019 2 commits
  31. 25 Feb, 2019 2 commits