Sergey Obukhov
|
0f5e72623b
|
add android quotation pattern
v1.3.5
|
2017-04-10 16:33:21 -07:00 |
|
Sergey Obukhov
|
061e549ad7
|
Merge pull request #128 from mailgun/sergey/1.3.4
bump version
v1.3.4
|
2017-02-14 11:17:35 -08:00 |
|
Sergey Obukhov
|
49d1a5d248
|
bump version
|
2017-02-14 11:05:50 -08:00 |
|
Sergey Obukhov
|
03d6b00db8
|
Merge pull request #127 from conalsmith49/mark-splitlines-in-email-quotation-indents
Split_Email(): Mark splitlines for headers indented with spaces or email quotation indents (">")
|
2017-02-14 11:03:51 -08:00 |
|
smitcona
|
a2eb0f7201
|
Creating new method which removes initial spaces and marks the message lines. Removing ambiguity introduced to mark_message_lines
|
2017-02-14 18:19:45 +00:00 |
|
smitcona
|
5c71a0ca07
|
Split the comment lines so that they are not over 80 characters
|
2017-02-13 16:45:26 +00:00 |
|
Sergey Obukhov
|
489d16fad9
|
Merge branch 'master' into mark-splitlines-in-email-quotation-indents
|
2017-02-09 21:10:16 -08:00 |
|
Sergey Obukhov
|
a458707777
|
Merge pull request #124 from phanindra-ramesh/issue_123
Fixes issue #123
|
2017-02-09 20:55:36 -08:00 |
|
smitcona
|
a1d0a86305
|
Pass ignore_initial_spaces=True as this has better clarity than separate boolean variable
|
2017-02-07 12:47:33 +00:00 |
|
smitcona
|
29f1d21be7
|
fixed expected markers and incorrect condensed header not matching regex
|
2017-02-06 15:03:22 +00:00 |
|
smitcona
|
34c5b526c3
|
Remove the whitespace before the line if the flag is set
|
2017-02-03 12:57:26 +00:00 |
|
smitcona
|
3edb6578ba
|
Dividing preprocess method into two methods, split_emails() now calls one without email content being altered.
|
2017-02-03 11:49:23 +00:00 |
|
smitcona
|
984c036b6e
|
Set the marker back to 'm' rather than 't' if it matches the QUOT_PATTERN. Updated test case.
|
2017-02-01 18:28:19 +00:00 |
|
smitcona
|
a403ecb5c9
|
Adding two level indentation test
|
2017-02-01 18:09:35 +00:00 |
|
smitcona
|
a44713409c
|
Added additional case for testing new functionality of split_emails()
|
2017-02-01 17:40:59 +00:00 |
|
smitcona
|
567467b8ed
|
Update comment
|
2017-02-01 17:29:05 +00:00 |
|
smitcona
|
139edd6104
|
Add new method which marks as splitlines, lines which are splitlines but start with email quotation indents ("> ")
|
2017-02-01 17:16:30 +00:00 |
|
Phanindra Ramesh Challa
|
e756d55abf
|
Fixes issue #123
|
2016-12-27 13:53:40 +05:30 |
|
Sergey Obukhov
|
015c8d2a78
|
Merge pull request #120 from mailgun/sergey/talon-1.3.3
bump talon version
v1.3.3
|
2016-11-30 18:28:39 -08:00 |
|
Sergey Obukhov
|
5af846c13d
|
bump talon version
|
2016-11-30 12:56:06 -08:00 |
|
Sergey Obukhov
|
e69a9c7a54
|
Merge pull request #119 from conapart3/master
Addition of new split_email method for issue:115
|
2016-11-30 12:51:32 -08:00 |
|
conapart3
|
23cb2a9a53
|
Merge pull request #1 from conapart3/issue-115-date-split-in-headers
split_emails function added, test added
|
2016-11-22 20:02:54 +00:00 |
|
smitcona
|
b5e3397b88
|
Updating test to account for --original message-- case
|
2016-11-22 20:00:31 +00:00 |
|
smitcona
|
5685a4055a
|
Improved algorithm
|
2016-11-22 19:56:57 +00:00 |
|
smitcona
|
97b72ef767
|
Adding in_header_block variable for reliability
|
2016-11-22 19:06:34 +00:00 |
|
smitcona
|
31489848be
|
Remove print lines
|
2016-11-21 17:36:06 +00:00 |
|
smitcona
|
e5988d447b
|
Add space
|
2016-11-21 12:48:29 +00:00 |
|
smitcona
|
adfed748ce
|
split_emails function added, test added
|
2016-11-21 12:35:36 +00:00 |
|
Sergey Obukhov
|
2444ba87c0
|
Merge pull request #111 from mailgun/sergey/tagscount
restrict html processing to a certain number of tags
v1.3.2
|
2016-09-14 11:06:29 -07:00 |
|
Sergey Obukhov
|
534457e713
|
protect html_to_text as well
|
2016-09-14 09:58:41 -07:00 |
|
Sergey Obukhov
|
ea82a9730e
|
restrict html processing to a certain number of tags
|
2016-09-14 09:33:30 -07:00 |
|
Sergey Obukhov
|
f04b872e14
|
Merge pull request #108 from mailgun/sergey/html5lib-fix
use new parser each time we parse a document
v1.3.1
|
2016-08-22 18:10:35 -07:00 |
|
Sergey Obukhov
|
e61894e425
|
bump version
|
2016-08-22 17:34:18 -07:00 |
|
Sergey Obukhov
|
35fbdaadac
|
use new parser each time we parse a document
|
2016-08-22 16:25:04 -07:00 |
|
Sergey Obukhov
|
8441bc7328
|
Merge pull request #106 from mailgun/sergey/html5lib
use html5lib to parse html
v1.3.0
|
2016-08-19 15:58:07 -07:00 |
|
Sergey Obukhov
|
37c95ff97b
|
fallback untouched html if we can not parse html tree
|
2016-08-19 11:38:12 -07:00 |
|
Sergey Obukhov
|
5b1ca33c57
|
fix cssselect
|
2016-08-16 17:11:41 -07:00 |
|
Sergey Obukhov
|
ec8e09b34e
|
fix
|
2016-08-15 20:31:04 -07:00 |
|
Sergey Obukhov
|
bcf97eccfa
|
use html5lib to parse html
|
2016-08-15 19:36:21 -07:00 |
|
Sergey Obukhov
|
f53b5cc7a6
|
Merge pull request #105 from mailgun/sergey/fromstring
html with comment that has no parent crashes html_tree_to_text
v1.2.16
|
2016-08-15 13:40:37 -07:00 |
|
Sergey Obukhov
|
27adde7aa7
|
bump version
|
2016-08-15 13:21:10 -07:00 |
|
Sergey Obukhov
|
a9719833e0
|
html with comment that has no parent crashes html_tree_to_text
|
2016-08-12 17:40:12 -07:00 |
|
Sergey Obukhov
|
7bf37090ca
|
Merge pull request #101 from mailgun/sergey/empty-html
if html stripped off quotations does not have readable text fallback …
v1.2.15
|
2016-08-12 12:18:50 -07:00 |
|
Sergey Obukhov
|
44fcef7123
|
bump version
|
2016-08-11 23:59:18 -07:00 |
|
Sergey Obukhov
|
69a44b10a1
|
Merge branch 'master' into sergey/empty-html
|
2016-08-11 23:58:11 -07:00 |
|
Sergey Obukhov
|
b085e3d049
|
Merge pull request #104 from mailgun/sergey/spaces
fixes mailgun/talon#103 keep newlines when parsing html quotations
|
2016-08-11 23:56:26 -07:00 |
|
Sergey Obukhov
|
4b953bcddc
|
fixes mailgun/talon#103 keep newlines when parsing html quotations
|
2016-08-11 20:17:37 -07:00 |
|
Sergey Obukhov
|
315eaa7080
|
if html stripped off quotations does not have readable text fallback to unparsed html
|
2016-08-11 19:55:23 -07:00 |
|
Sergey Obukhov
|
5a9bc967f1
|
Merge pull request #100 from mailgun/sergey/restrict
do not parse html quotations if html is longer then certain threshold
v1.2.14
|
2016-08-11 16:08:03 -07:00 |
|
Sergey Obukhov
|
a0d7236d0b
|
bump version and add a comment
|
2016-08-11 15:49:09 -07:00 |
|