Commit Graph

771 Commits

Author SHA1 Message Date
Hadi Nategh
4830bcf784 Try to cache vacation for each account to avoid to connect to IMAP server if vacation rules are not changed 2014-08-06 10:56:01 +00:00
Klaus Leithoff
98cd4bbe28 using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin 2014-08-05 11:59:06 +00:00
Hadi Nategh
19ff0d23cc Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard 2014-08-05 09:26:28 +00:00
Klaus Leithoff
1bb1d18997 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 08:51:26 +00:00
Hadi Nategh
22d6d80aae Add browser popup blocker checker for open_link method.
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-04 14:02:05 +00:00
Klaus Leithoff
7967387e3a unlock tree immediately after fetching the rows 2014-08-04 12:59:13 +00:00
Hadi Nategh
9694a4c9f8 Add email addresses of "all my aliases" in mail vacation, not account imap_username 2014-08-01 14:46:36 +00:00
Klaus Leithoff
3358da94e5 alter condion on not calling openConnection; as the refresh of quota was not working after changing a profile after rev47954 and not relyable after rev47956 2014-07-31 10:47:55 +00:00
Klaus Leithoff
14711b891f fix call for mail.mail_ui.ajax_refreshQuotaDisplay; as the refresh of quota was not working after changing a profile after rev47954 2014-07-31 10:42:56 +00:00
Hadi Nategh
8ccef246b4 Do not openConnection an extra time to imap server on constructor for changeProfile, refreshQuotaDisplay 2014-07-31 10:18:41 +00:00
Klaus Leithoff
c1c90c2621 cache subscribedFolders Call to be used in getfolderStatus; control param if to fetch subscribed Info on getFolderStatus at all; own getMailboxCounters wrapper, instead of getFolderStatus, if one needs the counters only 2014-07-31 10:10:07 +00:00
Klaus Leithoff
af749e891e * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:13:34 +00:00
Nathan Gray
73c1f064b9 Don't send mail rows when opening mail app, but use client side cache instead.
Gives large speed improvements when changing to previously opened folders.
2014-07-28 21:21:23 +00:00
Klaus Leithoff
c013b68772 add missing flags parameter on reopening exported messages 2014-07-24 12:00:17 +00:00
Ralf Becker
19651fcb9b remove wrong settings definition, causing an illegal string offset in preferences 2014-07-24 09:53:04 +00:00
Hadi Nategh
0e5747deb0 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-07-23 11:59:46 +00:00
Ralf Becker
c07599aa27 fixed async job was not removed, if facations was deactivated and only try to reschedule with increasing intervals for 2 days 2014-07-22 12:52:10 +00:00
Klaus Leithoff
cd702481af allow to call getAllIdentities for other users; used for Admin Calling eSync Prefs on Mail for other users 2014-07-22 10:07:30 +00:00
Hadi Nategh
ea6eb12cd4 Fix mail ACL popup dialog does not make delete button readonly for account owner 2014-07-22 08:05:42 +00:00
Hadi Nategh
3055fe6875 Try to catch PEAR_Exception over mail_ui and callWizard if there is an exception 2014-07-18 17:18:29 +00:00
Klaus Leithoff
4e0480054b avoid php-warning regarding missing 4th argument on mail_ui::createAttachmentBlock() 2014-07-17 14:56:37 +00:00
Klaus Leithoff
24606be582 handle all text string for move and delete action success message 2014-07-17 09:59:14 +00:00
Hadi Nategh
07a036b5f4 Fix IDE warnings in mail_ui 2014-07-16 16:34:15 +00:00
Hadi Nategh
2b07a387c6 Remove Mail_ui class out commented statements, in order to make the code easier to read 2014-07-16 13:42:36 +00:00
Hadi Nategh
ae062b12c5 Mail_ui::__construct() free of out commented statements 2014-07-16 12:15:11 +00:00
Hadi Nategh
1d0db1e05b Fix mail import message dialog 2014-07-16 11:37:02 +00:00
Nathan Gray
2b1d6e2244 Add drag action for display popup attachments 2014-07-14 20:50:08 +00:00
Klaus Leithoff
a0d6257d1e handle message/rfc822 attachments as display when opened from drafted message; properly restore message/rfc822 attachments stored with .eml files 2014-07-11 13:49:27 +00:00
Klaus Leithoff
096f753a59 different approach on calling bulk-download (all attachments in one archive) 2014-07-08 12:01:29 +00:00
Ralf Becker
579e0da787 new method to check if mail account is an imap account: Checks if an imap host, username and NOT deliveryMode="forwardOnly" is set 2014-07-08 11:09:31 +00:00
Klaus Leithoff
05b2773391 fix warning invalid-argument-supplied in notification_check_mailbox 2014-07-08 10:36:04 +00:00
Klaus Leithoff
5b1ed6a756 fix for failed bulk-download of attachments; bo functions for retrieving mail attachments (and header info for subject) NEED the folder information 2014-07-08 10:20:19 +00:00
Klaus Leithoff
07d1ba39a6 handle problems with select-all on flag, move and delete 2014-07-08 08:50:43 +00:00
Nathan Gray
99e28b96b3 Add save all attachments as zip to mail display popup 2014-07-03 17:17:54 +00:00
Nathan Gray
ed6d15098a Add save all attachments as zip to mail preview 2014-07-03 16:57:14 +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
Hadi Nategh
d67745ce4e Fix mail profile change failure pops up XML error. Instead, make sure if there is an exception then pops up the emailadminWizard or shows up a message via tree node 2014-06-30 15:48:49 +00:00
Hadi Nategh
d23723244d Disable "Set this as default" option for vacation notice if the user is not an admin user 2014-06-30 12:03:09 +00:00
Hadi Nategh
c5ac80225b Add default vacation notice message to vacation notice text if there is no custom message 2014-06-27 14:49:24 +00:00
Ralf Becker
2244d6fc63 remove not implemented "prevent managing forwards", if we want to implement it we will do so on per account basis 2014-06-26 10:14:12 +00:00
Ralf Becker
87d961b8e8 allways give admins or emailadmins all rights, even if they are in a denied group 2014-06-26 09:53:21 +00:00
Klaus Leithoff
3c7a04f903 try to cope with not set content-transfer-encoding 2014-06-24 12:36:16 +00:00
Hadi Nategh
0217c2ebaa Set an empty sidebox if there is json response, and for regular request like idots template render the framework to get header and navbar shown 2014-06-23 11:38:42 +00:00
Klaus Leithoff
0ab34ccfe5 basic implementation on Strg+A for copy/move mails; not working as of now, as this.mail_checkAllSelected(_action,true) seems not to produce the desiredv result on dragndrop 2014-06-20 13:37:20 +00:00
Klaus Leithoff
d071e645cd implement Strg+A on Message deletion per folder 2014-06-20 12:05:03 +00:00
Hadi Nategh
2babf41119 Use popup method to call emailadminWizard when there is no JSON request 2014-06-20 09:28:45 +00:00
Hadi Nategh
c0d85eb33e Make sure to not popup the emailadminWizard if getfoldertree is called via tree interaction 2014-06-18 11:23:54 +00:00
Hadi Nategh
94950729ab Popup the emailadminWizard if there is authentication failure 2014-06-18 09:56:11 +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
48d3f93fa3 always test if there are attachments listed with the header information, as we gather that info anyhow in getHeaders 2014-06-03 07:51:39 +00:00
Klaus Leithoff
324a599ae2 remove egw_refresh and egw_message calls and replace them with (this.)egw.message and (this.)egw.refresh 2014-05-27 13:31:37 +00:00
Klaus Leithoff
30ae5f1b81 * Mail: detect and handle actions on ALL-messages for setting and removing flags and lables for the mailbox we operate on 2014-05-27 12:05:23 +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
Ralf Becker
f5c186c384 use observer in mail to overwrite refresh for Sieve rules in iframe (like app_refresh) 2014-05-23 09:21:59 +00:00
Hadi Nategh
0209a59252 Remove not used variable 2014-05-23 08:01:56 +00:00
Hadi Nategh
7aa00f7217 Avoid a server round trip for delete a sieve rule via edit dialog 2014-05-23 08:00:41 +00:00
Klaus Leithoff
4ba4ba0545 replace serialize calls with json_encode; 2014-05-23 07:39:52 +00:00
Hadi Nategh
78a461b120 * Mail/Sieve: Show mail sieve rules list in mail index with sidebox mailTree available 2014-05-22 14:46:50 +00:00
Hadi Nategh
6ed0d09212 Fix more warnings (e.g., remove unsed varaibles, and fix miss documentation) 2014-05-22 07:47:49 +00:00
Klaus Leithoff
fa3029a59e fix empty needle warning on compose change profile/signature 2014-05-22 07:45:21 +00:00
Ralf Becker
7a305bdf95 enable/disable Sieve and ACL actions on tree account-specific, also added a couple more icons to tree icons 2014-05-22 07:36:02 +00:00
Ralf Becker
38419b2abe fixed typo causing vacation stored on an other account 2014-05-21 18:16:39 +00:00
Hadi Nategh
f820209a6a Set account object based on acc_id. Additionally, disable acc_id selectbox if not is_admin_vac 2014-05-21 17:44:10 +00:00
Ralf Becker
b0800a1697 make optional $_scriptName last parameter and other cleanups 2014-05-21 15:26:12 +00:00
Hadi Nategh
6b0b8b35fb Fix error of "$this->debug" in async_vacation, and warning regarding retriveRules 2014-05-21 12:23:09 +00:00
Ralf Becker
f98642df20 fixed not existing Sieve script gives now an exception 2014-05-21 11:24:34 +00:00
Ralf Becker
6c1ac892fb moving async job stuff to mail app and storing mail and user account in async job 2014-05-21 08:08:02 +00:00
Hadi Nategh
8bbba434c2 Remove scriptName which is no longer neccessary to be set, as we set it in emailadmin_seive anyway 2014-05-20 17:22:52 +00:00
Ralf Becker
467c715ddc need to use initialised smtp object from mail account 2014-05-20 17:15:37 +00:00
Ralf Becker
c707a25b5a need to check timed Sieve available on icServer object not mail account, to allow plugins to overwrite it 2014-05-20 16:48:44 +00:00
Ralf Becker
f27fbd3fc8 changed emailadmin_imap to switch emailadmin_sieve to exceptions and handle these for vacation now 2014-05-20 15:39:20 +00:00
Klaus Leithoff
86eb361233 handle folder-tree refresh on subscribe/unsubscribe ; with focus on shared folders 2014-05-20 14:28:23 +00:00
Klaus Leithoff
c34ddd14c4 fix problem on folder Substribtion tree - all folders are marked as subscribed, wether they are ore not 2014-05-20 13:39:04 +00:00
Hadi Nategh
d88722a39a Fix error when not successfully read the vacation. In addition, rename mailPreference to mailConfig as we dont have mailPreference 2014-05-20 13:06:33 +00:00
Klaus Leithoff
30d2445714 silence debug messages 2014-05-20 11:47:18 +00:00
Ralf Becker
f4f6fba2c4 need to add mail translation to get translated action 2014-05-20 10:17:57 +00:00
Ralf Becker
cfba607048 check vacation notice available on icServer object, so plugins can overwrite and allways enable edit_user hook for managamentserver_imap 2014-05-20 10:14:27 +00:00
Klaus Leithoff
49e3fa5dbd * Mail: store last move or copy targets for action menu options to be used to move mails to previously used targets on rightclick 2014-05-20 10:02:21 +00:00
Hadi Nategh
cb0901e3b8 * Mail/Vacation: Make vacation be able to be set from both Admin and Mail 2014-05-20 08:48:50 +00:00
Ralf Becker
726b6f17dc only allow vacation notice on a single account 2014-05-19 17:20:35 +00:00
Ralf Becker
64ac219b50 * Admin/Mail: allow admins to set vacation notice for a user 2014-05-19 16:13:37 +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
16b94ae4b8 fix issue with getMailBoxUserName; insufficient assumptions on creating an imap-username from given username or id and logintype 2014-05-15 14:33:27 +00:00
Hadi Nategh
9dbe1ff186 Get correct "aliases" addresses in sieve vacation 2014-05-14 16:23:11 +00:00
Hadi Nategh
e1a5ac7ffa Fix warning "Missing argument 1 for mail_sieve::get_rows() in sieve" 2014-05-14 12:04:02 +00:00
Hadi Nategh
e743b3969e Remove not used method "email_address_converter" in sieve, and cleanup couple of more warnings 2014-05-14 08:32:11 +00:00
Hadi Nategh
1c31dad881 Switch sieve from oldimap class to new imap 2014-05-13 17:09:05 +00:00
Klaus Leithoff
c0c0daa41c code-cleanup: only use one mailPreferences class var; not 3 2014-05-13 13:10:53 +00:00
Hadi Nategh
1aef94735c Check validation for addresses in "Respond" field, and make "text and Respond" fields required 2014-05-13 08:51:03 +00:00
Hadi Nategh
24d3ae08c7 Clean up mail sieve from warnings 2014-05-13 07:54:42 +00:00
Ralf Becker
3d5a2ffc3b handle connection errors by opening wizard and show a fake folder with error message (to not get error from tree and unlock tree again) 2014-05-12 07:35:23 +00:00
Klaus Leithoff
d808e0a6c5 * Mail: harden mailapp to better cope with broken accounts 2014-05-09 12:43:57 +00:00
Klaus Leithoff
ee46a063a0 * Mail: fix a namespace issue (for additional defineable namespaces under dovecot) reported by E.Popp 2014-05-08 08:50:48 +00:00
Hadi Nategh
3bf554b986 Let vacation popup window stays open if there is an error while saving 2014-05-02 14:39:49 +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
79558cf82d silence error_log, for running too often 2014-04-29 13:21:19 +00:00
Klaus Leithoff
080a4ac653 * Mail: limit async notification on new mail to once every 3 minutes; control if a imapHost is set on choosen profile 2014-04-29 13:04:17 +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
769d56e390 remove obsolet mail_bo::getInstance for settings in mail 2014-04-25 13:01:33 +00:00
Hadi Nategh
83b76884a9 Change default value for days filed in vacation popup to 3 2014-04-25 12:33:00 +00:00
Hadi Nategh
fe5aec505b Set default value for days field in vacation popup window 2014-04-25 10:36:59 +00:00
Klaus Leithoff
b69e147247 * Mail: skip accounts with no imap server set for notification and foldertree 2014-04-25 09:42:18 +00:00
Klaus Leithoff
caeb39417c * Mail: implement notification for incomming mails in folders if configured/set in mailaccountprofile 2014-04-24 13:53:10 +00:00
Klaus Leithoff
d471d547ee refresh foldertree on subscribe/unsubscribe 2014-04-24 09:23:06 +00:00
Klaus Leithoff
b61c69f3dc * Email: remove option to reset cached objects; reset Cached Objects on account-edit 2014-04-23 09:18:50 +00:00
Klaus Leithoff
0771c4ff08 fix double call on icServer->getACL 2014-04-22 14:15:58 +00:00
Ralf Becker
f65c3f73dd fixed error during new installs: emailadmin_account::search(TRUE) is NO valid account_id 2014-04-15 17:53:14 +00:00
Hadi Nategh
d1e3d3b0c0 Make delete buttons readonly for account owner and entry field. Additionally, clean up some warnings in the code 2014-04-15 16:09:19 +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
Hadi Nategh
6016325aa1 Fix not being able to set ACL rights for folders that have space on their names 2014-04-15 09:05:03 +00:00
Klaus Leithoff
264868adaf fix typo: adapt class-var mail 2014-04-14 07:12:24 +00:00
Klaus Leithoff
40136cff9b * eMail: some Servers have very limited SEARCH capability; (no OR allowed/supported) try to detect and act accordingly 2014-04-11 13:52:58 +00:00
Klaus Leithoff
d3ef9ea496 attempt to cleanup regarding old emailadmin/felamimail 2014-04-08 15:19:06 +00:00
Klaus Leithoff
1411cc73fb attempt to cleanup regarding old emailadmin/felamimail 2014-04-08 14:55:43 +00:00
Klaus Leithoff
e6a315db97 remove obsolet sieve entries from sidebox (moved to tree context menu) 2014-04-08 08:36:27 +00:00
Ralf Becker
155316ae16 support for EGroupware administrated IMAP servers (eg. setting quota for Cyrus, and displaying used quota) 2014-04-07 17:06:53 +00:00
Klaus Leithoff
6f2e068706 restructure preferences; throw out presumably unused stuff 2014-04-07 13:46:04 +00:00
Klaus Leithoff
f53dcbe4af remove preference notavailableautofolders and replace it with autocreation of the folder in question when accessed 2014-04-07 13:06:09 +00:00
Klaus Leithoff
acd782c287 basic check for sieve capability allows for empty acc_sieve_host -> fallback to acc_imap_host 2014-04-07 12:52:50 +00:00
Klaus Leithoff
4387985b3c proper Id tag for class header 2014-04-03 12:31:52 +00:00
Klaus Leithoff
a4efec4997 handle vacation notice on mail-index page; check and refresh on changeFolder; refresh on editVacation 2014-04-03 12:20:23 +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
e72f015d81 fix the serverside bug for bug handeled on r46405 2014-03-27 09:25:11 +00:00
Klaus Leithoff
e36a7b17e3 support Disposition-Notification-To, Return-Receipt-To and X-Confirm-Reading-To on preview 2014-03-25 16:20:28 +00:00
Ralf Becker
20193e6418 more changes etemplate_old --> etemplate, maybe better not started that ;-) 2014-03-23 09:34:18 +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
Ralf Becker
e60bc19f6f fixed PHP Fatal error no method emailadmin_imapbase::accountHooks stalling account saving 2014-03-18 09:04:29 +00:00
Klaus Leithoff
562b26410c fix problem with deleting attachments on compose, when forwarding messages 2014-03-17 12:54:01 +00:00
Hadi Nategh
b429fe8ef6 * Sieve/Felamimail|Mail:Make exclamation mark (\!) in the begining of sieve rule query escapable from always bien used as NOT conditon 2014-03-13 13:16:09 +00:00
Klaus Leithoff
08424b0307 way to rebuild/construct the basic imap class without using the session based information but preserving tghe cached data 2014-03-12 13:52:28 +00:00
Klaus Leithoff
05f8a151b8 * ESync: fix a problem with a non working global profile, when verifying settings 2014-03-11 13:31:13 +00:00
Klaus Leithoff
d241f9e019 fix error reported by tarantir; thx 2014-03-11 08:32:49 +00:00
Klaus Leithoff
7c8635a2a8 suppress refresh of whole messagelist when moving mails from one foölder to another; let et2 / nm / egw_refresh handle it 2014-03-10 14:36:03 +00:00
Klaus Leithoff
1a07aefd4a control target options regarding the move of messages via dragndrop (prefaskformove) 2014-03-10 13:01:02 +00:00
Klaus Leithoff
22112d9a0e remove preference prefaskformultipleforward and its use in app.js; remove unused functions in app.js 2014-03-10 11:13:51 +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
5a49a57c5f suppress #divAppboxHeader #divGenTime_mail; disable actions displayastext and displayashtml on preview action menu (not supported yet) 2014-03-07 14:26:16 +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
98444a7f04 derive an emailadmin_imapbase class from mail_bo; use it in mail app 2014-03-04 12:07:36 +00:00
Ralf Becker
2160ccc029 moved (lost) base font size and other css styles to new preview.css 2014-03-04 10:48:35 +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
39860b57f7 fixed mail preview was not sending CSP headers and clicking on mailto-urls redirected to home 2014-03-03 14:56:12 +00:00
Klaus Leithoff
d044c02ae8 fix use of mail->add registry use for mailto links in mailbody 2014-03-03 14:50:43 +00:00
Klaus Leithoff
11d6da9b5a remove most pear::isError checks; readability of __METHOD__.__LINE__; skip setting not used mailBoxDelimiter class variable; 2014-03-03 13:42:15 +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
Ralf Becker
1e936ed0d7 method to check if imap server (class) supports group ACL and switching groups on or off in ACL dialog 2014-02-28 17:00:53 +00:00
Hadi Nategh
ecc37850f0 Fix not selecting right ACL common options when the with different sorted rights. Now common rights abbrivation are sorted alphabetically 2014-02-28 15:39:46 +00:00
Klaus Leithoff
796e48cd3d work to improve performance on getFolderObjects; partly based on emailadmin_imap changes 2014-02-28 15:08:18 +00:00
Hadi Nategh
aa4c108fcf Set the ACL new entry row with common ACL of lrs 2014-02-28 13:08:50 +00:00
Ralf Becker
f8a25df5c1 using taglist-account for acl popup, thought we need to fix taglist-account to automatic convert nummerical account_id to user-readable names 2014-02-28 12:44:27 +00:00
Klaus Leithoff
49230b834a switch back to return cached result (was disabled for testing) 2014-02-28 08:32:44 +00:00
Klaus Leithoff
0dbb43720d on subscribed only: break as we did before (was commented for testing/debugging) 2014-02-28 08:29:33 +00:00
Klaus Leithoff
f83ba23b16 switch off timedebugging; when fetching all folders (not only subscribed) fetch all folders in one go (for performance reasons) and not level by level (level by level was introduced years ago to be able to cope with possible recursions in folderstructure; we hope that horde takes care of that on its own; if not, we may have to switch back); 2014-02-28 08:08:59 +00:00
Nathan Gray
b1040d48ae Remove accidentally set readonlys 2014-02-27 21:34:30 +00:00
Ralf Becker
5fab71efab sending toolbar actions from index and get_rows (were on every rows/mail before), ToDo: only send them in get_rows if labels change 2014-02-27 17:47:06 +00:00
Klaus Leithoff
b8801d64e5 more debug for times; getFolderObjects and getFolderTree 2014-02-27 16:47:23 +00:00
Klaus Leithoff
5c460201f0 skip querying imap-server for SPECIAL-USE Folders on openConnection as we assume our wizard already detected the folders correctly 2014-02-27 16:07:14 +00:00
Klaus Leithoff
2a55cfd281 more debug for times; try to minimize old openConnection calls 2014-02-27 15:32:14 +00:00
Klaus Leithoff
910e696c38 use some more logRunTimes 2014-02-27 12:29:06 +00:00
Klaus Leithoff
1b7c3130b1 introduce static debugTimes and logRunTimes to track timeconsumption of calls 2014-02-27 12:16:23 +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
8989ac5d01 fixed empty line in popup with drop actions and added icon for cancel 2014-02-25 15:04:09 +00:00
Hadi Nategh
fdd747fe35 Unset drag_mail actions from display and preview toolbar, and set view_rang for display toolbar to 6 actions 2014-02-25 13:50:58 +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
Ralf Becker
bcc1393c49 new view/source icon 2014-02-21 08:56:12 +00:00
Hadi Nategh
017737e7eb Add more actions in mail display as default toolbar actions 2014-02-20 18:08:48 +00:00
Klaus Leithoff
6a9aaf9a53 work to fetch X-Priority for messagelist 2014-02-20 10:25:57 +00:00
Ralf Becker
5d098b9028 translating source with "Quelltext" in German and using view icon for it 2014-02-20 08:21:41 +00:00
Ralf Becker
f510e9d333 using two new icons for open as text/html and not mime icons 2014-02-19 08:01:37 +00:00
Klaus Leithoff
f04d607e2b harden copyMessages against failure by copying to/from existing but not listed (listMailboxes) folders 2014-02-18 15:22:25 +00:00
Hadi Nategh
0a10203058 Add error message to subscription folder 2014-02-17 16:36:16 +00:00
Hadi Nategh
1d0dc9fd59 Add subscription/unsubscription backend functionality to subscription folder popup 2014-02-17 16:11:28 +00:00
Klaus Leithoff
092af04bc4 catch error on failed copy/move messages and report to user via egw_message 2014-02-17 10:19:31 +00:00
Hadi Nategh
c3ce366abe Fix action enable/disable in mail seive context menu 2014-02-14 16:56:48 +00:00
Hadi Nategh
bbe57f9648 Add egw_refresh to mail sieve. In addition, tide up the code and add documentation 2014-02-14 15:39:18 +00:00
Klaus Leithoff
20632a0422 fix problem saving to vfs (mail/attachment) -> window.close; now using egw_framework::window_close 2014-02-14 14:09:56 +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
d6a706d9b8 try to catch exeptions on ->no mail-accounts available at all<-; measure time consumption on folder-tree creation for subscription dialog 2014-02-14 12:31:34 +00:00
Klaus Leithoff
4bbda170bd try to catch exeptions on ->no mail-accounts available at all<- 2014-02-14 12:20:25 +00:00
Klaus Leithoff
420234cb46 change handling for numeric nodeid on getfolderTree when full tree is requested; use it in subscribe 2014-02-14 08:30:03 +00:00
Nathan Gray
efbdc7f532 Try to fix some errors in ajax actions
- Disable / enable did not work
- Refresh grid via ajax did not work
2014-02-13 19:00:11 +00:00
Klaus Leithoff
f618acc6b5 introduce capability to call getFolderTree with profileID only AND get a full tree 2014-02-13 16:29:37 +00:00
Klaus Leithoff
62a559e498 fix retrieval of attachments for display of attachment-list in display-popup plus indicator for attachments in message list (including preview) 2014-02-13 12:59:43 +00:00
Hadi Nategh
241db52e18 Add some more actions to mail display toolbar 2014-02-13 11:30:05 +00:00
Klaus Leithoff
6d23dfbd31 take care that calendar lang is loaded before opening calendar_uiforms.meeting 2014-02-12 12:05:22 +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
32971ef3cc Open sieve in div, not iframe 2014-02-11 21:26:31 +00:00
Klaus Leithoff
95eb49aa85 use new getNode function on tree widget to get node and its attributes 2014-02-11 16:01:31 +00:00
Klaus Leithoff
bcd78cdfa0 need to lang() tooltip 2014-02-11 15:28:14 +00:00
Klaus Leithoff
7809cdcdcc preparation for tree-menu action control on noSelect folders 2014-02-11 15:20:44 +00:00
Klaus Leithoff
187acc5295 mend broken display of event.ics 2014-02-10 16:37:21 +00:00
Hadi Nategh
c8ecdd2355 Change "Flag/Unflag" action caption and add hint 2014-02-10 16:15:18 +00:00
Hadi Nategh
8b064bcfb4 Set "toolbarDefault => true" attribute for some actions in mail, to be shown as default toolbar actions 2014-02-10 15:47:27 +00:00
Hadi Nategh
dab53cc607 No need to create the flag action since we have already did in get_action() 2014-02-10 14:03:19 +00:00
Klaus Leithoff
4e3e03e446 fix problem regarding display / visualization of .ics attachments 2014-02-10 13:24:08 +00:00
Klaus Leithoff
db262997fb fix problem regarding display / visualization of .ics attachments 2014-02-10 13:23:32 +00:00
Hadi Nategh
fd82fd2edc Change captions of some toolbar actions in mail 2014-02-10 13:06:49 +00:00
Klaus Leithoff
0e1d9ce607 avoid problems with not set identity infos on global/group profiles by using the account information first for the main identity connected to the account, and ignoring the regarding info (not properly seeded) on iterating over identities 2014-02-10 08:20:23 +00:00
Hadi Nategh
43460891b0 Add subscription folder dialog back-end, only show folder tree 2014-02-07 16:29:20 +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
a335a2e3fd more work regarding show all folders/subscribe/unsubscribe; controled by pref now 2014-02-07 08:33:23 +00:00
Hadi Nategh
a4e1324a04 Add subscription popup to mail, and fix the context menu. The popup up backend is not completed, though 2014-02-06 17:18:12 +00:00
Klaus Leithoff
0389960e32 switch notification on inbox off (which was the default fallback, when nothing is configured) 2014-02-06 10:31:21 +00:00
Klaus Leithoff
903245f550 first shot at show all folders menu action on tree 2014-02-06 09:09:57 +00:00
Ralf Becker
4c45f65801 mail config to deny access to certain features 2014-02-05 20:20:02 +00:00
Hadi Nategh
37c6013619 Set view_range for toolbar in mail display popup, and set the actions from the client-side 2014-02-05 16:17:37 +00:00
Klaus Leithoff
ae96c5333c resolve/work around problem of displaying account info in javasript triggered messages (brackets for emailaddresses) that use the nodes text 2014-02-05 13:02:51 +00:00
Ralf Becker
92701be185 setting foldernames now as text and (optional) style 2014-02-05 12:23:04 +00:00
Klaus Leithoff
c36ee4c041 resolve/work around problem of displaying account info in tree (brackets for emailaddresses) and further use/display in app.js 2014-02-05 09:49:24 +00:00
Klaus Leithoff
0c35d75565 fix warning in getMessageRawBody 2014-02-05 09:24:46 +00:00
Klaus Leithoff
d8a28da9d3 use different approach on mailboxExists; try to open, on failure return false, else true; as the listMailbox command does not return shared folders on first level for dovecot (dovecot bug) 2014-02-05 09:14:05 +00:00
Klaus Leithoff
3539f98176 add missing second param for imap_rfc822_parse_adrlist 2014-02-04 15:53:48 +00:00
Klaus Leithoff
247a7f824a try to handle not found image by cid 2014-02-04 13:37:26 +00:00
Klaus Leithoff
c9da3b7dfd allow browser to cache content on display of messages 2014-02-04 12:31:11 +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
ec013651a3 fix fetching/opening subsequent message/rfc822 attachments on display 2014-02-03 09:28:31 +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
6c8c58f5c6 introduce a static Method to be able to create RowIDs from anywhere 2014-01-31 09:47:17 +00:00
Klaus Leithoff
6dbfc80de2 get rid of wrong offset warning 2014-01-30 15:35:20 +00:00
Klaus Leithoff
9f43ef9b42 fix problem with reply all, own email address not taken out of recipients, when master-profile 2014-01-30 14:53:27 +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
c3435b0359 fix for not indicated attachments if disposition is inline but no cid given or not is image (, as we display only images inline) 2014-01-27 15:04:18 +00:00
Klaus Leithoff
22d6fc05ee flag messages from preview; load translations for ajaxcalls, when needed 2014-01-27 12:18:16 +00:00
Klaus Leithoff
1b295f5c63 prevent redirect on display (when messagelocation is draft or template) when called from importMessageFromVFS2DraftAndDisplay 2014-01-24 11:48:24 +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
3f035eaf42 keyword search definition on keyword1/label1 is now important instead of urgent; 2014-01-23 15:19:25 +00:00
Klaus Leithoff
fa2993bff3 keyword filtering must be done as flag search for 2014-01-23 14:46:57 +00:00
Klaus Leithoff
bc2689c3ae fix setting answered and forwarded flags on answering/forwarding mails 2014-01-23 11:56:34 +00:00
Nathan Gray
4f9c9a8892 Clicking on profile in tree changes profile & selects inbox 2014-01-22 09:32:18 +00:00
Klaus Leithoff
2f5cc230c8 tell ajax_flagMessages to be quiet 2014-01-21 15:00:22 +00:00
Klaus Leithoff
9356586af4 try to adapt async_vacation to use oldImapServer Object 2014-01-21 14:58:57 +00:00
Klaus Leithoff
77fd70275c revert async_vacation changes 2014-01-21 14:48:30 +00:00
Klaus Leithoff
ba7184f44f handle flagging of message as seen explizitly on preview 2014-01-21 14:46:00 +00:00
Klaus Leithoff
2eb18c1d4e being able to conditionally trigger quotaDisplayRefresh on mail_refreshFolderStatus; use new lock_tree/unlock_tree on changeFolder 2014-01-21 11:28:43 +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
d0e562ebef pass folder info explizitly on even more bo calls to cancel out problems there 2014-01-20 16:03:32 +00:00
Klaus Leithoff
68f2797cbc pass folder info explizitly to cancel out problems there; fix js error for getFocuedObject().getNext 2014-01-20 15:25:40 +00:00
Klaus Leithoff
b3ebabf997 fix error in mail_activesync getMessage that prevented the retrieval of all headers 2014-01-20 14:42:13 +00:00
Klaus Leithoff
35dc435ab9 try to tackle problem encountered with mail2infolog/tracker 2014-01-20 13:14:18 +00:00
Klaus Leithoff
ab9423573b improve skip out condition on filter for search strings; fix javascrip error on unavailable next 2014-01-20 11:53:19 +00:00
Klaus Leithoff
ac50def034 fix broken filter for search strings 2014-01-20 11:13:03 +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
bb12e99a8b stuff to try to fix problems on header retrieval 2014-01-20 08:55:07 +00:00
Ralf Becker
496c34614d switch on private (browser only) caching for read mail bodys, plus fix to switch it on after session was started 2014-01-18 14:52:47 +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
c93e4fdc0e try to figure out generic error: IMAP error reported by server on structure retrieval, and failed messageHeaderretrieval 2014-01-18 13:48:34 +00:00
Klaus Leithoff
c59439f1ef try to figure out generic error: IMAP error reported by server on structure retrieval 2014-01-18 13:11:45 +00:00
Klaus Leithoff
437343bc0f fix for failed getBytes on a non object 2014-01-18 12:47:46 +00:00
Klaus Leithoff
2d4dd6d5d6 changed keyphrase for primary profile 2014-01-17 14:38:46 +00:00
Klaus Leithoff
8bdef50e23 give better feedback to frontend 2014-01-17 13:40:41 +00:00
Klaus Leithoff
80d68f84c1 try to catch further errors on structure retrieval 2014-01-17 13:24:48 +00:00
Klaus Leithoff
7256ad2239 try to catch further errors on structure retrieval 2014-01-17 13:14:40 +00:00
Klaus Leithoff
38dcee204a try to catch errors on structure retrieval 2014-01-17 13:05:23 +00:00
Klaus Leithoff
ff29574173 fix Argument 3 passed to mail_bo::getMessageAttachments(must be an instance of Horde_Mime_Part 2014-01-17 12:51:45 +00:00
Klaus Leithoff
70ebabaf90 fix missing delete after move when moving cross servers 2014-01-17 12:02:03 +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
Klaus Leithoff
9aa1506a84 move empty trash/compress folder to actionsmenu on tree 2014-01-17 09:59:25 +00:00
Klaus Leithoff
36e13b7c8f move empty trash/compress folder to actionsmenu on tree 2014-01-16 16:37:01 +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
Klaus Leithoff
5422864681 fix missing init in static rawMessage static 2014-01-16 15:22:18 +00:00
Klaus Leithoff
54f8fb5abb fix missing level in static rawMessage cache 2014-01-16 15:01:04 +00:00
Nathan Gray
05f0e486e3 Use long task UI to merge contacts into email templates 2014-01-16 14:05:07 +00:00
Klaus Leithoff
e10fd3f37c fix preserveSeen problem for activesync accessing mails with attachments 2014-01-16 10:51:22 +00:00
Nathan Gray
f9c2c73432 Get merging contact into mail template file working 2014-01-15 16:29:30 +00:00
Klaus Leithoff
fb4b2e1478 fix problem with broken rfc mailaddress on parsing for activesync 2014-01-15 10:31:08 +00:00
Klaus Leithoff
4b2dbc6526 throw out attachment type (if present) in preview (on request of sb);fix preserve seen for activesync 2014-01-15 08:45:05 +00:00
Nathan Gray
0c2453a7f9 Fix mime handler pointing to wrong app 2014-01-14 17:16:49 +00:00
Klaus Leithoff
092be08c96 fix broken default undeleted flag filter 2014-01-14 15:54:48 +00:00
Klaus Leithoff
1834389fec restore/ensure basic functionality on activesync for mail app 2014-01-14 15:21:54 +00:00
Klaus Leithoff
b3ad328429 preparations to get mail_activesync into gear 2014-01-14 13:35:39 +00:00
Klaus Leithoff
2093860d44 fix cnp-error 2014-01-14 09:21:34 +00:00
Klaus Leithoff
c23a3f5524 remove references to old refreshTime preference 2014-01-14 08:35:22 +00:00
Klaus Leithoff
a2bb7fe833 remove pref refreshTime as we have a refresh in nm 2014-01-14 07:48:19 +00:00
Klaus Leithoff
24676c0a33 call counters on index call, but only retrieve them for one level up til the current folder level 2014-01-13 17:29:27 +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
Nathan Gray
e94b62bd5e Use egw data cache to update mail CSS class & stop a few nextmatch refreshes.
Fixes unable to mark mail as unread.
2014-01-13 14:22:58 +00:00
Klaus Leithoff
2feef10702 skip the use of all for identities, as is was a conceptual misunderstanding 2014-01-13 13:34:50 +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
4273257138 catch error on accessing unknown mail account attribute 2014-01-13 09:36:51 +00:00
Nathan Gray
c8cfe6464e Bind to nextmatch refresh event to update folder status too 2014-01-11 14:16:36 +00:00
Nathan Gray
473d7e2001 Move mail folders via drag and drop 2014-01-11 11:58:31 +00:00
Klaus Leithoff
b0f50abd78 fix condition for folder move 2014-01-10 13:07:01 +00:00
Klaus Leithoff
bf09e9e46f reflect on thrown out preferences for folder settings; disable non working code in updateAccount, addAccount and deleteAccount hook-functions, and prepare for new account object 2014-01-10 10:33:53 +00:00
Klaus Leithoff
48e4d8daa0 change notification for new messages: now based on hook ->check_notify<- ; clean up of preferences in expectation of moving of most of the stuff to mail-accounts-data 2014-01-10 09:19:07 +00:00
Klaus Leithoff
d28b1d2500 operate on system flags only for filtering; try only calling this. instead of app.mail. whereever possible 2014-01-09 11:26:40 +00:00
Klaus Leithoff
f4254b5281 try to improve speed and refresh behavior 2014-01-09 08:36:22 +00:00
Klaus Leithoff
43ea576159 Mail/Mailhandling: missing setting for option >mail text only< for better control of import of mails to other apps 2014-01-07 13:25:21 +00:00