diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-29 16:17:04 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-04 12:57:04 +0200 |
commit | e452707fdfbd61be1e5633b516b653b7337e7865 (patch) | |
tree | 1e1d4b48ebf8d381f292436f2ba04b8763edc5de /framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-encrypted-attachment-and-non-encrypted-attachment.mbox.html | |
parent | 5a1033bdace740799a6e03389bee30e5a4de5d44 (diff) | |
download | kube-e452707fdfbd61be1e5633b516b653b7337e7865.tar.gz kube-e452707fdfbd61be1e5633b516b653b7337e7865.zip |
Reduced the messagetreeparser to aproximately what we actually require
While in a much more managable state it's still not pretty.
However, further refactoring can now gradually happen as we need to do
further work on it.
Things that should happen eventually:
* Simplify the logic that creates the messageparts (we don't need the whole formatter plugin complexity)
* Get rid of the nodehelper (let the parts hold the necessary data)
* Get rid of partmetadata (let the part handleit)
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-encrypted-attachment-and-non-encrypted-attachment.mbox.html')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-encrypted-attachment-and-non-encrypted-attachment.mbox.html | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-encrypted-attachment-and-non-encrypted-attachment.mbox.html b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-encrypted-attachment-and-non-encrypted-attachment.mbox.html new file mode 100644 index 00000000..092a3440 --- /dev/null +++ b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-encrypted-attachment-and-non-encrypted-attachment.mbox.html | |||
@@ -0,0 +1,77 @@ | |||
1 | <?xml version="1.0" encoding="UTF8"?> | ||
2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
3 | <html> | ||
4 | <body> | ||
5 | <div style="position: relative; word-wrap: break-word"> | ||
6 | <a name="att"/> | ||
7 | <div id="attachmentDiv"> | ||
8 | <a name="att1"/> | ||
9 | <div id="attachmentDiv1"> | ||
10 | <table cellspacing="1" cellpadding="1" class="encr"> | ||
11 | <tr class="encrH"> | ||
12 | <td dir="ltr">Encrypted message</td> | ||
13 | </tr> | ||
14 | <tr class="encrB"> | ||
15 | <td> | ||
16 | <div style="position: relative; word-wrap: break-word"> | ||
17 | <a name="att"/> | ||
18 | <div id="attachmentDiv"> | ||
19 | <table cellspacing="1" cellpadding="1" class="signOkKeyOk"> | ||
20 | <tr class="signOkKeyOkH"> | ||
21 | <td dir="ltr"> | ||
22 | <table cellspacing="0" cellpadding="0" width="100%"> | ||
23 | <tr> | ||
24 | <td>Signed by <a href="mailto:test@kolab.org">test@kolab.org</a>.</td> | ||
25 | <td align="right"> | ||
26 | <a href="kmail:showSignatureDetails">Show Details</a> | ||
27 | </td> | ||
28 | </tr> | ||
29 | </table> | ||
30 | </td> | ||
31 | </tr> | ||
32 | <tr class="signOkKeyOkB"> | ||
33 | <td> | ||
34 | <a name="att1"/> | ||
35 | <div id="attachmentDiv1"> | ||
36 | <a name="att1.1"/> | ||
37 | <div id="attachmentDiv1.1"> | ||
38 | <div class="noquote"> | ||
39 | <div dir="ltr">test text</div> | ||
40 | </div> | ||
41 | </div> | ||
42 | <a name="att1.2"/> | ||
43 | <div id="attachmentDiv1.2"> | ||
44 | <hr/> | ||
45 | <div> | ||
46 | <a href="attachment:1:e0:1.2?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>file.txt</a> | ||
47 | </div> | ||
48 | <div/> | ||
49 | </div> | ||
50 | </div> | ||
51 | </td> | ||
52 | </tr> | ||
53 | <tr class="signOkKeyOkH"> | ||
54 | <td dir="ltr">End of signed message</td> | ||
55 | </tr> | ||
56 | </table> | ||
57 | </div> | ||
58 | </div> | ||
59 | </td> | ||
60 | </tr> | ||
61 | <tr class="encrH"> | ||
62 | <td dir="ltr">End of encrypted message</td> | ||
63 | </tr> | ||
64 | </table> | ||
65 | </div> | ||
66 | <a name="att2"/> | ||
67 | <div id="attachmentDiv2"> | ||
68 | <hr/> | ||
69 | <div> | ||
70 | <a href="attachment:2?place=body"><img align="center" height="48" width="48" src="file:image-png.svg" border="0" style="max-width: 100%" alt=""/>image.png</a> | ||
71 | </div> | ||
72 | <div/> | ||
73 | </div> | ||
74 | </div> | ||
75 | </div> | ||
76 | </body> | ||
77 | </html> | ||