Commit Graph

2129 Commits

Author SHA1 Message Date
Thomas Bruederli
9eaf681b6b Describe group filter's name_attr in sample config; defaults to 'cn' if not specified 2013-06-26 09:10:41 +02:00
Aleksander Machniak
8f42c32c45 Improve code readability 2013-06-25 09:04:39 +02:00
Aleksander Machniak
2b3a3b1407 Merge branch 'master' of github.com:roundcube/roundcubemail 2013-06-25 08:58:23 +02:00
Aleksander Machniak
855c85377d Performance improvement for searching in threaded mode. We can use
cached index now. Some other small improvements.
2013-06-25 08:57:03 +02:00
Victor Benincasa
093a3d9e7d Fix improper error checking
Currently all (HTML/TEXT) spell checking logs an error (due commit b15cc7d) and HTML spell checking doesn't work (due commit cfe2fc8). Fix: ignore error="0" value from the returned XML as it isn't an error.
2013-06-25 03:39:23 -03:00
Aleksander Machniak
2787fbe5b6 Revert change where NULL config value wasn't handled as unset (#1489202) 2013-06-24 21:13:49 +02:00
Aleksander Machniak
f255dd787c Fix error when searching in threaded mode 2013-06-22 08:46:10 +02:00
Aleksander Machniak
39a82a5d45 CS fixes 2013-06-21 15:08:47 +02:00
Aleksander Machniak
39b905b7a8 Canonize boolean ini_get() results (#1489189) 2013-06-20 15:08:10 +02:00
Aleksander Machniak
d764723142 Improve IMAP APPEND handling so it can read message (parts) from file pointer(s)
and make it less memory consuming
2013-06-20 14:17:33 +02:00
Aleksander Machniak
b200258d5a Fixed so ldap cache can be disabled
Fixed issue where ldap groups cache wasn't used correctly
2013-06-19 19:32:48 +02:00
Thomas Bruederli
8862f67513 Use the right attribute to display group names 2013-06-19 16:22:51 +02:00
Aleksander Machniak
5a6c3a169b Cache LDAP's user_specific search and use vlv for better performance (#1489186) 2013-06-19 14:05:30 +02:00
Aleksander Machniak
858af70656 CS fixes 2013-06-19 11:04:31 +02:00
Aleksander Machniak
fae90da582 Fix debug setting in ldap classes 2013-06-19 09:11:06 +02:00
Aleksander Machniak
c9ed4bfa7a CS fixes 2013-06-18 18:21:17 +02:00
Aleksander Machniak
c64beed6bb Unify LDAP debug messages 2013-06-18 18:10:04 +02:00
Aleksander Machniak
3ebda8c7d8 Ignore ldap_search warnings (like in the old code) 2013-06-18 15:44:08 +02:00
Thomas Bruederli
4500b2f79b Consolidate quote_string() method usage; don't add additional filter if required field is already in search query 2013-06-18 14:33:11 +02:00
Thomas Bruederli
dd54725b21 Merge branch 'dev-advanced-ldap-groups':
- Refactoring: separated address book implementation from generic LDAP wrapper class
- Auto-detect and use VLV indices for all search operations
- Additional group configuration options for LDAP address books
- Allow address books to display a multi-level group hierarchy in the contacts list
2013-06-18 13:49:19 +02:00
Aleksander Machniak
428764bf34 Fix so exported vCard specifies encoding in v3-compatible format (#1489183) 2013-06-18 09:59:18 +02:00
Aleksander Machniak
3dbe4f79e4 Fix session issues when local and database time differs (#1486132)
Improve performance by executing session gc on script shutdown, also call session_write_close() ASAP
2013-06-16 14:18:57 +02:00
Aleksander Machniak
ac1a962b51 Remove session.auto_start setting. It is already too late to set this option. 2013-06-16 10:59:34 +02:00
Aleksander Machniak
461a30d771 Merge config files (#1487311).
Now we have defaults.inc.php and config.inc.php.
Renamed $rcmail_config to $config. Old naming and old files are supported
for backward compatibility.
2013-06-14 12:09:08 +02:00
Thomas Bruederli
4f53ab347e Add feature to import messages to the currently selected folder 2013-06-14 01:13:13 +02:00
Aleksander Machniak
df9d004cf8 Set TTL for attachments stored in sql database 2013-06-13 13:47:09 +02:00
Aleksander Machniak
12f1190a62 Fix typos in sql queries of garbage collector (expired -> expires) 2013-06-13 13:04:20 +02:00
Aleksander Machniak
603e048f73 Fix thread cache syncronization/validation (#1489028) 2013-06-13 11:07:35 +02:00
Aleksander Machniak
918a6a6e0e Fix default sorting of threaded list when THREAD=REFS isn't supported.
The result need to be re-sorted even if sort column is not set. This fixes
the issue when new messages aren't displayed on top of the list.
2013-06-13 08:20:54 +02:00
Aleksander Machniak
f3b55ee8e8 Do not reset messages count in set_folder() 2013-06-11 20:16:09 +02:00
Aleksander Machniak
545559307e Make sure to use threads result cached in-memory for correct folder 2013-06-11 09:28:33 +02:00
Aleksander Machniak
60b6d7c389 Fix database cache expunge issues (#1489149) - added 'expires' column 2013-06-09 11:07:46 +02:00
Aleksander Machniak
d186405c00 Simplified db connection initialisation code 2013-06-08 20:14:33 +02:00
Aleksander Machniak
66407a75d1 Fix date format issues on MS SQL Server (#1488918) 2013-06-08 19:53:04 +02:00
Aleksander Machniak
1cdcafc7fc Added more error checking in rcube_image::resize() 2013-06-07 13:12:04 +02:00
Aleksander Machniak
61ccdfcfbb Add imap_cache_ttl option to configure TTL of imap_cache 2013-06-06 09:22:21 +02:00
Aleksander Machniak
67ac6e354a Rename message_cache_lifetime to messages_cache_ttl option for naming consistency 2013-06-06 09:20:02 +02:00
Aleksander Machniak
b07426f0c5 Make LDAP cache engine configurable via ldap_cache and ldap_cache_ttl options 2013-06-06 08:58:59 +02:00
Aleksander Machniak
f658907731 Fix legacy options handling 2013-06-05 19:31:34 +02:00
Aleksander Machniak
aa44ce6e97 Add optional argument to now() for simple interval calculations on SQL-side 2013-06-05 18:54:26 +02:00
Aleksander Machniak
14226fc845 Use built-in sqlite functions to "emulate" now() and unix_timestamp() 2013-06-05 18:08:27 +02:00
Aleksander Machniak
be4b5c2fe5 Fix "duplicate entry" errors on inserts to imap cache tables (#1489146) 2013-06-05 15:20:53 +02:00
Aleksander Machniak
ee73a723f9 Improvements in garbage collector: created gc() method to run all
gc-related cleanups in one place, added posibility to run gc in
environments without session
2013-06-05 10:56:26 +02:00
Thomas Bruederli
42de33c7de Add option to use PHP's native session save handlers 2013-06-05 09:10:08 +02:00
Aleksander Machniak
5df4fe56d5 Fix backward copat. with cached values serialized but not base64-encoded (#1489142) 2013-06-02 14:44:09 +02:00
Aleksander Machniak
a6b0ca60a4 Fix bug where serialized strings were truncated in PDO::quote() (#1489142) 2013-06-02 14:33:11 +02:00
Aleksander Machniak
d77e08729b Fix removing flags from serialized object before saving it in DB 2013-06-02 11:57:37 +02:00
Aleksander Machniak
cb3e2fe0c2 Fix displaying messages with invalid self-closing HTML tags (#1489137) 2013-05-31 15:42:22 +02:00
Aleksander Machniak
581a52b615 Fix performance regression in text wrapping function (#1489133) - don't use iconv here 2013-05-30 09:19:22 +02:00
Aleksander Machniak
d096210504 Fix connection to posgtres db using unix socket (#1489132) 2013-05-29 19:36:33 +02:00