Commit Graph

346 Commits

Author SHA1 Message Date
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
Klaus Leithoff
e0b9fadfdd * Mail/Infolog/Tracker: fix problem with converting mail to infolog/tracker entries, when forwarded messages are attached (message/rfc822 attachments) 2014-07-03 10:16:23 +00:00
Klaus Leithoff
9ad4dc5f98 * Mail: if we use a different Identity on sending AND the identity email is different but not empty from the account email; then use identity information for From and FromName; Do not touch Sender;
ToDo: discuss to set replyto accordingly
2014-06-10 14:44:25 +00:00
Klaus Leithoff
8f30c7c25e * Mail: when changing account on compose, we no longer fake the sender, but we use the outgoing Server settings of that account AND copy the sent message to that accounts sentfolder (if set and prefs suggest we should store a copy in the selected accounts sentfolder) 2014-05-23 12:21:17 +00:00
Klaus Leithoff
4ba4ba0545 replace serialize calls with json_encode; 2014-05-23 07:39:52 +00:00
Klaus Leithoff
fa3029a59e fix empty needle warning on compose change profile/signature 2014-05-22 07:45:21 +00:00
Klaus Leithoff
f3979fac84 switch error message after failure from level waring to error, so the error-message sticks 2014-05-16 11:52:44 +00:00
Klaus Leithoff
c0c0daa41c code-cleanup: only use one mailPreferences class var; not 3 2014-05-13 13:10:53 +00:00
Klaus Leithoff
9ee9aad19c only save LastSignatureIDUsed when different from the last one 2014-05-02 10:39:22 +00:00
Klaus Leithoff
0fcea2103a * Mail: remember last used Signature on Compose, and try to use it on subsequent compose sessions 2014-05-02 10:33:54 +00:00
Klaus Leithoff
7434cd7144 * Mail: fix for messed up signature in some cases; fix for not beeing able to delete/remave an attachment to a new mail that was attached using PRESET methods 2014-04-29 09:53:47 +00:00
Klaus Leithoff
c720b1f1d4 fix for not fetched reply-to on compose. Hordes getEnvelope does not provide the desired data, use selected data from getMessageHeader 2014-04-15 10:42:30 +00:00
Klaus Leithoff
1411cc73fb attempt to cleanup regarding old emailadmin/felamimail 2014-04-08 14:55:43 +00:00
Klaus Leithoff
b28bebe442 fix problem encountered on reply with whole grid refresh, caused by not matching expectations on rowId on egw_refresh 2014-04-03 09:07:55 +00:00
Klaus Leithoff
4c52fe5e65 in reference to calendar -> send invitation to all participants is not working; fix the parts that are still reproducible to me ; (there have been several fixes in the area since reporting the problem;) 2014-04-01 14:56:13 +00:00
Klaus Leithoff
44f3278ea6 handle saveAsDraft and obsolet drafts; handle reload of message list on send serverside (use egw_message where possible; use egw_refresh with messageuid and update if appropriate and egw_refresh for add mode only on distinct situations) 2014-04-01 11:41:34 +00:00
Klaus Leithoff
601e2b3b73 fix for failed display on compose of attached VCard entries 2014-03-21 12:56:34 +00:00
Klaus Leithoff
70d2a9f479 fix activesync attachment issue reported by randy; fix issue regarding the mail action on calendar entries; some cleanup 2014-03-21 10:37:09 +00:00
Klaus Leithoff
562b26410c fix problem with deleting attachments on compose, when forwarding messages 2014-03-17 12:54:01 +00:00
Klaus Leithoff
0773d1ad3a handle access space in front for switch from plain text to html too 2014-03-07 14:54:44 +00:00
Klaus Leithoff
1ae64aab58 refine the logic for the application of the font span for default font settings in ckeditor (should only be applied on first load or on switch plain->html and the absence of the font_part of the span; compose as new should possibly skip that too) 2014-03-04 15:19:48 +00:00
Klaus Leithoff
7b61b42585 the font span for default font settings in ckeditor should only be applied on first load or on switch plain->html and the absence of the font_part of the span 2014-03-04 09:23:43 +00:00
Ralf Becker
8d3c1fabbd explicitly specifying columns to search to contacts class and let contacts class deal with constructing AND query from that 2014-03-03 11:59:18 +00:00
Klaus Leithoff
d3b244e069 use html::content_header for gathering download headers on getAttachment and saveMessage 2014-02-25 15:59:22 +00:00
Ralf Becker
f8035b8312 fixed sending of arbitrary JSON data egw_json_request::isJSONRequest(false) 2014-02-24 19:12:37 +00:00
Ralf Becker
e96ec115a0 fixed sending of arbitrary JSON data egw_json_request::isJSONRequest(false) 2014-02-24 18:46:14 +00:00
Klaus Leithoff
509c5f5a24 getFolderObjects; always use static on single request if info is available; so if you require subscribed/unsubscribed results on a single request you MUST set to false 2014-02-14 13:38:08 +00:00
Klaus Leithoff
934650c64a fix a problem regarding the deletion from messages from display-popup; handle glitch of name used for downloading attachments 2014-02-12 10:56:44 +00:00
Nathan Gray
8af9b45e13 Fix lists always showing in To field, not filtered properly. 2014-02-07 15:11:46 +00:00
Klaus Leithoff
3539f98176 add missing second param for imap_rfc822_parse_adrlist 2014-02-04 15:53:48 +00:00
Klaus Leithoff
7510c00e50 switch display of message in popup to load message body in iframe; on message deletion show one message for userinteraction 2014-02-04 11:31:13 +00:00
Klaus Leithoff
f13dca4c34 fix for send with copy to additional folder 2014-02-03 11:29:12 +00:00
Klaus Leithoff
f67fb1d1c6 try to document why we use the simple-withimage config on ckeditor in mail and not the EGroupware wide pref 2014-02-03 07:59:51 +00:00
Klaus Leithoff
7c28c6c016 make mailattachments of type message/rfc822 clickable on compose 2014-01-31 10:21:58 +00:00
Klaus Leithoff
6317ffa821 fix broken attachment on forward inline, when attachment is available 2014-01-30 11:28:20 +00:00
Klaus Leithoff
e70a7bcf07 make uploaded/attached files clickable on compose 2014-01-30 09:35:56 +00:00
Klaus Leithoff
0629f22bcc attachments not transported when converting to infolog/tracker on send 2014-01-29 10:59:14 +00:00
Klaus Leithoff
5b586c4687 fix several problems regarding compose; wrong addresses on nreply_all; failed opening of templates; not opening on importMessageFromVFS2DraftAndDisplay 2014-01-24 10:30:45 +00:00
Klaus Leithoff
bc2689c3ae fix setting answered and forwarded flags on answering/forwarding mails 2014-01-23 11:56:34 +00:00
Klaus Leithoff
d698f88e77 fix messages from draft and templates not opening in compose mode; fix typo that prevented the correct change of profile in getComposeFrom 2014-01-21 08:26:59 +00:00
Klaus Leithoff
238391ee63 still some issues regarding signatures->fixed them (hopefully) 2014-01-20 10:59:39 +00:00
Klaus Leithoff
32f75929af fix missing signature when attaching signature after compose, before send 2014-01-20 10:31:18 +00:00
Klaus Leithoff
d32e576dfa try to fix missing sender email 2014-01-20 09:26:26 +00:00
Klaus Leithoff
e8e8224341 fix problems caused by changing html/plain selectbox to checkbox 2014-01-18 14:52:21 +00:00
Ralf Becker
6b926d5267 setting ident_realname/email for mail accounts&identities where mail-server is managed by EGroupware 2014-01-18 14:00:19 +00:00
Klaus Leithoff
57e0008ac9 force currentapp = mail for compose and display popups; changed approach 2014-01-17 10:47:35 +00:00
Klaus Leithoff
b98326fb0c force currentapp = mail for compose and display popups 2014-01-17 10:37:43 +00:00
Ralf Becker
117a2f5f6b mark mailing-lists in taglist responses with "mailinglist" css class, style it and give it a title "mailinglist" to differenciate from contacts/regular email addresses 2014-01-16 15:58:27 +00:00
Nathan Gray
05f0e486e3 Use long task UI to merge contacts into email templates 2014-01-16 14:05:07 +00:00
Nathan Gray
f9c2c73432 Get merging contact into mail template file working 2014-01-15 16:29:30 +00:00
Klaus Leithoff
b3ad328429 preparations to get mail_activesync into gear 2014-01-14 13:35:39 +00:00
Klaus Leithoff
c23a3f5524 remove references to old refreshTime preference 2014-01-14 08:35:22 +00:00
Klaus Leithoff
e5a5fc8636 try to implement the requirement for compose: select of accounts on top, available signatures to the SELECTED mailaccount ONLY below 2014-01-13 15:40:34 +00:00
Klaus Leithoff
eb97a233a1 stuff regarding egw_refresh and interdependecys with the mail app 2014-01-13 13:06:29 +00:00
Klaus Leithoff
d82075e86b work to get the sieve stuff back on the road. NOTE: uses oldImapServer Object, not cached, no validation regarding getInstance 2013-12-17 09:55:47 +00:00
Klaus Leithoff
db0879f4a6 controlling some requirements on a send attempt (recipient, subject, mailbody) 2013-12-09 09:57:03 +00:00
Klaus Leithoff
1dd472f567 attempt to fix getMailboxes / getMailboxesRecursive 2013-12-03 14:38:50 +00:00
Klaus Leithoff
c94e5e61c1 translation stuff 2013-11-27 14:36:15 +00:00
Klaus Leithoff
bd55137531 some work regarding translation of mail app 2013-11-27 13:07:54 +00:00
Klaus Leithoff
dfd2c3eaa4 some code cleanup, some styling in display, some attempts regarding translations 2013-11-26 15:30:08 +00:00
Klaus Leithoff
e322875350 signature and identity control on compose; get rid of unsupported stationery-stuff 2013-11-22 13:55:09 +00:00
Nathan Gray
fda214670c Add mailing lists to email tag list search results.
Added for To, CC & Bcc.
2013-11-21 22:29:57 +00:00
Klaus Leithoff
03327b4bb1 adapt moving/copy of mails from folder to folder; fix fetch all available accounts with servers; fix missing emailaddress in mail-account-foldertree (first level) needed htmlspecialchars 2013-11-21 13:22:34 +00:00
Klaus Leithoff
0e765f8566 implement/adapt appending message to mailbox 2013-11-21 11:10:31 +00:00
Klaus Leithoff
379cc5042d first attempt to be able to open a mail for reply 2013-11-20 15:05:25 +00:00
Klaus Leithoff
299936705f some steps to work with the new horde mail class 2013-10-24 07:15:48 +00:00
Klaus Leithoff
95350da447 refresh quotaDisplay on folder change, and timed; prevent subject and filename from being translated 2013-10-18 09:58:25 +00:00
Klaus Leithoff
00fb069dc2 fix import-mail from local file; convert attachment block in display to grid widget; 2013-10-16 11:25:46 +00:00
Klaus Leithoff
4354a02fbd display: control attachmentdiv and displayareadiv class by code, to hide attachmentarea, when no attachments are present 2013-10-11 09:28:33 +00:00
Klaus Leithoff
35a0132161 implement saveAsDraft 2013-10-10 16:11:26 +00:00
Klaus Leithoff
025d20f2d1 fix missing signature on top, on reply and forward 2013-10-10 14:56:30 +00:00
Klaus Leithoff
2fc466e145 basically make changing of identity and signature work, that they reflect in content, and change the possibly preinserted signature 2013-10-10 11:44:01 +00:00
Klaus Leithoff
03b901db04 work to get forward working; code cleanup; several other stuff 2013-10-08 14:23:46 +00:00
Klaus Leithoff
6950fb0cc9 fix id behavior for identities in compose, introduced long ago when trying to utilize taglist 2013-10-07 16:33:56 +00:00
Klaus Leithoff
cd5d52d811 styling on compose toolbar; add print button on compose window; some codecleanup; some control regarding the compose actions on vfs-file-selector, infolog and tracker creation 2013-10-07 15:02:35 +00:00
Klaus Leithoff
35167898cd try to detect changes on signatureID and Identity 2013-10-07 12:17:33 +00:00
Klaus Leithoff
94a8352575 show toolbar in preview area (non functional); add priority, disposition, save to infolog/tracker; some styling for toolbars in display and preview; disabling some actions in toolbar on display; remove testhtmlarea; 2013-10-05 14:15:29 +00:00
Klaus Leithoff
82dcae783a now you are able to send mails; not fully functional yet 2013-10-05 09:47:34 +00:00
Klaus Leithoff
7bf3db1a6f get some actions from mail-display working; fix mail-to-infolog; mail-to-tracker (missing convertHTMLToText) 2013-10-05 09:03:51 +00:00
Nathan Gray
3b3986e27d - Use mail_id in app.mail.compose() when there's no rows passed
- Some code consolidation in preparation for tracking open compose windows
2013-10-04 17:45:33 +00:00
Klaus Leithoff
ec8011e148 toggle editor mode 2013-10-04 11:02:12 +00:00
Klaus Leithoff
e630823872 fix flag message action; hide quotabox if not supported; add toggle Editor to compose (not fully implemented) 2013-10-04 09:33:44 +00:00
Klaus Leithoff
0cea524cd7 stuff, to be able to do a server roundtrip for saving as draft; using vfs-file widget for compose AND import now. some removal of obsolete code; initialize quota bar 2013-10-03 16:09:25 +00:00
Klaus Leithoff
98da72c757 fix saveToVFS on preview; fetch content for reply; prepare for click events like send and saveasdraft 2013-10-03 10:05:05 +00:00
Klaus Leithoff
3733ef6d4c fiddle some stuff regarding the new vfs-file select widget; fix lable1-5 capability; 2013-10-02 14:50:24 +00:00
Klaus Leithoff
9288d23117 handle attachment area for preview and display, give basic details on attachment(s) on hover with title tag 2013-10-01 11:29:54 +00:00
Klaus Leithoff
3bdc5577d8 fix sorting for mail app; try to get importMessage from VFS working -> ui form must get data from vfs openFile dialog and submitted when not in form context. still not working; ... 2013-09-23 08:33:30 +00:00
Klaus Leithoff
4b95b5b362 on submit of a form, move uploaded info to own datastructure (grid) to be able to preserve that over to formdata, in case we do stuff like saveAsDraft and other stuff, or to be able to manipulate the uploaded files information, or add files from vfs, ... 2013-09-11 13:46:00 +00:00
Klaus Leithoff
cf26bde93c add fileupload widget to compose, display uploaded file list area below signature select box 2013-09-10 13:39:44 +00:00
Klaus Leithoff
367811306f several stuff, AND basic attempt to handle upload files; first try with to importmessage and open. results in javascript error 2013-09-02 15:15:35 +00:00
Klaus Leithoff
102bc9d6a2 several stuff towards a compose window; a testhtmlarea template to test/figure out issues regarding disabled 2013-08-21 10:47:20 +00:00
Hadi Nategh
82faa1bd87 mail app-> sieve update 2013-08-09 17:47:53 +00:00
Nathan Gray
84b891f979 Use new taglist-email for emails with validation 2013-07-30 14:20:23 +00:00
Klaus Leithoff
b64572d9fc some styling for compose 2013-07-20 15:15:29 +00:00
Klaus Leithoff
9d072f9b0b do stuff to implement a store to folder input field 2013-07-20 13:10:17 +00:00
Klaus Leithoff
14db2bd42e do some search addresses action for the taglist 2013-07-20 09:27:37 +00:00
Klaus Leithoff
5b476d38e7 work in progress for compose 2013-07-20 07:23:55 +00:00