BigW Consortium Gitlab

  1. 28 Apr, 2017 1 commit
  2. 27 Apr, 2017 9 commits
  3. 26 Apr, 2017 1 commit
  4. 14 Mar, 2017 2 commits
  5. 03 Jan, 2017 1 commit
  6. 02 Dec, 2016 1 commit
  7. 07 Oct, 2016 2 commits
    • Enable CacheMarkdownField for the remaining models · 99205515
      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.
    • 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.
  8. 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.
  9. 17 Jun, 2016 1 commit
  10. 09 Jun, 2016 1 commit
    • Hook up the updated `WikiLinkFilter` to the wiki controllers. · e6b1d166
      Timothy Andrew authored
      - Need to pass in a `page_slug` to the filter, so it can rewrite based
        on the current page (all links are rewritten to the level of the app root).
      - The earlier `markdown_preview` endpoint was at the level of the wiki.
        We need to know the current page (for rewriting, as above), so this
        commit moves the endpoint to the level of a wiki page.
      - Fix all tests
  11. 03 Jun, 2016 2 commits
  12. 23 May, 2016 1 commit
  13. 10 Apr, 2016 1 commit
  14. 03 Mar, 2016 1 commit
  15. 12 Feb, 2016 1 commit
    • Fix relative links in other markup formats · e919b5a4
      Ben Boeckel authored
      - Apply the RelativeLinkFilter filter to other formats, e.g.,
        reStructuredText so links from the Files view or the Project view work
      - Remove the AsciidocPipeline pipeline
      
      Fixes #3533.
  16. 14 Jan, 2016 1 commit
  17. 15 Dec, 2015 2 commits
  18. 17 Nov, 2015 2 commits
  19. 14 Oct, 2015 2 commits
  20. 13 Oct, 2015 1 commit
  21. 07 Oct, 2015 2 commits
  22. 01 Oct, 2015 1 commit
  23. 23 Sep, 2015 1 commit
    • Fix cases where Markdown did not render links in activity feed · a7b0ee3f
      Stan Hu authored
      HTML would be stripped in `truncate_if_block` when a comment had multiple lines
      and the first wasn't long enough to be truncated. The use of `node.content` would
      strip all HTML tags. Using `node.inner_html` retains these tags and puts the
      "..." in between paragraph tags.
      
      Closes #2586
  24. 20 Sep, 2015 1 commit
  25. 09 Sep, 2015 1 commit