Commit Graph

20 Commits

Author SHA1 Message Date
Ralf Becker
23ac04df8d allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php 2017-03-09 12:08:00 +01:00
Ralf Becker
30cf772c4d move ADOdb row_lock and rollback_lock methods to Db class, use Db::$tablealiases and use them for backup, also added a "backup_(starts|finished)" hook for apps 2016-10-13 17:54:58 +02:00
Ralf Becker
e82ce99537 fix SQL error happening in sync-colletion in TB caused by Db->Type == 'mysqli' and Db->group_connect returning false 2016-09-12 23:22:56 +02:00
Ralf Becker
ee468f40ff try creating egroupware database for postgres with psql, as creating it through SQL seem not to work in Travis 2016-08-06 11:10:28 +02:00
Ralf Becker
b26e102ded debugging db creation in Travis for postgres 2016-08-06 10:54:33 +02:00
Ralf Becker
ba18f3f594 allow eg. unit-tests to set/change schema used by db class: Db::set_table_definition() 2016-08-01 13:34:25 +02:00
Ralf Becker
6efd436a75 need to switch ONLY_FULL_GROUP_BY of for MySQL >= 5.7 2016-06-28 13:43:11 +02:00
Ralf Becker
f4dc9ebc3b * MySQL/Ubuntu 16.04: switch off sql_mode ONLY_FULL_GROUP_BY enabled in MySQL 5.7+ 2016-06-27 20:26:48 +02:00
Ralf Becker
139ee0dab1 no need to log connection retries and final connection failures are always thrown, fixes 5 connection failures log for creating new databases 2016-06-05 16:59:55 +02:00
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
77c5102792 fixed more namespace issues found by doc/check_namespace.php I wrote and forgot about it ;-) 2016-03-21 21:21:40 +00:00
Ralf Becker
485416d5f1 replace create_function with performanter, because opcachable closure 2016-03-20 14:01:29 +00:00
Ralf Becker
a24c1121a2 move egw_time class to Api\DateTime 2016-03-05 11:14:01 +00:00
Ralf Becker
0637063660 fix namespaces in Db exceptions 2016-02-29 13:39:35 +00:00
Ralf Becker
1ab66dd811 move exceptions to new api structure, thought to catch an exception by its deprecated name, new exceptions have to extend deprecated ones 2016-02-28 13:43:06 +00:00
Ralf Becker
9bf4dd288e moved egw_cache to Api\Cache 2016-02-28 09:38:36 +00:00
Ralf Becker
e3fb4142fc need to cast to string, as ADOdb 5.20 would return NULL instead of '' for NULL, causing us to write that into NOT NULL columns 2016-02-22 13:31:44 +00:00
Ralf Becker
7f40ff5b17 work around broken ADORecordSet::GetAssoc() in ADOdb 5.20 2016-02-21 11:59:14 +00:00
Ralf Becker
2a056cca06 fix old class name in Galera health check 2016-02-21 11:07:46 +00:00
Ralf Becker
86955dfc95 work in progress: using ADOdb 5.20 and move db classes to new api directory 2016-02-20 20:27:17 +00:00