Commit Graph

86 Commits

Author SHA1 Message Date
Hadi Nategh
d50f444965 Try to stripe extra quoting from personal part of email address 2018-09-03 16:21:32 +02:00
Hadi Nategh
2f8ba269e3 Revert previous commit, since horde smime verification itself takes care of it with extracting email out of cert 2018-08-30 14:19:00 +02:00
Hadi Nategh
e5bd217a77 * Mail: take certificate SAN email into account when verifying SMIME signed message 2018-08-30 14:06:26 +02:00
Hadi Nategh
d35a337590 Make an incase sensitive comparison between smime cert email and from email 2018-08-14 16:09:12 +02:00
Hadi Nategh
7e126290f7 Some more basename replacing with Vfs::basename to avoid setlocale issue. 2018-08-01 11:11:16 +02:00
Hadi Nategh
dd03c7fe16 * Mail: fix some smime signed messages get recognized wrongly as encrypted 2018-07-04 15:41:43 +02:00
nathangray
b049a68cb9 Api - Better way to clear recipients between merges that doesn't loose the placeholder 2018-06-18 10:26:49 -06:00
Hadi Nategh
5f3b59fe3d Remove meta tag by HtmLawed 2018-06-18 11:08:46 +02:00
nathangray
aea2b4d216 * Api - Clear recipients between merges to avoid sending subsequent merges to previous contacts 2018-06-14 11:09:56 -06:00
nathangray
5d65420a03 Limit subjects for filenames to 200 characters to avoid failures 2018-06-04 10:24:15 -06:00
Hadi Nategh
41a983e317 Make a bigger header size assumption (32k) in order to cover importing mails with big headers 2018-05-14 14:54:44 +02:00
nathangray
48239f3506 Fix mail merge into mail template excluded BCC 2018-04-20 12:00:50 -06:00
Ralf Becker
ad95a01cec fixing function and test 2018-04-11 14:05:49 +02:00
Ralf Becker
bded1bf17e remove 4-byte unicode when cleaning subjects 2018-04-11 11:22:11 +02:00
Hadi Nategh
980b4e1ab2 Make sure mail_bo object is there before using it, fixes error "can not call undefined function reopen()" 2018-04-03 10:33:40 +02:00
Hadi Nategh
d2859d5cee * Mail: Fix "tel:" href links wrongly get denied by mail compose 2018-03-05 18:16:12 +01:00
Hadi Nategh
63dd5ce96b Make sure replace only and only VT char (Vertical Tab) 2018-03-02 12:13:13 +01:00
Ralf Becker
034eddb37e * Mail: fix invalid domain name in headers stall whole mailbox
Horde_Idna::decode() and Horde_Mime_Headers::toArray() throws Horde_Idna_Exception for invalid domain names in email addresses like "test@-domain.com", which stall display of whole folder
2018-01-23 12:58:35 +01:00
Ralf Becker
3dadd5b14b fix call to protected method EGroupware\Api\Mail::clean_subject_for_filename() from context mail_integration 2018-01-23 09:31:54 +01:00
nathangray
e13bd2ed63 Mail - Reorganize and use same cleaning function when saving mail as infolog as for saving to VFS 2018-01-22 09:13:19 -07:00
Hadi Nategh
a3b903b75c * Mail: Fix empty trash/empty junk actions causes error in some mail servers, e.g. Cyrus. 2017-12-15 13:33:04 +01:00
nathangray
ddd45ccc2e Mail - stop additional mail in sent folder when merging multiple contacts into email 2017-11-14 17:00:17 -07:00
nathangray
7c65127e64 Mail - Also include HTML version of email in integration data (for apps that can handle it) 2017-11-08 13:11:46 -07:00
nathangray
e0eb181373 Test for overriding Horde's translations with our own 2017-09-13 17:10:48 -06:00
Hadi Nategh
ee092b0d5a S/MIME:
- Rephrase warning message for reading encrypted mails with no relevant 
pubkey and privkey
- If no mimeType provided set it to default type from mime object
2017-09-04 10:20:04 +02:00
Hadi Nategh
f4dd4bbf96 S/MIME:
- Reveal more info about signer and certificate
2017-09-01 11:38:39 +02:00
Hadi Nategh
1a8e584e0c S/MIME:
- Fix PGP signed messages get shown as red
- Fix attachments area always gets displayed
2017-08-31 17:33:33 +02:00
Hadi Nategh
3f06a89db5 S/MIME:
- Store full binary (pkcs12) certificate into credentials
- Extract cacert from pkcs12 and feed it into signing process
- Implement p12 export
2017-08-30 17:00:28 +02:00
Hadi Nategh
466e3ad364 S/MIME:
- Missing part from commit ef04e0bb77
2017-08-28 15:02:38 +02:00
Hadi Nategh
ef04e0bb77 S/MIME:
- use acc_smime_username for fetching smime certificate
2017-08-28 14:22:55 +02:00
Hadi Nategh
36211267bf S/MIME:
- Implement unknownemail status in case signer email address is not matched with sender email address
2017-08-25 16:07:09 +02:00
Hadi Nategh
7416c58e0d W.I.P. of S/MIME:
- Add extracted email from certificate into metadata
2017-08-21 11:05:58 +02:00
Hadi Nategh
ec6e82f0a1 W.I.P. SMIME:
- Fix switching account fetches a wrong pubkey
2017-08-17 09:04:44 +02:00
Hadi Nategh
f600436898 W.I.P. SMIME:
- add notvalid state
- add metadata for key add to contact
2017-07-25 18:00:22 +02:00
Hadi Nategh
91fb816bb2 W.I.P. SMIME:
- Override verify method in order to pass certs bundle for verification
- Catch exception if decryption fails because encrypted message perhaps is not encrypted by receiver public key
- Define different states for signature verification
2017-07-25 17:13:49 +02:00
Hadi Nategh
4deaf6c09a W.I.P. SMIME:
- Add missing parts from commit 0499f50943
2017-07-20 18:54:09 +02:00
Hadi Nategh
7eccf7c0c9 W.I.P Smime:
- Migrate smime decryption to Mail_bo
2017-07-19 15:39:28 +02:00
Hadi Nategh
78fa78983c Do not try to fetch mime part content if the content is already set 2017-07-14 09:50:19 +02:00
Hadi Nategh
cb784c25af W.I.P. SMIME:
- Fix warning of invalid arguments
- Fix sometimes signed content not returning correct mime part
2017-07-13 15:37:02 +02:00
Hadi Nategh
c131be8c17 W.I.P. SMIME:
- Allow saveSession to save other values in cache besides mailbox
2017-07-12 18:32:46 +02:00
Ralf Becker
f8839a488a * Mail: fix PHP Fatal error under PHP 5.4 2017-06-13 11:02:30 +02:00
Ralf Becker
9a8be2d234 * Mail: display event-invitation, if mail contains just that and not the usualy alternatives 2017-06-12 15:29:20 +02:00
Ralf Becker
e2883e2387 * Mail: display event-invitation if it contains an attachment (eg. agenda) 2017-06-12 14:39:08 +02:00
Hadi Nategh
41caaafec9 Cover more range of long field headers 2017-06-12 11:04:10 +02:00
Hadi Nategh
fcbb31edb0 * Mail: Fix contents of emails with long header fields get disturbed while importing them into mail app 2017-06-07 11:04:19 +02:00
Hadi Nategh
264d32d233 Fix mail shows empty mailboxes for some specific mail servers 2017-05-19 15:56:48 +02:00
Hadi Nategh
73e2243b33 Fix email identity with no domain part set 2017-04-24 11:39:02 +02:00
Hadi Nategh
df998bab26 W.I.P. smime support:
- Make sure recipients addresses are not in RFC822 format
2017-04-11 17:29:44 +02:00
Hadi Nategh
738a1acd0e Revert Htmlawed option comment back into value 1 2017-02-27 13:33:24 +01:00
Ralf Becker
f55d36cc50 improve waterfall by releasing session 2017-02-25 15:18:21 +01:00