Commit graph

48 commits

Author SHA1 Message Date
Martin Mahner
adc8573134 Code cleanup 2021-12-14 08:39:08 +01:00
Martin Mahner
d0f7e2eda6 Use Black's default line length of 88 2020-01-08 13:19:52 +01:00
Martin Mahner
e54790c8f9 Quote cleanup, fStrings and Deprecation fixes. 2019-12-07 07:20:52 +01:00
Martin Mahner
7eb6543d8b Minor clenaup 2019-03-16 10:40:56 +01:00
Martin Mahner
42812855b2 Code cleanup and setup.cfg 2019-01-25 13:47:00 +01:00
Martin Mahner
c19d924f7d Merge remote-tracking branch 'origin/master' 2018-12-19 15:09:30 +01:00
Martin Mahner
0f5fbd28f4 Right-To-Left Support 2018-12-19 15:03:15 +01:00
ABDUL NIYAS P M
f06761c1ff minor fixes (#114) 2018-12-11 18:56:30 +01:00
Martin Mahner
00c6f058b9 Black'ed the entire codebase
black dpaste/ --skip-string-normalization --exclude="migrations"
2018-07-04 12:06:48 +02:00
Martin Mahner
aef701ec89 Code cleanup 2018-06-23 14:31:19 +02:00
Martin Mahner
3bd3a83fdd Refactored settings to use AppConfig 2018-06-22 12:37:04 +02:00
Martin Mahner
3e88b66cfa Removed unicode literals 2018-04-29 12:00:00 +02:00
Martin Mahner
173d409072
Removed text lexer mistakingly placed in code section. 2018-04-21 22:29:43 +02:00
Martin Mahner
d5cdffc2f2 Fixed exception with invalid rst syntax 2018-04-12 23:28:47 +02:00
Martin Mahner
c77548332f Do not dump rst errors in the logfile. 2018-04-07 09:14:43 +02:00
Martin Mahner
818342d829 RestructuredText Support 2018-04-05 21:47:29 +02:00
Martin Mahner
46fbe577c5 Do not allow custom HTML in Markdown. 2018-04-05 21:22:47 +02:00
Martin Mahner
76e8ddf3ea Markdown Rendering Support 2018-04-05 21:18:22 +02:00
Martin Mahner
a9ea06345d Fixed broken import. 2018-04-05 19:37:33 +02:00
Martin Mahner
42181feb89 Added Solitidy Lexer #105 2018-04-05 19:34:26 +02:00
Martin Mahner
03549b00d7 Reorganized Highlight code.
Better and mor flexible way how individual lexer are treated.
2018-04-05 19:16:02 +02:00
Martin Mahner
14509d9fee Chrome and Windows Fixes 2018-03-24 10:14:17 +01:00
Martin Mahner
6fa4e6d7a6 Use Zero Width Space for empty lines.
https://en.wikipedia.org/wiki/Zero-width_space
2018-03-24 09:26:12 +01:00
Martin Mahner
336ae3b968 More generic code cleanup 2018-03-24 08:56:38 +01:00
Martin Mahner
81f9718edc Highlight Whitespace tests 2018-03-12 13:04:18 +01:00
Martin Mahner
cf61cc52d4 Fixed tests for Py3 2017-09-13 09:26:14 +02:00
Martin Mahner
54de452f19 further cleanup 2017-03-18 14:08:36 +01:00
Martin Mahner
95aca3588d Minor cleanup before highlight refactor. 2017-01-21 21:35:38 +01:00
Martin Mahner
e1c3d21f38 Merge branch 'master' into cleanup 2017-01-21 14:45:51 +01:00
Marco Rougeth
c3ba7de621 Added R lexer 2016-06-03 15:24:45 -03:00
Martin Mahner
82d49d0ed1 First introduction of markup 2016-03-24 12:54:54 +01:00
Martin Mahner
998c3aaf82 Added C++ lexer. Closes #73. 2016-03-23 14:06:00 +01:00
Martin Mahner
b25b9b888e Cleaned up all imports using isort. 2014-12-14 18:03:35 +01:00
Martin Mahner
497e5f0c28 Fixed XSS bug, 'code' lexer syntax were not escaped properly. 2014-08-01 20:56:58 +00:00
Martin Mahner
550ad5a908 The 'code' lexer renders code snippets with no highlights now. 2014-04-12 11:01:09 -04:00
Martin Mahner
bbd68ee2c9 Fixed lexer key validation. Fixed tests. 2014-03-13 15:55:27 +01:00
Martin Mahner
1a0093ec0a Added a generic 'code' lexer (which actually falls back to Python) to have a better distinction to 'text'.
Refs issue #52.
2014-03-13 15:42:07 +01:00
Martin Mahner
15cb32abe9 Added IRC syntax to default list. 2014-01-16 20:52:24 +01:00
adsworth
c19b3eb513 add ABAP to the list of available lexers 2014-01-10 11:34:28 +01:00
Martin Mahner
d86f8b812b Code cleanup. 2014-01-07 13:07:55 +01:00
Martin Mahner
c1c43dd51a A better API that supports more values. 2013-11-24 19:18:56 +01:00
Martin Mahner
6960f67026 Text snippets are now rendered as text. 2013-11-24 17:05:43 +01:00
Martin Mahner
bf39d704d7 Fixed a bug that raised an error if a lexer is unknown 2013-09-27 19:27:46 +00:00
Martin Mahner
2c072e2789 Huge cleanup. Simplified lexer massively. Cleaned up view code. Cleaned up syntax highlighting. 2013-08-15 20:42:02 +02:00
Martin Mahner
19e45995bf Removed print 2013-03-19 20:20:15 +01:00
Martin Mahner
e7e38d409d Lexer handling. 2013-03-19 19:47:09 +01:00
Martin Mahner
04fefe15a6 Little code cleanup. 2013-03-19 14:08:56 +01:00
Martin Mahner
ee0fc79a3e Renamed pastebin > dpaste.
This is a way simpler project structure, its also backwards compatible. Its a huge cleanup and should make further development and also 3rd party integration much easier.
2013-03-19 13:33:35 +01:00
Renamed from pastebin/apps/dpaste/highlight.py (Browse further)