Molkobain
f238593966
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2023-08-11 09:19:49 +02:00
Molkobain
ccceb870e3
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopDataTestCase.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2023-08-10 15:53:05 +02:00
Molkobain
aef3c2e609
N°6097 - Fix \CMDBSource::DropDB() not resetting cache like \CMDBSource::DropTable() which can lead to errors when trying to re-create it afterwards
2023-08-10 15:45:39 +02:00
Pierre Goiffon
5212e15cc4
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-08-10 14:41:05 +02:00
Pierre Goiffon
f04fc546b5
N°6643 Fix TypeError in \CMDBSource::LogDeadLock
2023-08-10 14:34:09 +02:00
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
Stephen Abello
2b5973ec67
N°6436 - Integrate Performance Audit pre requisite in iTop Pro 2.7.9
2023-07-18 09:15:37 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +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
88d743b1cc
✅ N°5538 Make PHPUnit test fail if transaction opened but not closed
2022-09-21 14:05:27 +02:00
Molkobain
04dbaef257
N°4517 - PHP 8.1: Fix deprecated usages of MySQLi
...
* init() method should not be called in OOP
* real_connect() "flags" param should not be null to match its type (int)
2022-06-28 16:34:12 +02:00
Molkobain
020937d4f6
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-16 16:22:53 +02:00
acognet
2165bfe8c2
Fix "undefined offset" error during "Anonymize" action
2022-05-12 14:45:18 +02:00
Thomas Casteleyn
e4a04de9f4
N°5066 - Clean CMDBSource methods ( #229 )
...
* Improve function calls
* Deprecate CMDBSource::GetServerInfo
* Improve documentation
* Update core/cmdbsource.class.inc.php
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
* Single quotes
* Apply suggestion, so method still returns empty string instead of null
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
2022-04-12 17:10:41 +02: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
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
92b61c7491
N°4558 Rename \LogChannels::CMDBSOURCE to CMDB_SOURCE to match existing constant in support/3.0 branch
2022-01-10 17:09:43 +01:00
Pierre Goiffon
8578d18e7f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/config.class.inc.php
# core/displayablegraph.class.inc.php
# core/log.class.inc.php
# datamodels/2.x/itop-config-mgmt/dictionaries/tr.dict.itop-config-mgmt.php
# datamodels/2.x/itop-knownerror-mgmt/dictionaries/tr.dict.itop-knownerror-mgmt.php
# datamodels/2.x/itop-service-mgmt/dictionaries/tr.dict.itop-service-mgmt.php
# datamodels/2.x/itop-tickets/tr.dict.itop-tickets.php
# datamodels/2.x/itop-welcome-itil/tr.dict.itop-welcome-itil.php
# dictionaries/tr.dictionary.itop.core.php
# dictionaries/tr.dictionary.itop.ui.php
# pages/UI.php
# setup/itopdesignformat.class.inc.php
# test/core/LogAPITest.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
# test/postbuild_integration/SetupCssIntegrityChecklistTest.php
# test/postbuild_integration/iTopModuleXmlInstallationChecklistTest.php
# test/status/StatusTest.php
2022-01-10 16:15:00 +01:00
Pierre Goiffon
25e560fdaa
N°4558 Fix possible PHP notice in \CMDBSource::StartTransaction
2021-12-31 16:34:19 +01:00
Pierre Goiffon
9c6d8253f4
✅ Fix \Combodo\iTop\Test\UnitTest\Core\CMDBSourceTest::testIsOpenedDbConnectionUsingTls
2021-09-30 10:49:11 +02:00
Pierre Goiffon
8fa6ae6703
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/cmdbsource.class.inc.php
2021-09-30 09:51:13 +02:00
Pierre Goiffon
3ff117596d
💡 N°4325 add phpdoc
2021-09-24 17:16:59 +02:00
Pierre Goiffon
4cf4c0e4c3
♻️ N°4325 refactor CMDBSource mysqli attributes to a separate wrapper class ( #237 )
...
In 2.7.5 with N°3513 we added a second mysqli attribute in CMDBSource, so that we can test transactions (see TransactionsTest).
But this wasn't documented, and was really causing confusion !
This refactor wraps both attributes in a dedicated object so that the logic is clearer.
2021-09-24 11:45:39 +02:00
Pierre Goiffon
ec1dcc8df6
💡 N°3513 PHPDoc
2021-09-23 14:42:16 +02:00
Pierre Goiffon
47ed863da9
N°4215 N°3513 Fix DB errors fetch from the wrong object n°2
2021-09-23 14:32:43 +02:00
Pierre Goiffon
88290f9e91
N°4215 N°3513 Fix DB errors fetch from the wrong object
2021-09-23 13:55:23 +02:00
Molkobain
3a05e9159d
PHPDoc
2021-09-23 12:29:34 +02:00
Pierre Goiffon
cfdbc8ae62
N°4215 When checking for TLS cnx, don't set anymore CMDBSource mysql attributes !
2021-09-23 11:59:44 +02:00
Pierre Goiffon
aaa8f6d311
N°4215 Fix call to a function on null error when setting TLS connection in the setup
...
Regression introduced by b1ca1f2630 / N°3513
2021-09-22 15:59:39 +02:00
Eric
3359609349
Allow mode selection for queries
2021-07-31 15:23:19 +02:00
Eric
a117906ff6
🎨 Add constant for cmdbsource log channel
2021-07-02 17:01:46 +02:00
Eric
4d80235d89
🎨 add phpDoc
2021-06-28 13:58:12 +02:00
Pierre Goiffon
2a1e0b7429
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/dbobject.class.php
# core/log.class.inc.php
# setup/compiler.class.inc.php
2021-06-28 08:58:34 +02:00
Pierre Goiffon
8259a79cd2
🎨 Factorize LogAPI channels value in LogChannels class
2021-06-25 17:13:35 +02:00
Eric
b1ca1f2630
N°3513 - ObjectFormManager : remove transaction
...
* Add automatic tests
* Fix object consistency
2021-06-22 16:09:41 +02:00
Pierre Goiffon
5db8bd06ba
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/coreexception.class.inc.php
# core/log.class.inc.php
2021-06-21 16:24:27 +02:00
Eric
a1271da74a
N°3513 - ObjectFormManager : remove transaction
2021-06-21 15:03:17 +02:00
Pierre Goiffon
d8e2a1cc7c
Merge branch 'support/2.7' into develop
...
# Conflicts:
# README.md
# composer.json
# composer.lock
# core/cmdbsource.class.inc.php
# core/dbobject.class.php
# datamodels/2.x/combodo-db-tools/db_analyzer.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# datamodels/2.x/combodo-db-tools/dictionaries/zh_cn.dict.combodo-db-tools.php
# datamodels/2.x/itop-attachments/dictionaries/zh_cn.dict.itop-attachments.php
# datamodels/2.x/itop-core-update/dictionaries/zh_cn.dict.itop-core-update.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
# lib/composer/InstalledVersions.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# lib/composer/platform_check.php
# pages/ajax.render.php
# pages/csvimport.php
# setup/ajax.dataloader.php
# setup/index.php
# setup/setuputils.class.inc.php
# test/application/UtilsTest.php
2021-06-14 16:19:56 +02:00
acognet
b740cb2afd
N°2540 - prevent the mysql password to appear on misconfigured servers
2021-05-12 08:17:35 +02:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
bruno-ds
9cbaced1f3
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# core/config.class.inc.php
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig
# setup/setuputils.class.inc.php
# test/setup/SetupUtilsTest.php
2021-03-02 14:34:19 +01:00
odain
d4607ee815
N°3065 - Failed enum comparison when values contains parenthesis : add a warning
2021-03-02 07:33:36 +01:00
odain
5c0e92d51a
N°3065 - Failed enum comparison when values contains parenthesis
2021-03-01 17:06:49 +01:00
Pierre Goiffon
35155e4b7a
💡 N°3065 comments modifications
2021-02-26 10:06:29 +01:00
bruno-ds
26bbdc1a57
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# dictionaries/en.dictionary.itop.core.php
# dictionaries/fr.dictionary.itop.core.php
# setup/setuputils.class.inc.php
2021-02-23 08:58:29 +01:00
odain
74246a8278
N°3065 - Failed enum comparison when values contains parenthesis - enhance db model parsing used during setup comparison with expected one to generate SQL migration queries
2021-02-18 18:24:09 +01:00
Pierre Goiffon
b85b4d0067
N°3663 Group exception classes in /application/exceptions
...
Original files kept for compatibility issues :
- core/coreexception.class.inc.php
There are remaining exceptions in /core/oql, but those files are generated
2021-01-26 15:50:26 +01:00
acognet
491d1d7d53
N°API : remove CMDBSource::GetNextInsertId
2020-06-26 16:20:15 +02:00
Pierre Goiffon
e6a8f492d5
N°3049 Fix notice when having an ENUM field with values containing parenthesis
2020-05-28 15:38:21 +02:00