ralf
|
fb9c214182
|
* Admin/Setup: logging all DB backup operations to a text file db_backup.log in backup-directory
|
2023-03-10 08:33:23 +01:00 |
|
ralf
|
6857e858de
|
fix typo
|
2022-11-18 20:14:17 +01:00 |
|
ralf
|
75c07334df
|
* MySQL 8.0: fix DB backup recorded Int columns as TinyInt and stalls restore
* MySQL 8.0: timestamp columns had no default and did not update automatic
|
2022-11-01 18:45:33 +01:00 |
|
ralf
|
1989e1a949
|
fix PHP 8.1 makes all schema errors fatal, change that back to previous behavior, to ease updates
|
2022-09-14 14:45:09 +02:00 |
|
ralf
|
9a0cc36366
|
fix PHP 8.1 throws \mysqli_sql_exception or \PDOException for SQL errors
- change them to our regular Api\Db\Exception
- for prop(find|patch) explicitly catch PDOException to deal more graceful with non-ascii prop-names
|
2022-05-10 12:36:25 +02:00 |
|
ralf
|
13c633b064
|
lower number of rows queried per chunk to 2000 to avoid memory_limit on huge tables
|
2022-05-04 12:22:29 +02:00 |
|
ralf
|
941142c5be
|
fix CallbackIterator to return mixed, as it can be overwritten with a callback
|
2022-04-24 21:27:53 +02:00 |
|
ralf
|
d92c5a94a6
|
fix PHP 8.1 Deprecated by adding return type declarations
|
2022-04-24 18:15:47 +02:00 |
|
Ralf Becker
|
0685005f41
|
* Guacamole/Backup/Restore: fix not working restore for Guacamole
disabling constraints and only truncate Guacamole tables, not dropping and creating them again
|
2021-11-30 21:56:17 +02:00 |
|
Ralf Becker
|
91bd7c7aeb
|
an other chunk of fixed PHP 8.0 Warnings
|
2021-10-07 10:14:43 +02:00 |
|
Ralf Becker
|
3248e82d65
|
* Setup: skip files backup on update even if configured
It might takes the server down for hours and updates usually dont affect the files
|
2021-05-27 08:49:20 +02:00 |
|
Ralf Becker
|
fed41622c2
|
fixing all sorts of PHP 8 errors and PHPStorm errors
|
2021-03-31 17:50:01 +02:00 |
|
Ralf Becker
|
37e5e12c3c
|
PHP 8 fix: adding explicit cast for comparing DB-version to a float major number
|
2021-03-31 13:31:42 +02:00 |
|
Ralf Becker
|
972ebf56f2
|
speed up restore of database by inserting up to 500 row in one statement (was only 10)
|
2019-10-30 17:15:23 +01:00 |
|
Ralf Becker
|
21a44891ed
|
* InfoLog: fix delegation no longer shown after database restore
|
2019-09-24 11:23:17 +02:00 |
|
Ralf Becker
|
cf4301a023
|
fix SQL error in update from 14.2 and before for newer MariaDB/MySQL
they no longer silently cut of too long content for varchar columns
|
2019-05-23 10:17:01 +02:00 |
|
Alexandros Sigalas
|
02d9accc94
|
Fixed, PHP Warning: Invalid argument supplied for foreach() in ...
(skiped the importexport one, as it was already fixed by Nathan)
|
2019-03-05 09:45:40 +01:00 |
|
nathangray
|
19ead4c1cc
|
Fix some more PHP 7.2 warnings
Remove some calls to deprecated each()
|
2018-12-18 09:49:29 -07:00 |
|
Ralf Becker
|
77b79f24b7
|
* Setup: updates from old versions (eg. 1.4 or 1.8) no longer require to update to 14.x and 16.1 first
|
2018-04-13 13:46:49 +02:00 |
|
Ralf Becker
|
63d89a3ba0
|
* Setup/Restore: restore from a other charsets then utf-8 failed
|
2018-04-12 18:00:27 +02:00 |
|
nathangray
|
b8f8a014fa
|
Move all tests under api/src into api/tests
|
2017-10-23 10:14:14 +02:00 |
|
nathangray
|
237d81ce36
|
Move tests into app/tests subdirectory (not app/inc/test or app/test)
|
2017-10-18 15:43:35 +02:00 |
|
Ralf Becker
|
a8adf9dd54
|
lower number of rows read per query, to not run out of memory
(eg. pec instance)
|
2017-06-15 09:32:59 +02:00 |
|
nathangray
|
d83a929254
|
Get tests to not fail if DB is missing - we skip the ones that need a DB
|
2017-02-07 16:02:06 -07:00 |
|
nathangray
|
888c9028cb
|
Define idx_data outside of the loop, since it's used later
(Thanks Scrutinizer)
|
2017-02-07 09:42:10 -07:00 |
|
nathangray
|
1338add5fb
|
Add PHPUnit tests for Schema, based on Ralf's previous command line tests
|
2017-02-07 09:19:30 -07:00 |
|
Ralf Becker
|
2d35e890fd
|
remove permantent error_log on restore of egw_cal_dates
|
2016-11-02 14:28:34 +01:00 |
|
Ralf Becker
|
a81442373c
|
fix typo
|
2016-10-13 17:58:27 +02: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
|
4dbd49d285
|
fix Scrutinizer docu bug: Api\Db has no more support for Halt_On_Error attribute
|
2016-08-28 12:51:19 +02:00 |
|
Ralf Becker
|
7822f84943
|
* PostgreSQL/Setup: fix SQL error in Backup or update: Invalid SQL: SELECT * FROM egw_pm_members
ADOdb drive for PostgreSQL requires 2. parameter for RowLock, while MySQL(i) defaults to all rows
|
2016-08-09 09:31:36 +02:00 |
|
Ralf Becker
|
ad5cf7abfe
|
move old schema tests to api/src/Db/test/, not (yet) running via phpUnit/Travis
|
2016-08-01 13:58:06 +02:00 |
|
Ralf Becker
|
c033435122
|
fix RenameTable for PostgreSQL to only use old logic, if we still have an old sequence, and if old logic is used, set sequence value
|
2016-08-01 13:32:43 +02:00 |
|
Ralf Becker
|
6ba07ef64b
|
fixed SQL error caused by sql_mode ONLY_FULL_GROUP_BY under MySQL 5.7+ in VFS file-system-check
|
2016-07-28 09:11:38 +02:00 |
|
Ralf Becker
|
1bae5f991f
|
grr fix typo, thanks to Travis
|
2016-07-08 09:09:47 +02:00 |
|
Ralf Becker
|
a091718807
|
* Restore: fix failed restore under MySQL 5.7 by temp. disabling strict mode to allow inserting zero dates
|
2016-07-08 08:40:44 +02:00 |
|
Ralf Becker
|
b103dd23a6
|
fix some scrutinizer "bugs"
|
2016-06-26 19:44:53 +02:00 |
|
Ralf Becker
|
e6c2f04dda
|
fix some scrutinizer "bugs"
|
2016-06-26 19:44:53 +02:00 |
|
Ralf Becker
|
ab02df94d4
|
extract PDO code from Sqlfs streamwrapper into class Api\Db\Pdo, to be able to use it for z-push SqlStateMaschine
|
2016-06-09 20:40:31 +02:00 |
|
Ralf Becker
|
e87cbc4832
|
use static Hooks methods
|
2016-05-11 18:58:10 +00:00 |
|
Ralf Becker
|
153c068271
|
fix diverse occurences of egw_db
|
2016-05-06 11:13:19 +00: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
|
85695f0d41
|
split html class to Api\Html, Api\Header\Content, Api\Header\UserAgent and translation
|
2016-03-13 11:22:44 +00:00 |
|
Ralf Becker
|
c1e0b16d88
|
if there is no primary key lock table on backup to be able to query rows in chunks to limit memory usage
|
2016-03-09 20:25:22 +00:00 |
|
Ralf Becker
|
20da4e41bc
|
an other namespace fix
|
2016-03-09 19:45:21 +00:00 |
|
Ralf Becker
|
49f75bc8dd
|
move non-mail specific methods of translation class to Api\Translation
|
2016-03-05 10:47:20 +00:00 |
|
Ralf Becker
|
7aa3296cc5
|
move config to Api\Config
|
2016-03-05 10:22:40 +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 |
|