Commit Graph

56 Commits

Author SHA1 Message Date
thomascube
43875379d5 Allow users to choose cols for contacts list sorting 2012-02-02 22:18:10 +00:00
thomascube
7fe3811c65 Changed license to GNU GPLv3+ with exceptions for skins and plugins 2012-01-18 11:10:46 +00:00
alecpl
8b8512fd98 - Reset error flag when connecting to (another) database 2011-12-02 13:41:37 +00:00
alecpl
69f00be516 - Fallback to write-master when readonly database fails 2011-12-02 13:32:28 +00:00
alecpl
aa546e1788 - Fix handling of DB connection failures. Detect failure on connection level instead of on query level.
Fixes issue when one write query failed, next queries were not executed.
- Changed 'var' to 'public'.
2011-11-07 11:03:45 +00:00
alecpl
f5a55bf173 - Make debug handler to be a method of rcube_mdb2 2011-05-27 11:02:51 +00:00
thomascube
10ea10a317 Catch write-errors on database (yet untested) 2011-05-20 18:35:08 +00:00
alecpl
d2a64865a7 - Fix func_get_args() usage for PHP<5.3 (#1487928) 2011-05-20 06:25:46 +00:00
thomascube
0ec7fe4efc Fix sort order when contact name is empty 2011-05-14 14:38:27 +00:00
thomascube
ff4ffc6d54 Revert r4746 due to timestsamp issues with mysql; deprecate rcube_mdb2::unixtimestamp() 2011-05-10 07:08:03 +00:00
thomascube
fd540bad79 Rely on mysql server timezone not on PHP 2011-05-09 21:20:08 +00:00
thomascube
0761e2b1f7 Remove unnecessary code (thanks Alec) 2011-04-25 09:34:54 +00:00
thomascube
73d6b2a6b0 Fix return value of affected_rows() 2011-04-25 09:18:57 +00:00
alecpl
4351f7cd66 - Improve performance by including files with absolute path (#1487849) 2011-04-20 13:58:21 +00:00
thomascube
7342bb8b7a Check for DB connection state instead of handle (handle could be an error object) 2011-04-19 21:00:34 +00:00
thomascube
bbb1427caa Gracefully shrug on database errors 2011-04-19 20:41:24 +00:00
alecpl
6491fbdbae - Fixed bug where some dates would produce SQL error in MySQL (#1487856) 2011-04-08 06:33:50 +00:00
thomascube
e6bb836e05 Create interactive update script with improved DB schema check; udated installer with new features and styles 2011-02-25 16:37:22 +00:00
thomascube
f5e7b35307 Bumbed version; Roundcube development is not Switzerland only 2011-01-12 18:25:02 +00:00
alecpl
9db4ca92ef - Support one argument of type array, instead of n arguments for rcube_mdb2::query method 2010-10-07 07:03:25 +00:00
alecpl
5c461bada9 - Update phpdoc (#1486958) 2010-09-29 16:47:05 +00:00
thomascube
8603bbba2e Fix base url resolution + better order for condition checks in rcube_mdb2 + updated changelog 2010-09-26 11:17:03 +00:00
alecpl
e019f2d0f2 - s/RoundCube/Roundcube/ 2010-09-25 13:03:53 +00:00
thomascube
cb2bc809ef Fix db_mode check in insert_id() 2010-09-21 18:47:55 +00:00
thomascube
a3de4f6054 Fix selection of read/write db connection 2010-09-21 06:43:24 +00:00
alecpl
860678e333 - Add semicolon at the end of SQL queries in log (#1486957) 2010-09-08 17:40:41 +00:00
alecpl
05a7e3d603 - Fix typo (#1486703) 2010-04-30 14:14:23 +00:00
alecpl
a004bb8cbe - code re-formatting + small improvements 2010-04-29 11:15:02 +00:00
alecpl
5318bac11d - Don't add extra newline in sql debug log 2010-04-22 11:21:03 +00:00
alecpl
cbde304b98 - Use MDB2's Manager module for listing tables 2010-04-01 06:25:29 +00:00
thomascube
64d855c9b1 List of tables mustn't be static (wtf?) 2010-03-31 15:27:55 +00:00
thomascube
c0297f4172 Asynchronously expand contact groups + skip count queries in autocompletion mode + check for the existance of contactgroups table 2010-03-31 15:23:22 +00:00
alecpl
e1ac217397 - Fix inconsistency when not using default table names (#1486467) 2010-02-03 11:16:18 +00:00
alecpl
10eedbe75a - add file/line definitions to raise_error() calls 2010-01-28 11:27:16 +00:00
alecpl
2273d4117f - Add support for MDB2's 'sqlsrv' driver (#1486395) 2010-01-26 13:45:16 +00:00
alecpl
8678ce85e6 - Fix rcube_mdb2::affected_rows() (#1486082) 2009-09-04 13:07:48 +00:00
alecpl
6b7e8e705a - Use sequence names only with PostgreSQL (#1486018) 2009-08-04 08:22:41 +00:00
alecpl
dec9e85eae - Fix rcube_mdb2.php: call to setCharset not implemented in mssql driver (#1486019) 2009-08-03 11:33:53 +00:00
alecpl
44653321b4 - Fix rcube_mdb2::unixtimestamp for MS SQL (#1486015) 2009-07-31 06:45:50 +00:00
alecpl
6955c70f28 - handle errors in insert_id() 2009-07-20 11:12:33 +00:00
alecpl
d559cba5f7 - Added 'imap_debug' option, described 'sql_debug' option in config file 2009-07-07 16:38:31 +00:00
alecpl
ac622998f9 - Fix non-unicode characters caching in unicode database (#1484608) 2009-06-24 09:44:05 +00:00
alecpl
ad84f9c06c - performance improvements of messages caching 2009-06-22 18:32:51 +00:00
alecpl
26d857447f - Fix session handling on non-session SQL query error (#1485734) 2009-05-09 20:07:10 +00:00
alecpl
50d515a7d6 - some hints to use sqlite db (#1485821) 2009-05-02 20:11:45 +00:00
alecpl
bac3565695 - Fix read/write database recognition (#1485811) 2009-04-21 06:50:48 +00:00
till
cbbef379a5 * bumping up copyright (happy new year ;-)) 2009-01-17 01:55:39 +00:00
alecpl
9c5bee69d7 - Fix SQL query execution errors handling in rcube_mdb2 class (#1485509) 2009-01-16 12:19:16 +00:00
thomascube
e905db1305 Set postgres-specific schema options + fix indentation 2008-10-14 12:49:44 +00:00
alecpl
9f23f05221 - set MDB2's sequence options for postgres only 2008-10-10 10:07:46 +00:00