Commit Graph

89 Commits

Author SHA1 Message Date
Hadi Nategh
f0422b91ca Fix no forward works only after saving sieve rule 2022-03-03 15:41:01 +01:00
Hadi Nategh
0dd215d340 * Mail: Add set flags action into mail filters 2021-10-15 17:23:48 +02:00
Hadi Nategh
75d119f31f * Mail: Implements date extension for vacation rule. None imap admin user can also set vacation rule by date. 2021-10-15 14:29:19 +02:00
Hadi Nategh
2ec9e27671 PHP8: fix error Undefined constant "status" 2021-10-14 15:37:52 +02:00
Ralf Becker
6ce05919b6 fix PHP 8 errors shown by PHPStorm 2021-03-30 20:34:58 +02:00
Hadi Nategh
bb5157d338 Fix sieve rules edit dialog loses its matches field value after re-opening the entry 2021-01-29 11:19:42 +01:00
nathangray
8b28d8ffd0 Etemplate: Include etemplate exec_id as sortable parameter 2020-11-04 15:15:31 -07:00
Ralf Becker
d8752eecf8 * Mail/Admin: do NOT allow to set forwards via Sieve rules, if user forwards are disabled (not standard SMTP!) 2020-08-05 14:08:31 +02:00
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