Commit Graph

346 Commits

Author SHA1 Message Date
nathangray
8f752fcc03 * Mail - Improvements to list display in address search results
Now automatic group lists & created distribution lists limited to 10 each
If there are more, this is indicated with ellipsis
2018-02-16 11:19:47 -07:00
Hadi Nategh
2945021b20 * Mail: Fix spacing issue between grouped toolbars 2018-02-15 15:14:06 +01:00
Hadi Nategh
d965fa0f6b Try to inform user properly when forward/reply failure of encrypted smime message happens 2018-02-07 16:56:39 +01:00
Hadi Nategh
3b25305959 Do not remove signature part in forward inline 2018-01-08 14:24:14 +01:00
Hadi Nategh
90a5e91fc7 * Addressbook: fix bug setting Hide User Account in preferences into Show all accounts breaks show accounts 2017-12-01 14:58:44 +01:00
nathangray
f5401dfade Mail - Fix ": " gets the space stripped, leaving just ":" 2017-11-28 09:04:46 -07:00
Hadi Nategh
ed50b91ca4 Fix reply flag does not get refreshed after mail reply action 2017-10-23 15:36:22 +02:00
nathangray
5daf70535f * Mail - Add keyboard actions for forward & reply in the list, and send in compose 2017-09-25 16:12:17 -06:00
Hadi Nategh
38c227817b Make sure that the smime is configured before pre-setting the sign/encrypt actions 2017-09-08 14:24:55 +02:00
Hadi Nategh
bebf9d74cc Make smime encryption failure message more specific 2017-09-08 13:40:25 +02:00
Hadi Nategh
50fcc36aff Some clean up 2017-09-07 10:34:02 +02:00
Hadi Nategh
c6cd5ea8db Implement a complement for Usenet Signature Convention, in order to remove
signature part from reply to message
2017-09-06 17:24:10 +02:00
Hadi Nategh
134f0db1b9 Do not add signature ruler for signature at the top of message (RFC 3676.4.3) 2017-09-06 12:32:02 +02:00
Hadi Nategh
bde19f6f6c S/MIME:
- Preset smime_sign and smime_encrypt toolbar actions if the original mail
is smime.
- Fix smime alignment of smime icons in mail preview
2017-09-01 16:20:57 +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
4b9b5aa7e4 S/MIME:
- Add password remember option for smime_passphrase dialog in compose
2017-08-28 16:14:56 +02:00
Hadi Nategh
93b8b7ab6d W.I.P. SMIME:
- Warn user if the SMIME private key is not configured
- Do not show smime actions in compose dialog if private key is not configured
2017-07-21 12:34:22 +02:00
Hadi Nategh
fc451b2940 W.I.P. SMIME:
- Fix failure message on send have no details
2017-07-11 11:43:53 +02:00
Hadi Nategh
61c9acce84 Smime W.I.P:
- Fix smime passphrase dialog
2017-07-10 12:57:14 +02:00
Hadi Nategh
637b579637 * Mail: Fix preferred identity in compose dialog never get selected 2017-07-05 17:41:31 +02:00
Ralf Becker
cd4c3ffbbc * Mail: skip identities from SMTP only accounts in compose 2017-06-12 13:33:56 +02:00
nathangray
45039f5f66 Fix some translation issues and typos found by Rafael Chacón Verdorama 2017-05-24 09:41:02 -06:00
Hadi Nategh
a4d9115d64 Try to fix identity with no domain set while sending mail out 2017-04-24 12:42:20 +02:00
Hadi Nategh
490a8f6ff4 Do not show actions which user has no run permission 2017-04-21 16:21:49 +02:00
Hadi Nategh
7fd7a7e908 W.I.P. smime support: Inform user in case of missing certificates on send action 2017-04-11 18:03:16 +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
92395ea834 WIP SMIME support: Use encyption method in mailer object 2017-03-09 17:42:41 +01:00
nathangray
a14a8681fc * Mail- List mailing lists before contacts when searching for email addresses 2017-03-07 10:18:21 -07:00
Hadi Nategh
32a5cdb151 Fix error server does not support binary data, due to long references. 2017-02-28 15:53:11 +01:00
nathangray
608f9d1142 Some translation improvements from Stefan Unverricht 2017-02-27 11:14:31 -07:00
Hadi Nategh
91a5f3180f WIP of SMIME support:
- Fix actions names in compose dialog
2017-02-22 13:46:20 +01:00
Hadi Nategh
116151a092 WIP of SMIME support:
- Implement smime ecryption in compose
- Implement passphrase dialog
2017-02-15 12:23:27 +01:00
Ralf Becker
94e71aa6bf * Mail: switching signatures in html mail failed after first time
we have to keep comments in compose to be able to switch signatures
2017-02-10 13:14:11 +01:00
Hadi Nategh
ce9a36ddf9 WIP of smime sing and encrypt message 2017-02-03 12:33:49 +01:00
Hadi Nategh
e2ceed61ac * Mail: Fix forwardinline breaks a mail with winmail.dat attachment 2017-02-02 11:27:15 +01:00
nathangray
383aeeba8c Add a selectbox for infolog type to addressbook's merge-to-email dialog 2017-01-20 08:37:08 -07: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
Hadi Nategh
da8bb01e33 * Mail: Fix can not display content of resolved winmail attachments in compose dialog 2017-01-12 12:37:20 +01:00
Hadi Nategh
4b6293cfe1 Fix inline forward an email from draft folder does not include attachments 2016-11-23 12:23:11 +01:00
Ralf Becker
a41f78381c Stylite AG --> EGroupware GmbH 2016-10-08 14:32:58 +02:00
Hadi Nategh
3130f9df52 Run HTMLawed on compose body 2016-10-05 16:31:58 +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
Hadi Nategh
628ac046fe Implement mail integration check entry for mail compose 2016-08-18 17:31:27 +02:00
Ralf Becker
c1e43f3324 * Mail: mailing attachments failed in minimal install caused by using deprecate path-separator constant "SEP" 2016-07-11 10:08:11 +02:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
nathangray
a2d1131aa5 Add an Abort / Retry / Skip prompt for long task when one fails 2016-06-30 15:47:32 -06:00
Ralf Becker
e03c84f948 * Mail: fix PHP Fatal when switching identities 2016-06-06 15:08:57 +02:00
Ralf Becker
72404a1e29 using new api for mail app 2016-05-03 19:17:44 +00:00
Ralf Becker
7cc923bf41 fix not able to send mail 2016-05-03 13:33:26 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
4f3eb21e84 remove since 14.3 no longer necessary workaround for submiting mail compose to a different url, which was causing now problems (Application echoed something), and fixed not always instanciate $contacts_objs from previous commit 2016-03-29 10:13:32 +00:00
Ralf Becker
8a90d2cb65 fix warning about contacts::read($contact_id) should be compatible with EGroupware\\Api\\Contacts::read($contact_id, $ignore_acl = false) by using Api\Contacts direct 2016-03-29 08:46:09 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Klaus Leithoff
d315939ea5 when fetching headerdata/envelope gather size as well 2016-03-22 08:41:58 +00:00
Ralf Becker
fc2c4dae29 replace egw_sharing with Api\Vfs\Sharing 2016-03-21 10:30:48 +00:00
Ralf Becker
85695f0d41 split html class to Api\Html, Api\Header\Content, Api\Header\UserAgent and translation 2016-03-13 11:22:44 +00:00
Klaus Leithoff
0810011d0f fix for (sometimes) not attached attachment when composing as new, when triggered from message with attachments present 2016-03-10 11:15:45 +00:00
Hadi Nategh
2e33972631 Make default actions for compose toolbar less than 7 2016-02-26 10:08:07 +00:00
Hadi Nategh
96bcb4f9e8 Mobile theme W.I.P.:
-Change style for mail index and display
-Add upload file as default action in compose
2016-01-26 16:25:18 +00:00
Hadi Nategh
c8bc389d87 Mobile theme W.I.P.:
- Implement standard header for mail compose
- Fix toolbar style
2016-01-26 11:51:56 +00:00
Klaus Leithoff
8c3b2b9d5b silence warning on changed function call signature of function identities 2016-01-07 14:35:41 +00:00
Klaus Leithoff
68eb20424c give more details about failure on sending when available 2015-12-15 16:13:01 +00:00
Hadi Nategh
1bbf423c1e Do not use tidy extension by default
- Fix reply to some emails do no open compose dialog
2015-11-24 15:35:43 +00:00
Klaus Leithoff
0a70638205 respect the mimeType request/specification for PRESET and application method fetch 2015-11-05 12:03:03 +00:00
Klaus Leithoff
bb466cd20d * Mail: fix for cascading forward problem (problem when forwarding mails with forwarded messages attached in inline mode) 2015-11-03 13:06:47 +00:00
Klaus Leithoff
714c75ef6d reintroduce tidy in calls from egw-mail-app when only getCleanHTML is called, as it is correcting html structure issues for us 2015-10-27 09:16:37 +00:00
Klaus Leithoff
704dd397d4 fix accidently removed body 2015-10-23 10:44:12 +00:00
Klaus Leithoff
294b3c2ea8 disable the use of tidy when using zpush/activesync 2015-10-23 10:02:18 +00:00
Klaus Leithoff
397d5a6d36 fix problem with possible json_encode problem (removing all initial data from mailbody) on reply/forward 2015-09-24 10:06:22 +00:00
Nathan Gray
0f6c23a5e0 If business email cannot be parsed, continue to home email.
Fixes bug where contacts with only personal email address were not shown in taglist-email
2015-09-21 20:03:33 +00:00
Klaus Leithoff
a93187ec74 fix problem with empty/faulty attachments when saving to infolog on sending when starting from a drafted message 2015-09-11 13:45:45 +00:00
Klaus Leithoff
69a36ad4e1 fix warning in mail_compose::ajax_searchAddress 2015-07-07 11:44:02 +00:00
Hadi Nategh
cc979c563e * Mail/copmose: Fix mail compose d-n-d for emails and distribution lists 2015-06-16 12:19:57 +00:00
Hadi Nategh
6258f77a18 Do not add attahcment if it is an inline image attachment 2015-06-12 14:52:22 +00:00
Hadi Nategh
5ba5b0fb45 Do not add inline attachment images again on draft 2015-06-11 17:43:17 +00:00
Ralf Becker
d2eee09ff2 fix for imap_rfc822_write_address from imap extension 2015-06-09 08:54:23 +00:00
Ralf Becker
f4decee1b9 * Mail: correctly quote name / personal part containing German umlauts or special chars when searching for email addresses in compose 2015-06-08 14:26:25 +00:00
Hadi Nategh
ddfaa8202d Fix mail inline images does not work when compose from draft 2015-06-01 09:27:09 +00:00
Nathan Gray
69f1fc4696 Fix some problems with merging into email files:
- Use correct merge sub-class when merging multiple entries
- Accept merge placeholders in to/cc/bcc fields (displayed as invalid, but still accepted)
- Use merge placeholders to pull addresses from associated entry
2015-05-19 19:24:02 +00:00
Ralf Becker
a480dfc022 Encrypt toggle-button in compose to switch PGP encrypted mail on and off 2015-05-19 18:56:12 +00:00
Klaus Leithoff
77c2b3d9af fix for missing mail_bo::replaceEmailAdresses call. Fix for not supported FromName Attribute in compose/egw_mailer 2015-05-19 14:44:30 +00:00
Hadi Nategh
f2793cad97 Always display html for openned drafted message 2015-05-19 14:34:35 +00:00
Ralf Becker
38b3122bb8 send OpenPGP/Mime message according to rfc3156, section 4 2015-05-18 19:23:05 +00:00
Hadi Nategh
09fdc8d0fe W.I.P. mail inline images: Include inline images as inline attachments before send 2015-05-18 11:36:11 +00:00
Hadi Nategh
73499db1c7 WIP mail inline image
- Define static methods for resolving inline images from CID, based on types
- Fix not showing inline images on reply
2015-05-15 14:00:37 +00:00
Hadi Nategh
5efd6c7787 Remove some left over error_logs and clear the code from IDE warnings 2015-04-28 15:45:10 +00:00
Hadi Nategh
a3f2dc1488 Fix htmlarea editor always wrap border around editing text in IE 2015-04-27 13:39:27 +00:00
Ralf Becker
86bd575a74 fix PHP Warning array_value expects first parameter to be array 2015-04-22 14:27:49 +00:00
Ralf Becker
ded2c74681 only clean up temp-files, if we dont need them for mail_integration::integrate 2015-04-17 14:40:43 +00:00
Hadi Nategh
aa7edce3b4 Some fixes on mail integration:
- Fix save as raw eml file and send it as attachment
- Fix mail_import in infolog,tracker and calendar does not include raw mail eml attachment as link
- Some IDE clean up for mail and tracker
2015-04-17 09:39:22 +00:00
Ralf Becker
24478fe0d5 cant store a resource in egw_link::set_data() 2015-04-16 07:03:53 +00:00
Hadi Nategh
c0097b3860 More WIP mail message integration:
- Make integrate function a static function
- Implement infolog, tracker and calendar save as buttons in mail compose with open popup
- Fix Date and Max_line_Chars in mail_integration
2015-04-15 15:55:18 +00:00
Ralf Becker
9fc67020cc * Mail: setting default font-face and -size reliable and remove space in front of cursor 2015-03-31 17:01:25 +00:00
Nathan Gray
5687471b1c Include group emails in email search results 2015-03-23 22:18:38 +00:00
Klaus Leithoff
b72aef8cc2 remove config option for how2displayIdentities; defaults to show all available now; Remove possible Organization header as it might hold UTF-8 chars and is not sufficiently handled (encoded) by horde 2015-03-20 12:10:53 +00:00
Hadi Nategh
dcccc2ef7e Make sure distributionlist is resolved in mail compose after submit action 2015-03-19 13:04:37 +00:00
Ralf Becker
6bd503ef4e * Mail: if user never send a mail from an account select first identity with an non-empty signature, not default identity 2015-03-18 16:31:30 +00:00
Klaus Leithoff
c8df7ad0ab disable thread-topic handling, as horde does not support encoding it (thus avoiding utf-8 header field errors); Better handling of drafts with attachments to make sure possible attachments of the original draft are available on send 2015-03-06 09:23:13 +00:00
Klaus Leithoff
c67ab8744a remove probably wrong assumption on missing ident_id of mailaccount object (as it should not be missing at all) 2015-02-19 12:26:44 +00:00
Klaus Leithoff
52b4856a18 when dealing with defaults and identities: retrieve the default identity associated with the current imap-account, rather than the default 2015-02-19 11:37:42 +00:00
Ralf Becker
4078a48fb8 fixed send mail does not contain attachments 2015-02-18 11:17:28 +00:00
Ralf Becker
0413898ce4 * Mail: composed mails saved as draft contains again attachments, drafts created by autosaving every 2 minutes do not for performance reasons 2015-02-18 10:10:10 +00:00
Ralf Becker
2eb5b6f097 read attachment data from etemplate request, use tmpname only to identify it 2015-02-14 20:10:26 +00:00
Ralf Becker
36bc17a442 move code for html or javascript content-type headers from webdav to html class and use it for attachments too 2015-02-14 19:32:21 +00:00
Klaus Leithoff
062b62f730 mail add anf fix missing translations in mail-prefs 2015-02-03 12:29:02 +00:00
Ralf Becker
ea60497448 * Mail/IE: fixed compose popup did not open again after it was closed eg. mail was send 2015-02-02 17:06:11 +00:00
Ralf Becker
21d52f5cee fixed warning of calling createRowID static with incompatible $this, it work before because mail_ui as well as mail_compose define $this->mail_bo 2015-01-26 15:04:15 +00:00
Hadi Nategh
94ea53a688 * Mail/Sieve: Fix sieve save into folder with wrong namespace 2015-01-19 12:12:18 +00:00
Hadi Nategh
df76d33437 Fix mail compose toggle buttons set values 2015-01-13 15:52:00 +00:00
Hadi Nategh
5129750d2e Fix priority toolbar action loses its selected label after submit in compose dialog 2015-01-13 12:14:41 +00:00
Hadi Nategh
e590809211 Set icons for the toolbar priority action in compose dialog 2015-01-09 14:49:56 +00:00
Klaus Leithoff
74a6cf6794 * Mail: fix problem on SentCopy ending up with the wrong mailaccount. Should be copied to chosen mailaccount on sending. If none is configured for folder; respect that setting. Ability to choose destination folders from starting mailaccount AND from selected mailaccount (only the original and the final selected mailaccount folders are checked and used for storing copies of the sent mail) 2015-01-09 13:56:14 +00:00
Hadi Nategh
9cac913e33 Fix taking wrong value for priority in compose dialog 2015-01-09 12:58:06 +00:00
Hadi Nategh
bc1578693c Implement save into VFS for mail compose toolbar 2015-01-08 17:06:56 +00:00
Hadi Nategh
f9c1883713 Change compose toolbar default actions and view_range 2015-01-08 15:56:45 +00:00
Hadi Nategh
7134da86b3 Fix compose toolbar ids 2015-01-07 17:37:56 +00:00
Hadi Nategh
7009ba1de0 Fix mail compose issues:
-Set default toolbar actions
-Set toolbar actions view range to 6
-Fix compose window not being resized correctly in FF 
-Fix displaying toolbar's selectbox
-Fix styling of toggle button
2015-01-07 17:08:21 +00:00
Hadi Nategh
d3d84782a5 Implement mail compose toolbar with toolbar widget which makes actions draggable 2015-01-07 11:57:34 +00:00
Hadi Nategh
f529a4fae6 Clear intervals assigned to window after submit compose dialog 2014-12-16 10:26:44 +00:00
Ralf Becker
65a9f8e584 fixed not working download/sharing links after signature change yesterday 2014-12-05 11:25:09 +00:00
Klaus Leithoff
3102bf88fa fix problem regarding: uploaded eml files where not handled as message/rfc 2014-12-05 11:14:42 +00:00
Klaus Leithoff
35deef9672 handle new signature preference 2014-12-04 13:48:43 +00:00
Ralf Becker
75688e8cb8 allow to share files and directories from filemanager via mail app 2014-12-03 16:25:10 +00:00
Ralf Becker
03ea6d9294 next (little) step for sharing files 2014-12-02 19:18:37 +00:00
Ralf Becker
63a6ac9a6d first version of linked attachments 2014-12-01 20:14:18 +00:00
Ralf Becker
2e5fcbda4e fixing the fix, we dont want whole mails in memory 2014-11-26 15:05:59 +00:00
Klaus Leithoff
d411dd0658 fix failed attachment of eml file after compose on to_infolog/tracker action 2014-11-26 14:20:18 +00:00
Ralf Becker
2a0889bcf6 set sender/return-path and from, if empty in identity, setting send/return-path from account, prefering smtp user-name and from from identity 2014-11-25 11:32:25 +00:00
Ralf Becker
3e559d2fda replacing PHPMailer with Horde_Mime_Mail and Horde_Mail_Transport_Smtphorde to overcome memory limit when sending mails 2014-11-24 23:38:37 +00:00
Ralf Becker
691e28487e further cleanup, identity == signature 2014-11-22 13:17:41 +00:00
Ralf Becker
46b4758dac use a wrapper on a different url for sending mail to be able to select a different fpm pool 2014-11-21 13:37:30 +00:00
Ralf Becker
f5769333da fix compose ID and random string generation to use API auth::randomstring() method 2014-11-21 09:33:34 +00:00
Ralf Becker
0d5fa9615e combined mail account and identity/signature selection, allows now to send with a different identity, also fixed tons of IDE warnings 2014-11-20 17:53:52 +00:00
Klaus Leithoff
8ed0cc2314 fix broken disposition-notification request 2014-11-20 15:51:36 +00:00
Klaus Leithoff
9aeae3185a some little additional stuff regarding the signature-selector-placeholder issue in compose 2014-11-11 14:12:34 +00:00
Hadi Nategh
050c91225a Fix IDE warning 2014-10-23 11:28:36 +00:00
Hadi Nategh
39091af4e5 Fix compose showing an extra span tag on body when switch from html to plain/text via preferences 2014-10-23 10:27:58 +00:00
Ralf Becker
dec861fb3e do not use full path of attachments in compose popup 2014-10-20 18:08:03 +00:00
Ralf Becker
8a827671b8 sending mail was failing after r49065 2014-10-20 06:49:23 +00:00
Ralf Becker
64aa838e9d * Mail: import and display of mails failed, if personal part of addresses contains valid encoded utf-8 characters
- using now Horde_Mime_Headers::parseHeaders() for headers instead of Mail_mimeDecode, which should be completly replaced with Horde_Mime_Part::parseMessage()
- replaced imap_rfc822_parse_adrlist with Horde_Mail_Rfc822::parseAddressList() using static wrapper emailadmin_imapbase::parseAddressList()
2014-10-18 16:30:39 +00:00
Ralf Becker
648649e03f remove calls to removed htmlspecialchars method 2014-09-30 12:36:46 +00:00
Klaus Leithoff
f9e775c549 * Mail: resolve distributionlists upon saving as draft, infolog, tracker and storing sent message in designated send-folder 2014-09-23 08:23:10 +00:00
Hadi Nategh
3e7b572f16 Avoid to refresh mail list if the active folder is not the Draft folder while saving compose mail as draft 2014-09-22 09:07:48 +00:00
Hadi Nategh
7ca9e5c6bf Restructure compose save as draft functionality and implement it as an ajax function 2014-09-12 11:52:38 +00:00
Klaus Leithoff
985398ccbd ensure Message-Id is the same for outgoing mail AND message saved in send-folder 2014-09-11 14:10:01 +00:00
Klaus Leithoff
bb58848939 * Mail: support the propagation of Thread-Topic, Thread-Index and List-Id on reply too 2014-09-11 11:51:07 +00:00
Klaus Leithoff
f1894d64fb * Mail: Respect References AND In-Reply-To Headers, and set them on reply if available 2014-09-11 09:21:07 +00:00
Klaus Leithoff
bc9ee4170d fix for rare problem on toggle html2text resulting in empty content; preparation for REFERENCES and IN-REPLY-TO 2014-09-09 14:04:40 +00:00
Hadi Nategh
bdcda95930 Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 12:08:08 +00:00
Nathan Gray
694a63d1f4 Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-12 16:58:07 +00:00