Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-08-17 | Add ProxyFix middlewareHEADmaster | Jon Bergli Heier | 1 | -0/+2 | |
2021-08-16 | Add Docker config | Jon Bergli Heier | 3 | -0/+25 | |
2021-08-15 | Handle lexers without an alias | Jon Bergli Heier | 1 | -1/+1 | |
2021-08-15 | Fix blueprint name | Jon Bergli Heier | 1 | -1/+1 | |
2019-03-28 | Remove line number color override | Jon Bergli Heier | 2 | -2/+0 | |
This looks slightly better and makes it clear that the line numbers can be clicked. | |||||
2019-03-28 | Add leading whitespace to line number margin | Jon Bergli Heier | 2 | -0/+2 | |
This makes the margin not look off-center. | |||||
2019-03-27 | Add background color to line number margin | Jon Bergli Heier | 2 | -3/+5 | |
2019-03-16 | Fix codeline span id | Jon Bergli Heier | 1 | -2/+5 | |
i is 1 for codelines and 0 for other lines; handle this correctly when outputting from CustomHtmlFormatter.wrap(). | |||||
2019-03-15 | Redesign everything with bootstrap 4 and bootswatch themes | Jon Bergli Heier | 13 | -103/+212 | |
2019-03-15 | Fix paste title when viewing a paste | Jon Bergli Heier | 1 | -1/+1 | |
2019-03-15 | Default nick to Anonymous | Jon Bergli Heier | 1 | -1/+1 | |
2019-03-15 | Add missing abort import | Jon Bergli Heier | 1 | -1/+1 | |
2019-03-15 | Port application to flask | Jon Bergli Heier | 16 | -389/+303 | |
2019-03-12 | Handle NoResultFound in raw handler | Jon Bergli Heier | 1 | -0/+3 | |
2017-05-12 | Added fullscreen mode. | Jon Bergli Heier | 4 | -2/+55 | |
2017-03-25 | Added python 3 compatibility. | Jon Bergli Heier | 1 | -15/+36 | |
We're now using the six module and some helper functions to deal with str, unicode and bytes. This is tested on python 2.7 and 3.6. | |||||
2017-03-24 | Suffix dates with UTC to indicate they're UTC dates. | Jon Bergli Heier | 1 | -2/+2 | |
2017-03-24 | Use range instead of xrange. | Jon Bergli Heier | 1 | -1/+1 | |
Using xrange with small values such as 5 is pointless. Also, xrange doesn't exist in python 3. | |||||
2017-03-24 | Cleaned up charset lines. | Jon Bergli Heier | 1 | -12/+12 | |
Sett all charset= lines to use UTF-8 in uppercase instead of lowercase. Python however seems to prefer utf-8 in lowercase, so use that instead of utf8. | |||||
2017-03-24 | Use key instead of cmp when sorting lexers. | Jon Bergli Heier | 1 | -1/+1 | |
This is considered good practice these days, and also makes the code work with python 3. | |||||
2017-03-24 | Open static files with mode = 'rb'. | Jon Bergli Heier | 1 | -1/+1 | |
This is a more sane mode for our use, and allows the code to work in python 3, which expects bytes. | |||||
2017-03-24 | Use http.cookies with fallback to Cookie. | Jon Bergli Heier | 1 | -3/+6 | |
2017-03-24 | Replaced cheetah templates with jinja2 templates. | Jon Bergli Heier | 8 | -70/+68 | |
2017-03-18 | Added option to remember syntax choice. | Jon Bergli Heier | 2 | -5/+15 | |
As a side effect the default syntax name in settings.py now uses the syntax value instead of the displayed text. | |||||
2017-03-18 | Added markdown_extensions setting. | Jon Bergli Heier | 1 | -1/+1 | |
This allows arbitrary markdown extensions to be specified in the settings.py file. | |||||
2017-03-13 | Store IP address per paste. | Jon Bergli Heier | 2 | -2/+4 | |
2017-03-13 | Cleaned up lexer logic a bit. | Jon Bergli Heier | 1 | -21/+22 | |
Lexer logic now moved to get_formatted. This method raises UnknownSyntaxError if an unknown syntax name is provided. | |||||
2017-03-12 | Added some padding when displaying rendered content. | Jon Bergli Heier | 1 | -1/+1 | |
This applies to anything not rendered by pygments. | |||||
2017-03-12 | Hide the Rendered category when empty. | Jon Bergli Heier | 1 | -1/+2 | |
2017-03-12 | Added support for rendering markdown. | Jon Bergli Heier | 3 | -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-12 | Cleaned up imports. | Jon Bergli Heier | 2 | -2/+13 | |
2017-03-12 | Updated templates to use HTML5 instead of XHTML. | Jon Bergli Heier | 3 | -10/+8 | |
2017-03-12 | Fixed pre tags in HTML formatter. | Jon Bergli Heier | 1 | -1/+1 | |
The ending tag should be </pre>, not <pre>. | |||||
2017-03-12 | Added vim modelines. | Jon Bergli Heier | 2 | -0/+4 | |
2012-11-08 | Set paste tab-size to 4. | Jon Bergli Heier | 1 | -0/+1 | |
2011-11-05 | Catch exceptions on non-existent pastes and return an empty 404 page. | Jon Bergli Heier | 2 | -2/+7 | |
2011-11-05 | Replaced AGPL with GPL. | Jon Bergli Heier | 1 | -67/+80 | |
2011-04-14 | Specify charset in Content-Type. | Vegard Storheil Eriksen | 1 | -7/+7 | |
2010-10-16 | Fixed encoding errors in raw(). | Jon Bergli Heier | 1 | -1/+1 | |
2010-08-18 | Fixed error in unicode handling. | Jon Bergli Heier | 1 | -1/+1 | |
2010-07-11 | Changed keyword argument in call to declarative_base(). | Jon Bergli Heier | 1 | -1/+1 | |
2010-03-20 | Added a copy of the GNU AGPL. | Jon Bergli Heier | 1 | -0/+661 | |
2010-03-20 | Default title to 'Untitled' in the page title. | Jon Bergli Heier | 1 | -1/+1 | |
2010-03-01 | Decode text to utf-8 when previewing. | Jon Bergli Heier | 1 | -4/+4 | |
2010-03-01 | Make sure paste text is unicode when generating cache. | Jon Bergli Heier | 1 | -1/+1 | |
2010-02-07 | Default syntax to 'text' when generating cache. | Jon Bergli Heier | 1 | -1/+1 | |
2010-02-02 | Call random.seed() when initializing. | Jon Bergli Heier | 1 | -0/+2 | |
2010-01-29 | Use monospace font in the text input. | Jon Bergli Heier | 1 | -0/+1 | |
2010-01-29 | Strip CR from text input. | Jon Bergli Heier | 1 | -1/+1 | |
2010-01-28 | Implemented dynamic highlighting of lines. | Jon Bergli Heier | 4 | -2/+18 | |
This currently only works when opening URLs with an anchor. |