Commit Graph

613 Commits

Author SHA1 Message Date
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