Commit Graph

894 Commits

Author SHA1 Message Date
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
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
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
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
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
a16a7190f2 remove unnecessary .useElipsis:after 2014-08-20 08:24:47 +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
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
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
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
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
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
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
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
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
Klaus Leithoff
ea1ae4f006 using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin 2014-08-05 12:36:06 +00:00
Klaus Leithoff
301e71f432 introduce some stuff to increase inital speed of mail-list by asyncronously calling gatherVacation and getQuotaRoot; increase cache-time on folderExists cache, trust a folder to be existant (or at least fot force the check with IMAP-Server) in get_rows 2014-08-05 09:14:04 +00:00
Hadi Nategh
baa5e4cdbc Add browser popup blocker checker for open_link method.
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-05 08:12:33 +00:00
Klaus Leithoff
9bba24a40c unlock tree immediately after fetching the rows 2014-08-04 13:03:14 +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
Klaus Leithoff
933d00e79f fix call for mail.mail_ui.ajax_refreshQuotaDisplay; alter condion on not calling openConnection; 2014-08-01 12:13:21 +00:00
Klaus Leithoff
5acbcad35d cache subscribedFolders Call to be used in getfolderStatus; control param if to fetch subscribed Info on getFolderStatus at all; own getMailboxCounters wrapper, instead of getFolderStatus, if one needs the counters only 2014-07-31 10:22:47 +00:00
Klaus Leithoff
565f8de5e0 * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:14:04 +00:00
Klaus Leithoff
4515afb067 add missing flags parameter on reopening exported messages 2014-07-24 12:00:45 +00:00
Ralf Becker
138af9f95b remove wrong settings definition, causing an illegal string offset in preferences 2014-07-24 09:52:28 +00:00
Ralf Becker
f36c84f15b pending translations from our translation server 2014-07-23 16:47:31 +00:00
Ralf Becker
650d271fc0 copy felamimail preferences to new mail app, if they still exist there
r47848: fixe PHP Fatal error in preferences::copy_preferences() in mail install
2014-07-22 16:53:27 +00:00
Hadi Nategh
a93ab11a60 Fix mail ACL popup dialog does not make delete button readonly for account owner 2014-07-22 13:56:36 +00:00
Ralf Becker
d9ae69e044 fixed async job was not removed, if facations was deactivated and only try to reschedule with increasing intervals for 2 days 2014-07-22 12:52:28 +00:00
Klaus Leithoff
a66066fbc5 allow to call getAllIdentities for other users; used for Admin Calling eSync Prefs on Mail for other users 2014-07-22 11:17:13 +00:00
Hadi Nategh
92a538a43c Try to catch PEAR_Exception over mail_ui and callWizard if there is an exception.Additionally, merges cleanup commit 47728 2014-07-21 15:56:34 +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
391317c5c6 fix typo 2014-07-18 11:22:03 +00:00
Klaus Leithoff
1f9b7689e5 try to recover from non existing this.et2 2014-07-17 14:47:12 +00:00
Ralf Becker
f24915a23c only need one save-as-zip image 2014-07-17 11:25:15 +00:00
Ralf Becker
fa95339c3c only need one save-as-zip image 2014-07-17 11:22:57 +00:00
Ralf Becker
a425342d82 change @import (r47700-r47709) 2014-07-17 10:47:02 +00:00
Ralf Becker
b683834762 new icons 2014-07-17 10:42:24 +00:00
Klaus Leithoff
d88acda181 handle all text string for move and delete action success message 2014-07-17 10:05:47 +00:00
Klaus Leithoff
24606be582 handle all text string for move and delete action success message 2014-07-17 09:59:14 +00:00
Hadi Nategh
07a036b5f4 Fix IDE warnings in mail_ui 2014-07-16 16:34:15 +00:00
Hadi Nategh
2b07a387c6 Remove Mail_ui class out commented statements, in order to make the code easier to read 2014-07-16 13:42:36 +00:00
Hadi Nategh
ae062b12c5 Mail_ui::__construct() free of out commented statements 2014-07-16 12:15:11 +00:00
Hadi Nategh
1d0db1e05b Fix mail import message dialog 2014-07-16 11:37:02 +00:00
Stefan Reinhardt
d3e5f58611 mail / less
change @import....
2014-07-16 11:32:24 +00:00
Hadi Nategh
96dfb6d04f Make sure there are attachments to register them for drag 2014-07-16 11:10:25 +00:00
Stefan Reinhardt
650be336eb pixelegg
new Icons

save_zip
2014-07-16 09:08:32 +00:00
Hadi Nategh
6feb5fa30c Add zip icon to mail attachment save as zip file 2014-07-15 12:14:21 +00:00
Hadi Nategh
6e96b74e5d Fix confirmation dialog messages for move/copy mail 2014-07-15 11:41:14 +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
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
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
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
Nathan Gray
2b1d6e2244 Add drag action for display popup attachments 2014-07-14 20:50:08 +00:00
Hadi Nategh
9086a0e2eb Unlock the mail tree after move/copy actions 2014-07-14 16:01:28 +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
Ralf Becker
579e0da787 new method to check if mail account is an imap account: Checks if an imap host, username and NOT deliveryMode="forwardOnly" is set 2014-07-08 11:09:31 +00:00
Klaus Leithoff
05b2773391 fix warning invalid-argument-supplied in notification_check_mailbox 2014-07-08 10:36:04 +00:00
Klaus Leithoff
5b1ed6a756 fix for failed bulk-download of attachments; bo functions for retrieving mail attachments (and header info for subject) NEED the folder information 2014-07-08 10:20:19 +00:00
Ralf Becker
3d79bae09a Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br 2014-07-08 09:57:42 +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
Klaus Leithoff
07d1ba39a6 handle problems with select-all on flag, move and delete 2014-07-08 08:50:43 +00:00
Ralf Becker
d478f38a03 some css fixes for Stylite/iDots template: button size, attachment display 2014-07-08 07:30:02 +00:00
Ralf Becker
2139e4eab4 Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br 2014-07-04 07:08:54 +00:00
Nathan Gray
99e28b96b3 Add save all attachments as zip to mail display popup 2014-07-03 17:17:54 +00:00
Stefan Reinhardt
0de1db26bd mail:
button "create new mail"

change color - active + hover state
2014-07-03 17:02:09 +00:00
Nathan Gray
ed6d15098a Add save all attachments as zip to mail preview 2014-07-03 16:57:14 +00:00
Hadi Nategh
2681b2cee2 Fix lack of documentation 2014-07-03 14:03:59 +00:00
Klaus Leithoff
e0b9fadfdd * Mail/Infolog/Tracker: fix problem with converting mail to infolog/tracker entries, when forwarded messages are attached (message/rfc822 attachments) 2014-07-03 10:16:23 +00:00