Skip to content
Snippets Groups Projects
  1. Jul 26, 2018
  2. Feb 21, 2017
  3. Feb 02, 2017
    • Sean McGivern's avatar
      Check public snippets for spam · c63194ce
      Sean McGivern authored
      Apply the same spam checks to public snippets (either personal snippets
      that are public, or public snippets on public projects) as to issues on
      public projects.
      c63194ce
  4. Jun 03, 2016
  5. Jun 01, 2016
    • Yorick Peterse's avatar
      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.
      Unverified
      580d2501
  6. May 09, 2016
  7. May 06, 2016
  8. May 02, 2016
  9. Mar 05, 2016
  10. Oct 09, 2014
  11. Apr 09, 2014
  12. Aug 21, 2013
  13. Jun 19, 2013
  14. Mar 24, 2013
Loading