Commit Graph

19 Commits

Author SHA1 Message Date
Ralf Becker
0b384f3112 fix regexp to only match beginning of string 2017-03-09 16:48:26 +01:00
Ralf Becker
6dfe752b7f allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php 2017-03-09 16:48:26 +01:00
Ralf Becker
dca8f4dd70 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 18:00:15 +02:00
Ralf Becker
81554c511e try creating egroupware database for postgres with psql, as creating it through SQL seem not to work in Travis 2016-08-07 11:19:05 +02:00
Ralf Becker
a2a674fa3a debugging db creation in Travis for postgres 2016-08-07 11:19:05 +02:00
Ralf Becker
420350e5a8 need to switch ONLY_FULL_GROUP_BY of for MySQL >= 5.7 2016-06-28 13:44:22 +02:00
Ralf Becker
718ec8006b * MySQL/Ubuntu 16.04: switch off sql_mode ONLY_FULL_GROUP_BY enabled in MySQL 5.7+ 2016-06-27 20:28:00 +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