summaryrefslogtreecommitdiffstats
path: root/app/helpers/blobs_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add the proper lang class to the blob to be highlightedJohan Sørensen2009-11-131-1/+2
|
* Make sure the special filetypes for the prettify.js is detectedJohan Sørensen2009-08-241-1/+3
| | | | properly
* Moved the binary blob detection into Grit::BlobJohan Sørensen2009-06-111-1/+1
|
* Better binary blob detectionJohan Sørensen2009-06-111-8/+5
| | | | | | Just check the first 1024 bytes if there's any null bytes, instead of using the error prone mime-type detection, which gives us a smaller chance of false-positives with the null byte detection
* Clojure is kinda lispy, syntax highlight it as suchJohan Sørensen2009-04-221-1/+1
|
* Simpler, more idiomatic, ascii mimetype exception detectionJohan Sørensen2009-04-221-1/+1
|
* Do not syntax highlight files which usually are plain text filesJohan Sørensen2009-04-221-0/+10
|
* Slightly prettier ascii/binary detection when rendering blobsJohan Sørensen2009-04-221-0/+17
|
* Updated copyrights-blurb in all application filesJohan Sørensen2009-04-221-0/+3
|
* up too_big_to_render? in BlobsHelper to 350KJohan Sørensen2009-04-221-1/+1
|
* Remove the dependencies for textpow and ultraviolet, and do the syntax ↵Johan Sørensen2009-04-221-18/+20
| | | | | | highlighting client side
* Add copyright and license headers (AGPL) to code filesTor Arne Vestbø2008-11-281-0/+17
| | | | | The authors in each copyright header was computed by running 'git log --reverse' on that particular file.
* Deal gracefully with a rarely-occuring syntax-highligtning errorJohan Sørensen2008-03-311-1/+9
|
* Refactored BrowseController into several specific controllersJohan Sørensen2008-03-171-0/+31
Grouped by responsibility Trees, Blobs, Commits and Logs