odain-cbd
696e2c9565
N°4720 - Remove old unreferenced methods or pages that are @deprecated ( #747 )
...
* N°4720 - Remove old unreferenced methods that are @deprecated
* N°4720-Config addson getter/setter removal
* small deprecation removal
* revert @deprecation 3.3 removal: ResizeImageToFit
* small deprecation removal
* revert deprecation 3.3 removal: Config/GSetAddons
2025-09-11 15:52:00 +02:00
bdalsass
a7877dc6a6
Merge remote-tracking branch 'origin/support/3.2' into develop
2025-07-07 14:04:18 +02:00
bdalsass
c8371f1c19
N°8395 - php8.1 compatibility in class extended Exception
2025-07-07 14:03:29 +02:00
bdalsass
278ac66637
Merge remote-tracking branch 'origin/support/3.2' into develop
2025-06-30 10:08:47 +02:00
bdalsass
8cece0f0fd
N°8395 - php8.1 compatibility in class extended Exception
2025-06-30 10:01:00 +02:00
Romain Quetiez
2086052d60
N°8440 Allow icon file ids to contain quotes, by correctly escaping language literals (XPath or PHP)
2025-06-13 09:55:25 +02:00
Eric Espie
38041b25fb
N°7722 - Fatal error if xml entry "redefine" doesn't exist
2024-07-31 14:42:08 +02:00
jf-cbd
ffcc8ff32a
N°7459 optimize memory consumption during compilation with php 8.1+ ( #650 )
...
N°7459 optimize memory consumption during compilation with PHP 8.1+
2024-06-05 11:03:43 +02:00
Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02:00
Eric Espie
7b999cef50
Compilation issue
2024-03-26 11:57:08 +01:00
Eric Espie
90458f6048
N°6974 - Flatten classes in datamodel - Allow _delta="merge" in strict mode
2024-03-22 10:11:25 +01:00
Eric Espié
2f30a0146e
N°6974 - Flatten classes in datamodel ( #603 )
...
* N°6974 - Flatten classes in datamodel
* N°6882 - LoadDelta() in lax/strict mode
* N°6974 - Flatten classes in datamodel
* N°6882 - LoadDelta() in lax/strict mode
* N°7186 - Code hardening
* N°6974 - Flatten classes in datamodel
* N°6660 and N°7318 - Support delete_if_exists and define_if_not_exists in XML injection
* N°6974 - Flatten classes in datamodel
* Apply suggestions from code review
* Update core/designdocument.class.inc.php
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-03-19 13:53:14 +01:00
Pierre Goiffon
9cc7ccb1cd
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-03-13 09:27:39 +01:00
Pierre Goiffon
a337ef3d88
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# setup/modelfactory.class.inc.php
# setup/setuputils.class.inc.php
2024-03-13 09:27:06 +01:00
Pierre Goiffon
a5efd981d8
N°7343 Catch ParseError when loading dict files in setup ( #615 )
2024-03-12 18:05:38 +01:00
Eric Espie
cc5e105d7f
N°7070 - remove _delta attribute from datamodel and avoid _delta attributes under a node having _delta in [define, define_if_not_exist, redefine, force] in deltas
2024-01-17 15:12:08 +01:00
Molkobain
6bf9ce3237
Merge remote-tracking branch 'origin/release/designer-lot-3' into support/3.1
2023-11-16 16:33:17 +01:00
Molkobain
5726f9f81a
N°6960 - Fix \MFDocument::GetNodes() adding a predicate on last expression only instead of the whole XPath
2023-11-16 16:31:47 +01:00
Eric Espie
44e826543d
N°6870 - Community re-integration support
2023-10-25 14:30:16 +02:00
Eric Espie
941412a365
Community integration: changed default behaviour for datamodel XML nodes without _delta from 'must_exist' to 'merge'
2023-10-25 10:05:46 +02:00
Eric Espie
59cd489e72
N°6252 - Make designer itop 3.1 compatible - Fix deprecated calls of opendir() with null value
2023-05-16 14:06:01 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Molkobain
9a3324de07
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# setup/modelfactory.class.inc.php
2022-11-08 21:18:11 +01:00
Molkobain
5839d0e8e3
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/ItopTestCase.php
2022-11-08 21:14:50 +01:00
Romain Quetiez
cd010afb48
N°5704 - Unit tests on XML assembly ( #329 )
...
* 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 >
2022-11-08 19:43:07 +01:00
Eric Espie
71464f6d0e
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# core/cmdbobject.class.inc.php
# core/dbobject.class.php
# core/designdocument.class.inc.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
2022-09-19 09:45:08 +02:00
acognet
7ec12f1e12
N°4517 - PHP 8.1: Replace htmlentities(***, ENT_QUOTES, 'UTF-8') with utils::EscapeHtml
2022-07-01 09:22:25 +02:00
Eric Espie
682ab44dea
Merge branch 'develop' into feature/faf_event_service
2022-06-30 14:22:52 +02:00
Molkobain
6facaec353
N°4517 - PHP 8.1: Replace mixed return types with #[\ReturnTypeWillChange] PHP attributes to restore PHP 7.4 compatibility
...
Also add comment on previous #[\ReturnTypeWillChange]
2022-06-28 16:34:41 +02:00
Molkobain
09b0ac38ef
N°4517 - PHP 8.1: Hide (for now) deprecate notices of mismatching return types when union types as it would not be supported by PHP 7.2 => 7.4
2022-06-28 16:34:27 +02:00
Molkobain
9d62e87de4
N°4517 - PHP 8.1: Fix MFElement::__construct() being called with $namespaceURI as null when it should be strictly a string
...
MFDocument::createElement() default value for $namespaceURI is now a string
2022-06-28 16:34:18 +02:00
Pierre Goiffon
abb13b70b9
Compiler : when generating model file add it to module ( #296 )
...
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.
2022-06-15 18:07:16 +02:00
Pierre Goiffon
023ead39ec
N°4280 Handle modules with non existing model.*.php files imported ( #295 )
...
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
2022-06-15 17:20:13 +02:00
Eric Espie
6aef59e42d
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# core/dbobject.class.php
# datamodels/2.x/itop-config/config.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
2022-06-08 16:51:44 +02:00
bdalsass
2b885beb82
Feature/merge 3 0 develop ( #298 )
...
* 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 >
2022-06-08 16:27:20 +02:00
Benjamin Dalsass
f014ebfeb1
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/log.class.inc.php
# setup/modelfactory.class.inc.php
2022-06-08 13:04:50 +02:00
Eric Espie
cdd7dcdc5c
N°5211 - Core update not working with auto-selected modules
2022-06-08 10:12:19 +02:00
Eric Espie
c788c93542
Merge branch 'develop' into feature/faf_event_service
2022-03-30 08:22:47 +02:00
acognet
90b41e0b81
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/displayablegraph.class.inc.php
# pages/UI.php
2022-03-18 15:51:45 +01:00
Pierre Goiffon
0080a2e733
💡 N°3129 Fix phpdoc
...
Method was renamed in 45b5c39a but I forgot to update the PHPDoc
2022-03-17 15:36:39 +01:00
Eric Espie
29c6b73d93
EventService: refactoring
2022-03-15 17:50:13 +01:00
Pierre Goiffon
b360514646
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/displayblock.class.inc.php
# application/ui.extkeywidget.class.inc.php
# application/utils.inc.php
# approot.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/authent-cas/module.authent-cas.php
# datamodels/2.x/authent-external/module.authent-external.php
# datamodels/2.x/authent-ldap/module.authent-ldap.php
# datamodels/2.x/authent-local/module.authent-local.php
# datamodels/2.x/combodo-db-tools/module.combodo-db-tools.php
# datamodels/2.x/itop-attachments/module.itop-attachments.php
# datamodels/2.x/itop-backup/module.itop-backup.php
# datamodels/2.x/itop-bridge-virtualization-storage/module.itop-bridge-virtualization-storage.php
# datamodels/2.x/itop-change-mgmt-itil/module.itop-change-mgmt-itil.php
# datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php
# datamodels/2.x/itop-config-mgmt/module.itop-config-mgmt.php
# datamodels/2.x/itop-config/module.itop-config.php
# datamodels/2.x/itop-core-update/module.itop-core-update.php
# datamodels/2.x/itop-datacenter-mgmt/module.itop-datacenter-mgmt.php
# datamodels/2.x/itop-endusers-devices/module.itop-endusers-devices.php
# datamodels/2.x/itop-files-information/module.itop-files-information.php
# datamodels/2.x/itop-full-itil/module.itop-full-itil.php
# datamodels/2.x/itop-hub-connector/module.itop-hub-connector.php
# datamodels/2.x/itop-incident-mgmt-itil/module.itop-incident-mgmt-itil.php
# datamodels/2.x/itop-knownerror-mgmt/module.itop-knownerror-mgmt.php
# datamodels/2.x/itop-portal-base/module.itop-portal-base.php
# datamodels/2.x/itop-portal/module.itop-portal.php
# datamodels/2.x/itop-problem-mgmt/module.itop-problem-mgmt.php
# datamodels/2.x/itop-profiles-itil/module.itop-profiles-itil.php
# datamodels/2.x/itop-request-mgmt-itil/module.itop-request-mgmt-itil.php
# datamodels/2.x/itop-request-mgmt/module.itop-request-mgmt.php
# datamodels/2.x/itop-service-mgmt-provider/module.itop-service-mgmt-provider.php
# datamodels/2.x/itop-service-mgmt/module.itop-service-mgmt.php
# datamodels/2.x/itop-sla-computation/module.itop-sla-computation.php
# datamodels/2.x/itop-storage-mgmt/module.itop-storage-mgmt.php
# datamodels/2.x/itop-tickets/module.itop-tickets.php
# datamodels/2.x/itop-virtualization-mgmt/module.itop-virtualization-mgmt.php
# datamodels/2.x/itop-welcome-itil/module.itop-welcome-itil.php
# datamodels/2.x/version.xml
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
# setup/modelfactory.class.inc.php
# setup/setuputils.class.inc.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
2022-02-08 13:18:50 +01:00
Molkobain
15087ab848
N°592 - Fix ModelFactory::GetField() always failing as $aLoadedClasses is never filled
2022-02-02 19:06:38 +01:00
Pierre Goiffon
45b5c39af7
N°3129 PHP 8.0 compat : code review modifications
...
Many thanks @Molkobain & @Hipska !
2022-01-31 16:41:35 +01:00
Pierre Goiffon
606bdc1909
N°3129 PHP 8.0 compat: Fix "Access level to MFElement::ReplaceWith() must be public (as in class DOMElement)"
2022-01-28 17:01:07 +01:00
Stephen Abello
4180a41f27
N°4652 Better error message when XML node define fails from delta ( #256 )
...
N°4652 Add more details when trying to define an already existing XML node
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
2022-01-14 10:20:46 +01:00
Stephen Abello
8ada56fc53
N°4652 Better error message when XML node define fails from delta ( #256 )
...
N°4652 Add more details when trying to define an already existing XML node
Co-authored-by: Molkobain <guillaume.lajarige@combodo.com >
Co-authored-by: Pierre Goiffon <pierre.goiffon@combodo.com >
2022-01-14 10:18:02 +01:00
Eric
97e0150974
N°3224 - migration audit tool - allow php functions in XPath
2021-08-26 11:54:45 +02:00
Molkobain
626316e8d1
N°3990 - Compiler: Set "_delta" flag on moved node if no ancestors has one
2021-05-10 19:05:08 +02:00
odain
3d9540e895
Merge branch 'feature/2982-finalize' into develop
2021-04-16 14:04:17 +02:00