An error occurred fetching the project authors.
  1. 27 Jun, 2016 6 commits
  2. 26 Jun, 2016 1 commit
  3. 25 Jun, 2016 2 commits
  4. 24 Jun, 2016 7 commits
  5. 23 Jun, 2016 15 commits
  6. 22 Jun, 2016 3 commits
  7. 21 Jun, 2016 6 commits
    • Sean McGivern's avatar
      Fix auto-MR-close text from branch name · b2f60bb9
      Sean McGivern authored
      Rails's form helpers use the `$attr_before_type_cast` method where
      available, and this value only appears to be updated on assignment, not
      when the object is mutated in some other way:
      
          [1] pry(main)> mr = MergeRequest.new
          => #<MergeRequest:0x007fcf28395d88 ...>
          [2] pry(main)> mr.description = 'foo'
          => "foo"
          [3] pry(main)> mr.description << ' bar'
          => "foo bar"
          [4] pry(main)> mr.description
          => "foo bar"
          [5] pry(main)> mr.description_before_type_cast
          => "foo"
          [6] pry(main)> mr.description += ' bar'
          => "foo bar bar"
          [7] pry(main)> mr.description_before_type_cast
          => "foo bar bar"
      b2f60bb9
    • Annabel Dunstone's avatar
      Update CHANGELOG · 596b2f46
      Annabel Dunstone authored
      596b2f46
    • Yorick Peterse's avatar
      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.
      Unverified
      d9a4ca59
    • Alejandro Rodríguez's avatar
      Optimize Banzai::Filter::RelativeLinkFilter · ca696175
      Alejandro Rodríguez authored
          A lot of git operations were being repeated, for example, to build a url
          you would ask if the path was a Tree, which would call a recursive routine
          in Gitlab::Git::Tree#where, then ask if the path was a Blob, which would
          call a recursive routine at Gitlab::Git::Blob#find, making reference to
          the same git objects several times. Now we call Rugged::Tree#path, which
          allows us to determine the type of the path in one pass.
      
          Some other minor improvement added, like saving commonly used references
          instead of calculating them each time.
      ca696175
    • Grzegorz Bizon's avatar
      d9a64e9f
    • Kamil Trzcinski's avatar
      Show proper image ID on registry page · 70606bf0
      Kamil Trzcinski authored
      70606bf0