Aleksander Machniak
c3fc072d97
Remove code related to magic_quotes_* and register_globals
...
...they do not exist in PHP 5.4 which we now require.
2016-07-29 13:34:50 +02:00
Aleksander Machniak
906cf101c3
Better time handling in rcube_utils::clean_datestr()
2016-07-29 12:40:15 +02:00
Aleksander Machniak
ec1525a1e6
Remove debug code
2016-07-29 12:26:23 +02:00
Aleksander Machniak
ed35267b9b
Managesieve: Fix parsing of vacation date-time with non-default date_format ( #5372 )
...
Added new method rcube_utils::format_datestr() to convert date_format date
into ISO date format.
2016-07-29 05:42:18 -04:00
Aleksander Machniak
2f2765ab43
Fix regression in resizing JPEG images with Imagick ( #5376 )
2016-07-29 09:05:12 +02:00
Aleksander Machniak
d91bad5975
Fix handling of blockquote tags with mixed case on html2text conversion ( #5363 )
2016-07-21 16:47:47 +02:00
Aleksander Machniak
7a7a6795f0
Support WEBP images in mail messages ( #5362 )
2016-07-21 16:42:45 +02:00
Aleksander Machniak
6626328e7c
We already require PEAR, so it's not needed to check if PEAR class exists.
...
Sooner or later it will fail if PEAR does not exist, so better to do this sooner.
2016-07-21 09:35:52 +02:00
Aleksander Machniak
edfd9da42a
Support MathML in HTML message preview ( #5182 )
2016-07-17 11:15:37 +02:00
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