An error occurred fetching the project authors.
  1. 29 Jul, 2016 1 commit
    • Yorick Peterse's avatar
      Method for returning issues readable by a user · 002ad215
      Yorick Peterse authored
      The method Ability.issues_readable_by_user takes a list of users and an
      optional user and returns an Array of issues readable by said user. This
      method in turn is used by
      Banzai::ReferenceParser::IssueParser#nodes_visible_to_user so this
      method no longer needs to get all the available abilities just to check
      if a user has the "read_issue" ability.
      
      To test this I benchmarked an issue with 222 comments on my development
      environment. Using these changes the time spent in nodes_visible_to_user
      was reduced from around 120 ms to around 40 ms.
      002ad215
  2. 12 Jul, 2016 1 commit
  3. 30 Jun, 2016 1 commit
  4. 17 Mar, 2016 1 commit
  5. 24 Dec, 2015 1 commit
  6. 18 Dec, 2015 1 commit
  7. 12 Oct, 2015 1 commit
  8. 14 Jul, 2015 2 commits
  9. 22 Jun, 2015 1 commit
  10. 08 Jun, 2015 1 commit
  11. 12 Feb, 2015 1 commit
  12. 30 Oct, 2014 1 commit