BigW Consortium Gitlab

  1. 07 Oct, 2016 1 commit
    • 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.
  2. 12 Jul, 2016 1 commit
  3. 21 Jun, 2016 1 commit
    • Move pre_process into render_result · d9a4ca59
      Yorick Peterse authored
      The method Banzai::Renderer.pre_process would always be called,
      regardless of whether the Markdown to render was already cached or not.
      In cache the document _was_ cached the output of the pre-processing
      pipeline was ignored resulting in it doing nothing but wasting CPU
      cycles.
      
      This commit moves Banzai::Renderer.pre_process into
      Banzai::Renderer.render_result so that it's _only_ used when needed.
  4. 03 Mar, 2016 1 commit
  5. 15 Dec, 2015 1 commit