BigW Consortium Gitlab

  1. 02 Jun, 2016 3 commits
    • Reduce Namespace queries in UserReferenceFilter · 01575e99
      Yorick Peterse authored
      This changes UserReferenceFilter so it operates using the following
      steps:
      
      1. Grab all username references from the input document.
      2. Query the corresponding Namespace objects using a single query.
      3. Iterate over all nodes to build links while re-using the objects
         queried in step 2.
      
      The impact of these changes is that a comment mentioning 5 different
      usernames no longer runs 5 different queries (1 for every username),
      instead it only runs a single query.
    • Added ReferenceFilter#nodes · 8a6c3f27
      Yorick Peterse authored
      This method returns an Array of the HTML nodes as yielded by
      ReferenceFilter#each_node. The method's return value is memoized to
      allow multiple calls without having to re-query the input document.
    • Returning enums in ReferenceFilter#each_node · 2fbfb854
      Yorick Peterse authored
      This changes ReferenceFilter#each_node so that when it's called without
      a block an Enumerator is returned.
  2. 26 May, 2016 1 commit
    • Split Markdown rendering & reference gathering · 86166d28
      Yorick Peterse authored
      This splits the Markdown rendering and reference extraction phases into
      two distinct code bases. The reference extraction phase no longer relies
      on the html-pipeline Gem (and any related code) and allows for
      extracting of references from multiple HTML nodes in a single pass. This
      means that if you want to extract user references from 200 comments you
      no longer need to run 200 times N number of queries, instead only a
      handful of queries may be needed.
  3. 18 May, 2016 1 commit
  4. 12 May, 2016 2 commits
  5. 10 May, 2016 2 commits
  6. 09 May, 2016 1 commit
  7. 05 May, 2016 1 commit
  8. 21 Apr, 2016 5 commits
  9. 06 Apr, 2016 3 commits
  10. 05 Apr, 2016 1 commit
  11. 30 Mar, 2016 1 commit
  12. 20 Mar, 2016 2 commits
  13. 18 Mar, 2016 1 commit
  14. 17 Mar, 2016 4 commits
  15. 14 Mar, 2016 1 commit
  16. 04 Mar, 2016 1 commit
  17. 03 Mar, 2016 5 commits
  18. 01 Mar, 2016 2 commits
  19. 24 Feb, 2016 1 commit
  20. 23 Feb, 2016 1 commit
  21. 21 Feb, 2016 1 commit