Commit Graph

55 Commits

Author SHA1 Message Date
Ralf Becker
32a6066156 * Mail: vaction notice indicator in mail showed result of other users
cache-key was identical for all uses due to a typo
2014-09-27 15:27:54 +00:00
Ralf Becker
3ed259f85f get folder ACL and vacation mostly working for admin usage 2014-09-24 17:25:18 +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
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
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
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
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
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
78a461b120 * Mail/Sieve: Show mail sieve rules list in mail index with sidebox mailTree available 2014-05-22 14:46:50 +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
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
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
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
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
Hadi Nategh
9dbe1ff186 Get correct "aliases" addresses in sieve vacation 2014-05-14 16:23:11 +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
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
Hadi Nategh
3bf554b986 Let vacation popup window stays open if there is an error while saving 2014-05-02 14:39:49 +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
fe5aec505b Set default value for days field in vacation popup window 2014-04-25 10:36:59 +00:00
Klaus Leithoff
4387985b3c proper Id tag for class header 2014-04-03 12:31:52 +00:00
Klaus Leithoff
a4efec4997 handle vacation notice on mail-index page; check and refresh on changeFolder; refresh on editVacation 2014-04-03 12:20:23 +00:00
Hadi Nategh
b429fe8ef6 * Sieve/Felamimail|Mail:Make exclamation mark (\!) in the begining of sieve rule query escapable from always bien used as NOT conditon 2014-03-13 13:16:09 +00:00
Hadi Nategh
c3ce366abe Fix action enable/disable in mail seive context menu 2014-02-14 16:56:48 +00:00
Hadi Nategh
bbe57f9648 Add egw_refresh to mail sieve. In addition, tide up the code and add documentation 2014-02-14 15:39:18 +00:00
Nathan Gray
efbdc7f532 Try to fix some errors in ajax actions
- Disable / enable did not work
- Refresh grid via ajax did not work
2014-02-13 19:00:11 +00:00
Klaus Leithoff
b3ad328429 preparations to get mail_activesync into gear 2014-01-14 13:35:39 +00:00
Hadi Nategh
e4cf9ac9b3 Show vacation notice in popup window 2013-12-17 17:10:02 +00:00
Klaus Leithoff
bf362a5dce enhance error message if not allowed to access sieve 2013-12-17 15:58:51 +00:00
Klaus Leithoff
491495e32d fix stuff regarding getSpecialUsefolders and defaultvalue of sievescriptname 2013-12-17 12:16:11 +00:00
Klaus Leithoff
d82075e86b work to get the sieve stuff back on the road. NOTE: uses oldImapServer Object, not cached, no validation regarding getInstance 2013-12-17 09:55:47 +00:00
Hadi Nategh
e5aa8a4873 Complete the missing "by date" option in mail app->sieve_rules->vacation 2013-10-16 11:22:53 +00:00
Klaus Leithoff
190a98499a sieve sidebox entrys always visible if one or more IMAP profiles support sieve; check if sieve enabled on rules-index, vacation notice and sieve forwarding 2013-10-11 11:43:01 +00:00
Hadi Nategh
fe217e5458 Remove _debug_array() from sieve rules index page 2013-10-11 08:57:25 +00:00
Hadi Nategh
58a042c1f9 Fix unnecessary demonstration of bodytransform fields on sieve rules, when they're not filled 2013-10-11 07:58:37 +00:00
Hadi Nategh
c58716b64d Set the right value for action_folder_text/taglist in sieve->edit popup window 2013-10-10 14:07:50 +00:00
Hadi Nategh
ed107f9496 Fix encoded mail folder-names by utf7-imap used by sieve rules->action->folder, and replace it with utf-8 2013-10-10 11:41:59 +00:00