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
Aleksander Machniak
1d67fe13f6
Remove (move to bc.php) unused strip_newlines() and strip_quotes() functions
2013-05-29 09:42:12 +02:00
Aleksander Machniak
896e2b4e51
Add more rcube_utils tests
2013-05-28 21:26:44 +02:00
Aleksander Machniak
fe0f1d589b
Improve rcube_utils::file2class() to not return duplicates
2013-05-28 20:59:44 +02:00
Aleksander Machniak
b3e3422e9f
Fix class name
2013-05-26 11:57:28 +02:00
Aleksander Machniak
22a41b8247
Make possible to disable shared cache
2013-05-26 11:11:49 +02:00
Aleksander Machniak
00cb22cf92
Expunge all cache instances in shutdown
2013-05-25 15:46:20 +02:00
Aleksander Machniak
50abd55718
Added shared (cross-user) cache
2013-05-25 15:37:46 +02:00
Aleksander Machniak
a8994090bb
Fix fatal error when xdebug.max_nesting_level was exceeded in rcube_washtml ( #1489110 )
2013-05-24 09:19:57 +02:00
Aleksander Machniak
cb34c1b524
Fix PHP warning in html_table::set_row_attribs() in PHP 5.4 ( #1489094 )
2013-05-24 08:37:28 +02:00
Aleksander Machniak
52b256e85f
Print nicer error message when too old PHP version found - required by mysql driver ( #1489099 )
2013-05-24 08:30:07 +02:00
Aleksander Machniak
bbd636740e
Fix fatal error when parsing UUencoded messages ( #1489119 )
2013-05-23 15:34:51 +02:00
Aleksander Machniak
db108e3779
Fix another text wrapping issue (wrong handling of long unwrappable lines)
2013-05-23 08:59:27 +02:00
Aleksander Machniak
c16bd50947
Catch warning on is_readable() failure (open_basedir restriction)
2013-05-22 09:07:14 +02:00