Commit Graph

558 Commits

Author SHA1 Message Date
Ralf Becker
9a2cfa0782 * 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()
r49066: sending mail was failing after r49065
2014-10-20 18:10:31 +00:00
Ralf Becker
585e313851 fix redirects in a popup and new egw_exception_redirect to be used in hooks/callbacks like for addressbook.edit to redirect to a different location
r49022: resize import popup to regular compose size
2014-10-17 12:51:02 +00:00
Klaus Leithoff
106886756a * Mail: fix copy/move of mails between accounts 2014-10-14 08:55:23 +00:00
Hadi Nategh
6d57bfc580 Unset action "moveto" from display toolbar actions 2014-10-10 15:05:25 +00:00
Ralf Becker
05f95783f6 remove not used attachmentsPresent value 2014-10-07 07:13:13 +00:00
Hadi Nategh
14583e5b4a Fix trash folder label get set by not translated trash folder name after trying to empty the trash 2014-10-06 15:15:55 +00:00
Klaus Leithoff
1c783df3b8 cope with not set DATE from retrieved headers 2014-10-02 08:45:36 +00:00
Ralf Becker
932c78bc6d remove calls to removed htmlspecialchars method 2014-09-30 12:37:07 +00:00
Hadi Nategh
b831d2c593 * Admin: New setting for admin users with available administrator password to be able to modify mail ACL rights and vacation notices (no longer in admin context menu but under edit account->forward... tab) of each accounts via both mail and admin app.
-Backported commits: r48728, r48729, r48734, r48743, r48671, r48765, r48766, r48775, r48776, r48777.
2014-09-29 09:26:29 +00:00
Ralf Becker
b9c985e045 * Mail: vaction notice indicator in mail showed result of other users
cache-key was identical for all uses due to a typo
2014-09-27 15:28:16 +00:00
Klaus Leithoff
338c625180 backport: to ease upgrade, as hook is removed 2014-09-26 08:24:57 +00:00
Ralf Becker
149090c08e explicitly fetching structure in get_load_email_data, to supply it to getMessageBody and getMessageAtacchemnts, so they dont get fetcheds twice from imap-server 2014-09-25 12:43:25 +00:00
Ralf Becker
2e16d826b6 remove html::purify call 2014-09-25 08:48:05 +00:00
Klaus Leithoff
712b9acd94 * Mail: resolve distributionlists upon saving as draft, infolog, tracker and storing sent message in designated send-folder 2014-09-23 08:24:24 +00:00
Hadi Nategh
ddc26c361c Avoid to refresh mail list if the active folder is not the Draft folder while saving compose mail as draft 2014-09-22 12:55:40 +00:00
Hadi Nategh
6cd5e61979 Restructure compose save as draft functionality and implement it as an ajax function 2014-09-22 12:53:27 +00:00
Klaus Leithoff
a2d2a9e527 disable non functional readall action on mail display popup actionmenu 2014-09-18 12:34:10 +00:00
Klaus Leithoff
dc965c15f9 ensure Message-Id is the same for outgoing mail AND message saved in send-folder 2014-09-11 14:10:51 +00:00
Klaus Leithoff
2172fc769d * Mail: support the propagation of Thread-Topic, Thread-Index and List-Id on reply too 2014-09-11 11:52:58 +00:00
Klaus Leithoff
757d0e9c38 fix for rare problem on toggle html2text resulting in empty content; preparation for REFERENCES and IN-REPLY-TO 2014-09-09 14:06:24 +00:00
Hadi Nategh
5939930c60 * Mail: Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 13:17:20 +00:00
Ralf Becker
24136c11d6 using standard emailadmin_account methods for account list and account-name 2014-09-08 15:53:58 +00:00
Klaus Leithoff
59b14512cd * Mail: fix for failed zip-download when users startfolder is not writeable
Reason: get_home_dir may fetch the users startfolder if set; if not writeable, action will fail
2014-08-26 12:42:00 +00:00
Hadi Nategh
1889f9f1aa Fix mail import message dialog 2014-08-22 13:40:25 +00:00
Hadi Nategh
6cc7ff661d Remove some white spaces and out commented line 2014-08-22 13:31:43 +00:00
Hadi Nategh
d53cbd70f6 reverted accidently commited permanent error_log 2014-08-22 13:26:31 +00:00
Hadi Nategh
874be20a6c Refresh Trash folder folder-status when empty Trash action is triggered not from the Trash folder 2014-08-22 13:24:54 +00:00
Hadi Nategh
9e749e516d Make mail ACL account owner row readonly as the owner should not be able to delete/change his rights, he always has full-rights 2014-08-22 13:18:47 +00:00
Ralf Becker
3fb93c33a6 fixing assumed typo regarding:preg_match(): No ending delimiter "^" found in class.mail_ui.inc.php on line 144 2014-08-22 10:19:32 +00:00
Hadi Nategh
ea026cf328 Backport commit r48148, committed by Ralf Becker. do not cache, if we dont find selectedFolder in query_context, as looking it up in tree causes mails to be cached for wrong folder 2014-08-21 15:42:34 +00:00
Ralf Becker
1711a3a918 do NOT connect to previous imap server, if user triggers a change of server 2014-08-21 07:59:04 +00:00
Nathan Gray
6a8e85c3e1 Add drag&drop for email and link lists 2014-08-18 18:00:00 +00:00
Ralf Becker
a0354ab8eb fixed PHP Fatal error " Call to undefined method emailadmin_imapbase::subscribe" since r48090 2014-08-18 10:34:36 +00:00
Ralf Becker
c1275309ab * Mail: fixed sometimes not working (un)subscribe of mailboxes, added better diagnostic and automatic (de)select children 2014-08-15 11:25:04 +00:00
Klaus Leithoff
0f498492b4 implement some >mark all messages in folder as read< action 2014-08-14 15:39:05 +00:00
Klaus Leithoff
d84b700517 * Mail: fix problem on not applied but possibly set status filter on all message actions for flagging 2014-08-14 13:51:57 +00:00
Hadi Nategh
fd976ea1dc Backport commit r48051, committed by Nathan Gray. Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-14 07:41:24 +00:00
Hadi Nategh
34c3e1bd9a Revert the change on ajax_refreshVacationNotice from commit 48039. Fix not keeping other vacations of an user in the cache 2014-08-14 07:39:16 +00:00
Hadi Nategh
6b44e369f2 Backport commit r48040, committed by Nathan Gray. Some more speed improvements for get_rows:
- Don't verify that special folders exist
2014-08-14 07:34:40 +00:00
Hadi Nategh
80ecc08133 Backport commit r48039, committed by Nathan Gray. Some more speed improvements for initial load:
- Avoid expensive connect in constructor for all AJAX calls (reconnect/cache used instead)
- Don't verify that special folders exist for folder tree
- Only fetch folder counts when fetchCounters flag is set, instead of always
- Avoid some et2 warnings about not existing attributes (no speed improvement, but less annoying)
2014-08-14 07:32:51 +00:00
Ralf Becker
58bd3b9e60 * Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail) 2014-08-13 11:47:58 +00:00
Hadi Nategh
ed5d06544b Backport commit r48032 committed by Ralf Becker. Fix for invalid operand, if vacation cache is not yet initialised 2014-08-11 14:27:29 +00:00
Hadi Nategh
b8704c4ef9 Avoid to call mail constructor (openConnection is an expensive operation) when client-side ask for vacationNotice.
-Check if there's no vacation cached then create mail object (try openConnection) and ask for vacation
-Add account_lid to cached vacations to distinguished them in case if the mail account was a shared profile
2014-08-11 14:23:55 +00:00
Hadi Nategh
5941ff6a26 Refresh the nm and lock the tree if current active folder is the Trash Folder, when calling "Empty Trash" action, otherwise no need to refresh or lock the tree 2014-08-11 14:02:26 +00:00
Hadi Nategh
e40065917b Backport commit r48008, committed by Nathan Gray.
Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough.
2014-08-11 13:53:06 +00:00
Hadi Nategh
c9069a7386 Add msg_type to callWizard to be able to set message type when we call emailadminWizard 2014-08-08 16:23:02 +00:00
Hadi Nategh
e6983f0eba Add email addresses of "all my aliases" in mail vacation, not account imap_username 2014-08-06 16:19:50 +00:00
Hadi Nategh
9d8b45588b Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard 2014-08-06 12:48:20 +00:00
Klaus Leithoff
ea1ae4f006 using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin 2014-08-05 12:36:06 +00:00
Klaus Leithoff
301e71f432 introduce some stuff to increase inital speed of mail-list by asyncronously calling gatherVacation and getQuotaRoot; increase cache-time on folderExists cache, trust a folder to be existant (or at least fot force the check with IMAP-Server) in get_rows 2014-08-05 09:14:04 +00:00