Commit Graph

81 Commits

Author SHA1 Message Date
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
8f53e3d9f1 * Mail: warn user when there's no space left for storing sieve rules because of sieve_maxscriptsize limit 2018-06-15 15:49:34 +02:00
Hadi Nategh
73e2243b33 Fix email identity with no domain part set 2017-04-24 11:39:02 +02:00
Hadi Nategh
524296b757 * Mail: Fix vacation notice can not deal with aliases, which have no domain set 2017-04-21 11:08:39 +02:00
Ralf Becker
a41f78381c Stylite AG --> EGroupware GmbH 2016-10-08 14:32:58 +02:00
Hadi Nategh
5c42f4254e Do not let empty string as email alias in vacation dialog 2016-08-15 11:44:13 +02:00
Hadi Nategh
5b8f161d1d * Mail: Fix set vacation via admin does not work anymore 2016-08-02 16:44:14 +02:00
Ralf Becker
36005d8189 * Mail/Sieve: fix PHP Fatal error on minimal install when trying to edit rules or vacation notice 2016-07-07 10:22:18 +02:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Hadi Nategh
35790eabec Change look and feel for mail filter edit dialog
- Make ruleID available on client-side to represent it as id in dialog
- Use tabs instead of long list dialog
2016-05-06 10:47:06 +00:00
Ralf Becker
72404a1e29 using new api for mail app 2016-05-03 19:17:44 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Klaus Leithoff
64006d366a fix typo from previous r54863 2016-01-28 11:24:24 +00:00
Klaus Leithoff
7d1782ecc0 correctly set Vacation Cache when acting on behalf of another user 2016-01-28 10:51:51 +00:00
Ralf Becker
d9759cced8 replacing Net_Sieve with Horde\ManageSieve, thought we need some fixes not yet accepted in Horde, therefore we include a copy of fixed package 2016-01-28 09:52:05 +00:00
Ralf Becker
696dd8d6a7 also strip personal part from vacation notice addresses, cleaning up code and IDE warnings 2015-07-20 13:00:48 +00:00
Klaus Leithoff
3ada72ef2f upon save, reduce possible rfc-addresses to email-address only for forwards on rules and vacationnotices 2015-07-07 13:26:58 +00:00
Ralf Becker
666bdd82df * Mail: fix sieve rules for moving mails into folder containing non-ascii chars (Dovecot requires sieve rules in utf8, while Cyrus needs utf7-imap) 2015-06-22 18:49:20 +00:00
Klaus Leithoff
a238407182 * Mail/Sieve: require a vacation notice text on vacationnotice edit and save. 2015-04-21 11:17:49 +00:00
Hadi Nategh
c58b950a71 Fix not working forwarding multiple addresses in sieve edit dialog 2015-04-08 16:28:48 +00:00
Ralf Becker
e94c57d6b1 * Mail: fixed exception when opening vacation notice or sieve-rules for an account with a changed standard identity or later created account
emailadmin_account::read_identity() needs ident_id NOT acc_id as 1. parameter
2015-02-09 09:18:05 +00:00
Klaus Leithoff
2e02b05d4e * Mail/Sieve: check capability if VACATION is supported by SIEVE Server before trying to set an serverside vacation absent notice
code clean up in hooks and conditional debug for sendMDN
2015-02-06 12:35:51 +00:00
Klaus Leithoff
47110d3735 fix for problem preventing async-vacation to be run properly 2015-01-20 14:28:46 +00:00
Hadi Nategh
94ea53a688 * Mail/Sieve: Fix sieve save into folder with wrong namespace 2015-01-19 12:12:18 +00:00
Hadi Nategh
66bbe734d8 Set vacation addresses with all aliases if there's nothing set for the first time 2014-12-16 15:24:47 +00:00
Ralf Becker
8548f08947 fixed wrong order of arguments to setVacationUser() 2014-12-09 08:41:03 +00:00
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