Commit Graph

287 Commits

Author SHA1 Message Date
Ralf Becker
7f619fe32d 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:06:30 +00:00
Ralf Becker
d6b3362420 fix javascript error "no method indexOf of undefined" 2014-10-06 09:58:46 +00:00
Hadi Nategh
b831d2c593 * Admin: New setting for admin users with available administrator password to be able to modify mail ACL rights and vacation notices (no longer in admin context menu but under edit account->forward... tab) of each accounts via both mail and admin app.
-Backported commits: r48728, r48729, r48734, r48743, r48671, r48765, r48766, r48775, r48776, r48777.
2014-09-29 09:26:29 +00:00
Hadi Nategh
1289d23df9 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:31:03 +00:00
Ralf Becker
d83d3db364 single from address was shown twice in mail display 2014-09-23 08:45:10 +00:00
Hadi Nategh
ddc26c361c Avoid to refresh mail list if the active folder is not the Draft folder while saving compose mail as draft 2014-09-22 12:55:40 +00:00
Hadi Nategh
055c9f8966 Fix save as draft confirmation message does not disappear after a while 2014-09-22 12:55:04 +00:00
Hadi Nategh
62cacc922d Implement draft autosaving for mail compose.
- Auto saving interval is every 2 minutes.
2014-09-22 12:54:25 +00:00
Hadi Nategh
6cd5e61979 Restructure compose save as draft functionality and implement it as an ajax function 2014-09-22 12:53:27 +00:00
Hadi Nategh
be3e1f3e80 * Mail/Chrome: Fix not closing print dialog in compose after print or cancel in Chrome 2014-09-09 14:13:32 +00:00
Hadi Nategh
5939930c60 * Mail: Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 13:17:20 +00:00
Ralf Becker
64f6aad5a2 nextmatch responses got cached for in meantime changed folder 2014-09-08 15:55:00 +00:00
Klaus Leithoff
fa50e7985a handle problems in email display and processing for further use 2014-09-05 12:28:43 +00:00
Hadi Nategh
19157ac56c Mail compose and display dialog styling improvement 2014-09-04 11:55:21 +00:00
Hadi Nategh
f119d61d32 Work in progress of mail attachment box styling in compose and display dialogs 2014-09-04 11:54:14 +00:00
Hadi Nategh
a7a5048414 * Mail: Fix mail compose attachment is not shown while it's on upload progress for the first time 2014-09-04 11:44:02 +00:00
Ralf Becker
0af2cceaab * Mail: Fix changing flags does not affect immidiately on mail list
r48418: also need to set/remove "read" flag when removing/adding "unseen" class
2014-09-03 10:34:49 +00:00
Hadi Nategh
2abc38e08e Use url-email contact_plus attribute in mail index instead of binding tooltip explicxitly on mail app 2014-09-02 09:33:07 +00:00
Hadi Nategh
92919a242a 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:31:03 +00:00
Ralf Becker
843b12b357 using JSON.stringfy() directly gave a crash in Safari 7.0.4 2014-08-21 18:28:28 +00:00
Hadi Nategh
66e5004591 Make sure there are attachments to register them for drag 2014-08-21 15:45:31 +00:00
Hadi Nategh
dd3601c420 Backport commit r48127, committed by Klaus Leithoff. fix broken move via nm-action-menu-entry 2014-08-21 15:36:29 +00:00
Hadi Nategh
cfbb997d03 Backport commit r48111, committed by Nathan Gray. When moving mail, remove any cache for target directory 2014-08-21 15:31:02 +00:00
Hadi Nategh
8399373f35 Append aliases to mail vacation addresses insted of replacing them with existing one 2014-08-21 15:08:15 +00:00
Hadi Nategh
d0411750fc * MAIL/Compose: Make to/cc/bcc fields draggable and droppable.
- Ctrl+ dragging copy the email to target, otherwise it moves to target.
2014-08-21 15:02:51 +00:00
Ralf Becker
72219d3a04 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-21 08:01:09 +00:00
Ralf Becker
1711a3a918 do NOT connect to previous imap server, if user triggers a change of server 2014-08-21 07:59:04 +00:00
Nathan Gray
6a8e85c3e1 Add drag&drop for email and link lists 2014-08-18 18:00:00 +00:00
Ralf Becker
c1275309ab * Mail: fixed sometimes not working (un)subscribe of mailboxes, added better diagnostic and automatic (de)select children 2014-08-15 11:25:04 +00:00
Klaus Leithoff
0f498492b4 implement some >mark all messages in folder as read< action 2014-08-14 15:39:05 +00:00
Hadi Nategh
9afa8acaae Fix switching between HTML/PLAIN is not working on mail compose 2014-08-14 07:43:23 +00:00
Hadi Nategh
2437553215 Backport commit r48054, committed by Nathan Gray. Directly delete any trash cache when trash is emptied 2014-08-14 07:42:31 +00:00
Ralf Becker
58bd3b9e60 * Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail) 2014-08-13 11:47:58 +00:00
Hadi Nategh
76f2141502 Call ajax_refreshVacationNotice as a static method 2014-08-11 14:24:31 +00:00
Hadi Nategh
5941ff6a26 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-11 14:02:26 +00:00
Hadi Nategh
ac55076b7b Unlock mail folder tree after setFolderStatus operation is finished 2014-08-11 14:01:06 +00:00
Hadi Nategh
a25630b383 Lock mail tree by clicking on "empty trash" action and unlock it after the operation is finished 2014-08-11 14:00:43 +00:00
Hadi Nategh
212639b8d2 Backport commit r48010, committed by Nathan Gray.
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-11 13:57:59 +00:00
Hadi Nategh
b4f31bdfd2 Backport commit r47985 committed by Nathan Gray.
- Use cache callback to unlock folder tree immediately when the cache is used.
2014-08-06 11:13:32 +00:00
Hadi Nategh
9d1727d077 Backport commit 47927 committed by NathanGray.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-08-04 09:44:35 +00:00
Hadi Nategh
623a6ed5f7 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-21 15:24:35 +00:00
Klaus Leithoff
1f9b7689e5 try to recover from non existing this.et2 2014-07-17 14:47:12 +00:00
Hadi Nategh
6e96b74e5d Fix confirmation dialog messages for move/copy mail 2014-07-15 11:41:14 +00:00
Ralf Becker
ed5937c931 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:39:32 +00:00
Klaus Leithoff
719ede5829 handle message/rfc822 attachments as display when opened from drafted message; properly restore message/rfc822 attachments stored with .eml files 2014-07-15 07:03:23 +00:00
Hadi Nategh
9086a0e2eb Unlock the mail tree after move/copy actions 2014-07-14 16:01:28 +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