Commit Graph

1081 Commits

Author SHA1 Message Date
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
Ralf Becker
b02c771f4a pending updates from our translation server 2014-09-22 11:59:05 +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
0ea2d1ac7f pending translations from our translation server: thanks to all contributors 2014-09-19 08:31:38 +00:00
Klaus Leithoff
9555780834 pending translations from our translation server 2014-09-19 08:26:55 +00:00
Klaus Leithoff
a2d2a9e527 disable non functional readall action on mail display popup actionmenu 2014-09-18 12:34:10 +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
dc965c15f9 ensure Message-Id is the same for outgoing mail AND message saved in send-folder 2014-09-11 14:10:51 +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
2172fc769d * Mail: support the propagation of Thread-Topic, Thread-Index and List-Id on reply too 2014-09-11 11:52:58 +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
ab805f90e4 * Mail: Colorize mail contents according to their hierarchy in body 2014-09-10 11:59:40 +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
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
Klaus Leithoff
757d0e9c38 fix for rare problem on toggle html2text resulting in empty content; preparation for REFERENCES and IN-REPLY-TO 2014-09-09 14:06:24 +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
5939930c60 * Mail: Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 13:17:20 +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
64f6aad5a2 nextmatch responses got cached for in meantime changed folder 2014-09-08 15:55:00 +00:00
Ralf Becker
24136c11d6 using standard emailadmin_account methods for account list and account-name 2014-09-08 15:53:58 +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
fa50e7985a handle problems in email display and processing for further use 2014-09-05 12:28:43 +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
d8c3f673f6 * Mail: Improvement of attachment area UI in compose,display and preview dialogs 2014-09-04 15:03:31 +00:00
Ralf Becker
b91a96c156 pending translations from our translation server 2014-09-04 14:16:19 +00:00
Ralf Becker
c7f6513e89 pending translations from our translation server 2014-09-04 14:15:18 +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
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
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
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
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
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
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
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
a65b23a3ee pending de translations 2014-08-27 15:48:31 +00:00
Ralf Becker
624be7e0b9 pending de translations 2014-08-27 15:47:39 +00:00
Klaus Leithoff
59b14512cd * 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:42:00 +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
b448b7b6be fix problem with unclickable first attachment in display popup 2014-08-26 12:08:40 +00:00
Klaus Leithoff
01f764404f fix problem with unclickable first attachment in display popup 2014-08-26 10:59:07 +00:00
Hadi Nategh
171143a7ce Mail: fixed column sizes and stretch (change when window size changes) 2014-08-22 14:22:42 +00:00
Hadi Nategh
466d11a623 Avoid some et2 warnings about not existing attributes (no speed improvement, but less annoying) 2014-08-22 14:19:55 +00:00
Hadi Nategh
05b8144bc8 Add zip icon to mail attachment save as zip file 2014-08-22 13:45:56 +00:00
Hadi Nategh
79de0970c1 Fix css class name typo in mail 2014-08-22 13:42:31 +00:00
Hadi Nategh
1889f9f1aa Fix mail import message dialog 2014-08-22 13:40:25 +00:00
Hadi Nategh
6cc7ff661d Remove some white spaces and out commented line 2014-08-22 13:31:43 +00:00
Hadi Nategh
d53cbd70f6 reverted accidently commited permanent error_log 2014-08-22 13:26:31 +00:00
Hadi Nategh
874be20a6c Refresh Trash folder folder-status when empty Trash action is triggered not from the Trash folder 2014-08-22 13:24:54 +00:00
Hadi Nategh
9e749e516d 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-08-22 13:18:47 +00:00
Ralf Becker
e7edc079ab pending NL translations from our translation server 2014-08-22 13:04:37 +00:00
Ralf Becker
542d178eef pending NL translations from our translation server 2014-08-22 13:04:08 +00:00
Hadi Nategh
00c348e21f pending translations from our translation server 2014-08-22 12:45:40 +00:00
Ralf Becker
70b2e235ce * all apps: fixed column sizes and stretch (which columns change when window size changes) 2014-08-22 11:51:11 +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
3fb93c33a6 fixing assumed typo regarding:preg_match(): No ending delimiter "^" found in class.mail_ui.inc.php on line 144 2014-08-22 10:19:32 +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
Ralf Becker
2ee25bc790 using JSON.stringfy() directly gave a crash in Safari 7.0.4 2014-08-21 18:28:05 +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
ea026cf328 Backport commit r48148, committed by Ralf Becker. 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 15:42:34 +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
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
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
d324e943b3 remove semi-transparent background of locked folder-tree 2014-08-21 07:59:23 +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
Hadi Nategh
cecb348919 Fix mail compose to/cc fields are not getting scrollbar if amount of mails are bigger than 3 rows 2014-08-21 07:31:47 +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
a16a7190f2 remove unnecessary .useElipsis:after 2014-08-20 08:24:47 +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
Nathan Gray
6a8e85c3e1 Add drag&drop for email and link lists 2014-08-18 18:00:00 +00:00
Ralf Becker
a0354ab8eb fixed PHP Fatal error " Call to undefined method emailadmin_imapbase::subscribe" since r48090 2014-08-18 10:34:36 +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
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
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
0f498492b4 implement some >mark all messages in folder as read< action 2014-08-14 15:39:05 +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
d84b700517 * Mail: fix problem on not applied but possibly set status filter on all message actions for flagging 2014-08-14 13:51:57 +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
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
Hadi Nategh
fd976ea1dc Backport commit r48051, committed by Nathan Gray. Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-14 07:41:24 +00:00
Hadi Nategh
34c3e1bd9a Revert the change on ajax_refreshVacationNotice from commit 48039. Fix not keeping other vacations of an user in the cache 2014-08-14 07:39:16 +00:00
Hadi Nategh
6b44e369f2 Backport commit r48040, committed by Nathan Gray. Some more speed improvements for get_rows:
- Don't verify that special folders exist
2014-08-14 07:34:40 +00:00
Hadi Nategh
80ecc08133 Backport commit r48039, committed by Nathan Gray. 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-14 07:32:51 +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
58bd3b9e60 * Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail) 2014-08-13 11:47:58 +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
Hadi Nategh
ed5d06544b Backport commit r48032 committed by Ralf Becker. Fix for invalid operand, if vacation cache is not yet initialised 2014-08-11 14:27:29 +00:00
Hadi Nategh
76f2141502 Call ajax_refreshVacationNotice as a static method 2014-08-11 14:24:31 +00:00
Hadi Nategh
b8704c4ef9 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 14:23:55 +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
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
e40065917b Backport commit r48008, committed by Nathan Gray.
Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough.
2014-08-11 13:53:06 +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
c9069a7386 Add msg_type to callWizard to be able to set message type when we call emailadminWizard 2014-08-08 16:23:02 +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
e6983f0eba Add email addresses of "all my aliases" in mail vacation, not account imap_username 2014-08-06 16:19:50 +00:00
Hadi Nategh
9d8b45588b Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard 2014-08-06 12:48:20 +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