Commit Graph

1213 Commits

Author SHA1 Message Date
Bostjan Skufca
70a8236cd5 mailbox/listing: Make server response for large mailbox listing faster when using threaded view
Symptom
=======
When using roundcube with mailboxes with over 60k messages, list
view was way faster than viewing in threaded view.

Mailbox index view timing:    ~360 ms
Mailbox threaded view timing: ~800 ms

Resolution
==========
Use native PHP array manipulation functions instead of rolling custom
string data reversal implementation using strpos() and substr() in a
'while' loop.

This optimization is already present in index view handler, but was missing
from threaded view.

Results after optimization
==========================
Both average out around ~360 ms response time.
2016-04-09 15:20:28 +02:00
Bernardo Silva
c72446a8fc Allow pattern attribute in input
"pattern" included in the list of allowed attributes in the input tag
2016-04-05 11:30:22 -03: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
5c253dd59e Fix so SPECIAL-USE assignments are forced only until user sets special folders (#4782)
The old behaviour where SPECIAL-USE has always a prio can be bringed back
by setting lock_special_folders=false and adding it to dont_override.
2016-04-02 09:09:43 +02:00
Aleksander Machniak
7462095f60 Small code improvements 2016-03-28 14:29:35 +02:00
Aleksander Machniak
05972d7b33 Refer to Github issues instead of Trac 2016-03-21 08:14:11 +01:00
Aleksander Machniak
791ee65d2e Fix so contactlist_fields option can be set via config file 2016-03-18 12:29:29 +01:00
Aleksander Machniak
348ec70f12 Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426 2016-03-15 15:18:09 +01:00
Thomas Bruederli
4a408843b0 Protect download urls against CSRF using unique request tokens (#1490642)
Send X-Frame-Options headers with every HTTP response
2016-03-06 14:31:07 +01:00
Aleksander Machniak
d4df3748cf Require Net_Socket >= 1.0.12 (because of timeout=0 bugfix) 2016-03-04 15:34:51 +01:00
Aleksander Machniak
ca34ba139e CS fixes 2016-03-03 12:51:34 +01:00
Aleksander Machniak
4c0cb96a48 Enigma: Fix missing html/plain switch on multipart/signed messages (#1490649) 2016-02-07 13:30:48 +01:00
Aleksander Machniak
e91c35c534 Fix background color on selected and focused addressbook 2016-02-03 13:59:31 +01:00
Aleksander Machniak
8dc756f319 Fix bug in long recipients list parsing for cases where recipient name contained @-char (#1490653) 2016-02-01 14:25:00 +01:00
Aleksander Machniak
53fa08d8ae Enigma: Code refactoring with better handling of encrypted-inside-encrypted (e.g. forwarded) and signed+ncrypted messages 2016-01-25 09:53:33 +01:00
Aleksander Machniak
c9e2ab488e Enigma: Fix handling of encrypted + signed messages (#1490632) 2016-01-21 11:05:01 +01:00
Aleksander Machniak
0e77b6f1b3 Fix regression where xml mode could be used to parse xhtml messages causing empty result 2016-01-20 08:44:31 +01:00
Aleksander Machniak
bffca14d96 Exit when imagecreatetruecolor() fails 2016-01-19 09:37:29 +01:00
Aleksander Machniak
22a018d082 Merge branch 'dev-svg' 2016-01-18 09:47:52 +01:00
Aleksander Machniak
ed1d212ae2 Improved SVG cleanup code 2016-01-16 09:03:51 +01:00
Aleksander Machniak
023d3eb031 Refactor wash_attribs() - fix regressions 2016-01-12 13:57:30 +01:00
Aleksander Machniak
d5f7490b08 Fix PHP Fatal error: Can't use function return value in write context 2016-01-11 12:52:49 +01:00
Thomas B
66d4ef6e31 Merge pull request #316 from namesco/prevent-blank-contactnames
Ensure roundcube doesn't render contact names as blank
2016-01-10 16:02:51 +01:00
Aleksander Machniak
a1fdb205f8 Extend rcube_washtml with SVG support 2016-01-09 18:26:09 +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
James Buncle
fd0244dabf Ensure roundcube doesn't render contact names as blank (when the name is whitespace) 2016-01-07 16:21:22 +00:00
Aleksander Machniak
4e1aa60c16 Make possible to disable authentication via rcube_smtp::connect() arguments (#1490621) 2016-01-07 09:48:18 +01:00
Aleksander Machniak
39137fe292 CS fixes 2016-01-05 09:04:59 +01:00
Aleksander Machniak
d72e5afb47 Fix PHP7 warning "session_start(): Session callback expects true/false return value" (#1490624) 2015-12-28 17:07:53 +01:00
Aleksander Machniak
6521c20768 Add INBOX to the list of folders only if no filter and no prefix was specified 2015-12-22 12:01:47 +01:00
Aleksander Machniak
cd219a45dd Fix regression where some message attachments could be missing on edit/forward (#1490608) 2015-12-18 11:42:05 +01:00
Aleksander Machniak
be346095a0 Fix handling of message/rfc822 attachments on replies and forwards (#1490607) 2015-12-17 09:12:06 +01:00
Aleksander Machniak
3296965f41 Force arg_separator in http_build_query() 2015-12-14 11:23:57 +01:00
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