N°8760 - be able to list modules based on extension choices
refactoring: move some classes in a moduleinstallation folder (coming
namespace)
N°8760 - module dependency check applied before audit
N°8760 - make dependency check work during audit
N°8760 - fix ci
N°8760 - fix ci
N°8760 - add GetCreatedIn to get module name based on DBObject class - everything stored in MetaModel during compilation and autoload
N°8760 - be able to describe from which module a datamodel class comes via MetaModel created_in field
N°8760 - rename GetCreatedIn <- GetModuleName + compute module name live instead having complex stuff in MetaModel/compilation
temp review 1
review: renaming InstallationChoicesToModuleConverter
review: renaming InstallationChoicesToModuleConverter
review: ModuleDiscovery:GetModulesOrderedByDependencies replacing deprecated GetAvailableModules method
ci: fix typo
cleanup
review: rework InstallationChoicesToModuleConverter
N°8760 - review tests
* Add a complete test suite for XML assembly
* Add a complete test suite for XML assembly
* Dispatched the test of GetDelta into real unit tests
* Add test for GetDelta on a rename operation
* Add comments on a weird case and a case on rename
* Update XML version after rebase from develop to support/2.7
* Fix phpdoc about coverage
* Remove ModelFactory::GetRootDirs and ItopTestCase::RecurseRmDir+CreateTmpDir+RecurseMkDir+RecurseCopy, that were meant to be introduced in iTop 3.0 and have been copied here by mistake, when rebasing the branch from develop to 2.7.0
* Update test/ItopTestCase.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Update test/setup/ModelFactoryTest.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
* Update test/ItopTestCase.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com>
Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
Before this fix, when creating a module for iTop that was creating PHP code (an iTop class for example, a snippet, ...) it was mandatory to add the model.php file in your module.php file ("datamodel" key). If you forgot this, then the compilation was completed OK but the result code wasn't included in iTop.
Now the compiler automatically adds the model.php file to the included files.
We were crashing iTop when having a module with :
* in the 'datamodel' key in the module.*.php file a 'model.*.php' declared
* no model.*.php file in the module sources
* no model.*.php generated after compilation
This behavior is improved :
* if isdevenv an exception will be thrown detailing which module is concerned
* else :
- model.*.php won't be added in iTop datamodel autoload
- a SetupLog::Error will be made
* merging 3.0 into develop
* N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth
* migration to iTop 3.1
Co-authored-by: Eric Espie <eric.espie@combodo.com>