Commit Graph

400 Commits

Author SHA1 Message Date
Hadi Nategh
b7c6be226d WIP of mail integration
-Centralize mail functionality of mail message integration in mail module
-Some clean up of mail_import in infolog and tracker apps
-Use hook registery in order of an app uses mail integration services
-Implement mail import into calendar
2015-04-15 11:23:59 +00:00
Hadi Nategh
728b165720 Fix mail compose not getting in focus on body when using html 2015-04-01 07:34:02 +00:00
Hadi Nategh
76c0911dcc Get focus on To/Body field depending on To field value 2015-03-30 13:47:08 +00:00
Nathan Gray
97efc7808c Let filemanager/vfs handle escaping characters instead of just stripping them out 2015-03-18 16:20:11 +00:00
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
6c52c48866 Disable compose dialog resize for mobile devices 2015-02-24 16:33:17 +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
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
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
2eb5b6f097 read attachment data from etemplate request, use tmpname only to identify it 2015-02-14 20:10:26 +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
Hadi Nategh
df76d33437 Fix mail compose toggle buttons set values 2015-01-13 15:52:00 +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
Hadi Nategh
e0e3565208 Fix mail compose notification not working 2015-01-13 09:54:19 +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
7134da86b3 Fix compose toolbar ids 2015-01-07 17:37:56 +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
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
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
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
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
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
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
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
Hadi Nategh
4d300a58e0 Resize mail compose after window resized too 2014-11-28 16:18:46 +00:00
Hadi Nategh
c41251a3e3 Fix printing problem happening in IE and FF 2014-11-28 13:51:00 +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
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
Ralf Becker
d3ff144685 first step for a combined account and identity/signature selector 2014-11-20 15:05:25 +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
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
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
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
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
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
Hadi Nategh
dae1ce6554 Work in progress, standardization of dnd action helper styling for all apps 2014-10-17 16:34:14 +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
Hadi Nategh
ea47198d35 Fix copy/move of mail to another mail account 2014-10-14 08:01:52 +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
1b9865bbbf fix javascript error "no method indexOf of undefined" 2014-10-06 09:57:50 +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
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
Hadi Nategh
c0b92e9f10 Adjust mail preview header part according to its content 2014-09-22 16:25:36 +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
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
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
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
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
2ee25bc790 using JSON.stringfy() directly gave a crash in Safari 7.0.4 2014-08-21 18:28:05 +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
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
Klaus Leithoff
162c08a457 fix broken move via nm-action-menu-entry 2014-08-19 13:54:04 +00:00
Nathan Gray
b2544e1b2d When moving mail, remove any cache for target directory 2014-08-18 20:53:23 +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
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
Nathan Gray
deeebeb77f Directly delete any trash cache when trash is emptied 2014-08-12 19:06:58 +00:00
Hadi Nategh
e06b02f6f6 Call ajax_refreshVacationNotice as a static method 2014-08-11 12:44: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
dcc6166212 Use cache callback to unlock folder tree immediately when the cache is used. 2014-08-04 17:04:45 +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
Nathan Gray
d21e2b2dd7 Avoid error if _filters is not set 2014-07-29 22:10:48 +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