Skip to content
Snippets Groups Projects
  1. Jul 26, 2018
  2. Feb 20, 2018
  3. Dec 14, 2017
  4. Nov 21, 2017
  5. Oct 12, 2017
    • Sean McGivern's avatar
      Match full file path in FileDetector · 218e1f09
      Sean McGivern authored
      The basename appears to have been a holdover from the past - it doesn't look
      necessary now. Some of the regexes were unanchored on one side, so explicitly
      ensure that they only match the root.
      
      Apart from that, this means that pushing to foo/README.md will no longer
      invalidate the main README cache for a project.
      218e1f09
  6. Jun 08, 2017
  7. Jun 07, 2017
  8. May 29, 2017
  9. May 17, 2017
  10. May 16, 2017
  11. May 11, 2017
  12. May 10, 2017
  13. May 03, 2017
  14. Apr 28, 2017
  15. Apr 27, 2017
  16. Apr 12, 2017
  17. Apr 10, 2017
  18. Apr 06, 2017
  19. Apr 05, 2017
  20. Mar 30, 2017
  21. Mar 23, 2017
  22. Mar 13, 2017
  23. Sep 14, 2016
    • Yorick Peterse's avatar
      Handle encoding in non-binary Blob instances · 0bc443e3
      Yorick Peterse authored
      gitlab_git 10.6.4 relies on Rugged marking blobs as binary or not,
      instead of relying on Linguist. Linguist in turn would mark text blobs
      as binary whenever they would contain byte sequences that could not be
      encoded using UTF-8.
      
      However, marking such blobs as binary is not correct. If one pushes a
      Markdown document with invalid character sequences it's still a text
      based Markdown document and not some random binary blob.
      
      This commit overwrites Blob#data so it automatically converts text-based
      content to UTF-8 (the encoding we use everywhere else) while taking care
      of replacing any invalid sequences with the UTF-8 replacement character.
      The data of binary blobs is left as-is.
      Verified
      0bc443e3
  24. Aug 15, 2016
    • Yorick Peterse's avatar
      Limit the size of SVGs when viewing them as blobs · 8171544b
      Yorick Peterse authored
      This ensures that SVGs greater than 2 megabytes are not scrubbed and
      rendered. This in turn prevents requests from timing out due to
      reading/scrubbing large SVGs potentially taking a lot of time (and
      memory). The use of 2 megabytes is completely arbitrary.
      
      Fixes gitlab-org/gitlab-ce#1435
      Verified
      8171544b
  25. Jul 26, 2016
Loading