zulip/zephyr/lib/bugdown
Tim Abbott 0ad1094e45 bugdown: Add custom per-realm filters to linkify certain strings.
I've tried to do this in a way that's scalable and easily configured,
so that we can add new such filters for customers on-demand without
needing to add anything other than a bit of configuration.

Once we're confident in the arguments to this system, I think we'll
want to move the regular expression lists into the database so that we
don't need to do a prod push to modify the regular expression lists.

The initial set of regular expressions are:
(1) Linkifying e.g. "trac #224" in the Humbug realm, so we're exercising this code.
(2) The various ticket number things CUSTOMER7 uses for the CUSTOMER7 realm.

(imported from commit 992b0937b9012c15a7c2f585eb0aacb221c52e01)
2013-06-05 17:48:21 -04:00
..
__init__.py bugdown: Add custom per-realm filters to linkify certain strings. 2013-06-05 17:48:21 -04:00
codehilite.py Fix trailing whitespace in a couple Python files. 2013-05-31 15:25:35 -04:00
fenced_code.py bugdown: Fix fenced_code for Python-Markdown 2.3 2013-04-05 13:14:00 -04:00
testing_mocks.py bugdown: Fix handling of twitter-format links that aren't actually tweets. 2013-05-30 10:29:41 -04:00
tlds-alpha-by-domain.txt Use IANA's TLD list for auto-linkification detecting 2013-04-03 09:58:17 -04:00