BigW Consortium Gitlab

  1. 15 Jul, 2016 1 commit
  2. 05 Jul, 2016 3 commits
  3. 30 Jun, 2016 1 commit
  4. 29 Jun, 2016 1 commit
  5. 23 Jun, 2016 1 commit
  6. 16 Jun, 2016 2 commits
  7. 15 Jun, 2016 3 commits
  8. 14 Jun, 2016 4 commits
  9. 13 Jun, 2016 1 commit
  10. 10 Jun, 2016 1 commit
  11. 03 Jun, 2016 2 commits
  12. 01 Jun, 2016 1 commit
    • Refactor Participable · 580d2501
      Yorick Peterse authored
      There are several changes to this module:
      
      1. The use of an explicit stack in Participable#participants
      2. Proc behaviour has been changed
      3. Batch permissions checking
      
      == Explicit Stack
      
      Participable#participants no longer uses recursion to process "self" and
      all child objects, instead it uses an Array and processes objects in
      breadth-first order. This allows us to for example create a single
      Gitlab::ReferenceExtractor instance and pass this to any Procs. Re-using
      a ReferenceExtractor removes the need for running potentially many SQL
      queries every time a Proc is called on a new object.
      
      == Proc Behaviour Changed
      
      Previously a Proc in Participable was expected to return an Array of
      User instances. This has been changed and instead it's now expected that
      a Proc modifies the Gitlab::ReferenceExtractor passed to it. The return
      value of the Proc is ignored.
      
      == Permissions Checking
      
      The method Participable#participants uses
      Ability.users_that_can_read_project to check if the returned users have
      access to the project of "self" _without_ running multiple SQL queries
      for every user.
  13. 30 May, 2016 1 commit
  14. 22 May, 2016 1 commit
  15. 14 May, 2016 3 commits
  16. 13 May, 2016 1 commit
  17. 12 May, 2016 1 commit
  18. 09 May, 2016 1 commit
  19. 29 Apr, 2016 1 commit
  20. 20 Apr, 2016 1 commit
  21. 18 Apr, 2016 9 commits