1. 02 7月, 2016 1 次提交
  2. 30 6月, 2016 2 次提交
  3. 28 6月, 2016 4 次提交
  4. 16 6月, 2016 2 次提交
  5. 12 6月, 2016 1 次提交
    • S
      Fix Error 500 when viewing a blob with binary characters after the 1024-byte mark · 0fdfd2dd
      Stan Hu 提交于
      Here was the problem:
      
      1. When determining whether a given blob is viewable text, gitlab_git reads the first 1024 bytes and checks with Linguist whether it is a text or binary file.
      2. If the blob is text, GitLab will attempt to display it.
      3. However, if the text has binary characters after the first 1024 bytes, then GitLab will attempt to load the entire contents, but the encoding will be ASCII-8BIT since there are binary characters.
      4. The Error 500 results when GitLab attempts to display a mix UTF-8 and ASCII-8BIT.
      
      To fix this, we load as much data as we are willing to display so that the detection will work properly. Requires
      an update to gitlab_git: gitlab-org/gitlab_git!86
      
      Closes #13826
      0fdfd2dd
  6. 09 6月, 2016 1 次提交
    • T
      Hook up the updated `WikiLinkFilter` to the wiki controllers. · e6b1d166
      Timothy Andrew 提交于
      - 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
      e6b1d166
  7. 08 6月, 2016 1 次提交
  8. 06 6月, 2016 1 次提交
  9. 03 6月, 2016 3 次提交
  10. 02 6月, 2016 1 次提交
  11. 31 5月, 2016 1 次提交
  12. 26 5月, 2016 1 次提交
    • Y
      Split Markdown rendering & reference gathering · 86166d28
      Yorick Peterse 提交于
      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.
      86166d28
  13. 19 5月, 2016 1 次提交
  14. 17 5月, 2016 2 次提交
  15. 13 5月, 2016 1 次提交
  16. 10 5月, 2016 1 次提交
  17. 06 5月, 2016 1 次提交
  18. 26 4月, 2016 1 次提交
  19. 21 4月, 2016 2 次提交
  20. 19 4月, 2016 1 次提交
  21. 18 4月, 2016 2 次提交
  22. 07 4月, 2016 1 次提交
  23. 06 4月, 2016 1 次提交
  24. 04 4月, 2016 1 次提交
  25. 01 4月, 2016 1 次提交
    • Y
      Added & use Gitlab::Routing for URL helpers · 84b0ab77
      Yorick Peterse 提交于
      Rails' "url_helpers" method creates an anonymous Module (which a bunch
      of methods) on every call. By caching the output of this method in a
      dedicated method we can shave off about 10 seconds of loading time for
      an issue with around 200 comments.
      84b0ab77
  26. 30 3月, 2016 1 次提交
  27. 21 3月, 2016 1 次提交
  28. 18 3月, 2016 2 次提交
  29. 16 3月, 2016 1 次提交