Commit Graph

268 Commits

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