Eric Espie
9c37d5c23e
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# application/applicationextension.inc.php
# application/cmdbabstract.class.inc.php
# core/dbobject.class.php
# core/kpi.class.inc.php
# core/metamodel.class.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# tests/php-unit-tests/unitary-tests/setup/DBBackupTest.php
2023-07-19 09:26:46 +02:00
Eric Espie
6432678de9
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# bootstrap.inc.php
# composer.json
# core/MyHelpers.class.inc.php
# core/cmdbsource.class.inc.php
# core/config.class.inc.php
# core/dbobject.class.php
# core/kpi.class.inc.php
# core/metamodel.class.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
2023-07-18 14:36:58 +02:00
Eric Espie
78396d8e4a
6548 - [ER] Hide DBHost and DBUser in log
2023-07-10 17:37:27 +02:00
Stephen Abello
9afc22bd8f
N°6123 - Add tests and comments
2023-07-07 09:29:15 +02:00
Pierre Goiffon
ef0b0f88c9
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# sources/Core/Email/EmailSwiftMailer.php
# tests/php-unit-tests/integration-tests/DictionariesConsistencyTest.php
# tests/php-unit-tests/postbuild_integration.xml.dist
2023-07-06 17:11:10 +02:00
Pierre Goiffon
a010239efb
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-07-06 15:48:42 +02:00
Stephen Abello
246e4a9f50
N°6123 - Fix warnings when launching a backup on MariaDB > v10.6.1 with localhost dbhost
2023-07-06 09:28:01 +02:00
Molkobain
3e73038709
N°6380 - Fix exception "Failed to parse time string" with check_backup.php script
2023-06-22 13:51:01 +02:00
denis.flaven@combodo.com
7fe565c4fb
Merge branch 'feature/6133-add-extra-files-to-backup-and-restore' into develop
2023-05-11 14:41:02 +02:00
denis.flaven@combodo.com
08ebac1b5c
Fix PR remarks
2023-05-10 17:42:50 +02:00
denis.flaven@combodo.com
001194835f
Config file may not exist during unattended setup/backup
2023-04-06 10:50:47 +02:00
denis.flaven@combodo.com
955aefc05b
Ignore non-existing files.
2023-04-04 14:26:31 +02:00
denis.flaven@combodo.com
034ca26d01
Do NOT backup unsafe files.
2023-04-03 11:54:01 +02:00
denis.flaven@combodo.com
d03bd706e2
Support of extra files (configurable) in the backup.
2023-03-29 16:53:38 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Molkobain
f7ee21f1d7
N°5279 - PHP 8.1: Migrate usages of deprecated strftime() function
...
In the end we made an adapter to keep using the strftime() format (https://www.php.net/manual/fr/function.strftime.php ); not to ease migration but because we couldn't use \DateTime::format().
We can't use \DateTime::format() directly on the whole filename as it would also format characters that are not supposed to be. eg. "__DB__-Y-m-d-production" would become "itopdb-2023-02-09-+01:00Thu, 09 Feb 2023 11:34:01 +0100202309", mind the "production" part being converted.
2023-02-10 22:15:18 +01:00
Lars Kaltefleiter
b354058eb5
N°5622 Fix backup cannot be done if TLS enabled with no CA ( #354 )
2023-01-10 12:13:33 +01:00
Pierre Goiffon
135ddbf37d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/phpunit.xml.dist
2022-01-13 13:36:09 +01:00
Pierre Goiffon
426f275c03
💡 Add additional phpdoc to \DBBackup::GetMysqlCliTlsOptions
2022-01-12 11:21:21 +01:00
Pierre Goiffon
b55ba2ac7f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/log.class.inc.php
# test/setup/iTopDesignFormat/iTopDesignFormatTest.php
2022-01-12 09:56:16 +01:00
Pierre Goiffon
0ee6c60e94
✅ Fix DBBackupTest (again :/)
...
Was working on Windows but not on Linux...
2022-01-12 09:12:04 +01:00
Pierre Goiffon
a663e9fded
✅ Fix DBBackupTest
...
DB connection dependency was added in a222ead4 (N°2336) in \DBBackup::GetMysqlCliTlsOptions but test wasn't updated accordingly :/^
The test wasn't ran on Jenkins until b11bf308 , so we saw the regression only yesterday :(
This is now fixed ! 🥳
2022-01-12 09:00:26 +01:00
Pierre Goiffon
b3bf516b20
💡 Fix PHPDoc for \DBBackup::GetMysqlCliTlsOptions
2022-01-12 08:24:28 +01:00
Eric Espie
a4e43d3f17
N°4225 - Remove Read-only mode for backup
2021-09-09 14:25:19 +02:00
Eric Espie
8e0ae67803
N°4227 / N°4225 - Enhance SetupUtils interface
2021-09-06 17:53:46 +02:00
odain
9e1e5a8a47
N°4227 - Manual iTop restore - protect any restore from cron or db updates and release readonly mode afterward only if restore set it itself
2021-08-12 16:25:50 +02:00
odain
2c026fa891
N°4225 - Protect manual backups from cron (and vice versa) - protect any backup from cron/db updates and release readonly mode only when backup set it itself
2021-08-12 16:25:50 +02:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Pierre Goiffon
04fc58b55c
📝 Some @since annotations were missing complete version (ex 2.5 instead of 2.5.0)
2020-02-21 18:05:30 +01:00
Stephen Abello
130734bec7
Merge branch 'master' into develop
...
# Conflicts:
# setup/backup.class.inc.php
2019-07-25 17:18:49 +02:00
Stephen Abello
d7fad4b646
Merge branch 'support/2.6.2'
2019-07-25 17:07:49 +02:00
Stephen Abello
f4d538ef6c
N°2410 Fix regression in mysqldump call introduced in 2.6.2
2019-07-24 16:02:20 +02:00
Pierre Goiffon
dc868b16ab
N°2366 remove DBBackup::CreateZip
...
* remove method and its dependencies
* create \utils::GetFileMimeType
* in \DBBackup::DownloadBackup mime type isn't hardcoded anymore
2019-07-19 15:51:05 +02:00
Pierre Goiffon
073b1cd303
N°2018 Backup : fix version check for MySQL8
...
Now uses \CMDBSource::GetDBVersion instead of mysqldump -V
2019-07-16 18:05:31 +02:00
Pierre Goiffon
e712791f43
Merge remote-tracking branch 'origin/master' into develop
2019-07-16 17:45:24 +02:00
Pierre Goiffon
fefd9aae95
N°2399 backup : throw exception and log error if cannot create archive
...
(before error was silently ignored)
2019-07-16 17:44:56 +02:00
Pierre Goiffon
6c81163d20
Merge remote-tracking branch 'origin/master' into develop
2019-07-01 17:30:21 +02:00
Stephen Abello
f948d6e026
N°2336: Set right parameter for --ssl-mode
2019-06-21 14:37:48 +02:00
Stephen Abello
a222ead43c
N°2336: Use --ssl-mode instead of --ssl with MySQL >= 5.7.0
2019-06-21 13:59:36 +02:00
Eric
e68340273b
Merge branch 'master' into develop
...
# Conflicts:
# core/config.class.inc.php
# core/htmlsanitizer.class.inc.php
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/version.xml
# dictionaries/zh_cn.dictionary.itop.ui.php
# synchro/synchrodatasource.class.inc.php
2019-06-20 16:11:38 +02:00
Eric
519aaadd9a
N°2157 - Fix backup manual warning
2019-06-13 09:44:40 +02:00
Pierre Goiffon
e59e62fb1b
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# core/expressioncache.class.inc.php
2019-02-21 17:24:37 +01:00
Pierre Goiffon
1f7923beae
Merge remote-tracking branch 'origin/support/2.5'
...
# Conflicts:
# datamodels/2.x/itop-backup/module.itop-backup.php
# setup/setup.js
# setup/wizardsteps.class.inc.php
2019-02-21 17:18:29 +01:00
Pierre Goiffon
a35690d13c
📌 Identify & remove Combodo code from ArchiveTar lib
2019-02-21 17:07:31 +01:00
Pierre Goiffon
02617e8976
🔊 itop-backup : add some more logs
2019-02-19 12:21:53 +01:00
Pierre Goiffon
505aad1e89
Merge branch 'support/2.5'
...
# Conflicts:
# datamodels/2.x/itop-hub-connector/zh_cn.dict.itop-hub-connector.php
# lib/tcpdf/CHANGELOG.TXT
# lib/tcpdf/composer.json
# lib/tcpdf/include/tcpdf_fonts.php
# lib/tcpdf/include/tcpdf_images.php
# lib/tcpdf/include/tcpdf_static.php
# lib/tcpdf/tcpdf.php
2019-01-28 16:04:19 +01:00
Stephen Abello
ed3fd851f1
N°1933: Security hardening
2019-01-14 11:57:16 +01:00
Pierre Goiffon
a4055c4a74
Change comments to use same tickets ref syntax
2018-11-06 17:36:14 +01:00
Eric Espié
22df5d09fb
Retrofit from trunk
...
N°1595 - Setup : Blocking error on backup failure [from revision 6010]
SVN:2.5[6023]
2018-08-28 12:14:56 +00:00
Eric Espié
ea9b7eddde
N°1595 - Setup : Blocking error on backup failure
...
SVN:trunk[6010]
2018-08-22 10:16:35 +00:00