1. 19 9月, 2017 1 次提交
  2. 18 9月, 2017 1 次提交
    • S
      Eliminate N+1 queries in loading discussions.json endpoint · 8690ca5c
      Stan Hu 提交于
      In #37955,we see that the profile had a number of N+1 queries from repeated
      access to `cross_reference_not_visible_for?`. This was optimized in previous
      versions of GitLab by rendering all notes at once, counting the number of
      visible references, and then using that number to check whether a system note
      should be fully redacted.
      
      There was also another N+1 query calling `ProjectTeam#member?`, which did not
      take advantage of an optimization in prepare_notes_for_rendering that would
      preload the maximum access level per project.
      
      Closes #37955
      8690ca5c
  3. 15 9月, 2017 2 次提交
  4. 13 9月, 2017 1 次提交
  5. 07 9月, 2017 3 次提交
  6. 06 9月, 2017 2 次提交
  7. 05 9月, 2017 4 次提交
  8. 04 9月, 2017 1 次提交
  9. 03 9月, 2017 3 次提交
  10. 01 9月, 2017 2 次提交
  11. 31 8月, 2017 1 次提交
  12. 29 8月, 2017 4 次提交
  13. 23 8月, 2017 1 次提交
  14. 18 8月, 2017 2 次提交
  15. 17 8月, 2017 1 次提交
  16. 16 8月, 2017 2 次提交
  17. 11 8月, 2017 1 次提交
  18. 10 8月, 2017 3 次提交
  19. 08 8月, 2017 1 次提交
  20. 04 8月, 2017 1 次提交
  21. 03 8月, 2017 2 次提交
  22. 01 8月, 2017 1 次提交
    • R
      Fix Issue board when using Ruby 2.4 · f67c7a4d
      Rémy Coutable 提交于
      In Ruby 2.4, Hash#compact exists and returns a Hash, while in
      Ruby 2.3,
      Hash#compact is implemented by Rails and returns a new
      `ActionController::Parameters` instance in this case.
      
      Also, `ActionController::Parameters#compact` is deprecated in
      Rails 5.1 so we're using `reject { |_, value| value.nil? }` instead.
      Signed-off-by: NRémy Coutable <remy@rymai.me>
      f67c7a4d