Commit Graph

1313 Commits

Author SHA1 Message Date
Hadi Nategh
cc946b7c3e Fix mail sieve rules issues regarding idots and mobile theme 2015-02-27 16:28:51 +00:00
Hadi Nategh
9ae9ae7274 Implement mobile template for mail index:
- Do not create Splitter for mobile template
- Fix extra_iframe for displaying sieve rules covers mail tree when it is display:none (eg.happens in idots)
- Improve mail app performance browsing with mobile device
2015-02-27 14:47:27 +00:00
Hadi Nategh
7f7e49935c Fix some style for mail compose:
- Fix compose_to field always get scrollbar
- Fix compose_bcc field has no max-height
2015-02-26 08:53:56 +00:00
Hadi Nategh
6c52c48866 Disable compose dialog resize for mobile devices 2015-02-24 16:33:17 +00:00
Hadi Nategh
b0f4383a4f Remove fixed width from compose dialog:
- Fixes elements in compose dialog not getting 100% width after resize
2015-02-23 15:59:49 +00:00
Hadi Nategh
c45afda8b0 Use CKEditor resize method in order to resize mail body 2015-02-23 15:56:33 +00:00
Klaus Leithoff
3ef17e277f add missing translations for emptying spam/junk folder; fix setting folder status after voiding spam/junk folder content 2015-02-19 13:41:40 +00:00
Klaus Leithoff
c67ab8744a remove probably wrong assumption on missing ident_id of mailaccount object (as it should not be missing at all) 2015-02-19 12:26:44 +00:00
Klaus Leithoff
acb4f11d24 * Mail: feature to allow to void the (configured) spam/junk folder on right-click action on foldertree 2015-02-19 12:01:18 +00:00
Klaus Leithoff
52b4856a18 when dealing with defaults and identities: retrieve the default identity associated with the current imap-account, rather than the default 2015-02-19 11:37:42 +00:00
Ralf Becker
4078a48fb8 fixed send mail does not contain attachments 2015-02-18 11:17:28 +00:00
Ralf Becker
0413898ce4 * Mail: composed mails saved as draft contains again attachments, drafts created by autosaving every 2 minutes do not for performance reasons 2015-02-18 10:10:10 +00:00
Ralf Becker
d432642f1a add encoding, eTempalte2 DTD and svn propset svn:keywords Id to all eTemplates 2015-02-17 09:55:05 +00:00
Ralf Becker
18fafed2a4 pending translations from our translation server 2015-02-17 08:52:58 +00:00
Ralf Becker
9a633cab48 fix PHP Fatal error: Cannot pass parameter 3 by reference 2015-02-16 08:30:50 +00:00
Ralf Becker
2eb5b6f097 read attachment data from etemplate request, use tmpname only to identify it 2015-02-14 20:10:26 +00:00
Ralf Becker
36bc17a442 move code for html or javascript content-type headers from webdav to html class and use it for attachments too 2015-02-14 19:32:21 +00:00
Klaus Leithoff
d15d01a8b4 fix problem(s) with display of attachments on forward when either forwarding inline with several attachments to the forwarded message or forwarding multiple messages as attachment 2015-02-12 15:19:24 +00:00
Hadi Nategh
32f3a52280 Prepare mail display iframe for printing 2015-02-12 09:02:56 +00:00
Ralf Becker
8a5ab38c36 set font size for printing of text mail body and all headers, attachments 2015-02-12 08:34:02 +00:00
Nathan Gray
92c26d156d Better handling of printing of various row quantities:
- print < loaded row count
- print > loaded row count
- print all rows
2015-02-11 20:00:22 +00:00
Hadi Nategh
8b45db5183 Fix broken styling in compose dialog for jdots 2015-02-10 10:38:54 +00:00
Ralf Becker
e94c57d6b1 * Mail: fixed exception when opening vacation notice or sieve-rules for an account with a changed standard identity or later created account
emailadmin_account::read_identity() needs ident_id NOT acc_id as 1. parameter
2015-02-09 09:18:05 +00:00
Ralf Becker
6e9ee7f977 2 more div#$app-index css which need to have div removed 2015-02-06 14:05:17 +00:00
Klaus Leithoff
a949022b5d lang strings for missing vacation extension in sieve 2015-02-06 13:11:22 +00:00
Ralf Becker
437f96cbb0 fixed icons in mail are to big, after autocomplete change 2015-02-06 13:09:51 +00:00
Klaus Leithoff
2e02b05d4e * Mail/Sieve: check capability if VACATION is supported by SIEVE Server before trying to set an serverside vacation absent notice
code clean up in hooks and conditional debug for sendMDN
2015-02-06 12:35:51 +00:00
Ralf Becker
9b093562b4 remove div.et2_container in favor of just .et2_container, as we use a from now 2015-02-04 08:35:40 +00:00
Klaus Leithoff
062b62f730 mail add anf fix missing translations in mail-prefs 2015-02-03 12:29:02 +00:00
Ralf Becker
7c4bc31306 removing an other unnecessary egw_info[flags][js_link_registry]=true 2015-02-02 19:50:20 +00:00
Ralf Becker
ea60497448 * Mail/IE: fixed compose popup did not open again after it was closed eg. mail was send 2015-02-02 17:06:11 +00:00
Ralf Becker
21d52f5cee fixed warning of calling createRowID static with incompatible $this, it work before because mail_ui as well as mail_compose define $this->mail_bo 2015-01-26 15:04:15 +00:00
Ralf Becker
d39ad8fde6 Italian translation from Stylite partner Ilias Chasapakis, Webtrain Services <Ilias@webtrain.it> 2015-01-23 10:20:41 +00:00
Ralf Becker
0f8d251fc4 pending French translations from our translation server 2015-01-21 14:12:43 +00:00
Klaus Leithoff
47110d3735 fix for problem preventing async-vacation to be run properly 2015-01-20 14:28:46 +00:00
Hadi Nategh
94ea53a688 * Mail/Sieve: Fix sieve save into folder with wrong namespace 2015-01-19 12:12:18 +00:00
Hadi Nategh
4fa44e6482 Reorder and add missing phrases in lang files 2015-01-15 14:53:34 +00:00
Klaus Leithoff
736eb6a329 bind some errorlog debug output to mail_bo:: variable 2015-01-15 11:03:07 +00:00
Hadi Nategh
df76d33437 Fix mail compose toggle buttons set values 2015-01-13 15:52:00 +00:00
Hadi Nategh
31c7420861 Fix attachments box in mail preview for F.F 2015-01-13 13:44:37 +00:00
Hadi Nategh
5129750d2e Fix priority toolbar action loses its selected label after submit in compose dialog 2015-01-13 12:14:41 +00:00
Ralf Becker
a0a2898679 pending translation from our translation server 2015-01-13 11:59:25 +00:00
Stefan Reinhardt
59cdfb559f pixelegg - Mail
changes 
- Attachment... margin + border
- Toolbar: color_positive action
2015-01-13 11:15:26 +00:00
Hadi Nategh
e0e3565208 Fix mail compose notification not working 2015-01-13 09:54:19 +00:00
Ralf Becker
69a3da94e3 pending translations 2015-01-13 08:41:25 +00:00
Ralf Becker
157230ba57 pending translations from our translation server 2015-01-12 11:54:05 +00:00
Ralf Becker
7346a37998 cleaning up old addressbook stuff 2015-01-10 09:51:51 +00:00
Hadi Nategh
e590809211 Set icons for the toolbar priority action in compose dialog 2015-01-09 14:49:56 +00:00
Klaus Leithoff
f384ac50a7 revert accidently ALWAYS looking up the mimeType with mime_magic 2015-01-09 14:11:57 +00:00
Klaus Leithoff
74a6cf6794 * Mail: fix problem on SentCopy ending up with the wrong mailaccount. Should be copied to chosen mailaccount on sending. If none is configured for folder; respect that setting. Ability to choose destination folders from starting mailaccount AND from selected mailaccount (only the original and the final selected mailaccount folders are checked and used for storing copies of the sent mail) 2015-01-09 13:56:14 +00:00
Hadi Nategh
9cac913e33 Fix taking wrong value for priority in compose dialog 2015-01-09 12:58:06 +00:00
Hadi Nategh
bd56119d38 Set default priority toolbar action to normal in compose dialog 2015-01-09 10:54:53 +00:00
Hadi Nategh
c041ea1801 Fix vfs save message dialog size 2015-01-09 09:08:17 +00:00
Hadi Nategh
bc1578693c Implement save into VFS for mail compose toolbar 2015-01-08 17:06:56 +00:00
Hadi Nategh
f9c1883713 Change compose toolbar default actions and view_range 2015-01-08 15:56:45 +00:00
Hadi Nategh
7134da86b3 Fix compose toolbar ids 2015-01-07 17:37:56 +00:00
Hadi Nategh
7009ba1de0 Fix mail compose issues:
-Set default toolbar actions
-Set toolbar actions view range to 6
-Fix compose window not being resized correctly in FF 
-Fix displaying toolbar's selectbox
-Fix styling of toggle button
2015-01-07 17:08:21 +00:00
Hadi Nategh
d3d84782a5 Implement mail compose toolbar with toolbar widget which makes actions draggable 2015-01-07 11:57:34 +00:00
Hadi Nategh
8b5bc60235 Consider only vaction by date, missing condition from commit #51139 2015-01-07 08:15:39 +00:00
Hadi Nategh
26c6a96894 Do not show out dated vacation in vacation notice 2015-01-06 16:41:55 +00:00
Hadi Nategh
e4ea46f1f1 Call the vacation notice refresh for the active profile when the mail app gets loaded 2015-01-06 15:59:41 +00:00
Hadi Nategh
5a534307ff Give mail compose a max-height to avoid very large height window after resizes 2015-01-06 15:30:30 +00:00
Hadi Nategh
39cc660c0d Implement set window title for each application with a default title field or define an app specific custom get title 2015-01-05 14:28:35 +00:00
Hadi Nategh
09ca844bda Fix mail display printing multipage style for jdots 2014-12-19 11:19:20 +00:00
Hadi Nategh
11f1b63a8f Fix styling of mail display print view for jdots 2014-12-18 11:01:23 +00:00
Ralf Becker
cbf4051ef3 checking sieve enabled on imap-server object not account, so imap plugins can overwrite eg. always set this 2014-12-18 10:04:41 +00:00
Hadi Nategh
df483a9a1b Fix styling of mail compose and display for jdots 2014-12-18 09:34:31 +00:00
Hadi Nategh
4fe543605d Remove max-height from mail tree in order to fix the issue mail tree gets scrollbar after expantion. 2014-12-17 13:02:29 +00:00
Hadi Nategh
215289a5f5 Fix mail splitter loses its last stored height value after browsing with mobile theme 2014-12-17 12:02:01 +00:00
Hadi Nategh
66bbe734d8 Set vacation addresses with all aliases if there's nothing set for the first time 2014-12-16 15:24:47 +00:00
Hadi Nategh
f529a4fae6 Clear intervals assigned to window after submit compose dialog 2014-12-16 10:26:44 +00:00
Nathan Gray
8239ae9b2d Refresh the list if the move/copy target is the current folder so the new mails show 2014-12-15 17:26:04 +00:00
Ralf Becker
6b2c47a98e remove checks for not longer used PEAR Mail_Mime and Mail_mimeDecode classes 2014-12-15 08:26:24 +00:00
Ralf Becker
87c442434e * Mail: update title of compose window with subject 2014-12-12 15:28:53 +00:00
Hadi Nategh
e07c11be85 Fix popup's window close
-Make sure window.close() closing the right egw window
-Make sure the modal popup has the opener
2014-12-12 14:21:04 +00:00
Klaus Leithoff
3eab40a761 make id a sortable column 2014-12-12 13:56:30 +00:00
Hadi Nategh
176b12e18d Mobile theme styling
-Make mail display and compose dialog font size bigger
-Move change font size of grid&nm header to mobile css
2014-12-12 12:26:48 +00:00
Hadi Nategh
30be9b46ed Make context menu and nm header more visible in mobile theme, and style mail index rows 2014-12-12 11:09:55 +00:00
Hadi Nategh
31908a5032 Fix mail display popup in mobile framework 2014-12-11 17:23:37 +00:00
Hadi Nategh
5084f4848b Disable mail preview spliter for mobile framework, and apply some font styling 2014-12-11 13:34:44 +00:00
Hadi Nategh
ff89e69b0e Get the mail rows text-overflow ellipsis working 2014-12-11 13:08:42 +00:00
Klaus Leithoff
dbd2a7e9ca as class is kind of a keyword (by definition), refer to the dataElem.data class part using the notation used for associative arrays 2014-12-11 12:01:52 +00:00
Hadi Nategh
7116ae34a8 Show some attachment files in progress on visible bottom part of compose dialog 2014-12-09 08:56:45 +00:00
Ralf Becker
8548f08947 fixed wrong order of arguments to setVacationUser() 2014-12-09 08:41:03 +00:00
Ralf Becker
2feacbecb8 fixed sometimes not working download of all attachments via zip (name instead of filename set) and changed it to use streams 2014-12-08 18:24:08 +00:00
Ralf Becker
13257f09a4 add list of shared files to filemanager and translation of sharing stuff 2014-12-08 16:04:20 +00:00
Hadi Nategh
1869e94f84 Popup resize handler enhancement:
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +00:00
Ralf Becker
65a9f8e584 fixed not working download/sharing links after signature change yesterday 2014-12-05 11:25:09 +00:00
Klaus Leithoff
3102bf88fa fix problem regarding: uploaded eml files where not handled as message/rfc 2014-12-05 11:14:42 +00:00
Klaus Leithoff
35deef9672 handle new signature preference 2014-12-04 13:48:43 +00:00
Ralf Becker
75688e8cb8 allow to share files and directories from filemanager via mail app 2014-12-03 16:25:10 +00:00
Ralf Becker
03ea6d9294 next (little) step for sharing files 2014-12-02 19:18:37 +00:00
Klaus Leithoff
1a890a90f3 trying to clean up some code regarding our new send backend 2014-12-02 13:33:16 +00:00
Ralf Becker
b3676a64a8 French translations from zorg-AT-probesys.com 2014-12-02 13:11:38 +00:00
Ralf Becker
63a6ac9a6d first version of linked attachments 2014-12-01 20:14:18 +00:00
Hadi Nategh
4d300a58e0 Resize mail compose after window resized too 2014-11-28 16:18:46 +00:00
Ralf Becker
c52a892519 add more explenatory label, as done in German translation 2014-11-28 14:25:09 +00:00
Hadi Nategh
c41251a3e3 Fix printing problem happening in IE and FF 2014-11-28 13:51:00 +00:00
Ralf Becker
5bed0cdf77 fix not working dragging images into CKEditor of mail compose in FireFox 2014-11-27 13:44:50 +00:00
Ralf Becker
2e5fcbda4e fixing the fix, we dont want whole mails in memory 2014-11-26 15:05:59 +00:00
Klaus Leithoff
d411dd0658 fix failed attachment of eml file after compose on to_infolog/tracker action 2014-11-26 14:20:18 +00:00
Ralf Becker
dd89cf84f7 parseFileIntoMailObject and parseRawMessageIntoMailObject using new egw_mailer 2014-11-26 14:08:52 +00:00
Klaus Leithoff
6502901629 restore activesync stuff after introduction of horde-smtp-mailer 2014-11-26 13:05:10 +00:00
Klaus Leithoff
9c534850be fix broken mail_activesync send after changes how identity is seeded 2014-11-25 14:16:40 +00:00
Ralf Becker
2a0889bcf6 set sender/return-path and from, if empty in identity, setting send/return-path from account, prefering smtp user-name and from from identity 2014-11-25 11:32:25 +00:00
Ralf Becker
3e559d2fda replacing PHPMailer with Horde_Mime_Mail and Horde_Mail_Transport_Smtphorde to overcome memory limit when sending mails 2014-11-24 23:38:37 +00:00
Nathan Gray
a55da7afc6 Change grouping for tree actions to move auto added copy+paste actions up 2014-11-24 15:35:02 +00:00
Ralf Becker
11c0a098e5 capitalise From 2014-11-24 10:13:35 +00:00
Ralf Becker
691e28487e further cleanup, identity == signature 2014-11-22 13:17:41 +00:00
Klaus Leithoff
533f13faf8 make sure (or at least try) there is an emailaddress set for ident_email when fetching identities for the current user 2014-11-21 13:45:49 +00:00
Ralf Becker
46b4758dac use a wrapper on a different url for sending mail to be able to select a different fpm pool 2014-11-21 13:37:30 +00:00
Ralf Becker
f5769333da fix compose ID and random string generation to use API auth::randomstring() method 2014-11-21 09:33:34 +00:00
Ralf Becker
0d5fa9615e combined mail account and identity/signature selection, allows now to send with a different identity, also fixed tons of IDE warnings 2014-11-20 17:53:52 +00:00
Hadi Nategh
b630e4acb6 Fix compose resizehandler: resize based on subtraction of header height from window height and allocate it to mail body 2014-11-20 15:54:09 +00:00
Klaus Leithoff
8ed0cc2314 fix broken disposition-notification request 2014-11-20 15:51:36 +00:00
Ralf Becker
d3ff144685 first step for a combined account and identity/signature selector 2014-11-20 15:05:25 +00:00
Klaus Leithoff
827caf674f handle error and error-messages on folder-creation. Special handling when having flat folderstructure (no prefix present) 2014-11-20 14:57:34 +00:00
Nathan Gray
3ec33534dc Add a paste flag to get around mail's check for all rows selected to ignore current selection when pasting 2014-11-19 20:13:46 +00:00
Nathan Gray
a885057213 Support moving from different folders 2014-11-19 19:12:50 +00:00
Klaus Leithoff
06f8a7c829 take the extra time on failure on folderExists, when the folder seems to be not to be there 2014-11-18 15:53:53 +00:00
Ralf Becker
90a70f237f only display "Vacation notice is active" message, if it is active or by a date in future 2014-11-18 14:46:24 +00:00
Ralf Becker
ec497ab5e4 shorten German translation 2014-11-18 14:34:23 +00:00
Ralf Becker
cbc69a7567 translations for facation notice 2014-11-18 14:30:59 +00:00
Hadi Nategh
9b968426bb Fix mail display print area on to/cc and bcc for multiple emails 2014-11-18 13:30:03 +00:00
Nathan Gray
7afe1ee1e9 Check that interface is there before using it; when pasting the iface is missing.
Fixes error when copy + pasting mails from different folders.
2014-11-17 20:37:17 +00:00
Nathan Gray
d1d150b7c7 Don't preview the next message after deleting or moving messages. 2014-11-17 17:19:51 +00:00
Ralf Becker
842f7211bf * Mail: setting a font-size of 12pt for printing mails 2014-11-12 10:34:02 +00:00
Klaus Leithoff
9aeae3185a some little additional stuff regarding the signature-selector-placeholder issue in compose 2014-11-11 14:12:34 +00:00
Hadi Nategh
311d5fa4dd Do not register dataCache for popups 2014-11-11 11:46:16 +00:00
Hadi Nategh
a3260eb100 Remove not used variables 2014-11-10 12:45:22 +00:00
Hadi Nategh
cbc3074491 We do not need to resize explicitly the mail display popup, because the window resize handler does it correctly 2014-11-10 12:38:28 +00:00
Hadi Nategh
2ebad86634 Fix mail compose resize handler, and make sure that is happening after popup window resize 2014-11-10 12:03:49 +00:00
Hadi Nategh
4d5149ae23 Set minimum height for mail display and compose 2014-11-10 10:45:04 +00:00
Ralf Becker
df7025f879 allow app to specify "availHeight" for its popup height and keep that height in automatic resize, for OS (eg. Linux) does not report an availHeight < height, we subtract 100px 2014-11-10 10:41:23 +00:00
Klaus Leithoff
4f2219908f make sure preview/display/saveAttachments etc. is using the ImapServer whose Id is passed on with the ID of the mail to be processed 2014-11-06 13:11:44 +00:00
Klaus Leithoff
1d48bf67d5 * Mail: on save as zip: always fetch all attachments, even inline (images); do not fatally fail on empty attachments 2014-11-06 11:42:44 +00:00
Ralf Becker
a37c884969 * Mail: fixed icons for special use folders did not use folders set in mail account 2014-11-05 16:51:55 +00:00
Hadi Nategh
795131df35 Fix re-positioning mail preview content according to its visible sibilings 2014-10-31 10:49:22 +00:00
Hadi Nategh
0d1a1c3f4a Adjust speed of double click trigger for taglist item modification 2014-10-30 11:55:22 +00:00
Ralf Becker
0f362fa6a0 fix popup was never wide enought problem by removing width:100% from #popupMainDiv 2014-10-30 11:11:12 +00:00
Hadi Nategh
f5c477174a Get compose email d-n-d working peacfully with taglist doubleclick item modification 2014-10-30 09:54:29 +00:00
Hadi Nategh
2fe71bdc48 Cancel d-n-d action on taglist item edit button 2014-10-29 17:15:14 +00:00
Ralf Becker
e47d4e1dd0 * eSync: fixed not working sending of mails after 14.1.20141021 package 2014-10-29 12:27:44 +00:00
Hadi Nategh
a373f0f458 Fix IDE warnings 2014-10-23 13:59:12 +00:00
Hadi Nategh
050c91225a Fix IDE warning 2014-10-23 11:28:36 +00:00
Hadi Nategh
39091af4e5 Fix compose showing an extra span tag on body when switch from html to plain/text via preferences 2014-10-23 10:27:58 +00:00
Ralf Becker
0f8015e2b8 entry name for mail app 2014-10-21 14:38:20 +00:00
Ralf Becker
dec861fb3e do not use full path of attachments in compose popup 2014-10-20 18:08:03 +00:00
Hadi Nategh
fb35fdb8c2 Fix cc, bcc fileds, sent from AB to an open compose dialog, overflow the others 2014-10-20 12:25:43 +00:00
Ralf Becker
8a827671b8 sending mail was failing after r49065 2014-10-20 06:49:23 +00:00
Ralf Becker
64aa838e9d * 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()
2014-10-18 16:30:39 +00:00
Hadi Nategh
dae1ce6554 Work in progress, standardization of dnd action helper styling for all apps 2014-10-17 16:34:14 +00:00
Nathan Gray
9481dab570 Drag & drop support for mail into filemanager 2014-10-16 22:41:39 +00:00
Klaus Leithoff
e2b160aede fix problem with undefined var w_h in javascript 2014-10-16 09:50:16 +00:00
Hadi Nategh
cb94c506d9 Fix hide handler of cc, bcc expander in compose 2014-10-16 08:29:10 +00:00
Nathan Gray
1d5bcc7194 Set some minimum height to deal with floaters which are outside of popup size calculation's reach 2014-10-15 22:50:03 +00:00
Ralf Becker
4f59ab7d81 resize import popup to regular compose size 2014-10-15 15:49:41 +00:00
Klaus Leithoff
b3441cb29b * Mail: fix copy/move of mails between accounts by making sure source and target are distinctively defined when performing the move 2014-10-14 08:51:01 +00:00
Hadi Nategh
ea47198d35 Fix copy/move of mail to another mail account 2014-10-14 08:01:52 +00:00
Hadi Nategh
889c8b88e8 Unset action "moveto" from display toolbar actions 2014-10-10 15:03:00 +00:00
Ralf Becker
178bca7f7a fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect 2014-10-08 20:02:59 +00:00
Ralf Becker
5a888ec812 pending translations from our translation server 2014-10-08 12:57:04 +00:00
Ralf Becker
418578dc2f remove not used attachmentsPresent value 2014-10-07 07:13:37 +00:00
Hadi Nategh
e68d5c19c6 Fix trash folder label get set by not translated trash folder name after trying to empty the trash 2014-10-06 14:59:13 +00:00
Ralf Becker
1b9865bbbf fix javascript error "no method indexOf of undefined" 2014-10-06 09:57:50 +00:00
Klaus Leithoff
7f3c3e5613 cope with not set DATE from retrieved headers 2014-10-02 08:44:48 +00:00
Ralf Becker
648649e03f remove calls to removed htmlspecialchars method 2014-09-30 12:36:46 +00:00
Ralf Becker
32a6066156 * 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:27:54 +00:00
Ralf Becker
a6d60cdfba showing buttons by default 2014-09-26 15:32:42 +00:00
Ralf Becker
c557f10bee using getSubFolder as autocomplete for admin usage 2014-09-26 14:18:30 +00:00
Hadi Nategh
d537853c54 Get the mail acl recursive folder working again 2014-09-26 11:24:43 +00:00
Ralf Becker
5b2c568eb5 time also loading of a mail body 2014-09-25 12:50:45 +00:00
Ralf Becker
007b632017 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:06 +00:00
Hadi Nategh
acd07a1f93 Adjusting toolbar widget
-Fix toolbar widget droppable space
-Fix toolbar widget for first time user with no preferences
2014-09-25 11:12:04 +00:00
Ralf Becker
756b31ce9f remove html::purify call 2014-09-25 08:47:47 +00:00
Ralf Becker
62b523beac to ease upgrade, as hook is removed 2014-09-25 07:15:30 +00:00
Ralf Becker
3ed259f85f get folder ACL and vacation mostly working for admin usage 2014-09-24 17:25:18 +00:00
Hadi Nategh
5fecd38001 Change mail display toolbar from heirachical actions to full flat list of buttons 2014-09-24 12:59:04 +00:00
Hadi Nategh
3566d96698 Add documentation to commit r48728 2014-09-24 12:08:10 +00:00
Hadi Nategh
695e78c455 * Mail: Make switching between different folders of an mail account available in ACL dialog
-Style mail ACL dialog
2014-09-24 12:02:35 +00:00
Ralf Becker
a0ba88621c first stage of allowing mail app to display further actions in emailadmin edit: Folder ACL and Vacation notice for now 2014-09-24 10:03:00 +00:00
Hadi Nategh
0b61fd4184 Make sure the opener window is still there before asking about its widgets.
-Fix mail compose save as draft throws an error if the mail tab is closed while saving.
2014-09-23 12:19:28 +00:00
Ralf Becker
f9c81f1af5 single from address was shown twice in mail display 2014-09-23 08:42:31 +00:00
Klaus Leithoff
f9e775c549 * Mail: resolve distributionlists upon saving as draft, infolog, tracker and storing sent message in designated send-folder 2014-09-23 08:23:10 +00:00
Hadi Nategh
c0b92e9f10 Adjust mail preview header part according to its content 2014-09-22 16:25:36 +00:00
Ralf Becker
2e8a353f3e pending translations from our translation server 2014-09-22 11:57:15 +00:00
Hadi Nategh
3e7b572f16 Avoid to refresh mail list if the active folder is not the Draft folder while saving compose mail as draft 2014-09-22 09:07:48 +00:00
Hadi Nategh
c74a2d7501 Fix save as draft confirmation message does not disappear after a while 2014-09-22 08:12:54 +00:00
Klaus Leithoff
9555780834 pending translations from our translation server 2014-09-19 08:26:55 +00:00
Klaus Leithoff
3b54e4e39a disable non functional readall action on mail display popup actionmenu 2014-09-18 12:33:33 +00:00
Hadi Nategh
adc8edb791 Implement draft autosaving for mail compose.
- Auto saving interval is every 2 minutes.
2014-09-12 12:10:48 +00:00
Hadi Nategh
7ca9e5c6bf Restructure compose save as draft functionality and implement it as an ajax function 2014-09-12 11:52:38 +00:00
Klaus Leithoff
985398ccbd ensure Message-Id is the same for outgoing mail AND message saved in send-folder 2014-09-11 14:10:01 +00:00
Klaus Leithoff
bb58848939 * Mail: support the propagation of Thread-Topic, Thread-Index and List-Id on reply too 2014-09-11 11:51:07 +00:00
Klaus Leithoff
f1894d64fb * Mail: Respect References AND In-Reply-To Headers, and set them on reply if available 2014-09-11 09:21:07 +00:00
Hadi Nategh
906712bc17 Colorize mail contents according to their hierarchy in body 2014-09-10 11:58:34 +00:00
Hadi Nategh
29a8abb13f Style mail printing of email contents with hierarchy 2014-09-09 15:40:29 +00:00
Klaus Leithoff
bc9ee4170d fix for rare problem on toggle html2text resulting in empty content; preparation for REFERENCES and IN-REPLY-TO 2014-09-09 14:04:40 +00:00
Hadi Nategh
491e0002ca * Mail/Chrome: Fix not closing print dialog in compose after print or cancel in Chrome 2014-09-09 13:55:43 +00:00
Hadi Nategh
bdcda95930 Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 12:08:08 +00:00
Ralf Becker
4d7f00d0fd nextmatch responses got cached for in meantime changed folder 2014-09-08 15:45:37 +00:00
Ralf Becker
f157e4f56c using standard emailadmin_account methods for account list and account-name 2014-09-08 14:12:14 +00:00
Hadi Nategh
a884f3e444 Fix error "cannot read property of undefiend of indexOf" in mail expand on click 2014-09-08 14:09:21 +00:00
Klaus Leithoff
dc472cdb11 handle problems in email display and processing for further use after commit rev48461 2014-09-05 12:20:49 +00:00
Hadi Nategh
545531ba99 Make sure ckeditor is loaded before calling resizehandler in mail compose 2014-09-05 09:50:30 +00:00
Ralf Becker
c7f6513e89 pending translations from our translation server 2014-09-04 14:15:18 +00:00
Stefan Reinhardt
dc6f9428bf button:disabled
define status color: "transparent blue"

E.G. Mail send button , while upload
2014-09-04 11:02:01 +00:00
Hadi Nategh
2cc8d1a49b Apply grid style to attachment area of mail preview (Make it standard like other attachments area) 2014-09-04 10:54:32 +00:00
Hadi Nategh
2beb93ed26 Fix wrong closing tag of box in mail display dialog 2014-09-04 10:14:44 +00:00
Hadi Nategh
2e005853d9 Fix attachments with very long name exceeded of attachment table 2014-09-04 10:04:58 +00:00
Hadi Nategh
fe2e78f628 Mail compose and display dialog styling improvment 2014-09-04 09:01:43 +00:00
Hadi Nategh
e01c5506e6 Work in progress of mail attachment box styling in compose and display dialogs 2014-09-03 15:48:57 +00:00
Hadi Nategh
311a2efe53 * Mail: Fix mail compose attachment is not shown while it's on upload progress for the first time 2014-09-03 12:42:34 +00:00
Ralf Becker
90672ca3af also need to set/remove "read" flag when removing/adding "unseen" class 2014-09-03 10:34:14 +00:00
Hadi Nategh
8460b4d44a * Mail: Fix changing flags does not affect immidiately on mail list 2014-09-03 09:58:21 +00:00
Hadi Nategh
db4d26482a Use url-email contact_plus attribute in mail index instead of binding tooltip explicxitly on mail app 2014-08-29 15:16:23 +00:00
Hadi Nategh
b2d03e62fe Consider INBOX as default folder for edit ACL.
-Fix selecting edit acl from context menu on mail profile name (root folder) gives an javascript error
2014-08-28 12:30:16 +00:00
Ralf Becker
624be7e0b9 pending de translations 2014-08-27 15:47:39 +00:00
Klaus Leithoff
29ca1beb5b * 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:37:27 +00:00
Klaus Leithoff
01f764404f fix problem with unclickable first attachment in display popup 2014-08-26 10:59:07 +00:00
Ralf Becker
542d178eef pending NL translations from our translation server 2014-08-22 13:04:08 +00:00
Ralf Becker
94afafae11 * all apps: fixed column sizes and stretch (change when window size changes) 2014-08-22 11:08:21 +00:00
Ralf Becker
2ee25bc790 using JSON.stringfy() directly gave a crash in Safari 7.0.4 2014-08-21 18:28:05 +00:00
Klaus Leithoff
814f0b705c fixing assumed typo regarding:preg_match(): No ending delimiter '^' found in class.mail_ui.inc.php on line 144 2014-08-21 14:11:35 +00:00
Ralf Becker
af1bf17228 reverted accidently commited permanent error_log 2014-08-20 16:13:45 +00:00
Ralf Becker
6b243800c4 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-20 16:12:19 +00:00
Hadi Nategh
f5bfd729db Fix mail compose to/cc fields are not getting scrollbar if amount of mails are bigger than 3 rows 2014-08-20 15:24:36 +00:00
Ralf Becker
e4e78342f7 remove semi-transparent background of locked folder-tree 2014-08-20 15:05:08 +00:00
Ralf Becker
c670d879d5 do NOT connect to previous imap server, if user triggers a change of server 2014-08-20 14:58:12 +00:00
Ralf Becker
76e229b718 remove unnecessary .useElipsis:after 2014-08-20 08:24:27 +00:00
Klaus Leithoff
162c08a457 fix broken move via nm-action-menu-entry 2014-08-19 13:54:04 +00:00
Ralf Becker
c664ae5b65 add pure php connect/login times to profile 2014-08-19 08:45:41 +00:00
Hadi Nategh
de3ff0c2ff Fix css class name typo in mail 2014-08-19 07:33:10 +00:00
Nathan Gray
b2544e1b2d When moving mail, remove any cache for target directory 2014-08-18 20:53:23 +00:00
Ralf Becker
947f6b1551 fixed PHP Fatal error " Call to undefined method emailadmin_imapbase::subscribe" since r48090 2014-08-18 10:33:22 +00:00
Ralf Becker
e47db95be7 * Mail: fixed sometimes not working (un)subscribe of mailboxes, added better diagnostic and automatic (de)select children 2014-08-15 11:22:43 +00:00
Klaus Leithoff
1f3bb33fd8 implement some >mark all messages in folder as read< action 2014-08-14 15:38:32 +00:00
Hadi Nategh
67c939d0e1 * MAIL/Compose: Make to/cc/bcc fields draggable and droppable.
- Ctrl+ dragging copy the email to target, otherwise it moves to target.
2014-08-14 14:44:16 +00:00
Klaus Leithoff
2df89703ca * Mail: fix problem on not applied but possibly set status filter on all message actions for flagging 2014-08-14 13:49:14 +00:00
Hadi Nategh
176c1247dc Refresh Trash folder folder-status when empty Trash action is triggered not from the Trash folder 2014-08-14 11:28:55 +00:00
Hadi Nategh
bcedbb950e Fix switching between HTML/PLAIN is not working on mail compose 2014-08-13 12:55:28 +00:00
Ralf Becker
589d2c9dae * Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail) 2014-08-13 11:45:55 +00:00
Ralf Becker
1f35ccea1f allow to switch caching in Horde_Imap_Client off globally via unset(emailadmin_imap::$default_params["cache"]); and do that by default for profiling 2014-08-13 07:14:46 +00:00
Nathan Gray
deeebeb77f Directly delete any trash cache when trash is emptied 2014-08-12 19:06:58 +00:00
Ralf Becker
251a4cd25e profiling script for mail 2014-08-12 17:01:22 +00:00
Nathan Gray
694a63d1f4 Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-12 16:58:07 +00:00
Ralf Becker
5544c63b34 pending translations from our translation server 2014-08-12 12:39:21 +00:00
Hadi Nategh
c60b7ae328 Revert the change on ajax_refreshVacationNotice from commit 48039. Fix not keeping other vacations of an user in the cache 2014-08-12 08:23:54 +00:00
Nathan Gray
91eabea294 Some more speed improvements for get_rows:
- Don't verify that special folders exist
2014-08-11 19:26:50 +00:00
Nathan Gray
82db8343bd 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-11 16:24:11 +00:00
Ralf Becker
217a2a8a11 fix for invalid operand, if vacation cache is not yet initialised 2014-08-11 14:16:26 +00:00
Hadi Nategh
e06b02f6f6 Call ajax_refreshVacationNotice as a static method 2014-08-11 12:44:33 +00:00
Hadi Nategh
cb093e7266 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 12:14:27 +00:00
Hadi Nategh
f22b156f21 Add msg_type to callWizard to be able to set message type when we call emailadminWizard 2014-08-08 13:36:33 +00:00
Hadi Nategh
6b015a9448 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-08 10:04:49 +00:00
Hadi Nategh
449dea5553 Unlock mail folder tree after setFolderStatus operation is finished 2014-08-07 15:56:25 +00:00
Hadi Nategh
1d8c630a17 Lock mail tree by clicking on "empty trash" action and unlock it after the operation is finished 2014-08-07 12:57:33 +00:00
Nathan Gray
a28cbb4d7e - Fix cache key to include sorting
- Fix cache key for initial load, was missing selected folder
- Avoid deleting data, it causes blank rows.  Refreshing instead.
2014-08-06 21:13:27 +00:00
Nathan Gray
f19666096e Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough. 2014-08-06 20:53:37 +00:00
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
Nathan Gray
dcc6166212 Use cache callback to unlock folder tree immediately when the cache is used. 2014-08-04 17:04:45 +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
Hadi Nategh
a105ac7e1d Append aliases to mail vacation addresses insted of replacing them with existing one 2014-08-01 13:40:45 +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
Nathan Gray
d21e2b2dd7 Avoid error if _filters is not set 2014-07-29 22:10:48 +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
Ralf Becker
d2b6fd0794 pending translations from our translation server 2014-07-23 16:40:19 +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
f2ca4d2762 copy felamimail preferences to new mail app, if they still exist there 2014-07-22 14:57:23 +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
95e1fb860a Make sure et2 is availabe, because it could be not available over cases like when mail connection error. It Fixes error: "can not read getWidgetById of undefined" 2014-07-18 17:22:28 +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
5933d54150 try to recover from non existing this.et2 2014-07-17 14:39:56 +00:00
Ralf Becker
fa95339c3c only need one save-as-zip image 2014-07-17 11:22:57 +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
Stefan Reinhardt
d3e5f58611 mail / less
change @import....
2014-07-16 11:32:24 +00:00
Hadi Nategh
96dfb6d04f Make sure there are attachments to register them for drag 2014-07-16 11:10:25 +00:00
Stefan Reinhardt
650be336eb pixelegg
new Icons

save_zip
2014-07-16 09:08:32 +00:00
Hadi Nategh
6feb5fa30c Add zip icon to mail attachment save as zip file 2014-07-15 12:14:21 +00:00
Hadi Nategh
304dcf42a3 Fix accidently overwritten messages of commit 47671 by commit 47680 2014-07-15 11:35:47 +00:00
Hadi Nategh
fb98168c7e Fix confirmation dialog messages for move/copy mail 2014-07-15 11:17:03 +00:00
Ralf Becker
82953bf156 change phrase "all messages in current folder" to "all messages in current view", as we take search and filters into account, also change German translation accordingly 2014-07-15 09:37:08 +00:00