Commit Graph

7719 Commits

Author SHA1 Message Date
Aleksander Machniak
0ae4001121 Don't create multipart/alternative messages with empty text/plain part (#5283) 2016-06-28 09:24:14 +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
de53074734 Fix syntax error 2016-06-17 15:21:20 +02:00
Sandor Takacs
6d1a68bd44 Rename field_blocks to head_fields 2016-06-14 12:46:04 +02:00
Sandor Takacs
e108902eff Add $field_blocks to contact_form hook
Add $field_blocks to contact_form hook, so plugins can change the order of the fields: https://github.com/roundcube/roundcubemail/pull/5281
2016-06-14 11:03:35 +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
5e5eab3e53 Update TinyMCE to version 4.3.13 (#5309) 2016-06-09 11:14:55 +02:00
Aleksander Machniak
d0bb0a9c9d Fix subscription checkbox state on error in folder subscribe/unsubscribe action (#5243) 2016-06-08 19:27:03 +02:00
Aleksander Machniak
b9d3fb0221 Display different attachment icon on encrypted messages 2016-06-03 20:18:45 +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
6737e293bb Wash position:fixed style in HTML mail for better security (#5264) 2016-05-29 17:09:41 +02:00
Thomas Bruederli
44894414cd Avoid sending completely empty text parts for multipart/alternative messages (#5283) 2016-05-29 13:36:29 +02:00
Thomas Bruederli
f82e336ada Add licence header to cloned PublicKey.js 2016-05-29 13:07:03 +02:00
Aleksander Machniak
bf049c80e7 Remove debug code 2016-05-29 12:38:05 +02:00
Aleksander Machniak
1a8593a315 Update changelog 2016-05-29 12:32:31 +02:00
Aleksander Machniak
db70d3e491 Merge pull request #5277 from hemio-ev/mailvelope-fixes
Fixes 'nobodywarning' on sending mailvelope mails
2016-05-29 12:26:27 +02:00
Aleksander Machniak
796bb4ccbb Update localization, add Enigma plugin localizations 2016-05-28 15:19:19 +02:00
Aleksander Machniak
ff735fb3a5 Protect INBOX folder even if protected_default_folders=false 2016-05-28 10:00:25 +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
2b88e6cf95 Use $OUTPUT->set_env(...) instead of $OUTPUT->command('set_env', ...) 2016-05-27 11:55:38 +02:00
Aleksander Machniak
98c1712e29 Fix redundant keep-alive requests when session_lifetime is greater than ~20000 (#5273) 2016-05-26 10:50:20 +02:00
Michael Herold
d3c6d6570b Fixes 'nobodywarning' on sending mailvelope mails 2016-05-25 11:15:49 +02:00
Aleksander Machniak
87cf0a3fb1 Use minified publickey.js (with cache-buster) when available (#5254) 2016-05-22 08:19:27 +02:00
Aleksander Machniak
9e64dc2deb Remove application/x-tar file extension test as it might not exist in nginx config (#5253)
Use text/css instead
2016-05-20 14:36:45 +02:00
Aleksander Machniak
378d10b748 Fix bug where message list columns could be in wrong order after column drag-n-drop and list sorting 2016-05-20 11:17:21 +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
John Regan
3a2874c77c Remove check for multiple dots in local-part 2016-05-17 11:40:18 -05:00
John Regan
0e809364e7 Support SMTPUTF8, relax email restrictions
If the FROM/TO portions of an email use non-ASCII characters,
check that the SMTP server supports the SMTPUTF8 extension.

Additionally, change some rules for parsing email addresses to
allow for more characters. Basically, SMTPUTF8 states that
nearly any printable character is a valid character in an
email address.
2016-05-17 11:33:34 -05:00
Aleksander Machniak
f7fdf1a4de Merge pull request #5168 from piuma/patch-1
Set maxlength for email address input
2016-05-09 09:01:11 +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
9cd4b1bc58 Display different confirmation text when moving messages to Trash (#5220) 2016-05-08 09:31:46 +02:00
Aleksander Machniak
6d1337e1df Fix regression where setting Answered/Forwarded flag didn't work when sending an email 2016-05-06 09:03:07 +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
56f9883d84 Update to jsTimezoneDetect 1.0.6 2016-05-02 17:52:44 +02:00
Aleksander Machniak
9634169647 Bump version number to 1.3-beta 2016-05-02 14:37:39 +02:00