BigW Consortium Gitlab

  1. 22 Jun, 2016 2 commits
  2. 03 Jun, 2016 2 commits
  3. 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.
  4. 09 May, 2016 1 commit
    • Remove the annotate gem and delete old annotations · f1479b56
      Jeroen van Baarsen authored
      In 8278b763 the default behaviour of annotation
      has changes, which was causing a lot of noise in diffs. We decided in #17382
      that it is better to get rid of the whole annotate gem, and instead let people
      look at schema.rb for the columns in a table.
      
      Fixes: #17382
  5. 11 Mar, 2016 1 commit
    • Use ILIKE/LIKE for searching snippets · 1f5284e5
      Yorick Peterse authored
      Previously this used a regular LIKE which is case-sensitive on
      PostgreSQL. This ensures that for both PostgreSQL and MySQL the
      searching is case-insensitive similar to searching for projects.
  6. 05 Mar, 2016 1 commit
  7. 09 Dec, 2015 1 commit
  8. 19 Jun, 2015 1 commit
  9. 10 Jun, 2015 1 commit
  10. 26 May, 2015 2 commits
  11. 12 Feb, 2015 1 commit
  12. 09 Oct, 2014 1 commit
  13. 26 Jun, 2014 1 commit
  14. 09 Apr, 2014 1 commit
  15. 21 Aug, 2013 1 commit
  16. 19 Jun, 2013 1 commit
  17. 24 Mar, 2013 1 commit
  18. 22 Jan, 2013 1 commit
  19. 19 Nov, 2012 1 commit
  20. 09 Oct, 2012 2 commits
  21. 26 Sep, 2012 1 commit
  22. 02 Sep, 2012 1 commit
  23. 29 Aug, 2012 2 commits
  24. 26 Jun, 2012 1 commit
  25. 27 Oct, 2011 1 commit
  26. 21 Oct, 2011 1 commit
  27. 17 Oct, 2011 1 commit
  28. 16 Oct, 2011 1 commit