Commit Graph

897 Commits

Author SHA1 Message Date
Aleksander Machniak
8a51607671 Fix regression where creation of default folders wasn't functioning without prefix (#5460) 2016-10-05 17:36:33 +02:00
Aleksander Machniak
9e129383a1 Improve randomness of password salts and random hashes (#5266) 2016-10-01 08:23:19 +02:00
Aleksander Machniak
195dc11855 Support host-specific imap_conn_options/smtp_conn_options/managesieve_conn_options (#5136) 2016-09-30 18:02:23 +02:00
Aleksander Machniak
8c75dd3aa8 Add convenient method to create new session records 2016-09-29 12:20:43 +02:00
Aleksander Machniak
42ddfe5ec9 Simplify mbstring code path in rcube_charset::convert() 2016-09-27 17:03:02 +02:00
Aleksander Machniak
c1c0a0d815 Implemented rcube::sleep() method for disconnecting all external connection in long-running/sleeping scripts 2016-09-21 11:20:43 -04:00
Aleksander Machniak
f92052fd73 Fix so when moving to Trash we make sure the folder exists (#5192) 2016-09-05 10:18:00 +02:00
Aleksander Machniak
2999cc38a5 Generate more compact HTML5 code, e.g. use short form of boolean attributes 2016-09-02 12:35:56 +02:00
Aleksander Machniak
defdf84bb7 Really fix login form regression
Remove 'form' from allowed attributes list of input field. We needed
it only for a moment, now we don't. It's also not supported by IE/Edge
which means there's no way we would need it. Maybe some day...
2016-08-26 10:43:26 +02:00
Aleksander Machniak
32e5a6bbcf Fix bug where folder creation could fail if personal namespace contained more than one entry (#5403)
+ small code improvements
2016-08-26 09:25:24 +02:00
Aleksander Machniak
43f3c5fb2a Implement "one click" attachment upload (#5024) 2016-08-20 19:38:48 +02:00
Aleksander Machniak
c65bb121eb Describe Framework requirements, drop some redundant code (since we require mbstring) 2016-08-20 11:07:05 +02:00
Aleksander Machniak
9debc38724 Drop mail_header_delimiter option, since we don't use mail() we don't need it 2016-08-19 08:55:29 +02:00
Aleksander Machniak
184de7735c CS fixes (mostly phpdoc) 2016-08-18 08:50:59 +02:00
Aleksander Machniak
2298ecf7f6 Fix E_DEPRECATED warning when using Auth_SASL::factory() (#5401) 2016-08-16 13:39:13 +02:00
Aleksander Machniak
0836b213db Removed useless 'created' column from 'session' table (#5389) 2016-08-12 13:02:39 +02:00
Aleksander Machniak
94f8ce3334 Make html::parse_attrib_string() more robust
Fixes PHP Error: Expression parse error on: ($app->config->get('preview_pane',rcube_utils::get_boolean('')) == true ? ' checked=checked' : ')
2016-08-12 10:37:40 +02:00
Aleksander Machniak
062d95503e Fix bug where Message-ID domain part was tied to username instead of current identity (#5385) 2016-08-09 09:17:26 +02:00
Aleksander Machniak
55cdf1569e Support contact+group searches in all relevant places (T1360)
Before the search worked only in Addressbook, not also in Compose.
The point of the change is also to align group searches with contact searches
in that it now uses the same set of attributes. Previously groups
in Compose were searched by name only.
2016-08-08 07:12:39 -04:00
DanCld
ee00d949c4 Properly set the memcache debug log file name
Properly set the debug log file name ('memcache') as $this->type is undefined
2016-08-07 18:05:01 +03:00
Aleksander Machniak
53b5ccfb0c Fix regression where LDAP results could be counted incorrectly when using VLV
... broken by d08bd0a51f where we added searching in users+groups in one request
2016-08-05 09:47:27 -04:00
Aleksander Machniak
dcabc1d814 Merge remote-tracking branch 'upstream/master'
Conflicts:
	tests/Framework/Washtml.php
2016-07-31 09:26:19 +02:00
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