1. 18 6月, 2019 1 次提交
  2. 14 6月, 2019 1 次提交
    • S
      Fix inability to set visibility_level on project via API · dcba5279
      Stan Hu 提交于
      Consider the scenario:
      
      1. The default visibility level is set to internal
      2. A user attempts to create a private project within a private group
      
      Previously this would always fail because default_value_for would
      overwrite the private visibility setting, no matter what
      visibility_level were specified. This was happening because
      default_value_for was confused by the default value of 0 specified by
      the database schema.
      
      default_value_for attempts to assign the default value in the block by
      checking whether the attribute has changed. The problem is that since
      the default value by the database was 0, and the user requested 0, this
      appeared as though no changes were made. As a result, default_value_for
      would always overwrite the user's preference.
      
      To fix this, we remove the use of default_value_for and only set the
      visibility level to the default application setting when no preference
      has been given at creation time.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63158
      dcba5279
  3. 17 5月, 2019 1 次提交
  4. 12 4月, 2019 1 次提交
  5. 09 4月, 2019 1 次提交
  6. 05 4月, 2019 2 次提交
  7. 20 3月, 2019 1 次提交
  8. 06 2月, 2019 1 次提交
  9. 04 2月, 2019 1 次提交
  10. 05 12月, 2018 2 次提交
    • T
      Rename to CreateOrUpdateServiceAccountService · ba2d8a3f
      Thong Kuah 提交于
      This reflects how we now create or update
      ba2d8a3f
    • T
      Create k8s namespace for project in group clusters · d54791e0
      Thong Kuah 提交于
      AFAIK the only relevant place is Projects::CreateService, this gets
      called when user creates a new project, forks a new project and does
      those things via the api.
      
      Also create k8s namespace for new group hierarchy
      when transferring project between groups
      
      Uses new Refresh service to create k8s namespaces
      
      - Ensure we use Cluster#cluster_project
      
      If a project has multiple clusters (EE), using Project#cluster_project
      is not guaranteed to return the cluster_project for this cluster. So
      switch to using Cluster#cluster_project - at this stage a cluster can
      only have 1 cluster_project.
      
      Also, remove rescue so that sidekiq can retry
      d54791e0
  11. 19 10月, 2018 1 次提交
    • B
      Remove the `ForkedProjectLink` model · f3fba178
      Bob Van Landuyt 提交于
      This removes the `ForkedProjectLink` model that has been replaced by
      the `ForkNetworkMember` and `ForkNetwork` combination. All existing
      relations have been adjusted to use these new models.
      
      The `forked_project_link` table has been dropped.
      
      The "Forks" count on the admin dashboard has been updated to count all
      `ForkNetworkMember` rows and deduct the number of `ForkNetwork`
      rows. This is because now the "root-project" of a fork network also
      has a `ForkNetworkMember` row. This count could become inaccurate when
      the root of a fork network is deleted.
      f3fba178
  12. 03 10月, 2018 1 次提交
    • A
      Remove Gitlab::Git::Repository#rugged and Gollum code · a99bf447
      Alejandro Rodríguez 提交于
      Cleanup code, and refactor tests that still use Rugged. After this, there should
      be no Rugged code that access the instance's repositories on non-test
      environments. There is still some rugged code for other tasks like the
      repository import task, but since it doesn't access any repository storage path
      it can stay.
      a99bf447
  13. 16 7月, 2018 1 次提交
  14. 11 7月, 2018 1 次提交
  15. 04 7月, 2018 1 次提交
  16. 14 6月, 2018 1 次提交
  17. 25 4月, 2018 1 次提交
  18. 06 4月, 2018 1 次提交
  19. 28 3月, 2018 1 次提交
  20. 27 3月, 2018 1 次提交
  21. 22 3月, 2018 1 次提交
  22. 14 3月, 2018 1 次提交
    • Z
      Change Gitlab::Shell#add_namespace to #create_namespace · 77f0906e
      Zeger-Jan van de Weg 提交于
      Prior to this change, this method was called add_namespace, which broke
      the CRUD convention and made it harder to grep for what I was looking
      for. Given the change was a find and replace kind of fix, this was
      changed without opening an issue and on another feature branch.
      
      If more dynamic calls are made to add_namespace, these could've been
      missed which might lead to incorrect bahaviour. However, going through
      the commit log it seems thats not the case.
      77f0906e
  23. 05 1月, 2018 1 次提交
  24. 04 1月, 2018 1 次提交
  25. 04 10月, 2017 1 次提交
  26. 03 10月, 2017 2 次提交
  27. 02 10月, 2017 1 次提交
    • S
      Fix gitlab-rake gitlab:import:repos task · bac29160
      Stan Hu 提交于
      Because of a change in GitLab 9.5.4 to prevent users from assuming control of
      a repository already on disk, the import task broke. Imports would fail with
      the message, "There is already a repository with that name on disk".
      
      This change skips the validation when the import is done from the
      command-line.
      
      Closes #37682
      bac29160
  28. 30 9月, 2017 1 次提交
  29. 26 8月, 2017 1 次提交
  30. 25 8月, 2017 1 次提交
  31. 27 7月, 2017 1 次提交
  32. 08 6月, 2017 1 次提交
  33. 06 6月, 2017 1 次提交
  34. 27 4月, 2017 1 次提交
  35. 14 4月, 2017 1 次提交
  36. 23 2月, 2017 1 次提交
  37. 05 2月, 2017 1 次提交