Skip to content
Snippets Groups Projects
  1. Mar 27, 2019
  2. Mar 26, 2019
    • Bob Van Landuyt's avatar
      Allow multiple repositories per project · d36415b7
      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.
      d36415b7
  3. Mar 22, 2019
  4. Mar 18, 2019
  5. Mar 13, 2019
  6. Mar 12, 2019
  7. Mar 06, 2019
  8. Mar 01, 2019
  9. Feb 27, 2019
    • Jacopo's avatar
      Add project http fetch statistics API · 5ae9a44a
      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.
      5ae9a44a
  10. Feb 26, 2019
  11. Feb 25, 2019
  12. Feb 20, 2019
  13. Feb 18, 2019
  14. Feb 11, 2019
  15. Feb 08, 2019
  16. Feb 06, 2019
  17. Feb 04, 2019
  18. Feb 01, 2019
  19. Jan 31, 2019
  20. Jan 29, 2019
  21. Jan 28, 2019
  22. Jan 21, 2019
  23. Jan 16, 2019
    • Yorick Peterse's avatar
      Refactor code for protecting default branches · 52eeb56b
      Yorick Peterse authored
      This refactors some of the logic used for protecting default branches,
      in particular Project#after_create_default_branch. The logic for this
      method is moved into a separate service class. Ideally we'd get rid of
      Project#after_create_default_branch entirely, but unfortunately
      Project#after_import depends on it. This means it has to stick around
      until we also refactor Project#after_import.
      
      For branch protection levels we introduce
      Gitlab::Access::BranchProtection, which provides a small wrapper around
      Integer based branch protection levels. Using this class removes the
      need for having to constantly refer to Gitlab::Access::PROTECTION_*
      constants.
      Unverified
      52eeb56b
    • Yorick Peterse's avatar
      Refactor checking personal project limits · 2d9a6f2b
      Yorick Peterse authored
      This refactors the code used for checking if a user has exceeded the
      personal projects limit. As part of this refactor the method has been
      renamed from Project#check_limit to "check_personal_projects_limit", as
      this name makes it much more clear what the purpose of the method is.
      Standalone unit tests have also been added, as before we only had a
      single generic validation test that did not cover all cases.
      
      The old implementation of the refactored method also included a `rescue`
      statement. This code would only run when a project creator was not set.
      The error that would be added wasn't super useful, especially since
      there would already be errors for the creator not being present. As none
      of the other code in the "check_personal_projects_limit" raises, it has
      been removed.
      Unverified
      2d9a6f2b
  24. Jan 14, 2019
  25. Jan 11, 2019
Loading