Commit Graph

848 Commits

Author SHA1 Message Date
Hadi Nategh
fb6d06e322 Mail folder management dialog:
- Fix folder refresh on both index and folderMgmt trees
2015-08-13 10:29:51 +00:00
Hadi Nategh
40e0a2b705 Mail tree phase2:
- Fix mail tree gets stalled after adding new account
2015-08-13 08:55:11 +00:00
Hadi Nategh
c7cc902e1a WIP mail folder management dialog:
- Use long task dialog
- Fix multiple selection and highlighting
- Update index tree after delete operation
2015-08-11 16:28:59 +00:00
Klaus Leithoff
11b2918d47 fix problem on mailsearch. ToDo: Respect range, when given 2015-08-11 08:46:19 +00:00
Hadi Nategh
85286a70da WIP of mail folder management dialog (multiple folders delete action) 2015-08-10 15:45:22 +00:00
Hadi Nategh
a9a246c727 Mail tree phase 2 WIP: Fix checkedSubscribed checkboxes 2015-08-10 14:54:38 +00:00
Hadi Nategh
1cf308411f Mail tree phase 2 W.I.P: Do not open initially other folders but INBOX 2015-08-07 07:47:28 +00:00
Hadi Nategh
1d264a8b64 Mail tree phase2 W.I.P.: Set the initial counters for opened folders 2015-08-05 10:22:29 +00:00
Hadi Nategh
bee933496d Mail tree phase2 W.I.P.:
Make sure node id is string because client-side tree expected to be. Fixes context menu not working after refresh tree
2015-08-05 08:37:22 +00:00
Hadi Nategh
372d82b063 Mail tree phase2 W.I.P.: Fix sieve rules and vacation context menus are not enabled on mail index tree 2015-08-05 07:43:09 +00:00
Hadi Nategh
6e440bd0ba Mail tree phase2 W.I.P.:
-Fix displaying wrong icon for user defined folders
-Fix sorting autofolders
2015-08-04 15:50:28 +00:00
Hadi Nategh
0bde40fac5 Mail tree phase2 W.I.P.:
-Fix translation not working for the first load
-Get all children of active accounts in one go
2015-08-04 08:21:23 +00:00
Hadi Nategh
8096304c6a Mail tree phase 2 W.I.P:
-Remove depricated getFolderTree method and replace it with getTree from mail_tree class
-Fix sorting folders in new folder arrays method
-Fix subscription refresh
2015-08-03 14:33:18 +00:00
Hadi Nategh
d044e75c9c Mail tree phase 2 W.I.P.:
Add functionality to autoload index tree 
Some optimization
2015-07-31 14:21:31 +00:00
Hadi Nategh
033ab7f65d Mail tree phase2 W.I.P.: missing commit from 53261 2015-07-29 14:31:59 +00:00
Hadi Nategh
af491c92b3 Mail tree phase2 W.I.P.: Fix lack of documentation 2015-07-29 13:34:56 +00:00
Hadi Nategh
5011e8153e Disable getFolderstatus in getTreeFolder method as it causes performance issue and some wierd error
- Note: after re-implementing mail tree, getFolderStatus needs to be re-implemented and being used again via new approach
2015-07-29 12:38:10 +00:00
Hadi Nategh
41127ab765 Fix call to not existed static function 2015-07-29 10:26:47 +00:00
Hadi Nategh
c36449cd6e Mail tree W.I.P.: some code cleanup 2015-07-28 13:50:12 +00:00
Hadi Nategh
0c7e104027 More work in progress of mail tree:
-Initiate first level of mailboxes in subscription dialog, and let autoloading do the rest of expensive operation
-Save last state of tree in subscription dialog
-Uses new approach for comparing subscribed and unsubscribed folders
2015-07-27 17:46:45 +00:00
Hadi Nategh
01391055dc W.I.P mail tree: fix wrong profileID 2015-07-23 13:45:57 +00:00
Hadi Nategh
47239b3d23 More W.I.P of mail tree 2015-07-23 13:26:43 +00:00
Hadi Nategh
95123cd89c W.I.P mail tree
-Fix wrong children items from the autoloading
2015-07-22 16:02:44 +00:00
Hadi Nategh
28057d583a W.I.P. mail tree
-Add Checked option to mail tree structure
2015-07-22 12:43:10 +00:00
Klaus Leithoff
d9723648fd adapt SendMail, and getSearchResultsMailbox 2015-07-21 15:23:18 +00:00
Hadi Nategh
27634fd18d Some more W.I.P. of mail tree 2015-07-21 13:24:25 +00:00
Hadi Nategh
51134e581e Mail tree re-structuring W.I.P. 2015-07-20 16:41:50 +00:00
Ralf Becker
696dd8d6a7 also strip personal part from vacation notice addresses, cleaning up code and IDE warnings 2015-07-20 13:00:48 +00:00
Klaus Leithoff
8f63d7e737 adapt GAL and Mailbox search to meet zpush2 expectations on result 2015-07-17 08:41:26 +00:00
Ralf Becker
9ef2cbd98a * Mail/Kalendar: remove iCal from alarms and correctly display canceled events in mail 2015-07-16 09:34:55 +00:00
Klaus Leithoff
3ada72ef2f upon save, reduce possible rfc-addresses to email-address only for forwards on rules and vacationnotices 2015-07-07 13:26:58 +00:00
Klaus Leithoff
69a36ad4e1 fix warning in mail_compose::ajax_searchAddress 2015-07-07 11:44:02 +00:00
Ralf Becker
a639f2a8fb fixed not show attachments by using mimesupport and not bodypreference, also removed wrong Change FOUND! message 2015-07-02 15:42:22 +00:00
Klaus Leithoff
f1c7fc9656 quiten debug log chitterchatter for SendMail and GetMessage; ignore ZPush Option SaveInSent, as it appears to be set to null always; Use EGroupware settings instead 2015-07-02 13:29:11 +00:00
Klaus Leithoff
299f66cce0 quiten debug log chitterchatter for SendMail and GetMessage; ignore ZPush Option SaveInSent, as it appears to be set to null always; Use EGroupware settings instead 2015-07-02 12:09:19 +00:00
Klaus Leithoff
cec90fe064 * Mail/ActiveSync: fix priority issue on retrieval of messages 2015-06-30 15:24:06 +00:00
Klaus Leithoff
ee02151c3a attempt to get Sendmail working in zpush implementation 2015-06-23 15:36:12 +00:00
Ralf Becker
666bdd82df * Mail: fix sieve rules for moving mails into folder containing non-ascii chars (Dovecot requires sieve rules in utf8, while Cyrus needs utf7-imap) 2015-06-22 18:49:20 +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
Klaus Leithoff
657e387526 changes to better handle attachments 2015-06-16 11:57:25 +00:00
Ralf Becker
78293e8939 fix wrong class name 2015-06-16 08:24:05 +00:00
Ralf Becker
583ce92b99 work in progress zpush2: to enable see comment in index.php 2015-06-16 06:37:16 +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
a7043964bb Fix translation and appIcon issue in mail integration 2015-06-03 13:24:51 +00:00
Hadi Nategh
8f7a05544e Add mail integration calendar action into preview toolbar 2015-06-03 08:44:44 +00:00
Nathan Gray
c365c386e9 Make sure get_rows is always set, fixes error when setting forced/default columns 2015-06-01 19:18:15 +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
Klaus Leithoff
50aaafe293 src:cid url its likely to be urlencoded. so decode, before using it 2015-05-19 09:26:08 +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
Klaus Leithoff
38bf42b5db use static function emailadmin_imapbase::merge instead of ->mail->merge 2015-05-15 14:07:36 +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
Klaus Leithoff
ebd36ab82e simplyfy attachment loops, as we do not have to distinguish between attachments and attached message/rfc anymore 2015-05-12 12:23:36 +00:00
Klaus Leithoff
b6235ba024 reenabling the observance of the preference setting for forward as attachments; add notice to body that forwarded messagebody is found in attachments; add folder info in getAttachment calls when available 2015-05-12 09:06:08 +00:00
Hadi Nategh
facd345880 Check if the mail integration hook is registered, if not, try to register it, otherwise throws an exception with useful information. 2015-05-08 14:36:47 +00:00
Klaus Leithoff
110954de73 improve html / plain handling on message reply and message forward 2015-05-08 14:03:19 +00:00
Klaus Leithoff
bfe0cb3490 more finetunig and debug, as of garbled content / contenttypes; try different emailaddress transform 2015-04-30 13:53:46 +00:00
Klaus Leithoff
e2ee8b9771 more finetunig and debug, as of garbled content / contenttypes 2015-04-30 13:37:20 +00:00
Klaus Leithoff
9ce25811e5 more finetunig and debug, as of garbled content / contenttypes 2015-04-30 13:19:54 +00:00
Klaus Leithoff
995da997c6 * Mail/Activesync: Handle problem when forward / reply on mails original message was not included 2015-04-30 12:20:07 +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
f94610e6df Fix a typo 2015-04-27 13:42:45 +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
Klaus Leithoff
a238407182 * Mail/Sieve: require a vacation notice text on vacationnotice edit and save. 2015-04-21 11:17:49 +00:00
Hadi Nategh
53363be626 Implement mail integration to an existing ticket 2015-04-20 14:31:21 +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
Hadi Nategh
23000b1ff7 Fix calendar item's group in mail context menu 2015-04-15 12:28:43 +00:00
Hadi Nategh
daafaab2eb Missing file from commit #52506 2015-04-15 12:26:05 +00:00
Hadi Nategh
b7c6be226d WIP of mail integration
-Centralize mail functionality of mail message integration in mail module
-Some clean up of mail_import in infolog and tracker apps
-Use hook registery in order of an app uses mail integration services
-Implement mail import into calendar
2015-04-15 11:23:59 +00:00
Hadi Nategh
7e7f22731a Mail/mimeDecode.php library is no longer used, it's already replaced with horde_mimedecode 2015-04-13 15:45:47 +00:00
Hadi Nategh
c58b950a71 Fix not working forwarding multiple addresses in sieve edit dialog 2015-04-08 16:28:48 +00:00
Klaus Leithoff
e3d4a685af use ENT_SUBSTITUTE on htmlspecialchars to harden display of message as source 2015-04-02 08:48:34 +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
Klaus Leithoff
9bfe86633c make sure we are talking to the correct server when importing messages 2015-03-27 14:51:41 +00:00
Klaus Leithoff
0dca52bc3f on importMessage, beware of serverID:: that is preceeding the folder of the importdestination 2015-03-27 12:59:03 +00:00
Hadi Nategh
caffcee09d Fix eml attached files not getting opened in popup 2015-03-26 10:15:36 +00:00
Ralf Becker
5887bc4313 * Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme 2015-03-25 17:48:24 +00:00
Hadi Nategh
89a9ea4bb1 Some more WIP of attachment mime handling 2015-03-24 11:40:06 +00:00
Ralf Becker
ffceb37973 WIP attachment handling via mime-registry 2015-03-24 09:43:38 +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
Klaus Leithoff
f7f5662e10 fix for function identity_name to use the same logic on missing identity values (like ident_realname and ident_email) as iterator on identities; if no ident_email is present use the users email-address, if still empty use acc_imap_username if it passes a simple test on qualifying as email address 2015-03-20 11:01:29 +00:00
Klaus Leithoff
1b184f4063 offer additional option for search to search whole message (TEXT); up til now only Message (BODY) was selectable 2015-03-19 14:47:43 +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
2bd096f6e2 handle problem with broken/already set TransferEncoding when replacing Body text/plain or text/html for supplementing the signature 2015-03-17 14:06:44 +00:00
Klaus Leithoff
109b10f5b1 * Mail: deal with folderstructure issues when working with shared folders (others or shared) on constructing the mail foldertree 2015-03-10 14:08:11 +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
Hadi Nategh
9ae9ae7274 Implement mobile template for mail index:
- Do not create Splitter for mobile template
- Fix extra_iframe for displaying sieve rules covers mail tree when it is display:none (eg.happens in idots)
- Improve mail app performance browsing with mobile device
2015-02-27 14:47:27 +00:00
Klaus Leithoff
3ef17e277f add missing translations for emptying spam/junk folder; fix setting folder status after voiding spam/junk folder content 2015-02-19 13:41:40 +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
acb4f11d24 * Mail: feature to allow to void the (configured) spam/junk folder on right-click action on foldertree 2015-02-19 12:01:18 +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
9a633cab48 fix PHP Fatal error: Cannot pass parameter 3 by reference 2015-02-16 08:30:50 +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
d15d01a8b4 fix problem(s) with display of attachments on forward when either forwarding inline with several attachments to the forwarded message or forwarding multiple messages as attachment 2015-02-12 15:19:24 +00:00
Ralf Becker
e94c57d6b1 * Mail: fixed exception when opening vacation notice or sieve-rules for an account with a changed standard identity or later created account
emailadmin_account::read_identity() needs ident_id NOT acc_id as 1. parameter
2015-02-09 09:18:05 +00:00
Klaus Leithoff
2e02b05d4e * Mail/Sieve: check capability if VACATION is supported by SIEVE Server before trying to set an serverside vacation absent notice
code clean up in hooks and conditional debug for sendMDN
2015-02-06 12:35:51 +00:00
Klaus Leithoff
062b62f730 mail add anf fix missing translations in mail-prefs 2015-02-03 12:29:02 +00:00
Ralf Becker
7c4bc31306 removing an other unnecessary egw_info[flags][js_link_registry]=true 2015-02-02 19:50:20 +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
Klaus Leithoff
47110d3735 fix for problem preventing async-vacation to be run properly 2015-01-20 14:28:46 +00:00
Hadi Nategh
94ea53a688 * Mail/Sieve: Fix sieve save into folder with wrong namespace 2015-01-19 12:12:18 +00:00
Klaus Leithoff
736eb6a329 bind some errorlog debug output to mail_bo:: variable 2015-01-15 11:03:07 +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
f384ac50a7 revert accidently ALWAYS looking up the mimeType with mime_magic 2015-01-09 14:11:57 +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
8b5bc60235 Consider only vaction by date, missing condition from commit #51139 2015-01-07 08:15:39 +00:00
Hadi Nategh
26c6a96894 Do not show out dated vacation in vacation notice 2015-01-06 16:41:55 +00:00
Ralf Becker
cbf4051ef3 checking sieve enabled on imap-server object not account, so imap plugins can overwrite eg. always set this 2014-12-18 10:04:41 +00:00
Hadi Nategh
66bbe734d8 Set vacation addresses with all aliases if there's nothing set for the first time 2014-12-16 15:24:47 +00:00
Hadi Nategh
f529a4fae6 Clear intervals assigned to window after submit compose dialog 2014-12-16 10:26:44 +00:00
Ralf Becker
6b2c47a98e remove checks for not longer used PEAR Mail_Mime and Mail_mimeDecode classes 2014-12-15 08:26:24 +00:00
Hadi Nategh
e07c11be85 Fix popup's window close
-Make sure window.close() closing the right egw window
-Make sure the modal popup has the opener
2014-12-12 14:21:04 +00:00
Ralf Becker
8548f08947 fixed wrong order of arguments to setVacationUser() 2014-12-09 08:41:03 +00:00
Ralf Becker
2feacbecb8 fixed sometimes not working download of all attachments via zip (name instead of filename set) and changed it to use streams 2014-12-08 18:24:08 +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
Klaus Leithoff
1a890a90f3 trying to clean up some code regarding our new send backend 2014-12-02 13:33:16 +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
dd89cf84f7 parseFileIntoMailObject and parseRawMessageIntoMailObject using new egw_mailer 2014-11-26 14:08:52 +00:00
Klaus Leithoff
6502901629 restore activesync stuff after introduction of horde-smtp-mailer 2014-11-26 13:05:10 +00:00