Commit Graph

112 Commits

Author SHA1 Message Date
Aleksander Machniak
f6586c7cf7 Fix PHP warning: count(): Parameter must be an array or an object... in ID command handler (#7392) 2020-05-19 07:57:35 +02:00
Aleksander Machniak
e84dc4c385 Fix literals handling again 2020-03-20 19:39:19 +01:00
Aleksander Machniak
2965e60c1f Support many string literals in a "line response", deduplicate code 2020-03-20 18:53:45 +01:00
Aleksander Machniak
f9c84e2646 Fix string literals handling in IMAP STATUS (and various other) responses (#7290) 2020-03-19 21:28:28 +01:00
Aleksander Machniak
d194b238c7 Support RFC8438: IMAP STATUS=SIZE - for faster folder size calculation (#7269) 2020-03-08 10:27:28 +01:00
Aleksander Machniak
770d818dd9 Fix undefined variable 2020-02-17 14:31:57 +01:00
Aleksander Machniak
0b02e87afe Fix some strict mode warnings 2020-01-31 13:21:34 +01:00
Aleksander Machniak
fe796d4040 Remove useless pass-by-reference 2020-01-31 09:58:03 +01:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
44bdca4ab9 Enigma: Fix bug where signature verification could have been skipped for some message structures (#6838) 2019-07-10 14:01:51 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
5693b4f31c Fix bug in parsing some IMAP command responses that include unsolicited replies (#6577) 2019-01-04 09:17:51 +01:00
Aleksander Machniak
943de28d2a Log IMAP/SMTP connection time in debug mode 2018-12-05 12:02:41 +01:00
Aleksander Machniak
3dad8c5908 Fix incorrect IMAP SASL GSSAPI negotiation (#6308) 2018-10-24 12:29:50 +02:00
Aleksander Machniak
c4916a8fe3 Simplify code that uses setError() followed by return 2018-10-24 12:13:13 +02:00
Aleksander Machniak
19332495b0 Fix so fallback from BINARY to BODY FETCH is used also on [PARSE] errors in dovecot 2.3 (#6383) 2018-08-06 15:30:29 +02:00
Aleksander Machniak
988ed7e565 Fix PHP warnings on dummy QUOTA responses in Courier-IMAP 4.17.1 (#6374) 2018-08-06 11:08:07 +02:00
Edgaras L
c236c22c41 Parse all quotas from GETQUOTAROOT (#6280) 2018-05-05 12:48:15 +02:00
Aleksander Machniak
8df6d7c3e4 Fix regression in compressMessageSet() (#6235) 2018-04-06 08:21:22 +02:00
Aleksander Machniak
8b0540d402 Fix possible IMAP command injection and type juggling vulnerabilities (#6229) 2018-04-03 19:07:02 +02:00
Aleksander Machniak
c0959bd619 Sanity checks for header data length in FETCH (#6087)
Where we know what expected data length is we truncate the input.
2017-12-13 09:06:40 +01:00
Aleksander Machniak
36638ec0c2 Fix untagged COPYUID responses handling - again (#5982) 2017-11-20 18:05:07 +01:00
Aleksander Machniak
f8fc01b800 Fix so untagged COPYUID responses are also supported according to RFC6851 (#5982) 2017-10-06 09:23:17 +02:00
Aleksander Machniak
76adb49454 Support for IMAP folders that cannot contain both folders and messages (#5057) 2017-07-14 13:39:49 +02:00
Aleksander Machniak
e04f72d018 Fix PHP 7.2 warnings on count() use (#5845) 2017-07-09 13:20:57 +02:00
Aleksander Machniak
7c001260fa Simplified code to parse METADATA responses 2017-06-05 12:32:50 +02:00
Aleksander Machniak
f7809af6e4 Support AUTHENTICATE LOGIN for IMAP connections (#5563)
Add imap_auth_type=IMAP to force use of LOGIN instead of AUTHENTICATE LOGIN.
In imap_auth_type=CHECK mode prefer LOGIN over AUTHENTICATE LOGIN (for performance reasons).
2017-05-19 10:50:51 +02:00
Aleksander Machniak
e800fb5a19 Bring back unintentionally removed .SILENT suffix in STORE FLAGS command 2017-04-27 10:20:12 +02:00
Aleksander Machniak
d1cf69562f CS fixes and return values fixes 2017-04-27 09:58:11 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
9028e77290 Enigma: Set micalg parameter to real hash algorithm used for signing 2017-03-06 10:57:20 +01:00
Aleksander Machniak
81f67a4de2 Don't use each() deprecated in PHP 7.2 2017-02-06 15:46:18 +01:00
Aleksander Machniak
940a27400e Use GSSAPI only if configured (#5530) 2016-11-25 08:23:21 +01:00
Aleksander Machniak
8a76bf3783 Make sure $prefs property is an array (#5523) 2016-11-17 11:17:09 +01:00
Aleksander Machniak
e17e8851f1 CS improvements, _xor() method replaced with an anonymous function 2016-11-07 18:38:20 +01:00
Aleksander Machniak
cf9f0d8829 Fix bug where IMAP password could be exposed via error message (#5472) 2016-10-15 08:18:34 +02:00
Aleksander Machniak
2298ecf7f6 Fix E_DEPRECATED warning when using Auth_SASL::factory() (#5401) 2016-08-16 13:39:13 +02:00
Aleksander Machniak
c08ca018d8 Get rid of rcube_imap_generic::strToTime() in favor of rcube_utils::strtotime() 2016-06-22 10:57:25 +02:00
Aleksander Machniak
4921c21cff Optimize SELECT response handling 2016-05-05 14:10:55 +02:00
Aleksander Machniak
6f2c007d1b CS fixes: Replace use of "bool ? true : false" with just "bool" 2016-04-02 13:02:55 +02:00
Aleksander Machniak
7462095f60 Small code improvements 2016-03-28 14:29:35 +02:00
Aleksander Machniak
ca34ba139e CS fixes 2016-03-03 12:51:34 +01:00
Francis Russell
8f71b164fd Make TLS method for IMAP parameterisable. 2016-01-08 14:22:32 +00:00
Francis Russell
191a6a6805 Enable use of TLSv1.1 and TLSv1.2 for IMAP. 2016-01-08 14:22:32 +00:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
eca19d65b5 Optimized some regular expressions 2015-10-22 09:45:47 +02:00
Aleksander Machniak
354cff8b26 Some more CS fixes 2015-10-03 13:32:01 +02:00
Aleksander Machniak
7fb0aedc9b Fix fetchMIMEHeaders() so it really works with multiple parts, various CS fixes 2015-10-03 13:06:24 +02:00
Aleksander Machniak
85f4209074 Code improvements: CS fixes, improved internal cache cleanup on folder selection, removed redundant cache 2015-10-02 10:56:35 +02:00