Commit Graph

160 Commits

Author SHA1 Message Date
Ralf Becker
7cd4169768 * all apps: fixing serveral cases of wrong Url when proxying and terminating TLS on the proxy 2019-11-15 13:54:34 +01:00
Hadi Nategh
b13a3a4619 * Mail: fix mails consists of both multipart/mixed and multipart/related create duplicated content 2019-10-16 17:01:02 +02:00
Hadi Nategh
053a2aeefd Call no named attachment "forwarded message" only if it's a message 2019-07-30 12:14:42 +02:00
Hadi Nategh
1125857730 Same fix as commit 377766293f for mail display 2019-07-29 11:18:26 +02:00
Alexandros Sigalas
eba66e8726 If other charset than utf-8 is wrongly reported, use utf-8 2019-04-01 09:16:32 +03:00
Alexandros Sigalas
f208af8dfb Use charset from mail part 2019-04-01 09:15:09 +03:00
Hadi Nategh
881b690aae * Mail: fix S/MIME fails with addresses not written in lowercase 2019-03-25 17:12:11 +01:00
Ralf Becker
7f53f21098 Merge pull request #69 from asig2016/17.1_fix_mail_get_structure
Fixed typo in Mail.php getStructure $uid -> $_uid (in some cases i.e.…
2019-03-23 10:50:32 +01:00
Hadi Nategh
45bfeed444 Mail: fix S/MIME can not find certificates if certificate emails not written in lowercase 2019-03-13 16:07:34 +01:00
nathangray
78028dfbda Api - Set default charset for mail to utf-8, overriding Horde's us-ascii 2019-02-22 10:42:38 -07:00
Alexandros Sigalas
1920814067 Added _folder parameter to getTnefAttachments function 2019-02-22 09:00:07 +01:00
Ralf Becker
6ae2bd4009 * Mail: meeting-request was not shown inside multipart/related 2019-02-21 20:11:21 +01:00
Hadi Nategh
2405d8f2d3 * Mail: fix not working sending and receiving smime signed messages where certificates have more than 1 domain registered (subjectAltName) 2019-02-06 13:49:11 +01:00
nathangray
4008f82be3 Mail - display multiple From addresses 2019-01-22 10:48:39 -07:00
Ralf Becker
26313db8f7 fix not working mail-integration because of "extra logging" tried to convert imap object to a string 2019-01-07 18:49:22 +01:00
nathangray
d21e848883 Turn on some extra info to help figure out cause of 'Illegal offset type' warning 2019-01-04 10:49:55 -07:00
Hadi Nategh
0efbbfb75f Fix smime messages stop activesync 2018-12-04 19:16:25 +01:00
nathangray
314fe706f5 If a single attachment fails, continue with the others instead of failing altogether 2018-12-03 10:19:38 -07:00
Hadi Nategh
377766293f Fix mail with forwarded attachment may not be shown if there's no name assigned 2018-11-26 17:06:19 +01:00
Hadi Nategh
97eb04e75c Fix broken inline images because of wrong url 2018-10-12 16:58:38 +02:00
nathangray
20629e2a16 Mail merge - Accept false as folder to skip saving to mail folder 2018-10-01 11:15:31 -06:00
Hadi Nategh
5615fbf15e Fix commit 4bd103fd7d 2018-09-24 15:00:17 +02:00
Hadi Nategh
9e1d9e143e * Mail: fix deleting mails from draft folder does not respect "move to trash" in delete message preference 2018-09-20 15:25:11 +02:00
Hadi Nategh
4bd103fd7d Make sure whitespaces are removed from certkey before doing comparison 2018-09-20 14:14:05 +02:00
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
Hadi Nategh
8f24e0dfec * Mail: fix memory exhaustion caused by e-mails with long string set on DATE field 2017-02-23 15:44:23 +01:00
nathangray
845a1ec3e7 Added a checkbox for 'save as infolog' when merging multiple contacts into an email document. 2017-01-19 09:36:38 -07:00
Klaus Leithoff
7588c9a493 rework of fix for problem regarding send with bcc when using esync 2016-10-19 10:01:38 +00:00
Klaus Leithoff
c47d8a26c3 * Mail: fix problem regarding send with bcc when using esync 2016-10-18 13:59:32 +00:00
Hadi Nategh
69ce664000 Fix some of content in mails with specific html formats get removed by HtmLawed's balance 2016-10-05 17:13:07 +02:00
Hadi Nategh
83de4986c8 Fix inline images of compose do not get stored as links into integrated applications like infolog, tracker or calendar 2016-09-21 15:52:50 +02:00
Ralf Becker
6a4c89d61a * Mail: iCal attachments are shown as such, only meeting requests trigger calendar interface with accept/reject buttons 2016-08-23 17:22:55 +02:00
leithoff
a41896f802 fix charset/transfer encoding issue when sending plain ascii mails but adding utf-8 signature 2016-08-05 15:12:21 +02:00
Ralf Becker
f89142629a * eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction 2016-07-08 10:34:33 +02:00
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
Ralf Becker
d11405205c fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
1b4bef13f5 return full mime message as stream without any conversation and without caching it, as this probably caused high memory usage when syncing with Outlook 2016-06-21 09:33:44 +02:00
leithoff
c173de3935 fix for functional folders showing up multiple times 2016-06-17 11:50:20 +02:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00
leithoff
a12f6755ab handle fatal error Using $this when not in object context 2016-06-16 12:00:07 +02:00
leithoff
e010510a5e handle fatal error Using when not in object context 2016-06-14 10:19:27 +02:00
leithoff
249af04b21 handle pass var by reference for getSortedList 2016-06-10 09:47:19 +02:00
leithoff
caafb0b84b improved handling of authentication/connection failed errors 2016-06-09 15:48:01 +02:00
leithoff
40d1e52238 fix warning 2016-06-07 16:07:58 +02:00
leithoff
0bd975927f attempt to handle connection failed errors more convieniently 2016-06-07 15:31:34 +02:00
leithoff
8a6126f12f handle problems on failed retrieval of headers, when short-preview is switched on in message-list 2016-06-02 14:48:19 +02:00
Hadi Nategh
1517c5f323 Fix emails with single quote in local address not getting parsed correctly (eg. test.o'test@example.com) 2016-05-19 15:46:08 +02:00
leithoff
f29066bc86 give more info on failed attachment retrieval 2016-05-13 12:26:21 +02:00
Klaus Leithoff
419f90f2e9 fix problem regarding sorting autofolders to the beginning of the foldertree 2016-05-10 15:17:40 +00:00
Nathan Gray
c8fe06551f Fix merging into email headers adds '@missing_domain' 2016-05-03 00:10:30 +00:00
Ralf Becker
834cc466f5 to allow installing api or EGroupware without phpgwapi, old exceptions which we have to extend in order allow old apps to catch exceptions thrown from new api, have to reside in api/inc and get autoloaded 2016-05-02 16:57:50 +00:00