Commit Graph

6155 Commits

Author SHA1 Message Date
Aleksander Machniak
8f8beafd56 Use .get_label() consistently (instead of .gettext()) 2015-10-20 10:08:50 +02:00
Aleksander Machniak
5d84dd6de5 Deduplicate code of http_post() and http_request(), add http_get() alias 2015-10-20 09:14:38 +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
a5c03db798 Security: Added options to validate username/password on logon (#1490500) 2015-10-18 09:37:46 +02:00
Aleksander Machniak
c1bbf0d0b6 After failed login wait a second to slow down brute-force attacks (#1490549) 2015-10-17 13:37:11 +02:00
Aleksander Machniak
fddfd8e6d7 Remove backward compatibility "layer" of bc.php (#1490534) 2015-10-16 19:51:28 +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
92bcb940d4 Fix bug where HTML messages with invalid/excessive css styles couldn't be displayed (#1490539)
Technically speaking we remove the whole CSS content when it has more than 5k lines.
2015-10-15 09:09:31 +02:00
Aleksander Machniak
fe8ff85d7e Move skin-specific code for compose encryption button to the skin 2015-10-15 08:58:06 +02:00
Aleksander Machniak
f1e7bbd1bd Fix bug where message preview was unintentionally reset on check-recent action (#1490563) 2015-10-14 09:44:55 +02:00
Aleksander Machniak
d9ff47b011 Don't use deprecated (soon) jQuery .bind() and .unbind() methods 2015-10-13 08:57:45 +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
bb1ed2740d Display attachment size in compose (#1484774) 2015-10-09 10:53:52 +02:00
Aleksander Machniak
d560916065 Added possibility to drag-n-drop attachments from mail preview to compose window 2015-10-08 16:55:43 +02:00
Aleksander Machniak
5802e08e48 Mail messages searching with predefined date interval (T103) 2015-10-08 11:33:53 +02:00
Aleksander Machniak
a03233ceba CS fixes 2015-10-07 09:14:18 +02:00
Aleksander Machniak
1484d5fb7f Fix resetting search input events when the treelist is re-initialized, some CS improvements 2015-10-06 11:14:43 +02:00
Aleksander Machniak
e524680a13 Fix 'last' property of search event 2015-10-04 13:13:07 +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
2a6cf5bb0e Fix responses list update issue after response name change (#1490555) 2015-09-30 19:13:40 +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
82dcbb7488 Fix various issues in Mailvelope integration (#1490533) 2015-09-20 17:45:53 +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
Thomas Bruederli
b95a6d8f41 Disable some toolbar buttons if Mailvelope editor is active (#1490533) 2015-09-18 11:11:33 +02:00
Thomas Bruederli
0b6a01380b Distinguish encryption toolbar buttons (Mailvelope and Enigma) 2015-09-18 11:11:33 +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
4cd087ea2e Fixed mailvelope-generated messages structure (required Mail_Mime-1.10.0) 2015-09-13 14:50:16 +02:00
Aleksander Machniak
e250f00d90 Fix PHP warnings when sending mailvelope-encrypted mail 2015-09-13 09:55:59 +02:00
Aleksander Machniak
8716fca0d0 Small improvements 2015-09-13 09:35:44 +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
Thomas Bruederli
f189d72943 Merged branch 'dev-mailvelope' 2015-09-10 21:27:58 +02:00
Aleksander Machniak
91ef2c812a Small code improvement 2015-09-10 18:53:26 +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
77be69fa25 Fix issue where Content-Length of some attachments could be set to wrong value causing browser errors (#1490482) 2015-09-10 12:08:49 +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
c49234bd78 Fix bug where clicking date column with 'arrival' sorting would switch to sorting by 'date' (#1490126) 2015-09-09 10:37:01 +02:00
Aleksander Machniak
dd7db21797 Fix XSS issue in drag-n-drop file uploads (#1490530) 2015-09-09 09:09:59 +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