odain
e6814d6860
N°7407 - adapt unattended test to 3.1 installation.xml choices
2024-04-09 10:55:05 +02:00
Molkobain
79198f51a3
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-04-09 10:52:00 +02:00
odain
f14b4c32be
N°7407 - adapt unattended test to 3.0 installation.xml choices
2024-04-09 10:46:44 +02:00
odain
bc8543d88c
Merge branch 'support/3.0' into support/3.1
...
# Conflicts:
# setup/modulediscovery.class.inc.php
# setup/runtimeenv.class.inc.php
# setup/unattended-install/unattended-install.php
# tests/setup_params/default-params.xml
2024-04-09 10:11:06 +02:00
odain
64ba706083
Merge branch 'support/2.7' into support/3.0
...
# Conflicts:
# setup/applicationinstaller.class.inc.php
# setup/modulediscovery.class.inc.php
# setup/runtimeenv.class.inc.php
# setup/unattended-install/unattended-install.php
# tests/setup_params/default-params.xml
2024-04-09 10:07:40 +02:00
odain
ed562c9f73
N°7407 - fix unattended test enhancement
2024-04-09 10:02:06 +02:00
odain-cbd
85c576a986
N°7407 - N°7306 - Ease iTop installation via unattended CLI by using installation.xml choices ( #641 )
...
* N°7306 - Use iTop configuration settings to run unattended installation (instead of XML file settings)
* 7306 - fix infinite loop with db_tls.ca null
* 7306 - complete fields to use from itop configuration instead of XML setup
* fix using default language from conf
* 6365 - temp work
* 6365 - add option to select modules from installation.xml
* 6365-select modules option in unattended install
* 6365 - pass env to service + debug failed test
* 6365 - debug ci again + separate process annotation
* 6365 - fix test + cleanup
* 6365 - ci using use_installation_xml mode
* 6365 - ci using use_installation_xml mode
* 6365 - pass selected_modules to unattended
* N°6365 - Compute selected modules based on selected extensions coming from XML setup
* switch constr parameters and fix call from unattended cli
* 6365 - use use_installation_xml for unattended install only when no selected modules already provided
* test ci XML setup including selected extensions but no modules
* test ci installing iTop without selected modules/extenesions: guess via installation.xml
* same but without even providing XML setup - comment it in ci_description.ini
* 7306 - cleanup requires
* use infra master
* N°6365 - make current unattended CLI work with any iTop version (CLIPage compatibility)
* N°6365 - log which modules will be installed during setup
* N°6365 - unattended documentation + bash helper
* 6365- fix warning due to copies index access
* 6365 - enhance traces feedback to understant which and how modules are computes
* 6365 - enhance bash CLI + doc
* 6365 - fix require clipage compatibility
* 6365 - add return for better cli ouput
* 6365 - enhance ouput messages
* Document the usage and harmonize argument names (still not perfect)
* 6365 - fix use of new param param-file
* 6365 - fix test + vardump cleanup
* N°6365 - use underscore for unattended install options as advices in the PR
* 6365 -enhance test by using PHP_BINARY
---------
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com >
2024-04-09 10:00:58 +02:00
jf-cbd
b10d381dda
N°7374 - Security hardening
2024-04-05 14:40:56 +02:00
Molkobain
a468bf8f7e
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-04-02 10:38:30 +02:00
Molkobain
65c706fdfe
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-04-02 10:37:08 +02:00
odain-cbd
5a34c76cc4
N°5120 - Unattended install : use cty toolkit version ( #624 )
...
* N°5120 - Unattended install : use cty toolkit version
* N°5120 - CLI mode validation
* 5120 - bring CI enhancements
* 5120 - bring back saas use-itop-config option: to read db settings from conf directly
* 5120 - move unattended script in setup folder/unattended-install
* 5120 - use-itop-config option: take db_tls_enabled and db_tls_ca into account
* 5120 - move test
* 5120 - put ci enhancements back - logs and conf preservation with install mode
* 5120 - keep PR simple - remove saas use-itop-config option for now
* 5120 - remove ci enhancement to preserve configuration
* Update setup/unattended-install/README.md
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
* 5120 - documentation
* 5120 - fix log level
* 5120 - fix test
* fix phpunit test comment
---------
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com >
2024-03-29 11:09:27 +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
79cdb837b5
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# core/log.class.inc.php
2024-03-14 09:13:56 +01:00
Pierre Goiffon
a97935ca01
N°7336 DeprecatedCallsLog robustness ( #632 )
...
Was creating PHP notices when deprecated method caller wasn't a class/method
Found in iTop 3.2.0-dev with itop-object-copier copy.php : it is calling WebPage::add_linked_script directly inside the copy.php script (no class nor function)
Co-authored-by: odain <olivier.dain@combodo.com >
2024-03-13 15:38:21 +01:00
Pierre Goiffon
71a0f8b87d
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-03-13 10:03:48 +01:00
Pierre Goiffon
a4edf8cb21
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/unitary-tests/setup/SetupUtilsTest.php
2024-03-13 09:59:28 +01:00
Pierre Goiffon
5d6f293956
N°7302 Report SetupUtilsTest::testHumanReadableSize in the 2.7 branch
2024-03-13 09:48:46 +01:00
Pierre Goiffon
65e6c84477
N°7302 Fix SetupUtilsTest::testHumanReadableSize
2024-03-13 09:37:34 +01:00
Pierre Goiffon
c0e4d04a1c
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2024-03-12 17:36:04 +01:00
vdumas
71d9536bc4
N°7268 Method SetComputedDate fails on Date only attribute
...
(cherry picked from commit b6caa51552 )
(cherry picked from commit c8810708ef )
2024-03-12 17:29:04 +01:00
Eric Espie
cf6e8ab22a
N°6974 - Add unit tests for compatibility validation
2024-03-08 13:29:04 +01:00
Pierre Goiffon
48de13b5cf
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-03-04 08:32:59 +01:00
Pierre Goiffon
b867faa355
✅ Fix DBObjectTest
...
Error was "Class 'Combodo\iTop\Test\UnitTest\Core\DBObjectSet' not found"
2024-03-04 08:09:35 +01:00
Eric Espie
3b9ca4ad18
N°7310 - New Event to handle available Transitions
2024-03-01 09:39:00 +01:00
Anne-Cath
eddc750ca8
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# pages/audit.php
# tests/php-unit-tests/unitary-tests/core/DBSearchTest.php
2024-02-29 16:53:39 +01:00
Anne-Cath
f3abe1ff13
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# pages/audit.php
2024-02-29 16:50:04 +01:00
Anne-Catherine
473cf004b6
N°6968 - Audit duration : add of a rule multiplie by 4 the time of response ( #575 )
2024-02-29 16:33:04 +01:00
Anne-Catherine
86bf6ba0b0
N°5547 - Object deletion fails if friendlyname too long ( #529 )
2024-02-27 17:59:37 +01:00
Eric Espie
8f1d8b1dc2
N°7294 - EVENT_ADD_ATTACHMENT_TO_OBJECT not triggered on the object
2024-02-27 17:39:53 +01:00
Molkobain
b7f43ba22b
✅ Fix test case case when context tag is present more than once
2024-02-21 18:27:21 +01:00
Molkobain
b13e0c92a5
✅ Fix test case dependant to setup option Change Management Simple vs ITIL
2024-02-21 18:13:27 +01:00
jf-cbd
aa81c94dad
Improved test and test cleanup
2024-02-21 16:30:00 +01:00
odain
9a26c37ffd
N°7147 - Error HTTP 500 due to access_token not URL decoded
2024-01-23 16:50:21 +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
jf-cbd
7f62bd61e3
N°7134 - Can't retrieve the list of changes when editing URP_UserProfile
2024-01-17 15:05:30 +01:00
Anne-Catherine
cff50f8732
N°3448 - Framework field size check not correctly implemented for multibytes languages/strings ( #528 )
2024-01-15 16:10:23 +01:00
Molkobain
1fa4fe6d35
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-01-12 12:05:24 +01:00
Molkobain
2ed0666c3b
N°7085 - Remove comment about annotation as on support/3.0 branch not using runTestsInSeparateProcesses is the standard
2024-01-12 10:53:24 +01:00
odain
9b5988133b
Merge branch 'support/3.0' into support/3.1
2024-01-12 08:57:51 +01:00
odain
a61b117f71
Merge branch 'support/2.7' into support/3.0
2024-01-12 08:56:25 +01:00
odain
9830178a47
N°7085 - ci restore runTestsInSeparateProcesses
2024-01-12 08:36:15 +01:00
odain
83ac219ec9
Merge branch 'support/2.7' into support/3.0
2024-01-12 08:19:05 +01:00
odain-cbd
c140ebcb6b
N°7085 - Fix infinite loop in login page until fatal error occurs ( #592 )
...
* N°7085 - login page infinite loop until fatal error- add Config->AddAllowedLoginTypes
* N°7085 - reproduce issue via a test
* N°7085-fix infinite loop
* N°7085 - ci: fix config file rights in tearDown
* N°7085 - ci: fix config file rights in tearDown (again)
* N°7085 - ci: fix config file content
* N°7085 - ci : add runTestsInSeparateProcesses
* Update core/config.class.inc.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* N°7085 - exit -1 + enhance log message
* PR feedbacks from Romain regarding LoginTest annotations
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-01-12 08:13:40 +01:00
Eric Espie
18887bf7f9
N°7118 - Act on guaranteed object deletion, with the object still accessible (EVENT_DB_ABOUT_TO_DELETE)
2024-01-05 11:21:59 +01:00
Eric Espie
5b2b9c92e1
Merge branch 'support/3.1.1' into support/3.1
2024-01-05 10:51:21 +01:00
Eric Espie
68fa3d0236
N°7080 - EVENT_DB_LINKS_CHANGED not fired when deleting a user
2024-01-05 10:36:37 +01:00
Eric Espie
1de390a24d
N°7080 - EVENT_DB_LINKS_CHANGED not fired when deleting a user
2024-01-04 15:56:48 +01:00
jf-cbd
20478958ad
Merge branch 'support/3.1.1' into support/3.1
2024-01-04 11:07:07 +01:00
jf-cbd
34499a719f
Update test - broken with N°7079 fix
2024-01-04 10:59:51 +01:00