Commit Graph

1739 Commits

Author SHA1 Message Date
Aleksander Machniak
87cb24d873 Don't add redundant URL arguments to logged error messages 2015-12-14 11:17:17 +01:00
Aleksander Machniak
cbe701ac4a Fix rcube_utils::words_match() to work with mixed/invalid/binary content (T844) 2015-11-18 13:27:00 +01:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
a15d877ba8 Added brute-force attack prevention via login rate limit (#1490566) 2015-11-11 18:53:43 +01:00
Aleksander Machniak
454b0b1ca9 Remove deprecated rcmail and rcube_imap methods 2015-11-05 09:17:28 +01:00
Aleksander Machniak
9234903287 Fix HTML sanitizer to skip <!-- node type X --> in output (#1490583) 2015-11-05 08:46:43 +01:00
Aleksander Machniak
eca19d65b5 Optimized some regular expressions 2015-10-22 09:45:47 +02:00
Aleksander Machniak
2ff3385788 Fix warning when enchant_broker_list_dicts() does not return an array 2015-10-18 09:45:33 +02:00
Aleksander Machniak
91dc7fabbc Small improvements in HTML to text conversion.
Better handling of <body> and trailing spaces, and </p><div> or <br><div>.
2015-10-15 12:23:23 +02:00
Aleksander Machniak
c8c4cafb1f Add possibility to define date format in write operations for ldap attributes (#1488741) 2015-10-09 13:44:45 +02:00
Aleksander Machniak
a03233ceba CS fixes 2015-10-07 09:14:18 +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
b813011902 Remove unused property 2015-10-02 13:34:46 +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
Aleksander Machniak
aada285660 Simplify change_subscription() code, removed unused vars 2015-10-02 10:12:53 +02:00
Aleksander Machniak
6a94f69bd1 Remove code for Mail_mime<1.9, we already require Mail_mime-1.10 for other reasons 2015-10-01 08:34:18 +02:00
Aleksander Machniak
0ee57208b3 Add possibility to set PDO::ATTR_PREFETCH and PDO::ATTR_TIMEOUT via DSN string 2015-09-23 12:58:05 +02:00
Aleksander Machniak
1b61a48eec Get rid of mb_check_encoding() before mb_convert_encoding() for better performance, CS fixes 2015-09-22 21:18:15 +02:00
Aleksander Machniak
83345af059 Log charset conversion warning only when no function was found, not when the string was invalid 2015-09-22 13:11:30 +02:00
Aleksander Machniak
7d71c48952 s/RCMAIL_VERSION/RCUBE_VERSION/ 2015-09-22 11:42:03 +02:00
Aleksander Machniak
7bbb86f78a Session read handler must return a string in PHP7 2015-09-19 08:35:35 +02:00
Aleksander Machniak
b2b9b591ce Fix handling random_bytes() errors in PHP 7.0.0RC3 2015-09-18 20:17:07 +02:00
Aleksander Machniak
df0b4f3437 Make sure an email address is valid when replacing it with mailto: link 2015-09-15 12:52:18 +02:00
Thomas Bruederli
db390a27fb Do not tokenize search string when querying in strict mode (#1490504) 2015-09-14 20:09:17 +02:00
Aleksander Machniak
fef8537adb Improved multi-folder search performance on sort order change or list page change
by proper index serialization and skipped redundant sorting
2015-09-11 15:12:20 +02:00
Thomas Bruederli
f7f75ff7d1 Unify detection of pgp/mime message part 2015-09-10 21:56:40 +02:00
Aleksander Machniak
e85bbc9e9c random_bytes() can throw an exception in some cases, since PHP 7.0.0rc3 2015-09-10 16:57:12 +02:00
Aleksander Machniak
63e7937d02 Change so rcube_message class does not depend on $_GET parameters 2015-09-10 08:53:11 +02:00
Aleksander Machniak
26086981a2 Improve randomness of security tokens (#1490529) 2015-09-08 17:38:19 +02:00
Aleksander Machniak
f75bc5c24b Use random security tokens instead of hashes based on encryption key (#1490404) 2015-09-08 09:38:45 +02:00
Aleksander Machniak
e4c66080a8 Improved encrypt/decrypt methods with option to choose the cipher_method (#1489719) 2015-09-07 09:47:16 +02:00
Aleksander Machniak
4c53e78915 Fix printing required ini options values in error message 2015-09-06 10:15:33 +02:00
Aleksander Machniak
427ab2f393 Optimize folder_size() on Cyrus IMAP by using special folder annotation (#1490514) 2015-09-02 15:17:44 +02:00
Aleksander Machniak
5eb9c70b60 Added method to determine IMAP server vendor, for future use 2015-09-02 13:49:13 +02:00
Aleksander Machniak
86b241df63 CS fixes 2015-08-30 18:17:23 +02:00
Aleksander Machniak
4ceff8f353 Make optional hidding of folders with name starting with a dot - imap_skip_hidden_folders (#1490468) 2015-08-30 11:36:06 +02:00
Aleksander Machniak
f00e1f5333 CS fixes 2015-08-25 11:16:39 +02:00
Aleksander Machniak
6f249b0e38 Change code so versions of Mail_mime before and after 1.9.0 are supported 2015-08-16 17:47:30 +02:00
Aleksander Machniak
7a42173a16 Simplify rcube_utils::check_ip() 2015-08-13 09:04:19 +02:00
Aleksander Machniak
6b31846c43 Fix IPv6 address validation on PHP with disabled IPv6 support 2015-08-12 21:11:20 +02:00
Aleksander Machniak
f4c512336d Fix "washing" of style elements wrapped into many lines 2015-08-10 10:17:05 +02:00
Thomas B.
cf69daf896 Merge pull request #288 from ThijsFeryn/fnnonempty
Emptying the display name when the display name is the main e-mail ad…
2015-08-09 17:12:02 +02:00
Aleksander Machniak
559e5d7bd4 Fix unintentional error_reporting change 2015-08-08 09:33:17 +02:00
Aleksander Machniak
36bd93f138 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 2015-08-07 17:27:08 +02:00
Aleksander Machniak
a7efdd7c5d Make Mail_mime>=1.9.0 a requirement, fix compat. errors 2015-08-06 14:15:10 +02:00
Aleksander Machniak
1b8ca08e5b Added GSSAPI/Kerberos authentication plugin - krb_authentication 2015-08-06 13:23:50 +02:00
Aleksander Machniak
0868c2e841 Make sure list page is never set to 0 (#1490458)
This should fix the issue where after message move wrong message was
added to the list and the list counter was invalid.
2015-08-06 09:25:15 +02:00
Aleksander Machniak
5ed8ade763 Fix bug where some plugins could be initialized more than one time 2015-08-05 11:45:03 +02:00
Aleksander Machniak
93e64008a6 Small code improvements 2015-08-05 09:30:51 +02:00