Commit Graph

205 Commits

Author SHA1 Message Date
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
7a269a2b84 Replace get_input_value() with get_input_string() where appropriate 2021-09-13 19:31:49 +02:00
Aleksander Machniak
0d4a395464 Fix PHP 8.1 deprecation warnings 2021-07-31 07:53:14 +02:00
Aleksander Machniak
9caab5f701 Fix PHP8 warnings 2021-07-16 12:57:46 +02:00
Aleksander Machniak
f7ba562bed Managesieve: Added ability to remove 'redirect' option from UI (#7922) 2021-06-06 10:34:38 +02:00
Aleksander Machniak
fe47d27876 Bump managesieve version number 2021-04-18 10:40:41 +02:00
Aleksander Machniak
6ffa85b8cc Managesieve: Fix removing nested rules in scripts (#8011) 2021-04-18 10:39:48 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
db911b2b53 Fix PHP8 warnings 2021-01-31 10:27:13 +01:00
Aleksander Machniak
d93f2c8272 Managesieve: Fix Elastic UI issues around a domain selector 2021-01-30 18:27:15 +01:00
urusha
1be751b1fd Honor action_domain in managesieve-forward (#7849) 2021-01-30 16:07:58 +01:00
Aleksander Machniak
8b83d29f24 PHP8 fixes, do not require specific error_reporting setting anymore 2020-12-19 10:01:10 +01:00
Aleksander Machniak
3bbb01fe13 PHP8 fixes, regression fixes 2020-12-13 12:14:15 +01:00
Aleksander Machniak
8eb382b4ca PHP8 fixes 2020-12-11 20:29:41 +01:00
Aleksander Machniak
7c53300990 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-08 21:56:41 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
bde383d051 PHP8: Fix various issues
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
eb7636d491 Fixes in context of undefined variables, and code style 2020-08-16 10:29:42 +02:00
Aleksander Machniak
8bda4ecbcf Fix an obvious code bugs 2020-08-15 12:44:07 +02:00
Aleksander Machniak
7b221a4640 Managesieve: Allow angle brackets in out-of-office message body also in the Filters UI (#7518) 2020-08-07 09:47:46 +02:00
Max Truxa
9571550692 managesieve: Keep angle brackets in reason
Angle brackets (and other characters considered special by HTML) should be allowed in the message body.
2020-07-29 16:19:02 +02:00
Aleksander Machniak
409bce5485 Make spamtest UI more user-friendly 2020-07-19 08:22:55 +02:00
Aleksander Machniak
e256eee457 Merge branch 'sieve-spamtest' of https://github.com/bubble75/roundcubemail into bubble75-sieve-spamtest 2020-07-18 14:43:08 +02:00
Aleksander Machniak
36bf280a97 Elastic: Minimize forms/colors blink on page load 2020-07-11 10:52:24 +02:00
Aleksander Machniak
eaebae1e54 Fix bug where activation of forward/vacation rule could activate a wrong script (#7423)
Also should fix bug where forward/vacation rule could end up being duplicated (#7349)
2020-06-07 09:39:12 +02:00
Aleksander Machniak
30d31c323b Improve UX on custom header input (#7207) 2020-05-16 09:41:35 +02:00
Aleksander Machniak
fe796d4040 Remove useless pass-by-reference 2020-01-31 09:58:03 +01:00
Aleksander Machniak
4114dc932d Fix bug where it wasn't possible to save flag actions (#7188)
Display proper error when no flag is selected.
2020-01-27 14:58:34 +01:00
Aleksander Machniak
0eb4674216 Managesieve: Allow display name with email address in vacation :from field (#6760) (#6763) 2020-01-05 15:56:11 +01:00
Aleksander Machniak
45546508d2 Replace "Filter disabled" with "Filter enabled" (#7028) 2019-11-22 12:52:49 +01:00
Vladislav Bogdanov
e15bf62ec5 managesieve: Add support for 'spamtest' extension 2019-10-22 19:46:48 +00:00
Aleksander Machniak
1d9ddf9d33 Fix PHP Fatal error: Uncaught Error: Using $this when not in object (#6959) 2019-10-08 21:25:30 +02:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Aleksander Machniak
881c0ec0da Avoid empty entry in rule selector 2019-06-29 15:59:24 +02:00
Aleksander Machniak
2a25f1778b Make sure managesieve_default is not a dir (#6773) 2019-05-26 09:29:02 +02:00
Aleksander Machniak
4bce2c4389 Elastic: Small visual fix in vacation form 2019-05-20 11:07:55 +02:00
Aleksander Machniak
521e0c048c Managesieve: Bump version number 2019-04-21 08:36:24 +02:00
Aleksander Machniak
ccb70116f1 Managesieve: Use RFC-compliant line endings, CRLF instead of LF (#6686) 2019-04-21 08:28:13 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
3ec6a60ad1 Fix PHP Warning: in_array() expects parameter 2 to be array, null given 2019-04-11 12:03:11 +02:00
Aleksander Machniak
4674ac59b8 Fix bug where global includes were requested for vacation (#6716) 2019-04-09 08:58:07 +02:00
Aleksander Machniak
a78f91f5dc Small code de-duplication 2019-04-09 08:57:48 +02:00
Aleksander Machniak
d88fb7e4ff Elastic: Fix displaying (.invalid-feedback) error messages in forms 2019-03-09 17:08:37 +01:00
Aleksander Machniak
77fc589974 Fix regression where operator/comparator were not reset on submit (#6614) 2019-02-05 08:56:25 +01:00
Aleksander Machniak
fe35b38c28 Managesieve: Fix bug where custom header or variable could be lost on form submission (#6594) 2019-01-21 13:42:12 +01:00
Aleksander Machniak
00e53fac53 Elastic: Fix toolbar removal when using Advanced options and Add button in filter rules form in Chrome 2018-12-03 15:55:39 +00:00
Aleksander Machniak
224dd78ad3 Bump managesieve version number 2018-11-08 09:06:21 +01:00
Aleksander Machniak
8f1405d569 Throw error when using deleteheader with :last but no :index 2018-09-10 09:03:24 +02:00
Aleksander Machniak
829f3ec0d6 Fix small issues in 'editheader' implementation 2018-09-09 08:27:52 +02:00
Aleksander Machniak
53017eb87d Managesieve: Added support for 'editheader' extension - RFC5293 (#5954) 2018-09-08 16:40:41 +02:00