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.
9 years ago
Bernardo Silva
c72446a8fc
Allow pattern attribute in input
...
"pattern" included in the list of allowed attributes in the input tag
9 years ago
Aleksander Machniak
6f2c007d1b
CS fixes: Replace use of "bool ? true : false" with just "bool"
9 years ago
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.
9 years ago
Aleksander Machniak
7462095f60
Small code improvements
9 years ago
Aleksander Machniak
e8b6e726f6
Add message menu with viewsource and edit actions in message/rfc822 preview
9 years ago
Aleksander Machniak
ce3105c58f
Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview
9 years ago
Aleksander Machniak
323fa20bc8
Message/rfc822 attachment preview ( #5054 )
9 years ago
Aleksander Machniak
05972d7b33
Refer to Github issues instead of Trac
9 years ago
Aleksander Machniak
791ee65d2e
Fix so contactlist_fields option can be set via config file
9 years ago
Aleksander Machniak
348ec70f12
Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426
9 years ago
Thomas Bruederli
4a408843b0
Protect download urls against CSRF using unique request tokens ( #1490642 )
...
Send X-Frame-Options headers with every HTTP response
9 years ago
Aleksander Machniak
d4df3748cf
Require Net_Socket >= 1.0.12 (because of timeout=0 bugfix)
9 years ago
Aleksander Machniak
ca34ba139e
CS fixes
9 years ago
Aleksander Machniak
4c0cb96a48
Enigma: Fix missing html/plain switch on multipart/signed messages ( #1490649 )
9 years ago
Aleksander Machniak
e91c35c534
Fix background color on selected and focused addressbook
9 years ago
Aleksander Machniak
8dc756f319
Fix bug in long recipients list parsing for cases where recipient name contained @-char ( #1490653 )
9 years ago
Aleksander Machniak
53fa08d8ae
Enigma: Code refactoring with better handling of encrypted-inside-encrypted (e.g. forwarded) and signed+ncrypted messages
9 years ago
Aleksander Machniak
c9e2ab488e
Enigma: Fix handling of encrypted + signed messages ( #1490632 )
9 years ago
Aleksander Machniak
0e77b6f1b3
Fix regression where xml mode could be used to parse xhtml messages causing empty result
9 years ago
Aleksander Machniak
bffca14d96
Exit when imagecreatetruecolor() fails
9 years ago
Aleksander Machniak
22a018d082
Merge branch 'dev-svg'
9 years ago
Aleksander Machniak
ed1d212ae2
Improved SVG cleanup code
9 years ago
Aleksander Machniak
023d3eb031
Refactor wash_attribs() - fix regressions
9 years ago
Aleksander Machniak
d5f7490b08
Fix PHP Fatal error: Can't use function return value in write context
9 years ago
Thomas B
66d4ef6e31
Merge pull request #316 from namesco/prevent-blank-contactnames
...
Ensure roundcube doesn't render contact names as blank
9 years ago
Aleksander Machniak
a1fdb205f8
Extend rcube_washtml with SVG support
9 years ago
Francis Russell
8f71b164fd
Make TLS method for IMAP parameterisable.
9 years ago
Francis Russell
191a6a6805
Enable use of TLSv1.1 and TLSv1.2 for IMAP.
9 years ago
James Buncle
fd0244dabf
Ensure roundcube doesn't render contact names as blank (when the name is whitespace)
9 years ago
Aleksander Machniak
4e1aa60c16
Make possible to disable authentication via rcube_smtp::connect() arguments ( #1490621 )
9 years ago
Aleksander Machniak
39137fe292
CS fixes
9 years ago
Aleksander Machniak
d72e5afb47
Fix PHP7 warning "session_start(): Session callback expects true/false return value" ( #1490624 )
9 years ago
Aleksander Machniak
6521c20768
Add INBOX to the list of folders only if no filter and no prefix was specified
9 years ago
Aleksander Machniak
cd219a45dd
Fix regression where some message attachments could be missing on edit/forward ( #1490608 )
9 years ago
Aleksander Machniak
be346095a0
Fix handling of message/rfc822 attachments on replies and forwards ( #1490607 )
9 years ago
Aleksander Machniak
3296965f41
Force arg_separator in http_build_query()
9 years ago
Aleksander Machniak
87cb24d873
Don't add redundant URL arguments to logged error messages
9 years ago
Aleksander Machniak
cbe701ac4a
Fix rcube_utils::words_match() to work with mixed/invalid/binary content (T844)
9 years ago
Aleksander Machniak
7e3298753a
Use ternary operator where aplicable
9 years ago
Aleksander Machniak
a15d877ba8
Added brute-force attack prevention via login rate limit ( #1490566 )
9 years ago
Aleksander Machniak
454b0b1ca9
Remove deprecated rcmail and rcube_imap methods
9 years ago
Aleksander Machniak
9234903287
Fix HTML sanitizer to skip <!-- node type X --> in output ( #1490583 )
9 years ago
Aleksander Machniak
eca19d65b5
Optimized some regular expressions
9 years ago
Aleksander Machniak
2ff3385788
Fix warning when enchant_broker_list_dicts() does not return an array
9 years ago
Aleksander Machniak
91dc7fabbc
Small improvements in HTML to text conversion.
...
Better handling of <body> and trailing spaces, and </p><div> or <br><div>.
9 years ago
Aleksander Machniak
c8c4cafb1f
Add possibility to define date format in write operations for ldap attributes ( #1488741 )
9 years ago
Aleksander Machniak
a03233ceba
CS fixes
9 years ago
Aleksander Machniak
354cff8b26
Some more CS fixes
9 years ago
Aleksander Machniak
7fb0aedc9b
Fix fetchMIMEHeaders() so it really works with multiple parts, various CS fixes
9 years ago
Aleksander Machniak
b813011902
Remove unused property
9 years ago
Aleksander Machniak
85f4209074
Code improvements: CS fixes, improved internal cache cleanup on folder selection, removed redundant cache
9 years ago
Aleksander Machniak
aada285660
Simplify change_subscription() code, removed unused vars
9 years ago
Aleksander Machniak
6a94f69bd1
Remove code for Mail_mime<1.9, we already require Mail_mime-1.10 for other reasons
9 years ago
Aleksander Machniak
0ee57208b3
Add possibility to set PDO::ATTR_PREFETCH and PDO::ATTR_TIMEOUT via DSN string
9 years ago
Aleksander Machniak
1b61a48eec
Get rid of mb_check_encoding() before mb_convert_encoding() for better performance, CS fixes
9 years ago
Aleksander Machniak
83345af059
Log charset conversion warning only when no function was found, not when the string was invalid
9 years ago
Aleksander Machniak
7d71c48952
s/RCMAIL_VERSION/RCUBE_VERSION/
9 years ago
Aleksander Machniak
7bbb86f78a
Session read handler must return a string in PHP7
9 years ago
Aleksander Machniak
b2b9b591ce
Fix handling random_bytes() errors in PHP 7.0.0RC3
9 years ago
Aleksander Machniak
df0b4f3437
Make sure an email address is valid when replacing it with mailto: link
9 years ago
Thomas Bruederli
db390a27fb
Do not tokenize search string when querying in strict mode ( #1490504 )
9 years ago
Aleksander Machniak
fef8537adb
Improved multi-folder search performance on sort order change or list page change
...
by proper index serialization and skipped redundant sorting
9 years ago
Thomas Bruederli
f7f75ff7d1
Unify detection of pgp/mime message part
9 years ago
Aleksander Machniak
e85bbc9e9c
random_bytes() can throw an exception in some cases, since PHP 7.0.0rc3
9 years ago
Aleksander Machniak
63e7937d02
Change so rcube_message class does not depend on $_GET parameters
9 years ago
Aleksander Machniak
26086981a2
Improve randomness of security tokens ( #1490529 )
9 years ago
Aleksander Machniak
f75bc5c24b
Use random security tokens instead of hashes based on encryption key ( #1490404 )
9 years ago
Aleksander Machniak
e4c66080a8
Improved encrypt/decrypt methods with option to choose the cipher_method ( #1489719 )
9 years ago
Aleksander Machniak
4c53e78915
Fix printing required ini options values in error message
9 years ago
Aleksander Machniak
427ab2f393
Optimize folder_size() on Cyrus IMAP by using special folder annotation ( #1490514 )
9 years ago
Aleksander Machniak
5eb9c70b60
Added method to determine IMAP server vendor, for future use
9 years ago
Aleksander Machniak
86b241df63
CS fixes
9 years ago
Aleksander Machniak
4ceff8f353
Make optional hidding of folders with name starting with a dot - imap_skip_hidden_folders ( #1490468 )
9 years ago
Aleksander Machniak
f00e1f5333
CS fixes
9 years ago
Aleksander Machniak
6f249b0e38
Change code so versions of Mail_mime before and after 1.9.0 are supported
9 years ago
Aleksander Machniak
7a42173a16
Simplify rcube_utils::check_ip()
9 years ago
Aleksander Machniak
6b31846c43
Fix IPv6 address validation on PHP with disabled IPv6 support
9 years ago
Aleksander Machniak
f4c512336d
Fix "washing" of style elements wrapped into many lines
9 years ago
Thomas B.
cf69daf896
Merge pull request #288 from ThijsFeryn/fnnonempty
...
Emptying the display name when the display name is the main e-mail ad…
9 years ago
Aleksander Machniak
559e5d7bd4
Fix unintentional error_reporting change
9 years ago
Aleksander Machniak
36bd93f138
PHP7: Fixed some E_WARNING errors that previously were E_STRICT
9 years ago
Aleksander Machniak
a7efdd7c5d
Make Mail_mime>=1.9.0 a requirement, fix compat. errors
9 years ago
Aleksander Machniak
1b8ca08e5b
Added GSSAPI/Kerberos authentication plugin - krb_authentication
9 years ago
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.
9 years ago
Aleksander Machniak
5ed8ade763
Fix bug where some plugins could be initialized more than one time
9 years ago
Aleksander Machniak
93e64008a6
Small code improvements
9 years ago
Aleksander Machniak
c21f95f626
Fix bug where new messages weren't added to the list in search mode
9 years ago
Aleksander Machniak
6c7be218f7
Revert create_folder() behaviour change where the method didn't fail if folder already existed.
...
This should not be the default behaviour. It could likely
become an optional functionality, however we should keep the method simple.
9 years ago
Aleksander Machniak
9d78c68cbf
Fix so imap folder attribute comparisons are case-insensitive ( #1490466 )
...
+ make in_array_nocase() much faster for ASCII strings
9 years ago
ThijsFeryn
58f6f19505
Emptying the display name when the display name is the main e-mail address contradicts lines 731 till 734
9 years ago
Aleksander Machniak
b71eef6d7d
Don't use private properties of Net_SMTP object
9 years ago
Aleksander Machniak
9335f9cede
Reset internal cache index in close()
9 years ago
Aleksander Machniak
e2bceaefe6
Support more secure hashing algorithms for auth cookie - configurable by PHP's session.hash_function ( #1490403 )
9 years ago
Aleksander Machniak
843643b1bd
Fix multi-folder search result sorting by arrival date ( #1490450 )
9 years ago
Aleksander Machniak
212e332cef
Get rid of array_walk() when simple foreach() can be used
10 years ago
Aleksander Machniak
d2890372c1
Fix Fatal error after last commit
10 years ago
Aleksander Machniak
6a8c4fc73b
Fix issue when first search() argument is not an array
10 years ago
Aleksander Machniak
8447bae77c
Require Mbstring and OpenSSL extensions ( #1490415 ) - remove redundant code
10 years ago
Aleksander Machniak
f7427f151e
Get rid of Mail_mimeDecode package dependency ( #1490416 )
10 years ago