Commit Graph

537 Commits

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