seitime-frappe/frappe/email
Gavin D'souza b696fa6da5 perf: Pre-compile and re-use regexp pattern
Converted all possible usages of re.* that weren't compiling the regex
separately and re-using it. Separated out the compiled patterns as
global variables. Repetitive patterns could be made DRY-er.

Would be nicer to have all regexes in a single module so that we could
re-use better, keep track of outdated, and keep checks for possible
reDos' etc
2022-06-08 14:07:38 +05:30
..
doctype Merge pull request #17089 from gavindsouza/misc-fixes-10 2022-06-07 13:43:21 +05:30
page add to contact for email inbox 2017-03-14 17:55:07 +05:30
__init__.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
email_body.py perf: Pre-compile and re-use regexp pattern 2022-06-08 14:07:38 +05:30
inbox.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
queue.py fix: email queue cleanup in pure SQL 2022-05-25 09:42:12 +05:30
receive.py perf: Pre-compile and re-use regexp pattern 2022-06-08 14:07:38 +05:30
smtp.py fix(email): Maintain multi-tenancy translation sanity in error messages 2022-06-07 13:22:45 +05:30
test_email_body.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
test_smtp.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
utils.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30