summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-13Cleaned up lexer logic a bit.Jon Bergli Heier1-21/+22
Lexer logic now moved to get_formatted. This method raises UnknownSyntaxError if an unknown syntax name is provided.
2017-03-12Added some padding when displaying rendered content.Jon Bergli Heier1-1/+1
This applies to anything not rendered by pygments.
2017-03-12Hide the Rendered category when empty.Jon Bergli Heier1-1/+2
2017-03-12Added support for rendering markdown.Jon Bergli Heier3-9/+35
If a syntax name starts with 'Rendered ' (lazy fix, we'll come up with something better later) the paste will now be handled by the corresponding renderer. For now we only support markdown, but this can easily be extended to support other renderers as well.
2017-03-12Cleaned up imports.Jon Bergli Heier2-2/+13
2017-03-12Updated templates to use HTML5 instead of XHTML.Jon Bergli Heier3-10/+8
2017-03-12Fixed pre tags in HTML formatter.Jon Bergli Heier1-1/+1
The ending tag should be </pre>, not <pre>.
2017-03-12Added vim modelines.Jon Bergli Heier2-0/+4
2012-11-08Set paste tab-size to 4.Jon Bergli Heier1-0/+1
2011-11-05Catch exceptions on non-existent pastes and return an empty 404 page.Jon Bergli Heier2-2/+7
2011-11-05Replaced AGPL with GPL.Jon Bergli Heier1-67/+80
2011-04-14Specify charset in Content-Type.Vegard Storheil Eriksen1-7/+7
2010-10-16Fixed encoding errors in raw().Jon Bergli Heier1-1/+1
2010-08-18Fixed error in unicode handling.Jon Bergli Heier1-1/+1
2010-07-11Changed keyword argument in call to declarative_base().Jon Bergli Heier1-1/+1
2010-03-20Added a copy of the GNU AGPL.Jon Bergli Heier1-0/+661
2010-03-20Default title to 'Untitled' in the page title.Jon Bergli Heier1-1/+1
2010-03-01Decode text to utf-8 when previewing.Jon Bergli Heier1-4/+4
2010-03-01Make sure paste text is unicode when generating cache.Jon Bergli Heier1-1/+1
2010-02-07Default syntax to 'text' when generating cache.Jon Bergli Heier1-1/+1
2010-02-02Call random.seed() when initializing.Jon Bergli Heier1-0/+2
2010-01-29Use monospace font in the text input.Jon Bergli Heier1-0/+1
2010-01-29Strip CR from text input.Jon Bergli Heier1-1/+1
2010-01-28Implemented dynamic highlighting of lines.Jon Bergli Heier4-2/+18
This currently only works when opening URLs with an anchor.
2010-01-27Replace manual messages with self.message.Jon Bergli Heier1-5/+3
Fixed calling start_response in self.message.
2010-01-27Replaced "Plain text" with pygments' "Text only".Jon Bergli Heier3-10/+22
This will correctly add the layout formatting including line numbers. Added Paste.message and templates.message for error messages.
2010-01-27Don't allow cache text to be None.Jon Bergli Heier1-1/+1
2010-01-27Default fields to None, and don't allow paste text to be None.Jon Bergli Heier2-6/+6
This requires a recreation of the database.
2010-01-27Change hash generation to a 5-digit base62 string.Jon Bergli Heier1-2/+4
2010-01-26Cache formatted text.Jon Bergli Heier2-12/+40
2010-01-26Set default syntax from settings.py.Jon Bergli Heier2-1/+2
2010-01-26Optionally store nick using HTTP cookies.Jon Bergli Heier2-3/+12
2010-01-25Convert strings to unicode before adding pastes.Jon Bergli Heier1-1/+1
2010-01-25Support plain text (no syntax).Jon Bergli Heier1-7/+20
2010-01-25Remove list from templates.Jon Bergli Heier1-1/+0
2010-01-25Read db path from settings.py.Jon Bergli Heier1-1/+2
2010-01-25Initial commit.Jon Bergli Heier9-0/+350