Commit Graph

865 Commits

Author SHA1 Message Date
Aleksander Machniak
ee895a2c96 Remove PHP mail() support, smtp_server is required now (#5340) 2016-07-15 15:24:45 +02:00
Aleksander Machniak
e13deb2e47 Merge branch 'master' of github.com:roundcube/roundcubemail 2016-07-15 13:13:01 +02:00
Aleksander Machniak
930e363e55 Fix handling of 'mailto' and 'error' arguments in message_before_send hook (#5347) 2016-07-15 13:12:42 +02:00
Aleksander Machniak
d2d4f867e5 Merge pull request #5350 from demis-palma/fix-encoding
Fixed wrong encoding in currency symbols
2016-07-15 10:54:38 +02:00
Aleksander Machniak
dc6cfe1eec Merge pull request #5351 from fliespl/patch-1
Remove use of deprecated method Imagick::flattenImages
2016-07-15 10:54:21 +02:00
Aleksander Machniak
9a2264ba0e Fix regression where messages with no text part (but e.g. application/zip) were not displayed as an attachment (#5357) 2016-07-15 09:47:07 +02:00
fliespl
10c032165b Remove deprecated function flattenImages
flattenImages in imagick is deprecated since php 5.6. 
`PHP Deprecated:  Imagick::flattenImages method is deprecated and it's use should be avoided `


Proposed solution works with imagick 3.1.0+.
11 is used as an alternative to `Imagick::ALPHACHANNEL_REMOVE` which was added in imagick 3.2.0.
2016-07-09 10:42:11 +02:00
Demis Palma
411bd3fe82 Fixed wrong encoding in currency symbols 2016-07-08 22:43:37 +01:00
Aleksander Machniak
997e82d2b2 Merge pull request #5326 from raoulbhatia/autoload
Translate PHP namespaces into directories
2016-06-28 09:38:47 +02:00
dsoares
8e7e22c656 Avoid PHP fatal error
After last change to file `rcube_ldap.php`, my roundcube instance was getting this error:
```
PHP Fatal error:  Cannot use object of type Net_LDAP3_Result as array in ...
```
In
```php
protected function extended_search($count = false)
```
`$result = $this->ldap->search()` returns a LDAP object (whatever package we use).
If the search returns no results (and if `$is_extended_search` is false), then it gets to line 971 trying to do a `usort()` and then a `count()` on an object, instead of an array.
2016-06-27 12:44:59 +01: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
Raoul Bhatia
7122df719d Translate PHP namespaces into directories 2016-06-20 20:16:11 +02:00
Aleksander Machniak
d08bd0a51f Searching in both contacts and groups when LDAP addressbook with group_filters option is used 2016-06-20 09:02:38 +02:00
Aleksander Machniak
22241a5d82 CS fixes 2016-06-14 10:59:05 +02:00
Aleksander Machniak
58c036116b Support type=password in rcube_output::get_edit_field() 2016-06-12 16:34:12 +02:00
Aleksander Machniak
f2eafda539 Fix bug where microsecond format in logged date didn't work in some cases 2016-06-12 09:16:54 +02:00
Aleksander Machniak
5e1277e971 Trim error message 2016-06-12 08:15:12 +02:00
Aleksander Machniak
f840abe6e0 Don't add HTTP response body/headers to the spellchecker error message (it is displayed to the user) 2016-06-11 21:15:07 +02:00
Aleksander Machniak
c478536741 Make SQL selects less expensive in memory for some cases where we fetch big data chunks 2016-06-10 18:45:28 +02:00
Aleksander Machniak
c76c4ed08b Workaround PHP issue by calling closelog() on script shutdown when using log_driver=syslog (#5289) 2016-06-02 20:53:42 +02:00
Aleksander Machniak
d61d33a12a Fix handling of --delete argument in moduserprefs.sh script (#5296) 2016-06-01 20:15:22 +02:00
Aleksander Machniak
f466899d8d Simplified code 2016-05-31 09:18:44 +02:00
Aleksander Machniak
7864a98f08 Fix searching by email address in contacts with multiple addresses (#5291) 2016-05-31 09:01:57 +02:00
Aleksander Machniak
0ce7c493a8 Fix multi-folder search issues in "this and subfolders" scope (#5282, #5259)
- Fix bug where multi-folder search could choose a wrong folder
- Fix bug where multi-folder search didn't work for unsubscribed INBOX
2016-05-28 09:31:59 +02:00
Aleksander Machniak
930a3ceac0 Fix bug where errors could have been not logged when per_user_logging=true 2016-05-18 19:53:51 +02:00
Aleksander Machniak
3d0d5dbd0f Performance improvements in format_flowed() and unfold_flowed() 2016-05-08 14:27:56 +02:00
Aleksander Machniak
afd090672c Small performance optimization 2016-05-08 11:52:54 +02:00
Aleksander Machniak
6652367d65 Fix XSS issue in href attribute on area tag (#5240, #5241) 2016-05-06 08:28:15 +02:00
Aleksander Machniak
4921c21cff Optimize SELECT response handling 2016-05-05 14:10:55 +02:00
Aleksander Machniak
344b0af9c6 Indicate that a collapsed thread has flagged children (#5013) 2016-05-04 13:33:01 +02:00
Aleksander Machniak
9796cd2063 Merge branch 'dev-rfc822-preview'
Conflicts:
	CHANGELOG
	program/steps/mail/show.inc
2016-05-02 18:01:18 +02:00
Aleksander Machniak
9634169647 Bump version number to 1.3-beta 2016-05-02 14:37:39 +02:00
Aleksander Machniak
0eece8222b Fix autoloading of 'html' class and improve autoloader performance 2016-04-30 07:56:09 +02:00
Aleksander Machniak
5e406f7b7e Disable links list when converting html2text for spellchecking 2016-04-25 20:56:04 +02:00
Aleksander Machniak
52106ffd39 Fix bug where rcube_contacts::get_record() could return cached result when requested record wasn't found (#5218) 2016-04-20 20:25:23 +02:00
Aleksander Machniak
e2e56261b9 Fix handling of long script/style tags when converting to text 2016-04-13 13:08:43 +02:00
Aleksander Machniak
a0f38f5fd8 Small code style improvements 2016-04-12 13:46:30 +02:00
Aleksander Machniak
e8ab3d96bd Fix converting mail addresses with @www. into mailto links (#5197) 2016-04-12 11:53:04 +02:00
Aleksander Machniak
d01c06eded CS fixes 2016-04-10 10:47:35 +02:00
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
e8b6e726f6 Add message menu with viewsource and edit actions in message/rfc822 preview 2016-03-26 14:02:57 +01:00
Aleksander Machniak
ce3105c58f Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview 2016-03-24 17:07:31 +01:00
Aleksander Machniak
323fa20bc8 Message/rfc822 attachment preview (#5054) 2016-03-23 16:54:31 +01: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