1. 24 8月, 2018 1 次提交
  2. 08 8月, 2018 1 次提交
    • Æ
      Add ability suppress the global "You won't be able [use] SSH" message · b6ba8cc6
      Ævar Arnfjörð Bjarmason 提交于
      This fixes gitlab-org/gitlab-ce#49953, as noted in the documentation
      this feature is intended to be used when SSH certificates are
      enabled. Then this warning becomes not only pointless, but also
      misleading.
      
      This builds on top of gitlab-org/gitlab-ce!21009 since both need to
      modify the same documentation, which avoids a merge conflict.
      
      See also the gitlab-org/gitlab-ce#49218 issue and associated merge
      request.
      b6ba8cc6
  3. 24 7月, 2018 1 次提交
  4. 17 7月, 2018 1 次提交
  5. 06 7月, 2018 1 次提交
  6. 25 6月, 2018 1 次提交
  7. 21 6月, 2018 1 次提交
  8. 20 6月, 2018 1 次提交
  9. 15 6月, 2018 1 次提交
  10. 14 6月, 2018 2 次提交
  11. 06 6月, 2018 1 次提交
  12. 05 6月, 2018 2 次提交
  13. 29 5月, 2018 1 次提交
  14. 16 5月, 2018 1 次提交
  15. 01 5月, 2018 1 次提交
    • J
      Enable LFS setting UI for Masters and Owners · 564050ec
      James Ramsay 提交于
      LFS can be enabled and disabled per project using the API by Masters
      and Owners, but the UI is only available to Admins. The interface and
      API should be consistent.
      
      LFS can also be enabled and disabled per group using the API by Owners,
      but the UI is only available to Admins. This interface should also be
      consistent.
      
      Additionally removes an unneeded check if 2FA interface, since the
      interface is only available to Owners.
      
      Closes #33320
      564050ec
  16. 25 4月, 2018 1 次提交
  17. 12 4月, 2018 1 次提交
  18. 23 3月, 2018 1 次提交
  19. 05 3月, 2018 1 次提交
  20. 23 2月, 2018 2 次提交
  21. 21 2月, 2018 1 次提交
  22. 16 2月, 2018 1 次提交
  23. 14 2月, 2018 2 次提交
  24. 03 2月, 2018 1 次提交
  25. 23 1月, 2018 1 次提交
  26. 20 1月, 2018 1 次提交
  27. 05 1月, 2018 1 次提交
  28. 23 11月, 2017 1 次提交
  29. 03 11月, 2017 1 次提交
  30. 22 10月, 2017 1 次提交
  31. 21 10月, 2017 1 次提交
  32. 04 10月, 2017 1 次提交
  33. 28 9月, 2017 1 次提交
  34. 22 9月, 2017 1 次提交
  35. 13 9月, 2017 1 次提交
  36. 08 9月, 2017 1 次提交
    • Y
      Rework how recent push events are retrieved · 83355336
      Yorick Peterse 提交于
      Whenever you push to a branch GitLab will show a button to create a
      merge request (should one not exist already). The underlying code to
      display this data was quite inefficient. For example, it involved
      multiple slow queries just to figure out what the most recent push event
      was.
      
      This commit changes the way this data is retrieved so it's much faster.
      This is achieved by caching the ID of the last push event on every push,
      which is then retrieved when loading certain pages. Database queries are
      only executed if necessary and the cached data is removed automatically
      once a merge request has been created, or 2 hours after being stored.
      
      A trade-off of this approach is that we _only_ track the last event.
      Previously if you were to push to branch A and B then create a merge
      request for branch B we'd still show the widget for branch A. As of this
      commit this is no longer the case, instead we will only show the widget
      for the branch you pushed to most recently. Once a merge request exists
      the widget is no longer displayed. Alternative solutions are either too
      complex and/or too slow, hence the decision was made to settle for this
      trade-off.
      
      Performance Impact
      ------------------
      
      In the best case scenario (= a user didn't push anything for more than 2
      hours) we perform a single Redis GET per page. Should there be cached
      data we will run a single (and lightweight) SQL query to get the
      event data from the database. If a merge request already exists we will
      run an additional DEL to remove the cache key.
      
      The difference in response timings can vary a bit per project. On
      GitLab.com the 99th percentile of time spent in User#recent_push hovers
      between 100 milliseconds and 1 second, while the mean hovers around 50
      milliseconds. With the changes in this MR the expected time spent in
      User#recent_push is expected to be reduced down to just a few
      milliseconds.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/35990
      83355336