Commit Graph

1061 Commits

Author SHA1 Message Date
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
Hadi Nategh
4830bcf784 Try to cache vacation for each account to avoid to connect to IMAP server if vacation rules are not changed 2014-08-06 10:56:01 +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
98cd4bbe28 using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin 2014-08-05 11:59:06 +00:00
Hadi Nategh
19ff0d23cc Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard 2014-08-05 09:26:28 +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
Klaus Leithoff
1bb1d18997 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 08:51:26 +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
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
22d6d80aae 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-04 14:02:05 +00:00
Klaus Leithoff
9bba24a40c unlock tree immediately after fetching the rows 2014-08-04 13:03:14 +00:00
Klaus Leithoff
7967387e3a unlock tree immediately after fetching the rows 2014-08-04 12:59:13 +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
9694a4c9f8 Add email addresses of "all my aliases" in mail vacation, not account imap_username 2014-08-01 14:46:36 +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
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
3358da94e5 alter condion on not calling openConnection; as the refresh of quota was not working after changing a profile after rev47954 and not relyable after rev47956 2014-07-31 10:47:55 +00:00
Klaus Leithoff
14711b891f fix call for mail.mail_ui.ajax_refreshQuotaDisplay; as the refresh of quota was not working after changing a profile after rev47954 2014-07-31 10:42:56 +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
Hadi Nategh
8ccef246b4 Do not openConnection an extra time to imap server on constructor for changeProfile, refreshQuotaDisplay 2014-07-31 10:18:41 +00:00
Klaus Leithoff
c1c90c2621 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:10:07 +00:00
Nathan Gray
d21e2b2dd7 Avoid error if _filters is not set 2014-07-29 22:10:48 +00:00
Klaus Leithoff
565f8de5e0 * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:14:04 +00:00
Klaus Leithoff
af749e891e * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:13:34 +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
Klaus Leithoff
4515afb067 add missing flags parameter on reopening exported messages 2014-07-24 12:00:45 +00:00
Klaus Leithoff
c013b68772 add missing flags parameter on reopening exported messages 2014-07-24 12:00:17 +00:00
Ralf Becker
19651fcb9b remove wrong settings definition, causing an illegal string offset in preferences 2014-07-24 09:53:04 +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
d2b6fd0794 pending translations from our translation server 2014-07-23 16:40:19 +00:00
Hadi Nategh
0e5747deb0 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-07-23 11:59:46 +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
Ralf Becker
f2ca4d2762 copy felamimail preferences to new mail app, if they still exist there 2014-07-22 14:57:23 +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
Ralf Becker
c07599aa27 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:10 +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
Klaus Leithoff
cd702481af allow to call getAllIdentities for other users; used for Admin Calling eSync Prefs on Mail for other users 2014-07-22 10:07:30 +00:00
Hadi Nategh
ea6eb12cd4 Fix mail ACL popup dialog does not make delete button readonly for account owner 2014-07-22 08:05:42 +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
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
Hadi Nategh
3055fe6875 Try to catch PEAR_Exception over mail_ui and callWizard if there is an exception 2014-07-18 17:18:29 +00:00
Klaus Leithoff
391317c5c6 fix typo 2014-07-18 11:22:03 +00:00
Klaus Leithoff
4e0480054b avoid php-warning regarding missing 4th argument on mail_ui::createAttachmentBlock() 2014-07-17 14:56:37 +00:00
Klaus Leithoff
1f9b7689e5 try to recover from non existing this.et2 2014-07-17 14:47:12 +00:00
Klaus Leithoff
5933d54150 try to recover from non existing this.et2 2014-07-17 14:39:56 +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
Hadi Nategh
ff9443acff Apply some style to mail extraMailsBox 2014-07-02 10:09:27 +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
Hadi Nategh
d67745ce4e Fix mail profile change failure pops up XML error. Instead, make sure if there is an exception then pops up the emailadminWizard or shows up a message via tree node 2014-06-30 15:48:49 +00:00
Hadi Nategh
4f382498b3 Change felamimail-sieve title in mail site configuration to mail-sieve 2014-06-30 12:12:14 +00:00
Hadi Nategh
d23723244d Disable "Set this as default" option for vacation notice if the user is not an admin user 2014-06-30 12:03:09 +00:00
Hadi Nategh
c5ac80225b Add default vacation notice message to vacation notice text if there is no custom message 2014-06-27 14:49:24 +00:00
Klaus Leithoff
b633df95ec translations from our translation server 2014-06-27 08:41:37 +00:00
Klaus Leithoff
49830e59a3 use egw dialog for strg+a messages 2014-06-26 15:05:04 +00:00
Ralf Becker
2244d6fc63 remove not implemented "prevent managing forwards", if we want to implement it we will do so on per account basis 2014-06-26 10:14:12 +00:00
Ralf Becker
87d961b8e8 allways give admins or emailadmins all rights, even if they are in a denied group 2014-06-26 09:53:21 +00:00
Klaus Leithoff
ebda07c37d handle js error, if preview pane is down 2014-06-26 08:24:16 +00:00
Hadi Nategh
cab2ccdd29 Fix widget VFS button_caption translation 2014-06-25 16:26:59 +00:00
Klaus Leithoff
121e18fd50 checkAllSelected checks only nm for all selected 2014-06-24 14:29:32 +00:00
Klaus Leithoff
3c7a04f903 try to cope with not set content-transfer-encoding 2014-06-24 12:36:16 +00:00
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +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
Hadi Nategh
0217c2ebaa Set an empty sidebox if there is json response, and for regular request like idots template render the framework to get header and navbar shown 2014-06-23 11:38:42 +00:00
Klaus Leithoff
0ab34ccfe5 basic implementation on Strg+A for copy/move mails; not working as of now, as this.mail_checkAllSelected(_action,true) seems not to produce the desiredv result on dragndrop 2014-06-20 13:37:20 +00:00
Klaus Leithoff
d071e645cd implement Strg+A on Message deletion per folder 2014-06-20 12:05:03 +00:00
Hadi Nategh
2babf41119 Use popup method to call emailadminWizard when there is no JSON request 2014-06-20 09:28:45 +00:00
Hadi Nategh
c0d85eb33e Make sure to not popup the emailadminWizard if getfoldertree is called via tree interaction 2014-06-18 11:23:54 +00:00
Hadi Nategh
94950729ab Popup the emailadminWizard if there is authentication failure 2014-06-18 09:56:11 +00:00
Ralf Becker
efa5a598d6 fix typo in method name stalling new installs 2014-06-17 08:45:27 +00:00
Ralf Becker
f3dc471729 change common preference default-application to mail, if it was felamimail on install of new mail app 2014-06-13 13:16:05 +00:00
Stefan Reinhardt
7c6ce6f882 Mail
download all - Icons background
2014-06-12 10:52:42 +00:00
Klaus Leithoff
9ad4dc5f98 * Mail: if we use a different Identity on sending AND the identity email is different but not empty from the account email; then use identity information for From and FromName; Do not touch Sender;
ToDo: discuss to set replyto accordingly
2014-06-10 14:44:25 +00:00
Hadi Nategh
cc5e43511e Fix mail compose fields float to right in FireFox 2014-06-04 10:17:23 +00:00
Hadi Nategh
6b1d174306 Make the whole mail compose window being drop target for attachmenting file 2014-06-04 08:05:59 +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
Ralf Becker
a92a8c2f3b removed CSS causing folders in tree not to be displayed in mail with IE 11, seems to have no effect anyway ;-) 2014-06-03 16:14:01 +00:00
Klaus Leithoff
48d3f93fa3 always test if there are attachments listed with the header information, as we gather that info anyhow in getHeaders 2014-06-03 07:51:39 +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
Ralf Becker
e9b035dc8b removed egw-pear dependency 2014-05-24 17:55:38 +00:00
Hadi Nategh
797143e7e4 Get to show CC, Bcc field in compose after request of adding mail addresses from AB in case of an already opened mail 2014-05-23 15:17:42 +00:00
Hadi Nategh
80e7ca390c Fix printing mail for Firefox printing issue 2014-05-23 14:44:36 +00:00
Klaus Leithoff
8f30c7c25e * Mail: when changing account on compose, we no longer fake the sender, but we use the outgoing Server settings of that account AND copy the sent message to that accounts sentfolder (if set and prefs suggest we should store a copy in the selected accounts sentfolder) 2014-05-23 12:21:17 +00:00
Ralf Becker
b00dc896ea updating/refreshing tree on mail account changes using new observer method (not yet fully working, probably because of caching in mail backend) 2014-05-23 10:11:17 +00:00
Ralf Becker
f5c186c384 use observer in mail to overwrite refresh for Sieve rules in iframe (like app_refresh) 2014-05-23 09:21:59 +00:00
Hadi Nategh
0209a59252 Remove not used variable 2014-05-23 08:01:56 +00:00
Hadi Nategh
7aa00f7217 Avoid a server round trip for delete a sieve rule via edit dialog 2014-05-23 08:00:41 +00:00
Hadi Nategh
af63a49792 Remove Cancel button from sieve rule delete confirmation dialog, as there is already a "No" button 2014-05-23 07:57:16 +00:00
Klaus Leithoff
4ba4ba0545 replace serialize calls with json_encode; 2014-05-23 07:39:52 +00:00
Hadi Nategh
253bc18f90 Make sure to send json request from the current window 2014-05-22 15:22:19 +00:00
Hadi Nategh
78a461b120 * Mail/Sieve: Show mail sieve rules list in mail index with sidebox mailTree available 2014-05-22 14:46:50 +00:00
Hadi Nategh
6ed0d09212 Fix more warnings (e.g., remove unsed varaibles, and fix miss documentation) 2014-05-22 07:47:49 +00:00
Klaus Leithoff
fa3029a59e fix empty needle warning on compose change profile/signature 2014-05-22 07:45:21 +00:00
Ralf Becker
7a305bdf95 enable/disable Sieve and ACL actions on tree account-specific, also added a couple more icons to tree icons 2014-05-22 07:36:02 +00:00
Ralf Becker
38419b2abe fixed typo causing vacation stored on an other account 2014-05-21 18:16:39 +00:00
Hadi Nategh
f820209a6a Set account object based on acc_id. Additionally, disable acc_id selectbox if not is_admin_vac 2014-05-21 17:44:10 +00:00
Ralf Becker
b0800a1697 make optional $_scriptName last parameter and other cleanups 2014-05-21 15:26:12 +00:00
Hadi Nategh
6b0b8b35fb Fix error of "$this->debug" in async_vacation, and warning regarding retriveRules 2014-05-21 12:23:09 +00:00
Ralf Becker
f98642df20 fixed not existing Sieve script gives now an exception 2014-05-21 11:24:34 +00:00
Ralf Becker
6c1ac892fb moving async job stuff to mail app and storing mail and user account in async job 2014-05-21 08:08:02 +00:00
Hadi Nategh
8bbba434c2 Remove scriptName which is no longer neccessary to be set, as we set it in emailadmin_seive anyway 2014-05-20 17:22:52 +00:00
Ralf Becker
467c715ddc need to use initialised smtp object from mail account 2014-05-20 17:15:37 +00:00
Ralf Becker
c707a25b5a need to check timed Sieve available on icServer object not mail account, to allow plugins to overwrite it 2014-05-20 16:48:44 +00:00
Ralf Becker
f27fbd3fc8 changed emailadmin_imap to switch emailadmin_sieve to exceptions and handle these for vacation now 2014-05-20 15:39:20 +00:00
Klaus Leithoff
86eb361233 handle folder-tree refresh on subscribe/unsubscribe ; with focus on shared folders 2014-05-20 14:28:23 +00:00
Klaus Leithoff
c34ddd14c4 fix problem on folder Substribtion tree - all folders are marked as subscribed, wether they are ore not 2014-05-20 13:39:04 +00:00
Hadi Nategh
d88722a39a Fix error when not successfully read the vacation. In addition, rename mailPreference to mailConfig as we dont have mailPreference 2014-05-20 13:06:33 +00:00
Klaus Leithoff
30d2445714 silence debug messages 2014-05-20 11:47:18 +00:00
Ralf Becker
f4f6fba2c4 need to add mail translation to get translated action 2014-05-20 10:17:57 +00:00
Ralf Becker
cfba607048 check vacation notice available on icServer object, so plugins can overwrite and allways enable edit_user hook for managamentserver_imap 2014-05-20 10:14:27 +00:00
Klaus Leithoff
49e3fa5dbd * Mail: store last move or copy targets for action menu options to be used to move mails to previously used targets on rightclick 2014-05-20 10:02:21 +00:00
Hadi Nategh
cb0901e3b8 * Mail/Vacation: Make vacation be able to be set from both Admin and Mail 2014-05-20 08:48:50 +00:00
Ralf Becker
726b6f17dc only allow vacation notice on a single account 2014-05-19 17:20:35 +00:00
Ralf Becker
64ac219b50 * Admin/Mail: allow admins to set vacation notice for a user 2014-05-19 16:13:37 +00:00
Klaus Leithoff
88488caa6e fix typo that prevented totracker actions, when no rights for infolog 2014-05-19 12:29:26 +00:00
Hadi Nategh
029adcca5e Fix add emails from AB to mail compose getting join with comma. Additionally, fix warnings, and complete undocumented functions 2014-05-16 15:39:05 +00:00
Klaus Leithoff
f3979fac84 switch error message after failure from level waring to error, so the error-message sticks 2014-05-16 11:52:44 +00:00
Klaus Leithoff
16b94ae4b8 fix issue with getMailBoxUserName; insufficient assumptions on creating an imap-username from given username or id and logintype 2014-05-15 14:33:27 +00:00
Hadi Nategh
9dbe1ff186 Get correct "aliases" addresses in sieve vacation 2014-05-14 16:23:11 +00:00
Stefan Reinhardt
0eeb20da86 mail -
display : view
delete border around iframe
2014-05-14 12:31:46 +00:00
Hadi Nategh
e1a5ac7ffa Fix warning "Missing argument 1 for mail_sieve::get_rows() in sieve" 2014-05-14 12:04:02 +00:00
Hadi Nategh
e743b3969e Remove not used method "email_address_converter" in sieve, and cleanup couple of more warnings 2014-05-14 08:32:11 +00:00
Hadi Nategh
1c31dad881 Switch sieve from oldimap class to new imap 2014-05-13 17:09:05 +00:00
Klaus Leithoff
09fea87804 translations from our translation server 2014-05-13 14:43:56 +00:00
Klaus Leithoff
c0c0daa41c code-cleanup: only use one mailPreferences class var; not 3 2014-05-13 13:10:53 +00:00
Hadi Nategh
1aef94735c Check validation for addresses in "Respond" field, and make "text and Respond" fields required 2014-05-13 08:51:03 +00:00
Hadi Nategh
24d3ae08c7 Clean up mail sieve from warnings 2014-05-13 07:54:42 +00:00
Ralf Becker
3d5a2ffc3b handle connection errors by opening wizard and show a fake folder with error message (to not get error from tree and unlock tree again) 2014-05-12 07:35:23 +00:00
Klaus Leithoff
ec1346b8e5 translations from our translation server 2014-05-09 14:16:27 +00:00
Klaus Leithoff
d808e0a6c5 * Mail: harden mailapp to better cope with broken accounts 2014-05-09 12:43:57 +00:00
Klaus Leithoff
ee46a063a0 * Mail: fix a namespace issue (for additional defineable namespaces under dovecot) reported by E.Popp 2014-05-08 08:50:48 +00:00
Hadi Nategh
cd3c1901af Order tabindex in mail compose to From->To->Body 2014-05-08 07:20:28 +00:00
Hadi Nategh
3bf554b986 Let vacation popup window stays open if there is an error while saving 2014-05-02 14:39:49 +00:00
Klaus Leithoff
9ee9aad19c only save LastSignatureIDUsed when different from the last one 2014-05-02 10:39:22 +00:00
Klaus Leithoff
0fcea2103a * Mail: remember last used Signature on Compose, and try to use it on subsequent compose sessions 2014-05-02 10:33:54 +00:00
Hadi Nategh
3faf02eb88 Apply no caption to vfs-select located in mail compose, and style vfs-select and file upload accordingly 2014-04-30 13:13:14 +00:00
Klaus Leithoff
79558cf82d silence error_log, for running too often 2014-04-29 13:21:19 +00:00
Klaus Leithoff
080a4ac653 * Mail: limit async notification on new mail to once every 3 minutes; control if a imapHost is set on choosen profile 2014-04-29 13:04:17 +00:00
Klaus Leithoff
7434cd7144 * Mail: fix for messed up signature in some cases; fix for not beeing able to delete/remave an attachment to a new mail that was attached using PRESET methods 2014-04-29 09:53:47 +00:00
Stefan Reinhardt
3dd6e5f8a9 mail - less
et2_file_span: width reduce
2014-04-28 13:14:05 +00:00
Klaus Leithoff
769d56e390 remove obsolet mail_bo::getInstance for settings in mail 2014-04-25 13:01:33 +00:00
Hadi Nategh
83b76884a9 Change default value for days filed in vacation popup to 3 2014-04-25 12:33:00 +00:00
Hadi Nategh
81f13e4044 Re-arrange vacation popup window template 2014-04-25 10:39:54 +00:00
Hadi Nategh
cf4ddbc60f Fix "add aliases button", add nothing 2014-04-25 10:38:31 +00:00
Hadi Nategh
fe5aec505b Set default value for days field in vacation popup window 2014-04-25 10:36:59 +00:00
Klaus Leithoff
b69e147247 * Mail: skip accounts with no imap server set for notification and foldertree 2014-04-25 09:42:18 +00:00
Klaus Leithoff
caeb39417c * Mail: implement notification for incomming mails in folders if configured/set in mailaccountprofile 2014-04-24 13:53:10 +00:00
Stefan Reinhardt
1aa12fef90 change buttom email send 2014-04-24 10:55:14 +00:00
Klaus Leithoff
d471d547ee refresh foldertree on subscribe/unsubscribe 2014-04-24 09:23:06 +00:00
Klaus Leithoff
79134d7b12 translations from our translation server 2014-04-23 12:39:12 +00:00
Klaus Leithoff
b61c69f3dc * Email: remove option to reset cached objects; reset Cached Objects on account-edit 2014-04-23 09:18:50 +00:00
Klaus Leithoff
d1151d876e translations from our translation server 2014-04-23 07:44:08 +00:00
Klaus Leithoff
0771c4ff08 fix double call on icServer->getACL 2014-04-22 14:15:58 +00:00
Klaus Leithoff
31d36fb718 remove double checks on pear and imap stuff, which is already checked by emailadmin 2014-04-17 16:40:45 +00:00
Hadi Nategh
221b3b83af Remove scrollbar from mailAttachment panel in print preview 2014-04-17 15:55:54 +00:00
Klaus Leithoff
e02c62bccd include dependency on Net_Sieve, remove tnef 2014-04-17 15:21:16 +00:00
Hadi Nategh
826e35ffac Get mail print working for idot and pixelegg templates 2014-04-17 15:10:16 +00:00
Ralf Becker
0220a0b850 fixed fatal error in package installation, should not matter, as if no mbstring is install, you should have no config for it 2014-04-17 14:38:54 +00:00
Hadi Nategh
898fc3c9fc Fix mail Print does not show attachment list 2014-04-17 13:31:18 +00:00
Hadi Nategh
8633fc35e0 Get Print action working for mail Preview 2014-04-17 09:59:08 +00:00
Hadi Nategh
d007da8e79 Fix print styling for mail Display popup 2014-04-16 17:16:42 +00:00
Ralf Becker
f65c3f73dd fixed error during new installs: emailadmin_account::search(TRUE) is NO valid account_id 2014-04-15 17:53:14 +00:00
Hadi Nategh
d1e3d3b0c0 Make delete buttons readonly for account owner and entry field. Additionally, clean up some warnings in the code 2014-04-15 16:09:19 +00:00
Klaus Leithoff
ff6484bbbb if this.et2 is not defined, try to recover, if this fails, return silently and skip attempt to refresh quta/vacationnotice/filter/filter2 2014-04-15 11:57:15 +00:00
Klaus Leithoff
c720b1f1d4 fix for not fetched reply-to on compose. Hordes getEnvelope does not provide the desired data, use selected data from getMessageHeader 2014-04-15 10:42:30 +00:00
Hadi Nategh
6016325aa1 Fix not being able to set ACL rights for folders that have space on their names 2014-04-15 09:05:03 +00:00
Klaus Leithoff
264868adaf fix typo: adapt class-var mail 2014-04-14 07:12:24 +00:00
Klaus Leithoff
40136cff9b * eMail: some Servers have very limited SEARCH capability; (no OR allowed/supported) try to detect and act accordingly 2014-04-11 13:52:58 +00:00
Klaus Leithoff
d3ef9ea496 attempt to cleanup regarding old emailadmin/felamimail 2014-04-08 15:19:06 +00:00
Klaus Leithoff
1411cc73fb attempt to cleanup regarding old emailadmin/felamimail 2014-04-08 14:55:43 +00:00
Klaus Leithoff
2b6500ef80 translations from our translation server 2014-04-08 08:39:47 +00:00
Klaus Leithoff
e6a315db97 remove obsolet sieve entries from sidebox (moved to tree context menu) 2014-04-08 08:36:27 +00:00