1. 31 5月, 2018 1 次提交
  2. 05 5月, 2018 1 次提交
  3. 02 5月, 2018 1 次提交
  4. 09 4月, 2018 1 次提交
  5. 06 4月, 2018 1 次提交
  6. 06 3月, 2018 1 次提交
  7. 03 3月, 2018 1 次提交
  8. 07 2月, 2018 3 次提交
  9. 06 2月, 2018 1 次提交
  10. 05 2月, 2018 1 次提交
  11. 03 2月, 2018 1 次提交
  12. 09 1月, 2018 1 次提交
  13. 04 1月, 2018 3 次提交
  14. 09 12月, 2017 1 次提交
  15. 05 12月, 2017 1 次提交
    • B
      Cache the forks in a namespace in the RequestStore · 20f78421
      Bob Van Landuyt 提交于
      On the `show` of a project that is part of a fork network. We check if
      the user already created a fork of this project in their personal
      namespace.
      
      We do this in several places, so caching the result of this query in
      the request store prevents us from repeating it.
      20f78421
  16. 27 11月, 2017 1 次提交
  17. 25 11月, 2017 1 次提交
  18. 06 11月, 2017 1 次提交
  19. 10 10月, 2017 1 次提交
  20. 07 10月, 2017 1 次提交
  21. 15 9月, 2017 1 次提交
    • Y
      Fix setting share_with_group_lock · ac702af8
      Yorick Peterse 提交于
      Prior to this commit running
      Namespace#force_share_with_group_lock_on_descendants would result in
      updating _all_ namespaces in the namespaces table, not just the
      descendants. This is the result of ActiveRecord::Relation#update_all not
      taking into account the CTE. To work around this we use the CTE query as
      a sub-query instead of directly calling #update_all.
      
      To prevent this from happening the relations returned by
      Gitlab::GroupHierarchy are now marked as read-only, resulting in an
      error being raised when methods such as #update_all are used.
      
      Fortunately on GitLab.com our statement timeouts appear to have
      prevented this query from actually doing any damage other than causing
      a very large amount of dead tuples.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37916
      ac702af8
  22. 07 9月, 2017 2 次提交
  23. 31 8月, 2017 1 次提交
  24. 14 8月, 2017 1 次提交
  25. 01 8月, 2017 2 次提交
  26. 17 7月, 2017 1 次提交
  27. 06 7月, 2017 1 次提交
    • Y
      Added Cop to blacklist the use of `dependent:` · 8fbbf41e
      Yorick Peterse 提交于
      This is allowed for existing instances so we don't end up 76 offenses
      right away, but for new code one should _only_ use this if they _have_
      to remove non database data. Even then it's usually better to do this in
      a service class as this gives you more control over how to remove the
      data (e.g. in bulk).
      8fbbf41e
  28. 30 6月, 2017 1 次提交
  29. 29 6月, 2017 2 次提交
  30. 21 6月, 2017 1 次提交
  31. 03 6月, 2017 1 次提交
  32. 18 5月, 2017 2 次提交