1. 02 Dec, 2016 1 commit
  2. 30 Nov, 2016 2 commits
  3. 09 Nov, 2016 2 commits
  4. 04 Nov, 2016 1 commit
  5. 01 Nov, 2016 1 commit
  6. 28 Oct, 2016 1 commit
  7. 24 Oct, 2016 1 commit
  8. 19 Oct, 2016 7 commits
  9. 18 Oct, 2016 2 commits
  10. 16 Oct, 2016 1 commit
  11. 14 Oct, 2016 1 commit
  12. 13 Oct, 2016 1 commit
  13. 11 Oct, 2016 1 commit
  14. 10 Oct, 2016 1 commit
  15. 07 Oct, 2016 3 commits
    • Nick Thomas's avatar
      Enable CacheMarkdownField for the remaining models · 8084d80dbce5
      Nick Thomas authored
      This commit alters views for the following models to use the markdown cache if
      present:
      
      * AbuseReport
      * Appearance
      * ApplicationSetting
      * BroadcastMessage
      * Group
      * Issue
      * Label
      * MergeRequest
      * Milestone
      * Project
      
      At the same time, calls to `escape_once` have been moved into the `single_line`
      Banzai pipeline, so they can't be missed out by accident and the work is done
      at save, rather than render, time.
      8084d80dbce5
    • Nick Thomas's avatar
      Use CacheMarkdownField for notes · b489081b5d85
      Nick Thomas authored
      b489081b5d85
    • Nick Thomas's avatar
      Add markdown cache columns to the database, but don't use them yet · af001f6c6325
      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.
      af001f6c6325
  16. 04 Oct, 2016 2 commits
  17. 03 Oct, 2016 2 commits
  18. 30 Sep, 2016 2 commits
  19. 28 Sep, 2016 2 commits
  20. 23 Sep, 2016 2 commits
  21. 14 Sep, 2016 1 commit
  22. 31 Aug, 2016 1 commit
  23. 30 Aug, 2016 1 commit
  24. 14 Aug, 2016 1 commit
    • Ahmad Sherif's avatar
      Fix a memory leak caused by Banzai::Filter::SanitizationFilter · ffca724b752e
      Ahmad Sherif authored
      In Banzai::Filter::SanitizationFilter#customize_whitelist, we append
      three lambdas that has reference to the SanitizationFilter instance,
      which in turn (potentially) has a reference to the following chain:
      
      context hash -> Project instance -> Repository instance -> lookup hash
      -> various Rugged instances -> various mmap-ed git pack files.
      
      All of the above is not garbage collected because the array we append
      the lambdas to is the constant
      HTML::Pipeline::SanitizationFilter::WHITELIST.
      ffca724b752e