Commit Graph

370 Commits

Author SHA1 Message Date
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
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
Klaus Leithoff
5933d54150 try to recover from non existing this.et2 2014-07-17 14:39:56 +00:00
Hadi Nategh
96dfb6d04f Make sure there are attachments to register them for drag 2014-07-16 11:10:25 +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
Nathan Gray
2b1d6e2244 Add drag action for display popup attachments 2014-07-14 20:50:08 +00:00
Hadi Nategh
4d24812a48 Unlock the mail tree after move/copy actions 2014-07-14 15:56:34 +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
Hadi Nategh
a1b31addf1 Lock the mail folder tree for long time response operations (e.g. empty trash, or delete all) 2014-07-09 15:21:42 +00:00
Klaus Leithoff
096f753a59 different approach on calling bulk-download (all attachments in one archive) 2014-07-08 12:01:29 +00:00
Klaus Leithoff
0d3e58c01d fix typo 2014-07-08 09:30:24 +00:00
Klaus Leithoff
37ddf7d9c3 make sure by detecting the active filters, we get the filters set to mail -> nm (similar issue as rev47468) 2014-07-08 09:22:21 +00:00
Hadi Nategh
2681b2cee2 Fix lack of documentation 2014-07-03 14:03:59 +00:00
Ralf Becker
67677ff53c get selection of all mails to eg. delete working, if other tabs/apps were opend before mail 2014-07-02 07:48:24 +00:00
Klaus Leithoff
ecccc18d1c fix situation on single message in a folder selected, but on action cancel on dialog does not cancel 2014-07-01 15:22:18 +00:00
Klaus Leithoff
872b18a631 fix substr typo (copy n paste error) 2014-07-01 12:09:10 +00:00
Hadi Nategh
79f2554120 Fix mail "move to folder".Missing start index in substr function 2014-07-01 09:23:29 +00:00
Klaus Leithoff
49830e59a3 use egw dialog for strg+a messages 2014-06-26 15:05:04 +00:00
Klaus Leithoff
ebda07c37d handle js error, if preview pane is down 2014-06-26 08:24:16 +00:00
Klaus Leithoff
121e18fd50 checkAllSelected checks only nm for all selected 2014-06-24 14:29:32 +00:00
Klaus Leithoff
66f3c1d588 Strg+A (select all): if there is only one mail, even if the message is correct, regarding all messages in the mailbox; skip it 2014-06-24 08:49:39 +00:00
Hadi Nategh
e8fef0847c Remove unnecessary "console.log" commands which they were out commented in the code 2014-06-23 16:31:43 +00:00
Hadi Nategh
2aa1bece1f Fix mail expnad on click if the mails are passed as comma seperated serialise. Additionally, fix couple of IDE warnings 2014-06-23 16:22:30 +00:00
Klaus Leithoff
d071e645cd implement Strg+A on Message deletion per folder 2014-06-20 12:05:03 +00:00
Hadi Nategh
23ca90c448 Add resizeHandler method for mail compose window, in order to control textArea size 2014-06-03 16:37:50 +00:00
Hadi Nategh
cf28231770 Work in progress of improving mail compose UI 2014-06-02 16:57:30 +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
Hadi Nategh
d58b111165 Remove _targetapp argument from observer and add _links. Additionally, make sure if the application, fired observer, is linked and needs to be refreshed 2014-05-26 14:01:18 +00:00