1. 27 Nov, 2017 1 commit
  2. 02 Aug, 2017 1 commit
  3. 27 Jul, 2017 1 commit
  4. 10 May, 2017 1 commit
  5. 30 Apr, 2017 1 commit
  6. 21 Mar, 2017 1 commit
  7. 26 Jan, 2017 1 commit
  8. 06 Dec, 2016 1 commit
  9. 02 Dec, 2016 1 commit
  10. 07 Oct, 2016 1 commit
    • Nick Thomas's avatar
      Add markdown cache columns to the database, but don't use them yet · e94cd6fd
      Nick Thomas authored
      This commit adds a number of _html columns and, with the exception of Note,
      starts updating them whenever the content of their partner fields changes.
      
      Note has a collision with the note_html attr_accessor; that will be fixed later
      
      A background worker for clearing these cache columns is also introduced - use
      `rake cache:clear` to set it off. You can clear the database or Redis caches
      separately by running `rake cache:clear:db` or `rake cache:clear:redis`,
      respectively.
      e94cd6fd
  11. 19 Sep, 2016 1 commit
  12. 22 Jun, 2016 2 commits
  13. 03 Jun, 2016 2 commits
  14. 01 Jun, 2016 1 commit
    • 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.
      580d2501
  15. 09 May, 2016 1 commit
  16. 11 Mar, 2016 1 commit
    • Yorick Peterse's avatar
      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.
      1f5284e5
  17. 05 Mar, 2016 1 commit
  18. 09 Dec, 2015 1 commit
  19. 19 Jun, 2015 1 commit
  20. 10 Jun, 2015 1 commit
  21. 26 May, 2015 2 commits
  22. 12 Feb, 2015 1 commit
  23. 09 Oct, 2014 1 commit
  24. 26 Jun, 2014 1 commit
  25. 09 Apr, 2014 1 commit
  26. 21 Aug, 2013 1 commit
  27. 19 Jun, 2013 1 commit
  28. 24 Mar, 2013 1 commit
  29. 22 Jan, 2013 1 commit
  30. 19 Nov, 2012 1 commit
  31. 09 Oct, 2012 2 commits
  32. 26 Sep, 2012 1 commit
  33. 02 Sep, 2012 1 commit
  34. 29 Aug, 2012 2 commits
  35. 26 Jun, 2012 1 commit